1 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
4 Add `when' argument. Update callers.
6 * subr.el (unintern): Declare the obarray arg mandatory.
8 2010-09-14 Glenn Morris <rgm@gnu.org>
10 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
13 * calendar/diary-lib.el (diary-included-files): New variable.
14 (diary-list-entries): Maybe initialize diary-included-files.
15 (diary-include-other-diary-files): Append to diary-included-files.
16 * calendar/appt.el (appt-update-list): Also check the members of
17 diary-included-files. (Bug#6999)
18 (appt-check): Doc fix.
20 2010-09-14 David Reitter <david.reitter@gmail.com>
22 * simple.el (line-move-visual): Do not truncate goal column to
23 integer size. (Bug#7020)
25 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
27 * repeat.el (repeat): Allow repeating when the last event is a click.
28 Suggested by Drew Adams (bug#6256).
30 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
32 * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
33 Replace setting HGRCPATH to "" by some less invasive --config options.
35 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
37 * font-lock.el (font-lock-beginning-of-syntax-function):
40 2010-09-14 Glenn Morris <rgm@gnu.org>
42 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
43 and tool-bar modes. (Bug#6211)
44 (menu-bar-mode): Move setting of standard-value after the
45 minor-mode definition, otherwise it seems to have no effect.
47 2010-09-14 Masatake YAMATO <yamato@redhat.com>
49 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
52 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
54 * whitespace.el: Allow cleaning up blanks without blank
55 visualization (Bug#6651). Adjust help window for
56 whitespace-toggle-options (Bug#6479). Allow to use fill-column
57 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
58 (whitespace-style): Add new value 'face. Adjust docstring.
59 (whitespace-space, whitespace-hspace, whitespace-tab):
60 Adjust foreground property face.
61 (whitespace-line-column): Adjust docstring and type declaration.
62 (whitespace-style-value-list, whitespace-toggle-option-alist)
63 (whitespace-help-text): Adjust const initialization.
64 (whitespace-toggle-options, global-whitespace-toggle-options):
66 (whitespace-display-window, whitespace-interactive-char)
67 (whitespace-style-face-p, whitespace-color-on): Adjust code.
68 (whitespace-help-scroll): New fun.
70 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
72 * calendar/time-date.el (format-seconds): Comment fix.
74 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
76 * progmodes/sql.el: Version 2.7.
77 (sql-buffer-live-p): Improve detection.
78 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
79 (sql-set-sqli-buffer): Use it.
80 (sql-product-interactive): Run `sql-set-sqli-hook'.
81 (sql-rename-buffer): Code cleanup.
82 (sql-redirect, sql-redirect-value): New functions. More to come.
84 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
86 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.
87 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
88 (TRAMP_SRC): New macro.
89 ($(lisp)/net/tramp-loaddefs.el): New target.
91 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
93 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
95 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
97 * net/tramp.el (top): Don't show loading message. Require just
98 'tramp-compat, everything else is required there. Use
99 `ignore-errors' where appropriate.
100 (tramp-inline-compress-start-size, tramp-copy-size-limit)
101 (tramp-terminal-type, tramp-end-of-output)
102 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
103 (tramp-completion-function-alist-ssh)
104 (tramp-completion-function-alist-telnet)
105 (tramp-completion-function-alist-su)
106 (tramp-completion-function-alist-putty, tramp-remote-path)
107 (tramp-remote-process-environment, tramp-sh-extra-args)
108 (tramp-actions-before-shell, tramp-uudecode)
109 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
110 (tramp-perl-file-attributes)
111 (tramp-perl-directory-files-and-attributes)
112 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
113 (tramp-perl-encode, tramp-perl-decode)
114 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
115 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
116 (tramp-handle-make-symbolic-link, tramp-handle-load)
117 (tramp-handle-file-name-as-directory)
118 (tramp-handle-file-name-directory)
119 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
120 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
121 (tramp-do-file-attributes-with-ls)
122 (tramp-do-file-attributes-with-perl)
123 (tramp-do-file-attributes-with-stat)
124 (tramp-handle-set-visited-file-modtime)
125 (tramp-handle-verify-visited-file-modtime)
126 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
127 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
128 (tramp-handle-file-selinux-context)
129 (tramp-handle-set-file-selinux-context)
130 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
131 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
132 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
133 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
134 (tramp-handle-file-ownership-preserved-p)
135 (tramp-handle-directory-file-name, tramp-handle-directory-files)
136 (tramp-handle-directory-files-and-attributes)
137 (tramp-do-directory-files-and-attributes-with-perl)
138 (tramp-do-directory-files-and-attributes-with-stat)
139 (tramp-handle-file-name-all-completions)
140 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
141 (tramp-handle-copy-file, tramp-handle-copy-directory)
142 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
143 (tramp-do-copy-or-rename-file-via-buffer)
144 (tramp-do-copy-or-rename-file-directly)
145 (tramp-do-copy-or-rename-file-out-of-band)
146 (tramp-handle-make-directory, tramp-handle-delete-directory)
147 (tramp-handle-delete-file)
148 (tramp-handle-dired-recursive-delete-directory)
149 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
150 (tramp-handle-insert-directory)
151 (tramp-handle-unhandled-file-name-directory)
152 (tramp-handle-expand-file-name)
153 (tramp-handle-substitute-in-file-name)
154 (tramp-handle-executable-find, tramp-process-sentinel)
155 (tramp-handle-start-file-process, tramp-handle-process-file)
156 (tramp-handle-call-process-region, tramp-handle-shell-command)
157 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
158 (tramp-handle-insert-file-contents)
159 (tramp-handle-insert-file-contents-literally)
160 (tramp-handle-find-backup-file-name)
161 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
162 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
163 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
164 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
165 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
166 (tramp-find-file-exists-command, tramp-open-shell)
167 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
168 (tramp-open-connection-setup-interactive-shell)
169 (tramp-local-coding-commands, tramp-remote-coding-commands)
170 (tramp-find-inline-encoding, tramp-call-local-coding-command)
171 (tramp-inline-compress-commands, tramp-find-inline-compress)
172 (tramp-compute-multi-hops, tramp-maybe-open-connection)
173 (tramp-send-command , tramp-wait-for-output)
174 (tramp-send-command-and-check, tramp-barf-unless-okay)
175 (tramp-send-command-and-read, tramp-mode-string-to-int)
176 (tramp-convert-file-attributes, tramp-check-cached-permissions)
177 (tramp-file-mode-from-int, tramp-file-mode-permissions)
178 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
179 (tramp-method-out-of-band-p, tramp-local-host-p)
180 (tramp-get-remote-path, tramp-get-remote-tmpdir)
181 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
182 (tramp-get-test-command, tramp-get-test-nt-command)
183 (tramp-get-file-exists-command, tramp-get-remote-ln)
184 (tramp-get-remote-perl, tramp-get-remote-stat)
185 (tramp-get-remote-readlink, tramp-get-remote-trash)
186 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
187 (tramp-get-local-uid, tramp-get-local-gid)
188 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
190 (tramp-methods, tramp-default-method-alist)
191 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
192 Move initialization to tramp-sh.el.
193 (tramp-temp-name-prefix): Make it a defconst.
194 (tramp-dissect-file-name): Don't check anymore for multi-hop
196 (tramp-debug-outline-regexp): Add a docstring.
197 (tramp-debug-outline-level): Renamed from `tramp-outline-level'.
198 (tramp-get-debug-buffer): Use it.
200 * net/tramp-cache.el (top): Set tramp-autoload cookie for
201 initialization forms.
202 (tramp-set-connection-property): Don't protect `tramp-message'
203 call, it isn't necessary any longer.
204 (tramp-dump-connection-properties): Use `ignore-errors'.
206 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
207 'password-cache and 'auth-source.
209 * net/tramp-gvfs.el (top):
210 * net/tramp-smb.el (top): Require 'tramp-sh.
212 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
214 * net/tramp-sh.el: New file, derived from tramp.el.
215 (top): Initialize `tramp-methods', `tramp-default-method-alist',
216 `tramp-default-user-alist', tramp-foreign-file-name-handler-alist.
217 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old". Use
218 `ignore-errors' where appropriate.
219 (tramp-sh-file-name-handler-alist): Renamed from
220 `tramp-file-name-handler-alist'.
221 (tramp-send-command-and-check): Return t or nil. Remove all
222 `zerop' checks, where called.
223 (tramp-handle-set-file-modes)
224 (tramp-do-copy-or-rename-file-directly)
225 (tramp-handle-delete-directory, tramp-handle-delete-file)
226 (tramp-maybe-send-script, ): Use `tramp-barf-unless-okay'.
227 (tramp-sh-file-name-handler, tramp-send-command-and-check)
228 (tramp-get-remote-ln): Set tramp-autoload cookie.
230 * net/tramp-fish.el: Remove file.
232 2010-09-13 Daiki Ueno <ueno@unixuser.org>
234 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
235 buffer-file-name to avoid file-locking. (Bug#7026)
237 2010-09-13 Julien Danjou <julien@danjou.info>
239 * notifications.el (notifications-notify): Add support for
240 image-path and sound-name.
241 (notifications-specification-version): Add this variable.
243 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
245 * subr.el (y-or-n-p): New function, moved from src/fns.c. Use read-key.
247 2010-09-12 Leo <sdl.web@gmail.com>
249 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
250 (rcirc-completion-start): New variables.
251 (rcirc-nick-completions): Rename to rcirc-completions.
252 (rcirc-nick-completion-start-offset): Delete.
253 (rcirc-completion-at-point): New function for constructing
254 completion data for both nicks and irc commands. Add to
255 completion-at-point-functions in rcirc mode.
256 (rcirc-complete): Rename from rcirc-nick-complete; use
257 rcirc-completion-at-point.
258 (defun-rcirc-command): Update rcirc-client-commands.
260 2010-09-11 Glenn Morris <rgm@gnu.org>
262 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
263 atomically, to avoid parallel build errors. (Bug#4196)
265 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
267 * progmodes/sql.el: Version 2.6
268 (sql-dialect): Synonym for "sql-product".
269 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
270 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
271 Set "sql-buffer" to buffer name not buffer object so multiple sql
272 interactive buffers work properly. Reverts misguided changes in
274 (sql-comint): Make sure different buffer name is used if "*SQL*"
275 buffer is for a different product.
276 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
278 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
279 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
280 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
281 Accept new buffer name or prompt for one.
282 (sql-port): Default to zero.
283 (sql-comint-mysql): Handle "sql-port" as a numeric.
284 (sql-port-history): Delete unused variable.
285 (sql-get-login): Default "sql-port" to a number.
286 (sql-product-alist): Correct Postgres prompt and terminator
288 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
289 "sqlite3" executables.
290 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name
292 (sql-buffer-live-p): New function.
293 (sql-mode-menu, sql-send-string): Use it.
294 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
296 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
297 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
299 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
301 * net/netrc.el (netrc-credentials): New conveniency function.
303 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
305 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
306 to replace texinfo-font-lock-syntactic-keywords.
307 (texinfo-mode): Use it.
309 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
310 Use syntax-propertize-function.
312 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
313 replace sgml-font-lock-syntactic-keywords.
316 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
317 since we don't use it.
319 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
321 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
323 (vhdl-fontify-buffer): Adjust.
325 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
326 replace tcl-font-lock-syntactic-keywords.
329 * progmodes/simula.el (simula-syntax-propertize-function): New var to
330 replace simula-font-lock-syntactic-keywords.
331 (simula-mode): Use it.
333 * progmodes/sh-script.el (sh-st-symbol): Remove.
334 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
335 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
336 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
337 (sh-font-lock-paren): Set syntax-multiline.
338 (sh-font-lock-syntactic-keywords): Remove.
339 (sh-syntax-propertize-function): New function to replace it.
342 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
343 Define while compiling.
344 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
345 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
346 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
347 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
348 (ruby-here-doc-end-syntax): Only define when
349 syntax-propertize is not available.
350 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
352 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
353 (electric-indent-chars): Silence bytecompiler.
354 (ruby-mode): Use prog-mode, syntax-propertize-function, and
355 electric-indent-chars.
357 * progmodes/python.el (python-syntax-propertize-function): New var to
358 replace python-font-lock-syntactic-keywords.
359 (python-mode): Use it.
360 (python-quote-syntax): Simplify and adjust to new use.
362 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
363 replace perl-font-lock-syntactic-keywords.
364 (perl-syntax-propertize-special-constructs): New fun to replace
365 perl-font-lock-special-syntactic-constructs.
366 (perl-font-lock-syntactic-face-function): New fun.
369 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
370 to replace octave-font-lock-close-quotes.
371 (octave-syntax-propertize-function): New function to replace
372 octave-font-lock-syntactic-keywords.
373 (octave-mode): Use it.
375 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
376 replaces mixal-font-lock-syntactic-keywords.
377 (mixal-mode): Use it.
379 * progmodes/make-mode.el (makefile-syntax-propertize-function):
380 New var; replaces makefile-font-lock-syntactic-keywords.
381 (makefile-mode): Use it.
382 (makefile-imake-mode): Adjust.
384 * progmodes/js.el (js--regexp-literal): Define while compiling.
385 (js-syntax-propertize-function): New var; replaces
386 js-font-lock-syntactic-keywords.
389 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
390 replaces gdb-script-font-lock-syntactic-keywords.
391 (gdb-script-mode): Use it.
393 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
394 (fortran--font-lock-syntactic-keywords): New var.
395 (fortran-line-length): Update syntax-propertize-function and
396 fortran--font-lock-syntactic-keywords.
398 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
400 * progmodes/cfengine.el (cfengine-mode):
401 Use syntax-propertize-function.
402 (cfengine-font-lock-syntactic-keywords): Remove.
404 * progmodes/autoconf.el (autoconf-mode):
405 Use syntax-propertize-function.
406 (autoconf-font-lock-syntactic-keywords): Remove.
408 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
409 (ada-after-change-function, ada-initialize-syntax-table-properties)
410 (ada-handle-syntax-table-properties): Only define when
411 syntax-propertize is not available.
412 (ada-mode): Use syntax-propertize-function.
414 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
415 (font-lock-fontify-syntactic-keywords-region): Move handling of
416 font-lock-syntactically-fontified to...
417 (font-lock-default-fontify-region): ...here.
418 Let syntax-propertize-function take precedence.
419 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
421 * emacs-lisp/syntax.el (syntax-propertize-function)
422 (syntax-propertize-chunk-size, syntax-propertize--done)
423 (syntax-propertize-extend-region-functions): New vars.
424 (syntax-propertize-wholelines, syntax-propertize-multiline)
425 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
426 (syntax-propertize): New functions.
427 (syntax-propertize-rules): New macro.
428 (syntax-ppss-flush-cache): Set syntax-propertize--done.
429 (syntax-ppss): Call syntax-propertize.
431 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
433 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
435 * textmodes/ispell.el (ispell-init-process): Improve comments.
436 XEmacs compatibility changes regarding (add-hook) 'local option
437 and (set-process-query-on-exit-flag).
439 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
441 * net/tramp-cache.el (tramp-parse-connection-properties):
442 Set tramp-autoload cookie.
444 2010-09-09 Glenn Morris <rgm@gnu.org>
446 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
447 (imagemagick-register-types): Doc fix.
449 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
451 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
453 * progmodes/js.el (require): Require is already "eval-and-compile".
454 (js--re-search-forward): Avoid `eval'. Preserve the error data.
455 (js--re-search-backward): Use js--re-search-forward.
457 * progmodes/fortran.el (fortran-line-length): Don't recompute
458 syntactic keywords redundantly a second time.
460 * progmodes/ada-mode.el: Replace "(set '" with setq.
461 (ada-mode): Simplify.
462 (ada-create-case-exception, ada-adjust-case-interactive)
463 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
464 (ada-search-ignore-string-comment, ada-move-to-start)
465 (ada-move-to-end): Use with-syntax-table.
467 * font-lock.el (save-buffer-state): Remove `varlist' arg.
468 (font-lock-unfontify-region, font-lock-default-fontify-region):
469 Update usage correspondingly.
470 (font-lock-fontify-syntactic-keywords-region):
471 Set parse-sexp-lookup-properties buffer-locally here.
472 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
474 * simple.el (blink-matching-open): Don't burp if we can't find a match.
476 2010-09-08 Glenn Morris <rgm@gnu.org>
478 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
479 Error if not compiled with -DBYTE_CODE_METER.
481 * emacs-lisp/bytecomp.el (byte-recompile-directory):
482 Ignore dir-locals-file.
484 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
486 * progmodes/compile.el (compilation-error-regexp-alist-alist):
488 (compilation-error-regexp-alist-alist): Rule out ": " in file names
489 for the `gnu' messages.
490 (compilation-set-skip-threshold): New command.
491 (compilation-start): Use \' rather than $.
492 (compilation-forget-errors): Use clrhash.
494 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
496 * textmodes/ispell.el (ispell-valid-dictionary-list):
499 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
501 Migrate to Tramp 2.2. Rearrange load dependencies.
502 (Bug#1529, Bug#5448, Bug#5705)
504 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
505 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
506 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
508 * net/tramp.el (top): Remove all other tramp-* loads except
509 tramp-compat.el. Remove all changes to tramp-unload-hook for
510 other tramp-* packages. Rearrange defun order. Change calls of
511 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
512 `tramp-compat-octal-to-decimal' to new function names.
513 (tramp-terminal-type, tramp-initial-end-of-output)
514 (tramp-methods, tramp-foreign-file-name-handler-alist)
515 (tramp-tramp-file-p, tramp-completion-mode-p)
516 (tramp-send-command-and-check, tramp-get-remote-path)
517 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
518 (tramp-shell-quote-argument): Set tramp-autoload cookie.
519 (with-file-property, with-connection-property): Move to
521 (tramp-local-call-process, tramp-decimal-to-octal)
522 (tramp-octal-to-decimal): Move to tramp-compat.el.
523 (tramp-handle-shell-command): Do not require 'shell.
524 (tramp-compute-multi-hops): No special handling for tramp-gw-*
526 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
528 * net/tramp-cache.el (top): Require 'tramp. Add to
530 (tramp-cache-data, tramp-get-file-property)
531 (tramp-set-file-property, tramp-flush-file-property)
532 (tramp-flush-directory-property, tramp-get-connection-property)
533 (tramp-set-connection-property, tramp-flush-connection-property)
534 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
536 (with-file-property, with-connection-property): New defuns, moved
538 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
541 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
542 (tramp-version): Set tramp-autoload cookie.
544 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
545 changes to tramp-unload-hook for other tramp-* packages. Add to
547 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
548 (tramp-compat-call-process): New defuns, moved from tramp.el.
550 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
551 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
552 to `tramp-unload-hook'. Change call of
553 `tramp-compat-decimal-to-octal' to new function name.
554 (tramp-fish-method): Make it a defconst.
555 (tramp-fish-file-name-p): Make it a defsubst.
556 (tramp-fish-method, tramp-fish-file-name-handler)
557 (tramp-fish-file-name-p): Set tramp-autoload cookie.
559 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
560 `tramp-foreign-file-name-handler-alist'. Add to
562 (tramp-ftp-method): Make it a defconst.
563 (tramp-ftp-file-name-p): Make it a defsubst.
564 (tramp-ftp-method, tramp-ftp-file-name-handler)
565 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
567 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
568 `tramp-foreign-file-name-handler-alist'. Add to
569 `tramp-unload-hook'. Change checks, whether package can be
571 (tramp-gvfs-file-name-p): Make it a defsubst.
572 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
573 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
574 (tramp-gvfs-handle-file-directory-p): New defun.
575 (tramp-gvfs-file-name-handler-alist): Use it.
577 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
578 `tramp-foreign-file-name-handler-alist'. Add to
580 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
581 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
583 (tramp-gw-tunnel-method, tramp-gw-socks-method)
584 (tramp-gw-open-connection): Set tramp-autoload cookie.
586 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
587 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
588 to `tramp-unload-hook'. Change checks, whether package can be
590 (tramp-imap-file-name-p): Make it a defsubst.
591 (tramp-imap-method, tramp-imaps-method)
592 (tramp-imap-file-name-handler)
593 (tramp-imap-file-name-p): Set tramp-autoload cookie.
595 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
596 `tramp-methods' and `tramp-foreign-file-name-handler-alist'. Add
597 to `tramp-unload-hook'. Change checks, whether package can be
598 loaded. Change call of `tramp-compat-decimal-to-octal' to new
600 (tramp-smb-tunnel-method): Make it a defconst.
601 (tramp-smb-file-name-p): Make it a defsubst.
602 (tramp-smb-method, tramp-smb-file-name-handler)
603 (tramp-smb-file-name-p): Set tramp-autoload cookie.
605 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
606 (tramp-uuencode-region): Set tramp-autoload cookie.
608 * net/trampver.el (top) Add to `tramp-unload-hook'.
609 (tramp-version, tramp-bug-report-address): Set tramp-autoload
610 cookie. Update release number.
612 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
614 * textmodes/ispell.el (ispell-start-process): Make sure original
615 arg list is properly initialized (Bug#6993, Bug#6994).
617 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
619 * files.el (directory-abbrev-alist): Use \` as default regexp.
621 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
622 chars like - or ] (bug#6984).
623 (rx-any-condense-range): Explode 2-char ranges.
625 2010-09-06 Glenn Morris <rgm@gnu.org>
627 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
629 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
631 * textmodes/bibtex.el:
632 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
634 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
636 * net/imap.el (imap-message-map): Remove optional buffer parameter,
637 since no callers use it.
638 (imap-message-get): Ditto.
639 (imap-message-put): Ditto.
640 (imap-mailbox-map): Ditto.
641 (imap-mailbox-put): Ditto.
642 (imap-mailbox-get): Ditto.
643 (imap-mailbox-get): Revert last change for this function.
645 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
647 * net/imap.el (imap-fetch-safe): Remove function, and alter all
648 callers to use `imap-fetch' instead. According to the comments, this
649 should be safe, since all other IMAP clients use the 1:* syntax.
650 (imap-enable-exchange-bug-workaround): Remove.
651 (imap-debug): Remove -- doesn't seem very useful.
653 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
655 * net/imap.el (imap-log): New convenience function used throughout
656 instead of repeating the same code all over the place.
658 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
660 * mouse.el (mouse-save-then-kill): Save region to kill-ring
661 when mouse-drag-copy-region is non-nil (Bug#6956).
663 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
665 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
666 Improve regexps (Bug#6987).
667 (dired-sort-toggle): Search more robustly for -t flag.
669 * files.el (get-free-disk-space): Search more robustly for
670 "available" column. Suggested by Ehud Karni
671 <ehud@unix.mvs.co.il>.
673 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
675 * international/uni-bidi.el:
676 * international/uni-category.el:
677 * international/uni-combining.el:
678 * international/uni-decimal.el:
679 * international/uni-mirrored.el:
680 * international/uni-name.el: Regenerate.
682 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
684 * electric.el (electric-indent-post-self-insert-function):
685 Don't reindent with a sloppy indentation function.
687 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
688 border case in change-log-mode.
690 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
692 * progmodes/compile.el (compilation-error-regexp-alist-alist):
693 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
694 Recognize leading tab in gcc-include regexp. Ignore names with
695 leading "from" or "in" in gnu regexp (Bug#6937).
697 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
699 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
700 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
701 (ispell-start-process): Avoid setq and simplify logic.
702 (ispell-init-process): Setup kill-buffer-hook locally when needed.
703 (kill-buffer-hook): Don't use it globally with code that uses
704 expand-file-name since that may call kill-buffer via
705 code_conversion_restore.
707 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
709 * emacs-lisp/package.el (package-directory-list): Only call
710 file-name-nondirectory on a string.
712 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
714 * emacs-lisp/package.el (package--download-one-archive):
715 Ensure that archive-contents is valid before saving it.
716 (package-activate-1, package-mark-obsolete, define-package)
717 (package-compute-transaction, package-list-maybe-add): Use push.
719 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
721 Use SMIE's blink-paren for octave-mode.
722 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
723 Backslashes do not escape single-quotes, single-quotes do.
724 (octave-block-else-regexp, octave-block-end-regexp)
725 (octave-block-match-alist): Remove.
726 (octave-smie-bnf-table): New var, with old content.
727 (octave-smie-op-levels): Use it.
728 (octave-smie-closer-alist): New var.
729 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
730 (octave-blink-matching-block-open): Remove.
731 (octave-reindent-then-newline-and-indent, octave-electric-semi)
732 (octave-electric-space): Let self-insert-command run expand-abbrev and
735 * electric.el (electricity): New group.
736 (electric-indent-chars): New var.
737 (electric-indent-post-self-insert-function): New fun.
738 (electric-indent-mode): New minor mode.
739 (electric-pair-skip-self): New custom.
740 (electric-pair-post-self-insert-function): New function.
741 (electric-pair-mode): New minor mode.
743 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
744 calcAlg-blink-matching-open.
745 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
746 (calc-do-alg-entry): Only touch the part of the keymap that varies.
747 Use the new blink-matching-check-function.
749 Provide blink-matching support to SMIE.
750 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
751 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
752 (smie-blink-matching-check, smie-blink-matching-open): New functions.
754 * simple.el (newline): Fix last change to properly remove itself from
757 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
759 * simple.el (newline): Eliminate optimization.
760 Use post-self-insert-hook to set hard-newline and things before
761 running post-self-insert-hook.
762 (blink-matching-check-mismatch): New function.
763 (blink-matching-check-function): New variable.
764 (blink-matching-open): Use them.
765 Skip back forward over prefix chars skipped by forward-sexp.
766 Don't check if the parens are backslash escaped.
767 (blink-paren-post-self-insert-function): Check backslash escaping here.
769 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
771 * emacs-lisp/package.el (package-menu-mode-map):
772 Change package-menu-revert bindings to revert-buffer.
773 (package-menu-mode): Set revert-buffer-function.
774 (package-menu-revert): Doc fix.
776 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
778 * textmodes/ispell.el (ispell-init-process): Use "~/" as
779 `default-directory' unless using Ispell per-directory personal
780 dictionaries and not in a mini-buffer under XEmacs.
781 (kill-buffer-hook): Do not kill ispell process on exit when
782 `ispell-process-directory' is "~/". (Bug#6143)
784 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
786 * simple.el (kill-new): Call interprogram-cut-function with only
789 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
790 Remove cut buffer from error message.
792 * term/x-win.el (x-select-text):
793 * term/pc-win.el (x-selection-value):
794 * term/ns-win.el (x-selection-value):
796 * w32-fns.el (x-get-selection-value):
797 * mouse-sel.el (mouse-sel-set-selection-function):
798 * frame.el (display-selections-p): Remove cut-buffer in documentation.
800 * term/x-win.el: Update documentation for x-last-selected-text-*.
801 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
802 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
803 (x-select-text): Remove argument PUSH, update documentation. Remove
805 (x-selection-value-internal): Was previously x-selection-value.
806 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
807 Update documentation, remove cut-buffer code. Call
808 x-selection-value-internal.
809 (x-clipboard-yank): Call x-selection-value-internal.
810 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
812 * term/pc-win.el (x-last-selected-text):
813 x-cut-buffer-or-selection-value renamed to x-selection-value
814 (x-select-text): Remove argument PUSH, update documentation.
816 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
817 x-cut-buffer-or-selection-value renamed to x-selection-value
818 (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
819 (x-select-text): Remove argument PUSH, update documentation.
821 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
823 * w32-fns.el (x-last-selected-text):
824 x-cut-buffer-or-selection-value renamed to x-selection-value.
825 (x-cut-buffer-max): Remove.
826 (x-select-text): Remove argument PUSH, update documentation.
828 * simple.el (interprogram-cut-function): Remove mention of PUSH.
830 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
832 * mouse-sel.el (mouse-sel-get-selection-function):
833 x-cut-buffer-or-selection-value renamed to x-selection-value.
834 (x-select-text): Remove optional push.
836 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
838 * simple.el (blink-paren-function): Move from C to here.
839 (blink-paren-post-self-insert-function): New function.
840 (post-self-insert-hook): Use it.
842 * emacs-lisp/pcase.el (pcase-split-memq):
843 Fix overenthusiastic optimisation.
844 (pcase-u1): Handle the case of a lambda pred.
846 2010-08-31 Kenichi Handa <handa@m17n.org>
848 * international/mule-cmds.el (standard-display-european-internal):
849 Setup standard-display-table for 8-bit characters by storing 8-bit
850 characters in the element vector.
852 * disp-table.el (standard-display-8bit): Setup
853 standard-display-table for 8-bit characters by storing 8-bit
854 characters in the element vector.
855 (standard-display-european): Likewise.
857 2010-08-31 Masatake YAMATO <yamato@redhat.com>
859 * textmodes/nroff-mode.el (nroff-view): New command.
860 (nroff-mode-map): Bind it to C-c C-c.
862 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
864 * emacs-lisp/smie.el (smie-down-list): New command.
866 Remove old indentation and navigation code on octave-mode.
867 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
868 smie-down-list rather than add a binding for octave-down-block.
869 (octave-mark-block, octave-blink-matching-block-open):
870 Rely on forward-sexp-function.
871 (octave-fill-paragraph): Don't narrow, so you can use
872 indent-according-to-mode.
873 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
874 (octave-in-block-p, octave-re-search-forward-kw)
875 (octave-re-search-backward-kw, octave-indent-calculate)
876 (octave-end-as-array-index-p, octave-block-end-offset)
877 (octave-scan-blocks, octave-forward-block, octave-backward-block)
878 (octave-down-block, octave-backward-up-block, octave-up-block)
879 (octave-before-magic-comment-p, octave-indent-line): Remove.
881 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
883 * emacs-lisp/package.el (package--read-archive-file): Just use
884 `read', to avoid copying an additional string.
885 (package-menu-mode): Set header-line-format here.
886 (package-menu-refresh, package-menu-revert): Signal an error if
887 not in the Package Menu.
888 (package-menu-package-list): New var.
889 (package--generate-package-list): Operate on the current buffer;
890 don't assume that it is *Packages*, since the user may rename it.
891 Allow persistent package listings and sort keys using
892 package-menu-package-list and package-menu-package-sort-key.
893 (package-menu--version-predicate): Fix version calculation.
894 (package-menu-sort-by-column): Don't select the window.
895 (package--list-packages): Create the *Packages* buffer.
896 Set package-menu-package-list-key.
897 (list-packages): Sorting by status is now the default.
898 (package-buffer-info): Use match-string-no-properties.
899 (define-package): Add a &rest argument for future proofing, but
901 (package-install-from-buffer, package-install-buffer-internal):
902 Merge into a single function, package-install-from-buffer.
903 (package-install-file): Change caller.
905 * finder.el: Load finder-inf using `require'.
906 (finder-list-matches): Sorting by status is now the default.
907 (finder-compile-keywords): Simpify printing.
909 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
911 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
912 (octave-mode-map): Remove special bindings for forward/backward-block
913 and octave-backward-up-block. Use smie-close-block.
914 (octave-continuation-marker-regexp): New var.
915 (octave-continuation-regexp): Use it.
916 (octave-operator-table, octave-smie-op-levels)
917 (octave-operator-regexp, octave-smie-indent-rules): New vars.
918 (octave-smie-backward-token, octave-smie-forward-token): New funs.
919 (octave-mode): Use SMIE.
920 (octave-close-block): Delete.
922 2010-08-30 Eli Zaretskii <eliz@gnu.org>
924 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
925 CLIPBOARD, not in PRIMARY. (Bug#6944)
927 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
929 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
931 (smie-indent-column): Allow indirection through variables.
933 * composite.el (save-buffer-state): Delete, unused.
934 * font-lock.el (save-buffer-state): Use with-silent-modifications.
935 (font-lock-default-fontify-region): Use with-syntax-table.
936 * jit-lock.el (with-buffer-unmodified): Remove.
937 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
939 Use `declare' in defmacros.
940 * window.el (save-selected-window):
941 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
942 * progmodes/python.el (def-python-skeleton):
943 * net/dbus.el (dbus-ignore-errors):
944 * jka-cmpr-hook.el (with-auto-compression-mode):
945 * international/mule.el (with-category-table):
946 * emacs-lisp/timer.el (with-timeout):
947 * emacs-lisp/lisp-mnt.el (lm-with-file):
948 * emacs-lisp/eieio.el (with-slots):
949 * emacs-lisp/easymenu.el (easy-menu-define):
950 * emacs-lisp/debug.el (debugger-env-macro):
951 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
952 (Multiple-value-call, Multiple-value-prog1):
953 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
954 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
955 edebug rule to definition.
956 * emacs-lisp/lisp-mode.el (save-selected-window)
957 (with-current-buffer, combine-after-change-calls)
958 (with-output-to-string, with-temp-file, with-temp-buffer)
959 (with-temp-message, with-syntax-table, read-if, eval-after-load)
960 (dolist, dotimes, when, unless):
961 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
963 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
965 * finder.el: Require `package'.
966 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
967 (finder-package-info): Var deleted.
968 (finder-keywords-hash, finder--builtins-alist): New vars.
969 (finder-compile-keywords): Compute package--builtins and
970 finder-keywords-hash instead of finder-keywords-hash, respecting
971 the "Package" header.
972 (finder-unknown-keywords, finder-list-matches):
973 Use finder-keywords-hash and package--list-packages.
974 (finder-mode): Don't set font-lock-defaults.
975 (finder-exit): We don't use "*Finder-package*" and "*Finder
976 Category*" buffers anymore.
978 * emacs-lisp/package.el (package--builtins-base): Var deleted.
979 (package--builtins): Set default value to nil.
980 (package-initialize): Load precomputed value of package--builtins
982 (package-alist, package-compute-transaction)
983 (package-download-transaction): Improve docstring.
984 (package-read-all-archive-contents): Do not change
985 package--builtins here.
986 (list-packages): Make package-list-packages an alias for this.
987 Sort by status by default.
988 (package--list-packages): Add optional PACKAGES arg.
989 (describe-package-1): Use font-lock-face property. For built-in
990 packages, insert file commentary.
991 (package--generate-package-list): Rename from
992 package-list-packages-internal; all callers changed. Add optional
993 PACKAGES arg. Add alphabetical sort fallbacks.
994 (package-menu--version-predicate, package-menu--status-predicate)
995 (package-menu--description-predicate)
996 (package-menu--name-predicate): New functions.
998 * info.el (Info-finder-find-node): Search package-alist instead of
1001 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
1003 * subr.el (version-regexp-alist): Don't use "a" and "b" for
1005 (version-to-list): Handle versions like "10.3d".
1007 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1009 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
1010 (macroexp-accumulate): Use `declare'.
1012 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1014 * whitespace.el (whitespace-style): Adjust type declaration.
1016 2010-08-26 Magnus Henoch <magnus.henoch@gmail.com>
1018 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
1019 empty argument to gvfs-copy.
1021 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1023 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
1024 handle new TRASH arg of `delete-file'.
1026 2010-08-26 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
1028 * net/tramp.el (tramp-handle-insert-directory): Don't use
1029 `forward-word', its default syntax could be changed.
1031 2010-08-26 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
1032 Michael Albinus <michael.albinus@gmx.de>
1034 Implement compression for inline methods.
1036 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
1037 (tramp-copy-size-limit): Allow also nil.
1038 (tramp-inline-compress-commands): New defconst.
1039 (tramp-find-inline-compress, tramp-get-inline-compress)
1040 (tramp-get-inline-coding): New defuns.
1041 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
1042 replaced by `tramp-get-inline-coding'.
1043 (tramp-handle-file-local-copy, tramp-handle-write-region)
1044 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
1046 2010-08-26 Noah Lavine <noah549@gmail.com> (tiny change)
1048 Detect ssh 'ControlMaster' argument automatically in some cases.
1050 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1051 (tramp-default-method): Use it.
1053 2010-08-26 Karel Klíč <kklic@redhat.com>
1055 * net/tramp.el (tramp-file-name-for-operation):
1056 Add file-selinux-context.
1058 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
1060 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
1062 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1064 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
1067 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
1069 * progmodes/js.el: Make indentation more customizable (Bug#6914).
1070 (js-paren-indent-offset, js-square-indent-offset)
1071 (js-curly-indent-offset): New options.
1072 (js--proper-indentation): Use them.
1074 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
1076 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
1077 instead of inspecting font-lock properties (Bug#6916).
1079 2010-08-26 David Reitter <david.reitter@gmail.com>
1081 * server.el (server-visit-files): Run pre-command-hook and
1082 post-command-hook for each buffer while it is current
1084 (server-execute): Do not run hooks here.
1086 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
1088 Sync with Tramp 2.1.19.
1090 * net/tramp-cmds.el (tramp-cleanup-all-connections)
1091 (tramp-reporter-dump-variable, tramp-load-report-modules)
1092 (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
1093 (tramp-bug): Recommend setting of `tramp-verbose' to 9.
1095 * net/tramp-compat.el (top): Do not autoload
1096 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
1097 only when `start-file-process' is not bound.
1098 (byte-compile-not-obsolete-vars): Define if not bound.
1099 (tramp-compat-funcall): New defmacro.
1100 (tramp-compat-line-beginning-position)
1101 (tramp-compat-line-end-position)
1102 (tramp-compat-temporary-file-directory)
1103 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
1104 (tramp-compat-copy-file, tramp-compat-copy-directory)
1105 (tramp-compat-delete-file, tramp-compat-delete-directory)
1106 (tramp-compat-number-sequence, tramp-compat-process-running-p):
1108 (tramp-advice-file-expand-wildcards): Do not use
1109 `tramp-handle-file-remote-p'.
1110 (tramp-compat-make-temp-file): Simplify fallback implementation.
1111 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1112 (tramp-compat-copy-tree): Remove function.
1113 (tramp-compat-delete-file): New defun.
1114 (tramp-compat-delete-directory): Provide implementation for older
1116 (tramp-compat-file-attributes): Handle only
1117 `wrong-number-of-arguments' error.
1119 * net/tramp-fish.el (tramp-fish-handle-copy-file): Add
1120 PRESERVE_SELINUX_CONTEXT.
1121 (tramp-fish-handle-delete-file): Add TRASH arg.
1122 (tramp-fish-handle-directory-files-and-attributes):
1123 Do not use `tramp-fish-handle-file-attributes.
1124 (tramp-fish-handle-file-local-copy)
1125 (tramp-fish-handle-insert-file-contents)
1126 (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
1128 * net/tramp-gvfs.el (top): Require url-util.
1129 (tramp-gvfs-mount-point): Remove.
1130 (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
1131 and `set-file-selinux-context'.
1132 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
1133 (tramp-gvfs-handle-file-selinux-context)
1134 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1135 (with-tramp-dbus-call-method): Format trace message.
1136 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1137 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
1138 Implement backup call, when operation on local files fails. Use
1139 progress reporter. Flush properties of changed files.
1140 (tramp-gvfs-handle-delete-file): Add TRASH arg. Use
1141 `tramp-compat-delete-file'.
1142 (tramp-gvfs-handle-expand-file-name): Expand "~/".
1143 (tramp-gvfs-handle-make-directory): Make more traces.
1144 (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
1145 (tramp-gvfs-url-file-name): Hexify file name in url.
1146 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
1147 into account for the resulting file name.
1148 (tramp-gvfs-handler-askquestion): Preserve current message, in
1149 order to let progress reporter continue afterwards. (Bug#6257)
1150 Return dummy mountpoint, when the answer is "no". See
1151 `tramp-gvfs-maybe-open-connection'.
1152 (tramp-gvfs-handler-mounted-unmounted)
1153 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
1154 attribute "default_location". Set "prefix" property. Handle
1156 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
1157 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
1158 exists. Raise an error, if not (due to a corresponding answer
1159 "no" in interactive questions, for example). Use
1160 `tramp-compat-funcall'.
1162 * net/tramp-imap.el (top): Autoload `epg-make-context'.
1163 (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
1164 (tramp-imap-do-copy-or-rename-file)
1165 (tramp-imap-handle-insert-file-contents)
1166 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
1167 (tramp-imap-handle-delete-file): Add TRASH arg.
1169 * net/tramp-smb.el (tramp-smb-handle-copy-file): Add
1170 PRESERVE-SELINUX-CONTEXT.
1171 (tramp-smb-handle-copy-file)
1172 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
1173 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
1174 Use `with-progress-reporter'.
1175 (tramp-smb-handle-delete-file): Add TRASH arg.
1177 * net/tramp.el (tramp-methods): Move hostname to the end in all
1178 ssh `tramp-login-args'. Add `tramp-async-args' attribute where
1180 (tramp-verbose): Describe verbose level 9.
1181 (tramp-completion-function-alist)
1182 (tramp-file-name-regexp, tramp-chunksize)
1183 (tramp-local-coding-commands, tramp-remote-coding-commands)
1184 (with-connection-property, tramp-completion-mode-p)
1185 (tramp-action-process-alive, tramp-action-out-of-band)
1186 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1187 (tramp-exists-file-name-handler): Fix docstring.
1188 (tramp-remote-process-environment): Use `format' instead of
1189 `concat'. Protect version string by apostroph.
1190 (tramp-shell-prompt-pattern): Do not use a shy group in case of
1192 (tramp-file-name-regexp-unified)
1193 (tramp-completion-file-name-regexp-unified): On W32 systems, do
1194 not regard the volume letter as remote filename. (Bug#5447)
1195 (tramp-perl-file-attributes)
1196 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
1197 (tramp-vc-registered-read-file-names): Read input as
1198 here-document, otherwise the command could exceed maximum length
1200 (tramp-file-name-handler-alist): Add `file-selinux-context' and
1201 `set-file-selinux-context'.
1202 (tramp-debug-message): Add `tramp-compat-funcall' to ignored
1203 backtrace functions.
1204 (tramp-error-with-buffer): Don't show the connection buffer when
1205 we are in completion mode.
1206 (tramp-progress-reporter-update, tramp-remote-selinux-p)
1207 (tramp-handle-file-selinux-context)
1208 (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
1209 (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
1211 (with-progress-reporter): New defmacro.
1212 (tramp-debug-outline-regexp): New defconst.
1213 (top, tramp-rfn-eshadow-setup-minibuffer)
1214 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
1215 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
1216 (tramp-completion-mode-p, tramp-check-for-regexp)
1217 (tramp-open-connection-setup-interactive-shell)
1218 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
1219 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
1220 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
1221 Use `tramp-compat-funcall'.
1222 (tramp-handle-make-symbolic-link): Flush file properties.
1223 (tramp-handle-load, tramp-handle-file-local-copy)
1224 (tramp-handle-insert-file-contents, tramp-handle-write-region)
1225 (tramp-handle-vc-registered, tramp-maybe-send-script)
1226 (tramp-find-shell): Use `with-progress-reporter'.
1227 (tramp-do-file-attributes-with-stat): Add space in format string,
1228 in order to work around a bug in pdksh. Reported by Gilles Pion
1230 (tramp-handle-verify-visited-file-modtime): Do not send a command
1231 when the connection is not established.
1232 (tramp-handle-set-file-times): Simplify the check for utc.
1233 (tramp-handle-directory-files-and-attributes)
1234 (tramp-get-remote-path): Use `copy-tree'.
1235 (tramp-completion-handle-file-name-all-completions): Ensure, that
1236 non remote files are still checked. Oops.
1237 (tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
1238 PRESERVE-SELINUX-CONTEXT.
1239 (tramp-do-copy-or-rename-file): Add progress reporter.
1240 (tramp-do-copy-or-rename-file-directly): Do not use
1241 `tramp-handle-file-remote-p'.
1242 (tramp-do-copy-or-rename-file-out-of-band):
1243 Use `tramp-compat-delete-directory'.
1244 (tramp-do-copy-or-rename-file-out-of-band)
1245 (tramp-compute-multi-hops, tramp-maybe-open-connection):
1246 Use `format-spec-make'.
1247 (tramp-handle-delete-file): Add TRASH arg.
1248 (tramp-handle-dired-uncache): Flush directory cache, not only file
1250 (tramp-handle-expand-file-name)
1251 (tramp-completion-handle-file-name-all-completions)
1252 (tramp-completion-handle-file-name-completion): Use
1253 `tramp-connectable-p'.
1254 (tramp-handle-start-file-process): Set connection property "vec".
1255 Use it, in order to invalidate file caches. Check only for
1256 `remote-tty' process property.
1257 Implement tty setting. (Bug#4604, Bug#6360)
1258 (tramp-file-name-for-operation): Add `call-process-region' and
1259 `set-file-selinux-context'.
1260 (tramp-find-foreign-file-name-handler)
1261 (tramp-advice-make-auto-save-file-name)
1262 (tramp-set-auto-save-file-modes): Remove superfluous check for
1263 `stringp'. This is done inside `tramp-tramp-file-p'.
1264 (tramp-file-name-handler): Trace 'quit. Catch the error for some
1265 operations when we are in completion mode. This gives the user
1266 the chance to correct the file name in the minibuffer.
1267 (tramp-completion-mode-p): Use `non-essential'.
1268 (tramp-handle-file-name-all-completions): Backward/ XEmacs
1269 compatibility: Use `completion-ignore-case' if
1270 `read-file-name-completion-ignore-case' does not exist.
1271 (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
1272 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1274 (tramp-action-password): Hide password prompt before next run.
1275 (tramp-process-actions): Widen connection buffer for the trace.
1276 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
1277 process property. Trace stty settings if `tramp-verbose' >= 9.
1278 Apply workaround for IRIX64 bug. Move argument of last
1279 `tramp-send-command' where it belongs to.
1280 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
1281 front of `login-args'.
1282 (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
1283 on "/dev/null" instead of "/".
1284 (tramp-get-ls-command-with-dired): Make test for "--dired"
1286 (tramp-set-auto-save-file-modes): Adapt version check.
1287 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
1288 (tramp-handle-process-file): Call the program in a subshell, in
1289 order to preserve working directory.
1290 (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
1291 `tramp-remote-sh' from `tramp-methods'.
1292 (tramp-get-ls-command): Make test for "--color=never" stronger.
1293 (tramp-check-for-regexp): Use (forward-line 1).
1295 * net/trampver.el: Update release number.
1297 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
1299 * help.el (help-map): Bind `C-h P' to describe-package.
1301 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
1303 * emacs-lisp/package.el (package-refresh-contents): Catch errors
1304 when downloading archives.
1305 (describe-package-1): Add package commentary.
1306 (package-install-button-action): New function.
1307 (package-menu-mode-map): Bind ? to package-menu-describe-package.
1308 (package-menu-view-commentary): Function removed.
1309 (package-list-packages-internal): Hide the `package' package too.
1311 2010-08-25 Kenichi Handa <handa@m17n.org>
1313 * language/misc-lang.el ("Arabic"): New language environment.
1314 Setup composition-function-table for Arabic characters.
1316 * international/fontset.el (setup-default-fontset): Fix typo for
1317 arabic OTF spec (fini->fina).
1319 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
1321 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
1324 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1326 * whitespace.el: Allow cleaning up blanks without blank
1327 visualization (Bug#6651). Adjust help window for
1328 whitespace-toggle-options (Bug#6479). Allow to use fill-column
1329 instead of whitespace-line-column (from EmacsWiki). New version
1331 (whitespace-style): Added new value 'face. Adjust docstring.
1332 (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
1333 foreground property face.
1334 (whitespace-line-column): Adjust docstring and type declaration.
1335 (whitespace-style-value-list, whitespace-toggle-option-alist)
1336 (whitespace-help-text): Adjust const initialization.
1337 (whitespace-toggle-options, global-whitespace-toggle-options):
1339 (whitespace-display-window, whitespace-interactive-char)
1340 (whitespace-style-face-p, whitespace-color-on): Adjust code.
1341 (whitespace-help-scroll): New fun.
1343 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1345 * emacs-lisp/package.el (list-packages): Alias for
1346 package-list-packages.
1348 2010-08-24 Kevin Ryde <user42@zip.com.au>
1350 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
1353 * progmodes/ruby-mode.el (ruby): Add defgroup.
1355 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1357 * progmodes/python.el: Add Ipython support (Bug#5390).
1358 (python-shell-prompt-alist)
1359 (python-shell-continuation-prompt-alist): New options.
1360 (python--set-prompt-regexp): New function.
1361 (inferior-python-mode, run-python, python-shell): Require
1362 ansi-color. Use python--set-prompt-regexp to set the comint
1363 prompt based on the Python interpreter.
1364 (python--prompt-regexp): New var.
1365 (python-check-comint-prompt)
1366 (python-comint-output-filter-function): Use it.
1367 (run-python): Use a pipe (Bug#5694).
1369 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
1371 * progmodes/python.el (python-send-region): Send a different
1372 Python command if Ipython is in use.
1373 (python-check-version): Use a Python command to find the version.
1375 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
1377 * mouse.el (mouse-yank-primary): Avoid setting primary when
1378 deactivating the mark (Bug#6872).
1380 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
1382 * progmodes/python.el (python-block-pairs): Allow use of "finally"
1383 with "else" (Bug#3991).
1385 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
1387 * net/dbus.el: Accept UNIX domain sockets as bus address.
1388 (top): Don't initialize `dbus-registered-objects-table' anymore,
1389 this is done in dbusbind,c.
1390 (dbus-check-event): Adapt test for bus.
1391 (dbus-return-values-table, dbus-unregister-service)
1392 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
1395 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
1397 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
1399 2010-08-22 Juri Linkov <juri@jurta.org>
1401 * simple.el (read-extended-command): New function with the logic
1402 for `completing-read' moved to Elisp from `execute-extended-command'.
1403 Use `function-called-at-point' in `minibuffer-default-add-function'
1404 to get a command name for M-n (bug#5364, bug#5214).
1406 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1408 * startup.el (command-line-1): Issue warning for ignored arguments
1409 --unibyte, etc (Bug#6886).
1411 2010-08-22 Leo <sdl.web@gmail.com>
1413 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
1414 (ignore, bright, dim, keyword): Split list of nicknames before
1415 passing to rcirc-add-or-remove (Bug#6894).
1417 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1419 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
1421 2010-08-22 Leo <sdl.web@gmail.com>
1423 Fix buffer-list rename&refresh after killing a buffer in ido.
1424 * lisp/ido.el: Revert Óscar's.
1425 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
1426 Remember the buffers at head, rather than their name.
1427 * lisp/iswitchb.el (iswitchb-kill-buffer): Re-make the list.
1429 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
1430 Stefan Monnier <monnier@iro.umontreal.ca>
1432 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
1433 extra backslash added to each line (bug#6890).
1435 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
1437 * subr.el (read-key): Don't echo keystrokes (bug#6883).
1439 2010-08-22 Glenn Morris <rgm@gnu.org>
1441 * menu-bar.el (menu-bar-games-menu): Add landmark.
1443 2010-08-22 Glenn Morris <rgm@gnu.org>
1445 * align.el (align-regexp): Make group and spacing arguments
1446 use the interactive defaults when non-interactive. (Bug#6698)
1448 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
1449 expansion, so as not to need sendmail.
1450 (mail-text-start): Remove declaration.
1451 (rmail-retry-failure): Require sendmail.
1453 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1455 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
1457 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
1459 * progmodes/flymake.el (flymake-start-syntax-check-process):
1460 Use `start-file-process' in order to let it run also on remote hosts.
1462 2010-08-22 Kenichi Handa <handa@m17n.org>
1464 * files.el: Add `word-wrap' as safe local variable.
1466 2010-08-22 Glenn Morris <rgm@gnu.org>
1468 * woman.el (woman-translate): Case matters. (Bug#6849)
1470 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
1472 * simple.el (kill-region): Doc fix (Bug#6787).
1474 2010-08-22 Glenn Morris <rgm@gnu.org>
1476 * calendar/diary-lib.el (diary-header-line-format):
1477 Fit it to the window, not the frame.
1479 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
1481 * subr.el (ignore-errors): Add debug declaration.
1483 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
1485 * whitespace.el (whitespace-color-off): Remove post-command-hook
1488 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
1490 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
1492 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1494 * cus-edit.el (custom-group-value-create): Add extra newline
1495 before end line (Bug#6876).
1497 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
1499 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
1500 when extending it. Before killing on the second click, check if
1501 the buffer is the correct one. Doc fix.
1502 (mouse-secondary-save-then-kill): Allow usage without first
1503 calling mouse-start-secondary, by defaulting to point. Don't save
1504 an empty secondary selection. Doc fix.
1506 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1508 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
1509 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
1511 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
1512 Adjust initialization.
1513 (whitespace-bob-marker, whitespace-eob-marker)
1514 (whitespace-buffer-changed): New vars.
1515 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
1516 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
1517 (whitespace-post-command-hook, whitespace-display-char-on):
1519 (whitespace-looking-back, whitespace-buffer-changed): New funs.
1520 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
1522 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
1524 * files.el (locate-file-completion-table): Only list the .el and .elc
1525 extensions if there's no other choice (bug#5955).
1527 * facemenu.el (facemenu-self-insert-data): New var.
1528 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
1530 (facemenu-add-face): Use them.
1532 * simple.el (blink-matching-open): Obey forward-sexp-function.
1534 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * simple.el (prog-mode-map): New var.
1537 (prog-indent-sexp): New command.
1539 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
1541 * progmodes/prolog.el (smie): Require.
1543 * emacs-lisp/smie.el (smie-default-backward-token)
1544 (smie-default-forward-token): Strip properties.
1545 (smie-next-sexp): Be more careful with associative operators.
1546 (smie-forward-sexp-command): Generalize.
1547 (smie-backward-sexp-command): Simplify.
1548 (smie-closer-alist): New var.
1549 (smie-close-block): New command.
1550 (smie-indent-debug-log): New var.
1551 (smie-indent-offset-rule): Add a few more cases.
1552 (smie-indent-column): New function.
1553 (smie-indent-after-keyword): Use it.
1554 (smie-indent-keyword): Use it.
1555 Fix up the opener code's point position.
1556 (smie-indent-comment): Only applies at BOL.
1557 (smie-indent-debug): New command.
1559 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
1560 declarations that are useful before running the macro.
1562 2010-08-18 Joakim Verona <joakim@verona.se>
1564 * image.el (imagemagick-types-inhibit): New variable.
1565 (imagemagick-register-types): New function.
1566 * image-mode.el (image-transform-properties): New function.
1567 (image-transform-set-scale, image-transform-fit-to-height)
1568 (image-transform-set-rotation, image-transform-set-resize)
1569 (image-transform-fit-to-width, image-transform-fit-to-height):
1571 (image-toggle-display-image): Support image transforms.
1573 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
1575 * image.el (create-animated-image): Don't add heuristic mask to image
1578 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
1580 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
1581 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
1583 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
1587 Font-lock '...' strings, plus various simplifications and fixes.
1588 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
1589 (octave-font-lock-close-quotes): New function.
1590 (octave-font-lock-syntactic-keywords): New var.
1591 (octave-mode): Use it. Set beginning-of-defun-function.
1592 (octave-mode-map): Don't override the <foo>-defun commands.
1593 (octave-mode-menu): Pass it directly to easy-menu-define;
1594 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
1595 (octave-block-match-alist): Fix up last change so that
1596 octave-close-block uses the more specific keyword.
1597 (info-lookup-mode): Silence byte-compiler.
1598 (octave-beginning-of-defun): Not interactive any more.
1600 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
1601 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
1602 (octave-completion-at-point-function): Make sure point is within
1604 (octave-reindent-then-newline-and-indent):
1605 Use reindent-then-newline-and-indent.
1606 (octave-add-octave-menu): Remove.
1608 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
1610 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
1611 (report-emacs-bug-can-use-xdg-email): New functions.
1612 (report-emacs-bug): Set can-xdg-email to result of
1613 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
1614 \C-cm to report-emacs-bug-insert-to-mailer and add help text
1617 * net/browse-url.el (browse-url-default-browser): Add cond
1618 for browse-url-xdg-open.
1619 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
1621 2010-08-17 Glenn Morris <rgm@gnu.org>
1623 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
1624 (c-fontify-recorded-types-and-refs): Define for compiler.
1625 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
1628 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
1631 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
1633 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
1635 (tramp-handle-process-file): Call the program in a subshell, in
1636 order to preserve working directory.
1637 (tramp-action-password): Hide password prompt before next run.
1638 (tramp-process-actions): Widen connection buffer for the trace.
1640 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1642 * net/rcirc.el (rcirc-log-process-buffers): New option.
1643 (rcirc-print): Use it.
1644 (rcirc-generate-log-filename): New function.
1645 (rcirc-log-filename-function): Change default to
1646 rcirc-generate-log-filename (Bug#6828).
1648 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
1650 * simple.el (deactivate-mark): If select-active-regions is `only',
1651 only set selection for temporarily active regions.
1653 * cus-start.el: Change defcustom for select-active-regions.
1655 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1657 * mouse.el (mouse--drag-set-mark-and-point): New function.
1658 (mouse-drag-track): Use LOCATION arg to push-mark.
1659 Use mouse--drag-set-mark-and-point to take click-count into
1660 consideration when updating point and mark (Bug#6840).
1662 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
1664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1665 Give the Ruby rule a lower priority than Gnu (Bug#6778).
1667 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
1669 * font-lock.el (lisp-font-lock-keywords-2):
1670 Add combine-after-change-calls, condition-case-no-debug,
1671 with-demoted-errors, and with-silent-modifications (Bug#6025).
1673 2010-08-14 Kevin Ryde <user42@zip.com.au>
1675 * emacs-lisp/copyright.el (copyright-update-year)
1676 (copyright-update): Temporary switch-to-buffer to ensure the
1677 buffer change being queried is visible (Bug#5394).
1679 2010-08-14 Tom Tromey <tromey@redhat.com>
1681 * progmodes/etags.el (tags-file-name): Mark safe if stringp
1684 2010-08-14 Eli Zaretskii <eliz@gnu.org>
1686 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
1689 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
1691 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
1692 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
1693 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
1694 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
1695 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
1696 Call menu-bar-set-tool-bar-position.
1698 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1700 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
1701 comment style (bug#6834).
1702 * progmodes/scheme.el (scheme-mode-syntax-table):
1703 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
1704 "b" flag in "' 14b" syntax.
1706 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
1707 for (un)commenting the region and performing completion.
1708 (octave-mode-menu): Use standard commands for help and completion.
1709 (octave-mode-syntax-table): Support %{..%} comments (sort of).
1710 (octave-mode): Use define-derived-mode.
1711 Set completion-at-point-functions and don't set columns.
1712 Don't disable adaptive-fill-regexp.
1713 (octave-describe-major-mode, octave-comment-region)
1714 (octave-uncomment-region, octave-comment-indent)
1715 (octave-indent-for-comment): Remove.
1716 (octave-indent-calculate): Rename from calculate-octave-indent.
1717 (octave-indent-line, octave-fill-paragraph): Update caller.
1718 (octave-initialize-completions): No need to make an alist.
1719 (octave-completion-at-point-function): New function.
1720 (octave-complete-symbol): Use it.
1721 (octave-insert-defun): Use define-skeleton.
1723 * progmodes/octave-mod.el (octave-mode): Set comment-add.
1724 (octave-mode-map): Use comment-dwim (bug#6829).
1726 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com> (tiny change)
1728 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
1729 indentation of inserted comment.
1731 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
1733 * faces.el (region): Add type gtk that uses gtk colors.
1735 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
1736 Handle theme-name change.
1738 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
1740 * progmodes/sql.el: Version 2.5
1741 (sql-product-alist): Add :prompt-cont-regexp property for several
1743 (sql-prompt-cont-regexp): New variable.
1744 (sql-output-newline-count, sql-output-by-send):
1745 New variables. Record number of newlines in input text.
1746 (sql-send-string): Handle multiple filters and count newlines.
1747 (sql-send-magic-terminator): Count terminator newline.
1748 (sql-interactive-remove-continuation-prompt): Filters output to
1749 remove continuation prompts; one for each newline.
1750 (sql-interactive-mode): Set up new variables, prompt regexp and
1752 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
1753 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
1755 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * emacs-lisp/pcase.el: New file.
1759 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
1761 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
1762 as here-document, otherwise the command could exceed maximum
1763 length of command line.
1764 (tramp-handle-vc-registered): Call script accordingly.
1765 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
1767 2010-08-10 Kenichi Handa <handa@m17n.org>
1769 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
1772 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
1774 * emacs-lisp/package.el (package-version-split)
1775 (package--version-first-nonzero, package-version-compare):
1777 (package-directory-list, package-load-all-descriptors)
1778 (package--built-in, package-activate, define-package)
1779 (package-installed-p, package-compute-transaction)
1780 (package-read-all-archive-contents)
1781 (package--add-to-archive-contents, package-buffer-info)
1782 (package-tar-file-info, package-list-packages-internal):
1783 Use version-to-list and version-list-*.
1785 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1786 Use version-to-list.
1787 (package-upload-buffer-internal): Use version-list-<=.
1789 2010-08-09 Kenichi Handa <handa@m17n.org>
1791 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
1794 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
1796 * tutorial.el (tutorial--default-keys): C-d is now bound to
1797 delete-forward-char (Bug#6826).
1799 * mouse.el (mouse-drag-track): Remove accidentally-removed check
1800 for `double' value of mouse-1-click-follows-link (Bug#6807).
1802 2010-08-08 Johan Bockgård <bojohan@gnu.org>
1804 * replace.el (replace-highlight): Bind isearch-forward and
1805 isearch-error, ensuring that highlighting is updated if the user
1806 switches the search direction (Bug#6808).
1808 * isearch.el (isearch-lazy-highlight-forward): New var.
1809 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
1810 (isearch-lazy-highlight-update): Use it.
1812 2010-08-08 Kenichi Handa <handa@m17n.org>
1814 * international/mule.el (define-charset): Store NAME as :base property.
1815 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
1816 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
1817 current priority. Force using the designation of the specific
1818 charset by adding `charset' text property. Improve the whole algorithm.
1820 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1822 * emulation/pc-select.el (pc-selection-mode-hook)
1823 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
1824 (pc-selection-mode): Fix typos in docstrings.
1826 2010-08-08 Kenichi Handa <handa@m17n.org>
1828 * language/cyrillic.el: Don't add "microsoft-cp1251" to
1829 ctext-non-standard-encodings-alist here.
1831 * international/mule.el (ctext-non-standard-encodings-alist):
1832 Add "koi8-r" and "microsoft-cp1251".
1833 (ctext-standard-encodings): New variable.
1834 (ctext-non-standard-encodings-table): List only elements for
1835 non-standard encodings.
1836 (ctext-pre-write-conversion): Adjust for the above change.
1837 Check ctext-standard-encodings.
1839 * international/mule-conf.el (compound-text): Doc fix.
1840 (ctext-no-compositions): Doc fix.
1841 (compound-text-with-extensions): Doc fix.
1843 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
1847 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1849 * progmodes/which-func.el (which-func-format): Split help-echo text
1850 into lines, like other mode-line tooltips.
1852 * server.el (server-start): When using TCP sockets, force IPv4
1853 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
1855 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
1859 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1861 * term.el (term-delimiter-argument-list): Reflow docstring.
1862 (term-read-input-ring, term-write-input-ring, term-send-input)
1863 (term-bol, term-erase-in-display, serial-supported-or-barf):
1864 Fix typos in docstrings.
1866 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
1870 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1872 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
1874 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
1876 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
1877 Fix typo in docstring (bug#6747).
1879 2010-08-08 Leo <sdl.web@gmail.com>
1881 * eshell/esh-io.el (eshell-get-target): Better detection of
1882 read-only file (Bug#6762).
1884 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
1886 * align.el (align-default-spacing): Doc fix.
1887 (align-region-heuristic, align-regexp): Fix typos in docstrings.
1889 2010-08-08 Stephen Peters <speters@itasoftware.com>
1891 * calendar/icalendar.el
1892 (icalendar--split-value): Fixed splitting regexp. (Bug#6766)
1893 (icalendar--get-weekday-numbers): New
1894 (icalendar--convert-recurring-to-diary): Handle multiple byday
1895 values in weekly rules. (Bug#6766)
1897 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
1899 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
1900 (icalendar--create-uid, icalendar-export-region)
1901 (icalendar--parse-summary-and-rest): Code formatting.
1903 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1905 * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
1906 to italicize headers.
1907 (calc-highlight-selections-with-faces): New variable.
1908 (calc-selected-face, calc-nonselected-face): New faces.
1910 * calc/calccomp.el (math-comp-highlight-string): Use
1911 `calc-highlight-selections-with-faces' to determine how to highlight
1914 * calc/calc-sel.el (calc-show-selections): Change message to when
1915 using faces to highlight selections.
1917 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
1919 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
1920 Add SQLite 3 keywords, functions and datatypes.
1921 (sql-interactive-mode): Remove `comint-process-echoes' set to t
1924 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
1926 * simple.el (select-active-regions): Move to keyboard.c.
1927 (deactivate-mark): Used saved-region-selection.
1928 (select-active-region): Function removed.
1929 (activate-mark, set-mark, push-mark-command)
1930 (handle-shift-selection): Don't call it.
1931 (keyboard-quit): Avoid adding the region to the window selection.
1933 * mouse.el (mouse-drag-track): Remove hacks to deal with old
1934 select-active-regions implementation.
1935 (mouse-yank-at-click): Doc fix.
1937 * cus-start.el: Add custom declaration for select-active-regions.
1939 2010-08-07 Eli Zaretskii <eliz@gnu.org>
1941 * simple.el (delete-forward-char): Doc fix.
1943 * tutorial.el (help-with-tutorial): Hack safe file-local variables
1944 after reading the tutorial.
1946 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
1948 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
1949 for the case that a C style comment has its delimiters alone on
1950 their respective lines.
1952 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
1954 * net/tramp.el (tramp-handle-start-file-process): Set connection
1956 (tramp-process-sentinel): Use it for flushing the cache. We
1957 cannot do it via the process buffer, the buffer could be deleted
1958 already when running the sentinel.
1960 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1962 * comint.el (comint-mode): Make directory tracking functions
1963 functional on remote files. (Bug#6764)
1965 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
1967 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
1969 2010-08-05 Eli Zaretskii <eliz@gnu.org>
1971 * emacs-lisp/find-gc.el (find-gc-source-files): Rename
1972 unexec.c => unexcoff.c.
1974 * emacs-lisp/authors.el (authors-fixed-entries): Rename
1975 unexec.c => unexcoff.c.
1977 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
1979 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
1980 cache, not only file cache.
1981 (tramp-process-sentinel): New defun.
1982 (tramp-handle-start-file-process): Use it, in order to invalidate
1985 2010-08-03 Leo <sdl.web@gmail.com>
1987 * server.el (server-start): Simplify loop.
1989 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
1991 * frame.el (screen-height, screen-width, set-screen-width)
1992 (set-screen-height): Remove ancient compatibility aliases.
1994 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
1995 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
1997 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
1998 that change current buffer.
2000 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2002 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
2003 beginning of the string. Use `string-match-p'. (Bug#6765)
2005 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
2007 * cus-start.el (x-gtk-use-system-tooltips): New variable.
2009 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
2011 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
2012 (package--builtins): Tweak descriptions.
2013 (package-print-package): Upcase descriptions if necessary.
2014 Show all built-in packages in font-lock-builtin-face.
2015 (package-list-packages-internal): Omit "emacs" package.
2016 Show status of built-in packages as "built-in".
2018 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
2020 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
2021 before killing to preserve the primary selection (Bug#6701).
2023 * term/x-win.el (x-select-text): Doc fix.
2025 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
2027 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
2028 The following functions were modified or created:
2030 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
2031 (objc-font-lock-extra-types):
2032 * progmodes/cc-mode.el (c-basic-common-init):
2033 * progmodes/cc-langs.el (c-make-mode-syntax-table)
2034 (c++-make-template-syntax-table)
2035 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
2036 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
2037 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
2038 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
2039 * progmodes/cc-fonts.el (c-make-inverse-face)
2040 (c-basic-matchers-after):
2041 * progmodes/cc-engine.el (c-forward-keyword-clause)
2042 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
2043 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
2044 (c-guess-continued-construct, c-guess-basic-syntax):
2046 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
2048 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
2050 2010-07-31 Eli Zaretskii <eliz@gnu.org>
2052 * files.el (bidi-paragraph-direction): Define safe local values.
2054 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
2055 language-info-alist. Remove outdated FIXME in a comment.
2057 2010-07-31 Alan Mackenzie <acm@muc.de>
2059 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
2060 Auto-fill broken in C/C++ modes.
2062 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
2064 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
2065 (menu-bar-showhide-tool-bar-menu-customize-disable)
2066 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
2067 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
2068 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
2069 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
2070 make a menu for Options => toolbar that can move it.
2072 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
2074 * emacs-lisp/package-x.el (package--make-rss-entry):
2075 (package-maint-add-news-item, package--update-news)
2076 (package-upload-buffer-internal): New arg ARCHIVE-URL.
2078 * emacs-lisp/package.el (package-archive-url): Rename from
2080 (package-install): Doc fix.
2081 (package-download-single, package-download-tar, package-install)
2082 (package-menu-view-commentary): Callers changed.
2084 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
2086 * net/tramp.el (tramp-handle-start-file-process): Check only for
2087 `remote-tty' process property.
2088 (tramp-open-shell): Don't check for tty.
2089 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
2092 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
2095 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
2097 * emacs-lisp/package.el (package-load-list, package-archives)
2098 (package-archive-contents, package-user-dir)
2099 (package-directory-list, package--builtins, package-alist)
2100 (package-activated-list, package-obsolete-alist): Mark as risky.
2102 2010-07-28 Phil Hagelberg <phil@evri.com>
2104 Add support for non-default package repositories.
2105 * emacs-lisp/package.el (package-archive-base): Var deleted.
2106 (package-archives): New variable.
2107 (package-archive-contents): Doc fix.
2108 (package-load-descriptor): Do nothing if descriptor file is missing.
2109 (package--write-file-no-coding): New function.
2110 (package-unpack-single): Use it.
2111 (package-archive-id): New function.
2112 (package-download-single, package-download-tar)
2113 (package-menu-view-commentary): Use it.
2114 (package-installed-p): Make second argument optional.
2115 (package-read-all-archive-contents): New function.
2116 (package-initialize): Use it.
2117 (package-read-archive-contents): Add ARCHIVE argument.
2118 (package--add-to-archive-contents): New function.
2119 (package-install): Don't call package-read-archive-contents.
2120 (package--download-one-archive): Store archive file in a
2121 subdirectory of package-user-dir.
2122 (package-menu-execute): Remove spurious line movement.
2124 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
2126 * cus-start.el (tool-bar-style): Add text-image-horiz.
2128 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2130 * progmodes/gud.el (gud-common-init): Check for remoteness of
2131 `file', and not of `default-directory'.
2133 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
2135 * net/tramp.el (tramp-methods): Move hostname to the end in all
2136 ssh `tramp-login-args'.
2137 (tramp-verbose): Describe verbose level 9.
2138 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
2139 (tramp-open-connection-setup-interactive-shell): Trace stty
2140 settings if `tramp-verbose' >= 9.
2141 (tramp-handle-start-file-process): Implement tty setting.
2142 (Bug#4604, Bug#6360)
2144 * net/tramp-cmds.el (tramp-bug): Recommend setting of
2145 `tramp-verbose' to 9.
2147 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
2149 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
2150 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
2151 Remove references to package `lisp-re' (bug#4369).
2153 2010-07-27 Tom Tromey <tromey@redhat.com>
2155 * progmodes/js.el (js-mode):
2156 * progmodes/make-mode.el (makefile-mode):
2157 * progmodes/simula.el (simula-mode):
2158 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
2160 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
2162 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
2164 * cedet/semantic/db-file.el (object-write): Fix typo in docstring.
2166 * time.el (display-time-day-and-date): Remove spurious * in docstring.
2167 (display-time-world-buffer-name, display-time-world-mode-map):
2168 Fix typos in docstrings.
2170 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
2172 * image-mode.el (image-display-size): New function.
2173 (image-forward-hscroll, image-next-line, image-eol, image-eob)
2174 (image-mode-fit-frame): Use it (Bug#6639).
2176 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
2178 * dired.el (dired-buffers-for-dir): Handle list values of
2179 dired-directory (Bug#6636).
2181 2010-07-26 Sam Steingold <sds@gnu.org>
2183 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
2184 Do not call `x-get-selection' the second time, reuse the value.
2186 2010-07-26 Daiki Ueno <ueno@unixuser.org>
2188 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
2189 which consist of control chars only. Suggested by Richard Stallman.
2191 2010-07-25 Daiki Ueno <ueno@unixuser.org>
2193 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
2194 exists before passing an error to find-file-not-found-functions
2197 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
2199 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
2200 Remove leading nil element, adjust values.
2201 (tetris-shapes, tetris-shape-scores):
2202 Change representation of shapes and remove some redundancy.
2203 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
2204 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
2205 Adjust for working with new representation of shapes.
2206 (tetris-shape-rotations): New function.
2207 (tetris-move-bottom, tetris-move-left, tetris-move-right)
2208 (tetris-rotate-prev, tetris-rotate-next):
2209 Adjust for working with the new version of tetris-test-shape.
2211 2010-07-23 Markus Triska <markus.triska@gmx.at>
2213 * progmodes/ps-mode.el: Use comint (bug#5954).
2214 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
2215 (ps-mode-other-newline): Simplify.
2216 (ps-run-mode): Derive from comint-mode instead of
2217 fundamental-mode, yielding input history etc.
2218 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
2219 (ps-run-send-string): Adapt for comint-mode.
2220 (ps-run-newline): Remove now unneeded function.
2222 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2224 * net/tramp.el (tramp-methods): Move hostname to the end in all
2225 plink `tramp-login-args'.
2227 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp.el (tramp-open-shell): New defun.
2230 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2233 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
2235 * net/tramp.el (tramp-file-name-regexp-unified)
2236 (tramp-completion-file-name-regexp-unified): On W32 systems, do
2237 not regard the volume letter as remote filename. (Bug#5447)
2239 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
2241 * custom.el (custom-declare-variable): Give a clearer error message
2242 when the docstring is missing (bug#6476).
2244 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
2246 * progmodes/sql.el: Version 2.4. Improved Login prompting.
2247 (sql-login-params): New widget definition.
2248 (sql-oracle-login-params, sql-mysql-login-params)
2249 (sql-solid-login-params, sql-sybase-login-params)
2250 (sql-informix-login-params, sql-ingres-login-params)
2251 (sql-ms-login-params, sql-postgres-login-params)
2252 (sql-interbase-login-params, sql-db2-login-params)
2253 (sql-linter-login-params): Use it.
2254 (sql-sqlite-login-params): Use it; Define "database" parameter as
2256 (sql-sqlite-program): Change to "sqlite3".
2257 (sql-comint-sqlite): Make sure database name is complete.
2258 (sql-for-each-login): New function.
2259 (sql-connect, sql-save-connection): Use it.
2260 (sql-get-login-ext): New function.
2261 (sql-get-login): Use it.
2262 (sql-make-alternate-buffer-name): Handle :file parameters.
2264 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
2266 * dired.el (dired-no-confirm): Document value t and fix defcustom to
2267 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
2269 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
2271 * dired.el (dired-mode-map): Use command remapping (bug#6632).
2273 2010-07-22 Lawrence Mitchell <wence@gmx.li>
2275 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
2277 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
2279 * net/tramp.el (tramp-get-ls-command)
2280 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
2283 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
2285 * progmodes/sql.el: Version 2.3.
2286 (sql-connection-alist): Changed keys from symbols to strings;
2287 enhanced the widget definition.
2288 (sql-mode-menu): Added submenu to select connections.
2289 (sql-interactive-mode-menu): Added "Save Connection" item.
2290 (sql-add-product): Fixed menu item.
2291 (sql-get-product-feature): Improved error handling.
2292 (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
2293 (sql-make-alternate-buffer-name): Simplified.
2294 (sql-product-interactive): Handle missing product.
2295 (sql-connect): Support string keys, minor improvements.
2296 (sql-save-connection): New function.
2297 (sql-connection-menu-filter): New function.
2299 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2301 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
2302 (tramp-open-connection-setup-interactive-shell): Apply
2303 workaround for IRIX64 bug. Move argument of last
2304 `tramp-send-command' where it belongs to.
2306 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
2308 * net/tramp.el (tramp-perl-file-attributes)
2309 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
2310 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
2311 front of `login-args'.
2313 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
2315 * time.el (display-time-world-mode): Define with `define-derived-mode'.
2316 Set `show-trailing-whitespace' to nil.
2317 (display-time-world-display): Simplify.
2319 2010-07-18 Alan Mackenzie <acm@muc.de>
2321 Enhance `c-file-style' in file/directory local variables.
2322 * progmodes/cc-mode.el (c-count-cfss): New function.
2323 (c-before-hack-hook): Call `c-set-style' differently according to
2324 whether c-file-style was set in file or directory local
2327 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
2329 * progmodes/sql.el: Version 2.2.
2330 (sql-product, sql-user, sql-database, sql-server, sql-port): Use
2331 defcustom :safe keyword rather than putting safe-local-variable
2333 (sql-password): Use defcustom :risky keyword rather than putting
2334 risky-local-variable property.
2335 (sql-oracle-login-params, sql-sqlite-login-params)
2336 (sql-solid-login-params, sql-sybase-login-params)
2337 (sql-informix-login-params, sql-ingres-login-params)
2338 (sql-ms-login-params, sql-postgres-login-params)
2339 (sql-interbase-login-params, sql-db2-login-params)
2340 (sql-linter-login-params): Add `port' option.
2341 (sql-get-product-feature): Added NO-INDIRECT parameter.
2342 (sql-comint-oracle, sql-comint-sybase)
2343 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
2344 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
2345 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
2346 (sql-comint-linter): Renamed sql-connect-* functions to
2348 (sql-product-alist, sql-mode-menu): Renamed as above and
2349 :sqli-connect-func to :sqli-comint-func.
2350 (sql-connection): New variable.
2351 (sql-interactive-mode): Set it.
2352 (sql-connection-alist): New variable.
2353 (sql-connect): New function.
2354 (sql--alt-buffer-part, sql--alt-if-not-empty)
2355 (sql-make-alternate-buffer-name): Improved alternative buffer name.
2357 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2359 * image-mode.el (image-bookmark-make-record): Do not set context
2360 in an image (Bug#6650).
2362 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2364 * simple.el (select-active-region): New function.
2365 (push-mark-command, set-mark, activate-mark)
2366 (handle-shift-selection): Use it.
2367 (deactivate-mark): Don't check for size of region.
2369 * mouse.el (mouse-drag-track): Use select-active-region.
2371 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
2373 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
2376 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
2378 * term/x-win.el (x-select-enable-primary): Change default to nil.
2379 (x-select-enable-clipboard): Add :version keyword.
2381 * mouse.el (mouse-drag-copy-region):
2382 * simple.el (select-active-regions): Likewise.
2384 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
2386 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
2387 (vc-coding-system-for-diff): Use it to decide whether to inherit
2388 from the file the EOL format for reading the diffs of that file.
2391 2010-07-16 Eli Zaretskii <eliz@gnu.org>
2393 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
2394 unibyte, so compressed attachments are not compressed again.
2396 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
2398 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
2399 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
2400 (tramp-find-shell): Simplify setting connection property.
2401 (tramp-get-ls-command): Make test for "--color=never" stronger.
2403 2010-07-15 Simon South <ssouth@member.fsf.org>
2405 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
2406 blocks within record declarations (i.e. variant parts) correctly.
2408 2010-07-15 Simon South <ssouth@member.fsf.org>
2410 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
2411 over literal tokens when parsing so newlines aren't "absorbed" by
2412 single-line comments. Corrects the indentation of case blocks
2413 that have a comment on the first line.
2415 2010-07-14 Karl Fogel <kfogel@red-bean.com>
2417 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
2418 by Drew Adams (Bug#5504).
2420 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
2422 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
2423 now that Unicode is used (Bug#6594).
2425 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
2427 * term/x-win.el (x-select-enable-clipboard): Default to t.
2428 (x-initialize-window-system): Don't overwrite Paste menu item.
2430 * simple.el (select-active-regions): Default to t.
2431 (push-mark-command): Don't overwrite primary with empty string.
2433 * mouse.el: Bind mouse-2 to mouse-yank-primary.
2434 (mouse-drag-copy-region): Default to nil.
2436 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
2437 Cut/Copy/Paste menu bar items.
2439 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2441 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
2442 Patch applied by Karl Fogel.
2444 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
2445 and `bookmark-current-buffer' if they have been already set in
2446 another buffer (e.g gnus-art).
2448 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2449 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2451 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
2453 * bookmark.el (bookmark-make-record-default): Allow unneeded
2454 information to be omitted from the record.
2456 Adjust declarations and calls:
2458 * info.el (bookmark-make-record-default): Adjust declaration.
2459 (Info-bookmark-make-record): Adjust call.
2461 * woman.el (bookmark-make-record-default): Adjust declaration.
2462 (woman-bookmark-make-record): Adjust call.
2464 * man.el (bookmark-make-record-default): Adjust declaration.
2465 (Man-bookmark-make-record): Adjust call.
2467 * image-mode.el (bookmark-make-record-default): Adjust declaration.
2469 * doc-view.el (bookmark-make-record-default): Adjust declaration.
2471 2010-07-13 Karl Fogel <kfogel@red-bean.com>
2473 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
2474 This is also from Thierry Volpiatto's patch in bug #6444. However,
2475 because it was extraneous to the functional change in that patch,
2476 and causes a re-indendation, I am committing it separately.
2478 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2480 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
2481 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
2482 Patch applied by Karl Fogel (Bug#6444).
2484 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
2486 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
2488 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
2490 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
2491 Dempsky; bug#5084). Remove incorrect binding for S-tab.
2492 (ns-alternatives-map): Change S-tab binding to backtab
2495 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
2498 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
2500 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
2503 * language/tv-util.el (tai-viet-re): Remove format.
2505 2010-07-12 Kenichi Handa <handa@m17n.org>
2507 * language/hebrew.el: Remove no-byte-compile declaration.
2508 Change coding: tag to utf-8. Register hebrew-shape-gstring in
2509 composition-function-table for 3-character looking back.
2510 (hebrew-font-get-precomposed): New function.
2511 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
2513 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
2515 * mouse.el (mouse-drag-track): Handle select-active-regions
2518 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
2520 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
2521 empty argument to gvfs-copy.
2523 2010-07-10 Glenn Morris <rgm@gnu.org>
2525 * calendar/calendar.el (calendar-week-end-day): New function.
2526 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
2527 Respect calendar-week-start-day. (Bug#6606)
2528 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
2529 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
2530 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
2531 respect calendar-week-start-day.
2533 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
2535 * simple.el (use-region-p): Doc fix (Bug#6607).
2537 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
2539 * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
2540 regexps for cucumber and ruby.
2542 2010-07-08 Daiki Ueno <ueno@unixuser.org>
2544 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
2545 (epa-file-insert-file-contents): Hack to prevent
2546 find-file from opening empty buffer when decryption failed
2549 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
2551 * textmodes/ispell.el (ispell-alternate-dictionary):
2552 Use file-readable-p.
2553 Return nil if no word-list is found at default locations.
2554 (ispell-complete-word-dict): Default to nil.
2555 (ispell-command-loop): Use 'word-list' when using lookup-words.
2556 (lookup-words): Use ispell-complete-word-dict or
2557 ispell-alternate-dictionary. Check for word-list availability
2558 and handle errors if needed with better messages (Bug#6539).
2559 (ispell-complete-word): Use ispell-complete-word-dict or
2560 ispell-alternate-dictionary.
2562 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
2564 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
2565 builtins (BufferError, BytesWarning, WindowsError; callables
2566 bin, bytearray, bytes, format, memoryview, next, print; __package__).
2568 2010-07-07 Glenn Morris <rgm@gnu.org>
2570 * play/zone.el (top-level): Do not require timer, tabify, or cl.
2571 (zone-shift-left): Ignore intangibility, and any errors from
2573 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
2574 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
2575 deleting, and copying text properties.
2576 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
2577 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
2578 to point-max is hard.
2579 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
2580 (zone-fill-out-screen): Ignore intangibility.
2582 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
2584 * menu-bar.el (menu-bar-mode):
2585 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
2588 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
2589 word/line selection (Bug#6565).
2591 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
2593 * net/dbus.el (dbus-send-signal): Declare function.
2595 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
2597 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
2598 (dbus-register-property): New optional argument EMITS-SIGNAL.
2599 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
2601 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
2603 * mouse.el (mouse-drag-overlay): Variable deleted.
2604 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
2605 (mouse--remap-link-click-p): New function.
2606 (mouse-drag-track): Handle dragging by using temporary Transient
2607 Mark mode, instead of a special overlay.
2608 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
2611 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
2614 2010-07-02 Juri Linkov <juri@jurta.org>
2616 * autoinsert.el (auto-insert-alist): Fix readability
2617 by using dotted pair notation for lambda.
2619 2010-07-02 Juri Linkov <juri@jurta.org>
2621 * faces.el (read-face-name): Rename arg `string-describing-default'
2622 to `default'. Doc fix. Display the default value in quotes
2623 in the prompt. With empty input, return the `default' arg,
2624 unless the default value is a string (in which case return nil).
2625 (describe-face): Replace the string `default' arg of `read-face-name'
2626 with the symbol `default'.
2628 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
2630 * emulation/viper-cmd.el (viper-delete-backward-char)
2631 (viper-del-backward-char-in-insert)
2632 (viper-del-backward-char-in-replace, viper-change)
2633 (viper-backward-indent): Replace delete-backward-char with
2634 delete-char (Bug#6552).
2636 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
2638 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
2640 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2642 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
2643 argument passed to frame-creation-function (Bug#5378).
2645 * faces.el (x-handle-named-frame-geometry)
2646 (x-handle-reverse-video, x-create-frame-with-faces)
2647 (face-set-after-frame-default, tty-create-frame-with-faces): Don't
2648 separately consult default-frame-alist. It is now passed as the
2651 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
2653 * startup.el (command-line): Don't call tool-bar-setup in a
2656 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2658 * ruler-mode.el (ruler--save-header-line-format): New fun.
2659 (ruler-mode): Use it as a setter function, so as not to overwrite
2660 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
2662 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
2664 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
2665 (vc-root-diff, vc-print-root-log, vc-log-incoming)
2666 (vc-log-outgoing): Use it.
2667 (vc-diff-internal): Set diff-vc-backend.
2669 * vc/diff-mode.el (diff-vc-backend): New var.
2671 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
2673 * dynamic-setting.el (font-setting-change-default-font): Remove
2676 2010-06-28 Kenichi Handa <handa@m17n.org>
2678 * international/quail.el (quail-insert-kbd-layout): Fix the
2679 showing of untranslated characters.
2681 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
2683 * simple.el (delete-active-region): New option.
2684 (delete-backward-char): Implement in Lisp.
2685 (delete-forward-char): New command.
2687 * mouse.el (mouse-region-delete-keys): Deleted.
2688 (mouse-show-mark): Simplify.
2690 * bindings.el (global-map): Bind delete and DEL, the former to
2691 delete-forward-char.
2693 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
2695 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
2696 (ruby-mode): Bind indent-line-function (Bug#5119).
2698 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2700 * startup.el (command-line): Recognize "0" X resource value.
2702 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
2704 * startup.el (command-line): Use X resources to set the value of
2705 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
2707 * menu-bar.el (menu-bar-mode):
2708 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
2709 Set init-value to t.
2711 * frame.el (frame-notice-user-settings): Don't change
2712 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
2713 vice versa (Bug#2249).
2715 2010-06-26 Eli Zaretskii <eliz@gnu.org>
2717 * w32-fns.el (w32-convert-standard-filename): Doc fix.
2719 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
2721 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
2722 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
2724 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
2725 default directories are expanded (Bug#6143).
2727 2010-06-24 Juri Linkov <juri@jurta.org>
2729 * minibuffer.el (completions-format): Change default from nil to
2730 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
2732 2010-06-24 Juri Linkov <juri@jurta.org>
2734 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
2735 buffer-locally to lambda that re-runs the vc diff command.
2738 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
2740 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
2741 echo area is in use (Bug#3412).
2743 2010-06-22 Glenn Morris <rgm@gnu.org>
2745 * textmodes/texinfmt.el (texinfo-format-region)
2746 (texinfo-raise-lower-sections, texinfo-format-separate-node)
2747 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
2748 (texinfo-format-option, texinfo-noindent):
2749 Use line-beginning-position and line-end-position.
2751 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
2752 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
2753 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
2756 2010-06-21 Karl Fogel <kfogel@red-bean.com>
2758 * play/zone.el (zone-fall-through-ws): Fix next-line ->
2759 forward-line fallout.
2761 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
2763 * mouse.el (mouse-appearance-menu): Add docstring.
2765 * help.el (describe-key): Print up-event using key-description.
2767 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
2769 * net/zeroconf.el (zeroconf-resolve-service)
2770 (zeroconf-service-resolver-handler): Use
2771 `dbus-byte-array-to-string'.
2772 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
2774 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
2776 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
2778 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
2780 Avoid displaying files with a nil state in vc-dir.
2781 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
2782 cases that cause insertion.
2783 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
2786 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
2788 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
2790 2010-06-29 Leo <sdl.web@gmail.com>
2792 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
2794 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
2796 * generic-x.el (bat-generic-mode): Fix regexp for command line
2797 switches (Bug#5719).
2799 2010-06-27 Masatake YAMATO <yamato@redhat.com>
2801 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
2802 of nconc to avoid pure storage error (Bug#6239).
2804 2010-06-27 Christoph <cschol2112@googlemail.com> (tiny change)
2806 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
2807 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
2808 bindings of bookmark-automatically-show-annotations (Bug#6515).
2810 2010-06-25 Eli Zaretskii <eliz@gnu.org>
2812 * arc-mode.el (archive-zip-extract): Don't quote the file name on
2813 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
2815 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
2817 * comint.el (make-comint, make-comint-in-buffer): Mention return
2818 value in the docstrings. (Bug#6498)
2820 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
2822 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
2823 since it is not present when using some non-default switches.
2825 2010-06-23 Karl Fogel <kfogel@red-bean.com>
2827 * simple.el (compose-mail): Fix doc string to refer to
2828 `compose-mail-user-agent-warnings', instead of to the
2829 nonexistent `compose-mail-check-user-agent'.
2831 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
2833 Fix an indentation bug:
2835 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
2836 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
2839 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
2840 (c-clear->-pair-props-if-match-before): now return t when they've
2841 cleared properties, nil otherwise.
2842 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
2843 by taking account of the existing value.
2845 * progmodes/cc-defs.el
2846 (c-clear-char-property-with-value-function): Fix this to clear the
2847 property rather than overwriting it with nil.
2849 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
2851 * emacs-lisp/package.el (package-print-package): Add link to
2852 package description via describe-package.
2853 (describe-package-1): List package requirements. Add button to
2854 perform installation.
2855 (package-menu-describe-package): New command.
2857 * help-mode.el (help-package): New button type.
2859 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
2861 * emacs-lisp/package.el: Move package-list-packages binding to
2863 (describe-package, describe-package-1, package--dir): New funs.
2864 (package-activate-1): Use package--dir.
2866 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
2868 * help-mode.el (help-package-def): New button type.
2870 * menu-bar.el: Move package-list-packages binding here from
2873 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
2875 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
2877 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * emacs-lisp/edebug.el (edebug-read-list):
2880 Phase out old-style backquotes.
2882 2010-06-17 Juri Linkov <juri@jurta.org>
2884 * help-mode.el (help-mode): Set buffer-local variable
2885 revert-buffer-function to help-mode-revert-buffer.
2886 (help-mode-revert-buffer): New function.
2888 * info.el (Info-revert-find-node): Check for major-mode Info-mode
2889 before popping to "*info*" (like in other Info functions).
2890 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
2891 old-history-forward. Pop to old-buffer-name or "*info*" to
2892 recreate the killed buffer. Set Info-history-forward from
2893 old-history-forward.
2894 (Info-breadcrumbs-depth): Add :group and :version.
2896 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
2898 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
2900 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
2902 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
2903 for languages like Portuguese with pt_{BR,PT} and no plain pt.
2905 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
2907 * emacs-lisp/package.el (package-menu-mode-map):
2908 Move initialization into declaration.
2910 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
2912 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
2914 * emacs-lisp/package.el (package-archive-base): Point to
2916 (package-enable, package-load-list): New defcustoms.
2917 (package-user-dir, package-directory-list): Turn into defcustoms.
2918 Don't include package-user-dir in package-directory-list.
2919 (package--builtins-base): Don't include Emacs as a "package".
2920 (package-subdirectory-regexp): New var.
2921 (package-load-all-descriptors, package-compute-transaction)
2922 (package-download-transaction): Obey package-load-list.
2923 (package-activate-1): Rename from package-do-activate.
2924 (package-list-packages-internal): Check package-load-list.
2925 (package-load-descriptor, package-generate-autoloads)
2926 (package-unpack, package-unpack-single)
2927 (package--read-archive-file, package-delete): Use
2930 * emacs-lisp/package-x.el: New file. Package uploading
2931 functionality split out from package.el.
2933 * startup.el (command-line): Load packages after reading init
2936 2010-06-17 Tom Tromey <tromey@redhat.com>
2938 * emacs-lisp/package.el: New file.
2940 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2942 Fix vc-annotate for renamed files when using Git.
2943 * vc-git.el (vc-git-find-revision): Deal with empty results from
2944 ls-files. Doe not pass the object as a file name to cat-file, it
2946 (vc-git-annotate-command): Pass the file name using -- to avoid
2947 ambiguity with the revision.
2948 (vc-git-previous-revision): Pass a relative file name.
2950 2010-06-22 Glenn Morris <rgm@gnu.org>
2952 * progmodes/js.el (js-mode-map): Use standard capitalization and
2953 ellipses for menu entries.
2955 * wid-edit.el (widget-complete): Doc fix.
2957 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
2959 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
2961 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
2963 Fix annotating other revisions for renamed files in vc-annotate.
2964 * vc-annotate.el (vc-annotate): Add an optional argument for the
2965 VC backend. Use it when non-nil.
2966 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
2969 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
2970 * vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2971 Do not pass the file name to the 'previous-revision call when we
2972 don't want a file diff. (Bug#6489)
2974 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2976 Fix finding revisions for renamed files in vc-annotate.
2977 * vc.el (vc-find-revision): Add an optional argument for
2978 the VC backend. Use it when non-nil.
2979 * vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
2980 backend to vc-find-revision. (Bug#6487)
2982 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
2984 Fix reading file names in Git annotate buffers.
2985 * vc-git.el (vc-git-annotate-extract-revision-at-line): Remove
2986 trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
2988 2010-06-20 Alan Mackenzie <acm@muc.de>
2990 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
2991 in file local variables, set it first.
2993 2010-06-19 Glenn Morris <rgm@gnu.org>
2995 * descr-text.el (describe-char-unicode-data): Insert separating
2996 space when needed. (Bug#6422)
2998 * progmodes/idlwave.el (idlwave-action-and-binding):
2999 Fix typo in 2009-12-03 change. (Bug#6450)
3001 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
3004 handling for `lambda' (misunderstanding).
3006 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
3008 * calc/calc-poly.el (math-accum-factors): Make sure that
3009 constants aren't distributed after they are factored out.
3011 2010-06-16 Juri Linkov <juri@jurta.org>
3013 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
3014 `list-colors-print'. (Bug#6332)
3016 * subr.el (read-quoted-char): Fix up last change (bug#6290).
3018 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3020 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
3021 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
3023 * font-lock.el (font-lock-major-mode): Rename from
3024 font-lock-mode-major-mode to distinguish it from
3025 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
3026 (font-lock-set-defaults):
3027 * font-core.el (font-lock-default-function): Adjust users.
3028 (font-lock-mode): Don't set it at all.
3030 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
3032 * vc-annotate.el (vc-annotate): Use vc-read-revision.
3034 2010-06-16 Glenn Morris <rgm@gnu.org>
3036 * calendar/appt.el (appt-time-msg-list): Doc fix.
3037 (appt-check): Let-bind appt-warn-time.
3038 (appt-add): Make the 3rd argument optional.
3039 Simplify argument names. Doc fix. Check for integer WARNTIME.
3040 Only add WARNTIME to the output list if non-nil.
3042 2010-06-16 Ivan Kanis <apple@kanis.eu>
3044 * calendar/appt.el (appt-check): Let the 3rd element of
3045 appt-time-msg-list specify the warning time.
3046 (appt-add): Add new argument with the warning time. (Bug#5176)
3048 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3050 * vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
3051 older than version 1.6. (Bug#6361)
3053 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
3055 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
3056 used by cl-do-arglist. (Bug#6408)
3058 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
3060 * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
3061 portuguese casechars/not-casechars for missing 'çÇ'.
3062 Suggested by Rolando Pereira (bug#6434).
3064 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
3066 * facemenu.el (list-colors-sort): Doc fix.
3068 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org> (tiny change)
3070 * progmodes/sql.el (sql-connect-mysql): Fix typo.
3072 2010-06-14 Juri Linkov <juri@jurta.org>
3074 Add sort option `list-colors-sort'. (Bug#6332)
3075 * facemenu.el (color-rgb-to-hsv): New function.
3076 (list-colors-sort): New defcustom.
3077 (list-colors-sort-key): New function.
3078 (list-colors-display): Doc fix. Sort list according to the option
3080 (list-colors-print): Add HSV values to `help-echo' property of
3083 2010-06-14 Juri Linkov <juri@jurta.org>
3085 * compare-w.el: Move to the "vc" subdirectory.
3087 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * image-mode.el (image-mode-map): Remap left-char and right-char.
3091 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
3093 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
3095 * term/common-win.el (x-colors): Add all the color names defined
3096 in rgb.txt (Bug#6332).
3098 * facemenu.el (list-colors-print): Don't print extra names if it
3099 will overflow the window width.
3101 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
3104 2010-06-12 Eli Zaretskii <eliz@gnu.org>
3106 * files.el (make-directory): Doc fix (bug#6396).
3108 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
3110 * net/tramp.el (tramp-remote-process-environment): Protect version
3111 string by apostroph.
3112 (tramp-shell-prompt-pattern): Do not use a shy group in case of
3114 (tramp-file-name-for-operation): Add `call-process-region'.
3115 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3117 * net/tramp-compat.el (top): Do not autoload
3118 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
3119 only when `start-file-process' is not bound.
3120 (tramp-advice-file-expand-wildcards): Do not use
3121 `tramp-handle-file-remote-p'.
3122 (tramp-compat-make-temp-file): Handle the case, that
3123 `make-temp-file' has no third argument EXTENSION.
3125 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
3127 * makefile.w32-in (WINS_BASIC): Include new directory vc.
3129 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
3131 2010-06-11 Juri Linkov <juri@jurta.org>
3133 * finder.el (finder-known-keywords): Add keyword "vc"
3134 for version control.
3136 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
3137 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
3138 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
3139 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
3141 2010-06-11 Juri Linkov <juri@jurta.org>
3143 Move version control related files to the "vc" subdirectory.
3144 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
3145 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
3146 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
3147 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
3148 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
3149 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
3150 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
3151 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
3152 Move files to the "vc" subdirectory.
3154 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
3156 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
3159 2010-06-11 Stephen Eglen <stephen@gnu.org>
3161 * shell.el: Bind `shell-resync-dirs' to M-RET.
3163 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
3165 * notifications.el: Move file from lisp/net, because it is
3166 supposed to talk locally to the user.
3168 2010-06-10 Julien Danjou <julien@danjou.info>
3170 * net/notifications.el (notifications-on-action-signal)
3171 (notifications-on-closed-signal): Pass notification id as first
3172 argument to the callback functions. Add docstrings.
3173 (notifications-notify): Fix docstring.
3175 2010-06-10 Glenn Morris <rgm@gnu.org>
3177 * emacs-lisp/authors.el (authors-ignored-files)
3178 (authors-valid-file-names): Add some files.
3180 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
3183 merge conflict, giving preference to the emacs-23 version of the code.
3185 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3187 * emacs-lisp/advice.el (ad-compile-function):
3188 Define warning-suppress-types before we let-bind it (bug#6275).
3190 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
3191 declare it, make it buffer-local and permanent-local (bug#6324).
3192 (vc-resynch-window): Adjust name.
3193 * vc-hooks.el (vc-find-file-hook): Adjust name.
3195 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
3197 * net/notifications.el (notifications-notify): Fix docstring.
3199 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3201 Update to Unicode 6.0.0 beta.
3202 * international/charprop.el: Update copyright.
3203 * international/mule-cmds.el (ucs-names): Update character ranges.
3204 * international/uni-bidi.el:
3205 * international/uni-category.el:
3206 * international/uni-combining.el:
3207 * international/uni-comment.el:
3208 * international/uni-decimal.el:
3209 * international/uni-decomposition.el:
3210 * international/uni-digit.el:
3211 * international/uni-lowercase.el:
3212 * international/uni-mirrored.el:
3213 * international/uni-name.el:
3214 * international/uni-numeric.el:
3215 * international/uni-old-name.el:
3216 * international/uni-titlecase.el:
3217 * international/uni-uppercase.el: Regenerate.
3219 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
3221 * emacs-lisp/smie.el (comment-string-strip): Declare function.
3222 (smie-precs-precedence-table): Fix typo in docstring.
3224 * vc-mtn.el (log-edit-extract-headers): Declare function.
3226 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
3228 * net/notifications.el (dbus-register-signal): Declare function.
3229 (notifications-notify): Fix typos and reflow docstring.
3231 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3233 Improve VC create/retrieve tag/branch.
3234 * vc.el (vc-create-tag): Do not read the directory name for VCs
3235 with repository revision granularity. Adjust the tag/branch
3236 prompt. Reset VC properties.
3237 (vc-retrieve-tag): Do not read the directory name for VCs
3238 with repository revision granularity. Reset VC properties.
3240 2010-06-09 Julien Danjou <julien@danjou.info>
3242 * net/notifications.el: New file.
3244 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
3246 Add optional support for resetting VC properties.
3247 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
3248 call vc-file-clearprops when true.
3249 (vc-resynch-buffer): Add new optional argument, pass it down.
3250 (vc-resynch-buffers-in-directory): Likewise.
3252 Improve support for special markup in the VC commit message.
3253 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
3254 * vc-hg.el (vc-hg-checkin): Add support for Date:.
3255 * vc-git.el (vc-git-checkin):
3256 * vc-bzr.el (vc-bzr-checkin): Likewise.
3258 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3260 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
3261 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
3263 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
3265 * iimage.el: Remove images as soon as the underlying text is modified.
3266 (iimage-modification-hook): New function.
3267 (iimage-mode-buffer): Use it.
3269 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
3272 smie-indent-offset-after. Add :prev case. Make a bit more generic.
3273 (smie-indent-virtual): Remove `virtual' arg. Update callers.
3274 (smie-indent-keyword): Add handling of open-paren keywords.
3275 (smie-indent-comment-continue): Don't assume comment-continue.
3277 2010-06-07 Martin Rudalics <rudalics@gmx.at>
3279 * window.el (pop-to-buffer): Remove the conditional that
3280 compares new-window and old-window, so it will reselect
3281 the selected window unconditionally.
3282 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
3284 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * emacs-lisp/smie.el (smie-indent-offset-after)
3287 (smie-indent-forward-token, smie-indent-backward-token): New functions.
3288 (smie-indent-after-keyword): Use them.
3289 (smie-indent-fixindent): Only applies to the indentation of the BOL.
3290 (smie-indent-keyword): Tweak the black magic.
3291 (smie-indent-comment-continue): Strip comment-continue before use.
3292 (smie-indent-functions): Indent comments before keywords.
3294 2010-06-06 Juri Linkov <juri@jurta.org>
3296 * isearch.el (isearch-lazy-highlight-search): Fix looping
3297 by checking for empty match. This syncs this loop with the
3298 similar loop in `isearch-search'. (Bug#6362)
3300 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
3302 * net/dbus.el (dbus-register-method): Declare function.
3303 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
3304 (dbus-introspect): Doc fix.
3305 (dbus-event-bus-name, dbus-introspect-get-interface)
3306 (dbus-introspect-get-argument): Reflow docstrings.
3308 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
3310 vc-log-incoming/vc-log-outgoing fixes for Git.
3311 * vc-git.el (vc-git-log-view-mode): Fix font lock for
3312 incoming/outgoing logs.
3313 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
3314 instead of vc-git-compute-remote.
3315 (vc-git-compute-remote): Remove.
3317 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
3319 * term/common-win.el (x-colors): Add "dark green" and "dark
3320 turquoise" (Bug#6332).
3322 2010-06-04 Juri Linkov <juri@jurta.org>
3324 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
3325 Instead of setting `replace' to t and replacing the same string
3326 with itself, don't do certain actions when
3327 kill-do-not-save-duplicates is non-nil and string is equal to car
3328 of kill-ring: don't call menu-bar-update-yank-menu, don't push
3329 interprogram-paste strings to kill-ring, and don't push the input
3330 argument `string' to kill-ring.
3331 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
3333 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3335 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
3337 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
3339 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
3340 (tramp-gvfs-handler-mounted-unmounted)
3341 (tramp-gvfs-connection-mounted-p): Handle default-location.
3343 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
3344 move files to trash.
3346 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
3348 * international/mule-cmds.el (nonascii-insert-offset)
3349 (nonascii-translation-table): Add obsolescence information.
3351 * international/mule.el (make-translation-table-from-vector): Doc fix.
3353 2010-06-03 Eric Ludlam <zappo@gnu.org>
3355 * cedet/semantic/lex-spp.el
3356 (semantic-lex-spp-table-write-slot-value): Instead of erroring on
3357 invalid values during save, just save a nil (Bug#6324).
3359 2010-06-03 Glenn Morris <rgm@gnu.org>
3361 * desktop.el (desktop-clear-preserve-buffers):
3362 Add "*Warnings*" buffer. (Bug#6336)
3364 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
3366 vc-log-incoming/vc-log-outgoing improvements for Git.
3367 * vc-git.el (vc-git-log-outgoing): Use the same format as the
3369 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
3371 Add bindings for vc-log-incoming and vc-log-outgoing.
3372 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
3373 and vc-log-outgoing.
3374 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
3375 and vc-log-outgoing.
3377 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3379 * net/rcirc.el (rcirc-sort-nicknames): Remove.
3380 (rcirc-handler-366): Always sort nicknames.
3382 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
3384 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
3386 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
3388 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
3390 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3392 * net/rcirc.el (rcirc-sort-nicknames): Change default.
3393 (rcirc-sort-nicknames-join): Avoid setq.
3395 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3397 * net/rcirc.el (rcirc-sort-nicknames): New custom.
3398 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
3399 (rcirc-handler-366): Use them.
3401 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
3403 Split smie-indent-calculate into more manageable chunks.
3404 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
3405 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
3406 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
3407 (smie-indent-exps): Extract from smie-indent-calculate.
3408 (smie-indent-functions): New var.
3409 (smie-indent-functions): Use them.
3411 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3413 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
3414 (smie-indent-calculate): Simplify and cleanup.
3416 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
3418 * net/tramp-gvfs.el (top): Require url-util.
3419 (tramp-gvfs-mount-point): Remove.
3420 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
3422 (with-tramp-dbus-call-method): Format trace message.
3423 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3424 Implement backup call, when operation on local files fails.
3425 Use progress reporter. Flush properties of changed files.
3426 (tramp-gvfs-handle-make-directory): Make more traces.
3427 (tramp-gvfs-url-file-name): Hexify file name in url.
3428 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3429 into account for the resulting file name.
3430 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
3431 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
3432 (tramp-gvfs-handler-mounted-unmounted)
3433 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3434 attribute "default_location". Set "prefix" property.
3435 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3436 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3437 exists. Raise an error, if not (due to a corresponding answer
3438 "no" in interactive questions, for example).
3440 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
3442 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
3444 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
3446 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
3449 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
3451 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
3452 * vc-git.el (vc-git-compute-remote): New function.
3453 (vc-git-log-outgoing): Use it instead of hard coding a value.
3454 (vc-git-log-incoming): New function.
3456 Improve state updating for VC tag commands.
3457 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
3458 to update the state of all buffers in the directory.
3460 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
3462 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3464 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
3465 `file-directory-p' to the filename part rather than to the whole text.
3467 2010-05-31 Jonathan Marchand <jonathlela@gmail.com> (tiny change)
3469 * cedet/ede/cpp-root.el (ede-set-project-variables): Fix feature name
3472 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3474 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
3476 2010-05-31 Drew Adams <drew.adams@oracle.com>
3478 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
3480 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
3482 * subr.el (momentary-string-display): Just use read-event to read
3483 the exit event (Bug#6238).
3485 2010-05-30 Eli Zaretskii <eliz@gnu.org>
3487 * international/mule.el (define-coding-system): Doc fix (bug#6313).
3489 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3491 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
3492 Suggested by Eli Zaretskii <eliz@gnu.org>.
3494 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * minibuffer.el (completion-file-name-table): Don't return a boundary
3497 past the end of `string' (bug#6299).
3498 (completion--file-name-table): Delegate to completion-file-name-table
3499 for the `boundaries' case.
3501 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
3503 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
3506 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
3507 `path-separator', but maintain compatibility with Emacs 20.2.
3509 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3511 * server.el (server-process-filter): Receive parent-id argument
3513 (server-create-window-system-frame): New arg. Pass parent-id as
3516 2010-05-29 Eli Zaretskii <eliz@gnu.org>
3518 Bidi-sensitive word movement with arrow keys.
3519 * subr.el (right-arrow-command, left-arrow-command): Move to
3522 * bindings.el (right-char, left-char): Move from subr.el and
3523 rename from right-arrow-command and left-arrow-command.
3524 (right-word, left-word): New functions.
3525 (global-map) <right>: Bind to right-char.
3526 (global-map) <left>: Bind to left-char.
3527 (global-map) <C-right>: Bind to right-word.
3528 (global-map) <C-left>: Bind to left-word.
3530 * ls-lisp.el (ls-lisp-classify-file): New function.
3531 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
3532 (ls-lisp-classify): Call ls-lisp-classify-file.
3533 (insert-directory): Remove blanks from switches.
3535 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
3537 * ansi-color.el: Delete unused escape sequences (Bug#6085).
3538 (ansi-color-drop-regexp): New constant.
3539 (ansi-color-apply, ansi-color-filter-region)
3540 (ansi-color-apply-on-region): Delete unrecognized control sequences.
3541 (ansi-color-apply): Build string list before calling concat.
3543 2010-05-28 Juri Linkov <juri@jurta.org>
3545 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
3546 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
3549 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3551 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
3552 to ignored backtrace functions.
3553 (with-progress-reporter): Expand docstring.
3554 (tramp-handle-delete-file): Implement TRASH argument.
3555 (tramp-get-remote-trash): New defun.
3557 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
3559 * net/tramp-compat.el (tramp-compat-delete-file): Use
3560 `symbol-value' for backward compatibility.
3562 * net/tramp.el (tramp-handle-make-symbolic-link)
3564 (tramp-do-copy-or-rename-file-via-buffer)
3565 (tramp-do-copy-or-rename-file-directly)
3566 (tramp-do-copy-or-rename-file-out-of-band)
3567 (tramp-handle-process-file, tramp-handle-call-process-region)
3568 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3569 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3570 (tramp-delete-temp-file-function): Use `delete-file' instead
3571 of `tramp-compat-delete-file'.
3573 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3574 (tramp-fish-handle-make-symbolic-link)
3575 (tramp-fish-handle-process-file): Use `delete-file' instead
3576 of `tramp-compat-delete-file'.
3578 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
3579 `delete-file' instead of `tramp-compat-delete-file'.
3581 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3582 (tramp-gvfs-handle-write-region): Use `delete-file' instead of
3583 `tramp-compat-delete-file'.
3585 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
3586 `delete-file' instead of `tramp-compat-delete-file'.
3588 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3589 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3590 (tramp-smb-handle-write-region): Use `delete-file' instead of
3591 `tramp-compat-delete-file'.
3592 (tramp-smb-handle-delete-directory): Use 'trash as arg.
3594 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3596 * dired.el (dired-delete-file): New arg TRASH.
3597 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
3598 (dired-do-flagged-delete, dired-do-delete): Use trash.
3600 * speedbar.el (speedbar-item-delete): Allow trashing.
3602 * files.el (delete-directory): New arg TRASH.
3604 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
3605 (ange-ftp-rename-remote-to-remote)
3606 (ange-ftp-rename-local-to-remote)
3607 (ange-ftp-rename-remote-to-local, ange-ftp-load)
3608 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
3610 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
3613 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3614 handle new TRASH arg of `delete-file'.
3616 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
3617 (tramp-handle-make-symbolic-link, tramp-handle-load)
3618 (tramp-do-copy-or-rename-file-via-buffer)
3619 (tramp-do-copy-or-rename-file-directly)
3620 (tramp-do-copy-or-rename-file-out-of-band)
3621 (tramp-handle-process-file, tramp-handle-call-process-region)
3622 (tramp-handle-shell-command, tramp-handle-file-local-copy)
3623 (tramp-handle-insert-file-contents, tramp-handle-write-region)
3624 (tramp-delete-temp-file-function): Use null TRASH arg in
3625 tramp-compat-delete-file call.
3627 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
3628 (tramp-fish-handle-delete-file)
3629 (tramp-fish-handle-make-symbolic-link)
3630 (tramp-fish-handle-process-file): Use null TRASH arg in
3631 `tramp-compat-delete-file' call.
3633 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
3634 arg in `tramp-compat-delete-file' call.
3636 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
3637 (tramp-gvfs-handle-write-region): Use null TRASH arg in
3638 `tramp-compat-delete-file' call.
3640 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
3641 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
3642 `tramp-compat-delete-file' call.
3644 * net/tramp-smb.el (tramp-smb-handle-copy-file)
3645 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3646 (tramp-smb-handle-write-region): Use null TRASH arg in
3647 tramp-compat-delete-file call.
3648 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
3649 (tramp-smb-handle-delete-file): Rename arg.
3651 * diff.el (diff-sentinel):
3652 * epg.el (epg--make-temp-file, epg-decrypt-string)
3653 (epg-verify-string, epg-sign-string, epg-encrypt-string):
3654 * jka-compr.el (jka-compr-partial-uncompress)
3655 (jka-compr-call-process, jka-compr-write-region):
3656 * server.el (server-sentinel): Remove optional arg from
3657 delete-file, reverting 2010-05-03 change.
3659 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3661 * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
3662 font-lock-constant-face, not obsolete font-lock-reference-face.
3664 2010-05-27 Kenichi Handa <handa@m17n.org>
3666 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
3667 element of GSTRING is nil.
3669 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * emacs-lisp/smie.el (smie-forward-token-function)
3672 (smie-backward-token-function): New vars.
3673 (smie-backward-sexp, smie-forward-sexp)
3674 (smie-indent-hanging-p, smie-indent-calculate): Use them.
3675 (smie-default-backward-token): Rename from smie-backward-token and
3677 (smie-default-forward-token): Rename from smie-forward-token and
3679 (smie-next-sexp): Handle nil results from next-token.
3680 (smie-indent-calculate): Add a new case for special `fixindent' comments.
3682 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
3684 * progmodes/verilog-mode.el (verilog-type-font-keywords):
3685 Use font-lock-constant-face, not obsolete font-lock-reference-face.
3687 2010-05-27 Masatake YAMATO <yamato@redhat.com>
3689 * htmlfontify.el (hfy-face-resolve-face): New function.
3690 (hfy-face-to-style): Use it (Bug#6279).
3692 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
3695 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
3697 2010-05-26 Glenn Morris <rgm@gnu.org>
3699 * emulation/edt.el (edt-load-keys): Use locate-library.
3701 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
3703 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
3704 (log-edit-changelog-entries): Doc fix.
3705 (log-edit-changelog-insert-entries): Args changed.
3706 Rename relative filenames in ChangeLog entries. Delete tabs.
3707 (log-edit-insert-changelog-entries): Reorganize return value of
3708 `log-edit-changelog-entries' to pass filenames to
3709 log-edit-changelog-insert-entries.
3711 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3713 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
3714 `image-dired-dired-insert-marked-thumbs' to
3715 `image-dired-dired-toggle-marked-thumbs'.
3717 * image-dired.el: Require cl when compiling.
3718 (image-dired-dired-toggle-marked-thumbs): Rename from
3719 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
3720 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
3721 to 'no-dir. Skip files whose names don't match
3722 `image-file-name-regexp'. When file has a thumbnail overlay,
3723 delete it. (Bug#5270)
3725 2010-05-25 Juri Linkov <juri@jurta.org>
3727 * image-mode.el (image-mode): Add image-after-revert-hook to
3729 (image-after-revert-hook): New function. (Bug#5669)
3731 2010-05-25 Juri Linkov <juri@jurta.org>
3733 * image.el (image-animated-p): When delay between animated images
3734 is 0, set it to 10 (0.1 sec). (Bug#6258)
3736 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
3738 * net/tramp.el (tramp-handle-insert-directory): Don't use
3739 `forward-word', its default syntax could be changed.
3741 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
3743 * net/tramp.el (tramp-progress-reporter-update): New defun.
3744 (with-progress-reporter): Use it.
3745 (tramp-process-actions):
3746 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
3747 current message, in order to let progress reporter continue
3748 afterwards. (Bug#6257)
3750 2010-05-25 Glenn Morris <rgm@gnu.org>
3752 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
3755 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3757 * net/rcirc.el (rcirc-default-user-name): Change to "user".
3758 (rcirc-default-full-name): Change to "unknown".
3759 (rcirc-user-name-history): Add variable.
3761 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
3762 Jonathan Rockway <jon@jrock.us>
3764 * net/rcirc.el (rcirc-server-alist): Add :pass.
3765 (rcirc): When prompting for connection parameters, also prompt for
3766 username and password.
3767 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
3768 value to server when connecting.
3770 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
3773 (smie-merge-prec2s): Pass the tables as separate args.
3774 (smie-bnf-precedence-table): Adjust call accordingly.
3775 (smie-prec2-levels): Set levels at the end.
3777 Replace Lisp calls to delete-backward-char by delete-char.
3778 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
3779 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
3780 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
3781 * calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
3782 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
3783 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
3784 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
3785 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
3786 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
3787 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
3788 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
3789 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
3790 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
3791 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
3792 delete-backward-char by calls to delete-char.
3794 2010-05-25 Kenichi Handa <handa@m17n.org>
3796 * language/hebrew.el (hebrew-shape-gstring): New function.
3797 Register it in composition-function-table for all Hebrew combining
3800 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * epa.el (epa--select-keys): Don't explicitly delete the window since
3803 that can fail (e.g. sole window in frame). Use dedication instead.
3805 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3807 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
3809 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
3811 * image.el (image-refresh): Define as an alias for image-flush.
3813 * image-mode.el (image-toggle-display-image): Caller changed.
3815 2010-05-21 Juri Linkov <juri@jurta.org>
3817 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
3818 Remove "all" from grep-files-aliases. Split grep-files-aliases by
3819 whitespace, call wildcard-to-regexp on substrings and concat them
3820 with "\\|". (Bug#6114)
3822 2010-05-21 Alan Mackenzie <acm@muc.de>
3824 * progmodes/cc-engine.el (c-parse-state-get-strategy):
3825 Replace parameter `here' with `here-' and `here-plus', which sandwich
3826 any pertinent CPP construct.
3827 (c-remove-stale-state-cache-backwards): Fix a bug which happens
3828 when doing (c-parse-state) in a CPP construct: Exclude any "new"
3829 CPP construct from taking part in the scanning.
3831 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
3833 * net/tramp.el (tramp-do-copy-or-rename-file)
3834 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
3835 Tune `with-progress-reporter' messages.
3836 (tramp-handle-vc-registered):
3837 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
3838 (tramp-fish-handle-insert-file-contents)
3839 (tramp-fish-maybe-open-connection):
3840 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3841 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
3842 (tramp-imap-handle-insert-file-contents)
3843 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3845 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
3847 * add-log.el (change-log-font-lock-keywords):
3848 Highlight all authors in multi-author entries.
3850 * smerge-mode.el (smerge-refine-ignore-whitespace)
3851 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
3852 Fix typos in docstrings.
3853 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
3855 2010-05-21 Glenn Morris <rgm@gnu.org>
3857 * progmodes/fortran.el (fortran-mode):
3858 * progmodes/f90.el (f90-mode): Derive from prog-mode.
3860 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
3861 having a relative path in src/Makefile.in.
3863 2010-05-20 Kevin Ryde <user42@zip.com.au>
3865 * help-mode.el (help-make-xrefs): For Info node links turn
3866 newlines into spaces. Link node names with newlines are matched
3867 by help-xref-info-regexp and buttonized, this change ensures they
3868 can be followed successfully with RET. (Bug#6206)
3870 2010-05-20 Juri Linkov <juri@jurta.org>
3872 * locate.el (locate): Use pop-to-buffer instead of
3873 switch-to-buffer-other-window. (Bug#6204)
3875 2010-05-20 Juri Linkov <juri@jurta.org>
3877 * replace.el (replace-highlight): Fix lazy-highlighting
3878 for `M-s w str M-% str RET'.
3880 2009-12-15 Masatake YAMATO <yamato@redhat.com>
3882 * isearch.el (isearch-yank-word-or-char): Pull next subword
3883 when `subword-mode' is activated. (Bug#6220)
3885 2010-05-20 Mark A. Hershberger <mah@everybody.org>
3887 * isearch.el (isearch-update-post-hook): New hook.
3888 (isearch-update): Use the new hook. (Bug#6225)
3890 2010-05-20 Juri Linkov <juri@jurta.org>
3892 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
3893 [f1], [help], and (char-to-string help-char) instead of "\C-h".
3896 2010-05-20 Juri Linkov <juri@jurta.org>
3898 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
3901 2010-05-20 Juri Linkov <juri@jurta.org>
3903 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
3904 FILE-NAME to read from the minibuffer when called interactively
3905 with prefix argument instead of using buffer-file-name.
3906 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
3908 * dired.el: Update autoloads.
3910 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
3912 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
3913 nxml-finish-element, for consistency with SGML mode.
3915 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
3918 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
3920 * composite.el: Require cl when compiling.
3921 (reference-point-alist, compose-gstring-for-graphic)
3922 (compose-gstring-for-terminal): Fix typos in docstrings.
3924 2010-05-19 Juri Linkov <juri@jurta.org>
3926 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
3927 set-window-parameter.
3929 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3931 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
3933 (tramp-maybe-open-connection): Use it.
3935 2010-05-19 Eli Zaretskii <eliz@gnu.org>
3937 * simple.el (move-end-of-line): Make sure we are at line beginning
3938 before backing up to end of previous line.
3940 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
3942 * password-cache.el (password-cache-remove): Fix docstring.
3944 * net/secrets.el: Autoload the widget functions.
3945 (secrets-search-items, secrets-create-item)
3946 (secrets-get-attributes, secrets-expand-item): Attributes will be
3947 stored on the password database without leading ":", as all other
3949 (secrets-mode): Fix docstring.
3950 (secrets-show-secrets): Provide it as autoloaded command only when
3951 D-Bus support is available. Check existence of Secret Service API.
3953 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * indent.el (indent-region): Deactivate region (bug#6200).
3957 2010-05-19 Glenn Morris <rgm@gnu.org>
3959 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
3961 2010-05-19 Kenichi Handa <handa@m17n.org>
3963 * composite.el: Register compose-gstring-for-graphic in
3964 composition-function-table only for combining characters (Mn, Mc, Me).
3966 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
3968 * calc/calc-trail.el (calc-trail-isearch-forward)
3969 (calc-trail-isearch-backward): Ensure that the new window
3970 point is set correctly.
3972 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3974 * subr.el (read-quoted-char): Resolve modifiers after key
3975 remapping (bug#6212).
3977 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
3979 Add visualization code for secrets.
3980 * net/secrets.el (secrets-mode): New major mode.
3981 (secrets-show-secrets, secrets-show-collections)
3982 (secrets-expand-collection, secrets-expand-item)
3983 (secrets-tree-widget-after-toggle-function)
3984 (secrets-tree-widget-show-password): New defuns.
3986 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3988 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
3989 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
3990 handled in smie-next-sexp.
3991 (smie-indent-calculate): Provide a starting indentation (so the
3992 recursion is well-founded ;-).
3994 Fix handling of non-associative equal levels.
3995 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
3996 when it's not needed.
3997 (smie-op-left, smie-op-right): New functions.
3998 (smie-next-sexp): New function, extracted from smie-backward-sexp.
3999 Better handle equal levels to distinguish the associative case from
4000 the "multi-keyword construct" case.
4001 (smie-backward-sexp, smie-forward-sexp): Use it.
4003 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
4005 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
4007 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
4008 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
4010 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4012 Provide a simple generic indentation engine and use it for Prolog.
4013 * emacs-lisp/smie.el: New file.
4014 * progmodes/prolog.el (prolog-smie-op-levels)
4015 (prolog-smie-indent-rules): New var.
4016 (prolog-mode-variables): Use them to configure SMIE.
4017 (prolog-indent-line, prolog-indent-level): Remove.
4019 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
4021 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
4022 order before computing the averages.
4024 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
4026 * calc/calc-vec.el (calc-histogram):
4027 (calcFunc-histogram): Allow vectors as inputs.
4028 (math-vector-avg): New function.
4030 * calc/calc-ext.el (math-group-float): Have the number of digits
4031 being grouped depend on the radix (Bug#6189).
4033 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
4035 * version.el (emacs-copyright, emacs-version): Don't define here,
4036 now that emacs.c defines it.
4038 2010-05-15 Eli Zaretskii <eliz@gnu.org>
4040 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
4041 "Describe Language Environment" menu item.
4043 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
4045 Bidi-sensitive movement with arrow keys.
4046 * subr.el (right-arrow-command, left-arrow-command): New functions.
4048 * bindings.el (global-map): Bind them to right and left arrow keys.
4050 Don't override standard definition of convert-standard-filename.
4051 * files.el (convert-standard-filename): Call
4052 w32-convert-standard-filename and dos-convert-standard-filename on
4053 the corresponding systems.
4055 * w32-fns.el (w32-convert-standard-filename): Rename from
4056 convert-standard-filename. Doc fix.
4058 * dos-fns.el (dos-convert-standard-filename): Doc fix.
4059 (convert-standard-filename): Don't defalias.
4060 (register-name-alist, make-register, register-value)
4061 (set-register-value, intdos): Obsolete aliases for the
4062 corresponding dos-* functions and variables.
4063 (dos-intdos): Add a doc string.
4065 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
4067 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
4068 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
4069 (math-compose-tex-func):
4070 * calc/calccomp.el (math-compose-expr):
4071 * calc/calc-ext.el (math-format-flat-expr-fancy):
4072 * calc/calc-store.el (calc-read-var-name):
4073 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
4075 * calc/calc.el (var-π, var-φ, var-γ): New variables.
4076 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
4077 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
4078 (math-standard-units): Add units.
4080 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4082 * progmodes/asm-mode.el (asm-mode):
4083 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
4085 * pcomplete.el (pcomplete-completions-at-point): New function,
4086 extracted from pcomplete-std-complete.
4087 (pcomplete-std-complete): Use it.
4089 2010-05-15 Glenn Morris <rgm@gnu.org>
4091 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4092 Remove references to CVS, RCS and Old directories.
4094 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
4096 * calc/calc-bin.el (math-format-twos-complement): Group digits when
4099 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
4102 (sh-mode-syntax-table): Give it a default value instead.
4103 (sh-header-marker): Make buffer-local.
4104 (sh-mode): Move make-local-variable to the corresponding setq.
4105 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
4106 Use complete-with-action.
4108 * simple.el (prog-mode): New (abstract) major mode.
4109 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
4110 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
4112 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
4114 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
4115 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
4116 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
4117 (sql-make-alternate-buffer-name, sql-placeholders-filter)
4118 (sql-escape-newlines-filter, sql-input-sender)
4119 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
4121 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
4123 Add TeX open-block and close-block keybindings to SGML, and vice versa.
4125 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
4126 latex-open-block and C-c / to latex-close-block.
4128 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
4129 and C-c C-e to sgml-close-tag.
4131 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
4133 * net/tramp.el (with-progress-reporter): Create reporter object
4134 only when the message would be displayed. Handle nested calls.
4135 (tramp-handle-load, tramp-handle-file-local-copy)
4136 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4137 (tramp-maybe-send-script, tramp-find-shell):
4138 Use `with-progress-reporter'.
4139 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
4142 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4143 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4144 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4145 Use `with-progress-reporter'.
4147 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
4149 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
4150 process everytime when spellchecking from the minibuffer (bug#6143).
4152 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4154 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
4156 * dos-fns.el: Add "dos-" prefix for namespace control.
4157 (convert-standard-filename): Define as alias for
4158 dos-convert-standard-filename but only if applicable.
4160 2010-05-12 Alan Mackenzie <acm@muc.de>
4162 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
4163 Push the mark at the start of these functions when appropriate.
4165 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4167 * minibuffer.el (completion-cycle-threshold): New custom var.
4168 (completion--do-completion): Use it.
4169 (minibuffer-complete): Use cycling if appropriate.
4171 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
4173 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
4174 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
4176 2010-05-11 Juri Linkov <juri@jurta.org>
4178 * scroll-all.el (scroll-all-check-to-scroll):
4179 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
4181 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
4183 * iimage.el (iimage-mode-map): Move initialization into declaration.
4184 (iimage-mode-buffer): Use with-silent-modifications.
4185 Simplify calling convention. Adjust callers.
4186 (iimage-mode): Don't run hook redundantly.
4188 * minibuffer.el (completion-pcm--pattern->regex):
4189 Fix last change (bug#6160).
4191 2010-05-10 Juri Linkov <juri@jurta.org>
4193 Remove nodes visited during Isearch from the Info history.
4194 * info.el (Info-isearch-initial-history)
4195 (Info-isearch-initial-history-list): New variables.
4196 (Info-isearch-start): Record initial values of
4197 Info-isearch-initial-history and Info-isearch-initial-history-list.
4198 Add Info-isearch-end to isearch-mode-end-hook.
4199 (Info-isearch-end): New function.
4201 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
4203 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
4204 format string, in order to work around a bug in pdksh.
4205 Reported by Gilles Pion <gpion@lfdj.com>.
4206 (tramp-handle-verify-visited-file-modtime): Do not send a command
4207 when the connection is not established.
4208 (tramp-handle-set-file-times): Simplify the check for utc.
4210 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
4212 Fix use of `filter-buffer-substring' (rework previous change).
4213 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
4214 (cua-repeat-replace-region):
4215 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
4216 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4217 (cua-cut-region-to-global-mark): Use it.
4219 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
4221 * progmodes/sql.el: Version 2.1.
4222 (sql-product-alist): Redesign structure of product info.
4223 (sql-product, sql-user, sql-server, sql-database): Safe variables.
4224 (sql-port, sql-port-history): New variables.
4225 (sql-interactive-product): New variable.
4226 (sql-send-terminator): New variable.
4227 (sql-imenu-generic-expression): Add "Types" imenu entry.
4228 (sql-oracle-login-params, sql-sqlite-login-params)
4229 (sql-mysql-login-params, sql-solid-login-params)
4230 (sql-sybase-login-params, sql-informix-login-params)
4231 (sql-ingres-login-params, sql-ms-login-params)
4232 (sql-postgres-login-params, sql-interbase-login-params)
4233 (sql-db2-login-params, sql-linter-login-params)
4234 (sql-oracle-scan-on): New variables.
4235 (sql-mode-map): Add C-c C-i to start interactive mode.
4236 (sql-mode-menu): Update existing menu entries.
4237 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
4238 (sql-mode-oracle-font-lock-keywords)
4239 (sql-mode-postgres-font-lock-keywords)
4240 (sql-mode-ms-font-lock-keywords)
4241 (sql-mode-sybase-font-lock-keywords)
4242 (sql-mode-informix-font-lock-keywords)
4243 (sql-mode-interbase-font-lock-keywords)
4244 (sql-mode-ingres-font-lock-keywords)
4245 (sql-mode-solid-font-lock-keywords)
4246 (sql-mode-mysql-font-lock-keywords)
4247 (sql-mode-sqlite-font-lock-keywords)
4248 (sql-mode-db2-font-lock-keywords)
4249 (sql-mode-linter-font-lock-keywords): Update initialization to
4250 reduce run-time complexity.
4251 (sql-add-product, sql-del-product): New functions.
4252 (sql-set-product-feature, sql-get-product-feature): New functions.
4253 (sql-product-font-lock): Update product API.
4254 (sql-add-product-keywords): New function.
4255 (sql-highlight-product): Update product API.
4256 (sql-help-list-products): New function.
4257 (sql-help): Dynamically lists free and non-free products.
4258 (sql-get-login): Correct bug in handling history and added
4260 (sql-copy-column): Copy without properties.
4261 (sqli-input-sender): Apply filters to SQLi input.
4262 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
4263 Implement as a filter.
4264 (sql-escape-newlines-filter): Implement as a filter.
4265 (sql-remove-tabs-filter): New function.
4266 (sql-send-magic-terminator): New function.
4267 (sql-send-string): Implement magic terminator.
4268 (sql-send-region): Use `sql-send-string'.
4269 (sql-interactive-mode): Use product API.
4270 (sql-product-interactive): Use product API.
4271 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
4272 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
4273 (sql-db2, sql-linter): Use `sql-product-interactive'.
4274 (sql-connect): New function.
4275 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
4276 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
4277 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
4278 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
4281 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
4284 New custom variable.
4285 (completion-pcm--string->pattern): Use it.
4286 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
4287 Make it handle any symbol as `any'.
4288 (completion-pcm--merge-completions): Extract common suffix for the new
4289 `prefix' symbol as well.
4290 (completion-substring--all-completions): Use the new `prefix' symbol.
4292 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
4294 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
4296 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4297 (tramp-compat-funcall): New defmacro.
4298 (tramp-compat-line-beginning-position)
4299 (tramp-compat-line-end-position)
4300 (tramp-compat-temporary-file-directory)
4301 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4302 (tramp-compat-copy-file, tramp-compat-copy-directory)
4303 (tramp-compat-delete-file, tramp-compat-delete-directory)
4304 (tramp-compat-number-sequence, tramp-compat-process-running-p)
4305 * net/tramp.el (top, with-progress-reporter)
4306 (tramp-rfn-eshadow-setup-minibuffer)
4307 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4308 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4309 (tramp-completion-mode-p, tramp-check-for-regexp)
4310 (tramp-open-connection-setup-interactive-shell)
4311 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4312 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4313 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
4314 * net/tramp-cmds.el (tramp-cleanup-all-connections)
4315 (tramp-reporter-dump-variable, tramp-load-report-modules)
4316 (tramp-append-tramp-buffers)
4317 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
4319 * net/tramp-imap.el (top): Autoload `epg-make-context'.
4321 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * progmodes/compile.el (compilation-buffer-modtime): Rename from
4324 buffer-modtime. Adjust users.
4326 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4328 * international/mule.el (auto-coding-alist): Only purecopy
4329 car of each item, not the whole list (Bug#6083).
4331 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4333 * progmodes/js.el (js-mode): Make paragraph variables local before
4334 calling c-setup-paragraph-variables (Bug#6071).
4336 2010-05-08 Eli Zaretskii <eliz@gnu.org>
4338 * composite.el (compose-region, reference-point-alist): Fix typos
4341 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4343 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
4344 gnuplot's "set" command.
4346 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4348 * abbrev.el (last-abbrev-text): Doc fix.
4349 (abbrev-prefix-mark): Don't escape parenthesis.
4351 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
4353 * composite.el (find-composition): Doc fix.
4355 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4357 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
4358 (sql-oracle-program, sql-sqlite-options)
4359 (sql-query-placeholders-and-send): Doc fixes.
4360 (sql-set-product, sql-interactive-mode): Reflow docstrings.
4361 (sql-imenu-generic-expression, sql-buffer)
4362 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
4363 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
4364 (sql-mode-sybase-font-lock-keywords)
4365 (sql-mode-informix-font-lock-keywords)
4366 (sql-mode-interbase-font-lock-keywords)
4367 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
4368 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
4369 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
4370 (sql-product-feature, sql-highlight-product)
4371 (comint-line-beginning-position, sql-rename-buffer)
4372 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
4373 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
4374 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
4375 Fix typos in docstrings.
4377 2010-05-08 Juri Linkov <juri@jurta.org>
4379 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
4380 property instead of `invisible' and `after-string' (bug#5998).
4382 2010-05-08 Juri Linkov <juri@jurta.org>
4384 * image-mode.el (image-mode-as-text): Fix typo in docstring.
4386 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
4388 * filecache.el (file-cache-add-directory-list)
4389 (file-cache-add-directory-recursively): Fix typos in docstrings.
4391 2010-05-08 Kenichi Handa <handa@m17n.org>
4393 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
4394 (gujarati-composable-pattern): Fix typo.
4396 2010-05-08 Kenichi Handa <handa@m17n.org>
4398 * language/indian.el (oriya-composable-pattern)
4399 (tamil-composable-pattern, malayalam-composable-pattern):
4400 Add two-part vowels to "v" (vowel sign).
4402 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
4404 * files.el (copy-directory): Handle symlinks (Bug#5982).
4406 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
4408 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
4409 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
4412 2010-05-08 Glenn Morris <rgm@gnu.org>
4414 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
4416 * minibuffer.el (completion-at-point): Doc fix.
4418 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4420 * electric.el (Electric-command-loop): Minor tweak.
4422 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
4423 better with dedicated windows.
4425 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
4427 * Version 23.2 released.
4429 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
4430 Stefan Monnier <monnier@iro.umontreal.ca>
4432 Highlight vendor specific properties.
4433 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
4434 (css-proprietary-property): New face.
4435 (css-font-lock-keywords): Use them.
4437 2010-05-07 Eli Zaretskii <eliz@gnu.org>
4439 * cus-start.el (all): Add native condition for tool-bar-* symbols.
4441 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4443 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
4444 * files.el (auto-mode-alist): Remove redundant entries.
4446 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
4447 * simple.el (auto-save-mode): Move from files.el.
4448 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
4450 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
4452 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
4454 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
4456 * mail/binhex.el (binhex-decode-region-internal)
4457 * mail/uudecode.el (uudecode-decode-region-internal)
4458 * net/dns.el (dns-read-string-name, dns-write, dns-read)
4459 (dns-read-type, dns-query)
4460 * pgg-parse.el (pgg-parse-armor)
4461 * pgg.el (pgg-verify-region)
4462 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
4465 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
4467 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
4469 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
4471 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
4472 * emulation/cua-base.el (cua-repeat-replace-region):
4473 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
4474 (cua-cut-region-to-global-mark):
4475 Remove text properties with `set-text-properties'.
4477 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
4479 * net/tramp.el (top, with-progress-reporter):
4480 Use `symbol-function' inside `funcall'.
4482 * net/tramp-compat.el (tramp-compat-file-attributes)
4483 (tramp-compat-delete-file, tramp-compat-delete-directory):
4484 Handle only `wrong-number-of-arguments' error.
4486 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
4487 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
4490 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4492 * minibuffer.el (completion--sreverse, completion--common-suffix):
4494 (completion-pcm--merge-completions): Extract common suffix when safe.
4496 * emacs-lisp/easy-mmode.el (define-minor-mode):
4497 Make :variable more flexible.
4498 * files.el (auto-save-mode): Use it to define using define-minor-mode.
4500 2010-05-05 Juri Linkov <juri@jurta.org>
4502 Add `slow' and `history' tags to the desktop data.
4504 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
4505 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
4506 (Info-finder-find-node): Require `finder.el' to be able
4507 to restore node from the desktop.
4508 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
4509 data `Info-history' and `slow' tag in the assoc list.
4510 (Info-restore-desktop-buffer): Don't restore nodes with the
4511 `slow' tag. Restore `Info-history'.
4513 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
4515 Add FORCE argument to `delete-file'.
4517 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
4518 forcing to delete the temporary file.
4519 (ange-ftp-delete-file): Add FORCE arg.
4520 (ange-ftp-rename-remote-to-remote)
4521 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
4522 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
4523 Force file deletion.
4525 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
4527 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
4528 (tramp-handle-make-symbolic-link, tramp-handle-load)
4529 (tramp-do-copy-or-rename-file-via-buffer)
4530 (tramp-do-copy-or-rename-file-directly)
4531 (tramp-do-copy-or-rename-file-out-of-band)
4532 (tramp-handle-process-file, tramp-handle-call-process-region)
4533 (tramp-handle-shell-command, tramp-handle-file-local-copy)
4534 (tramp-handle-insert-file-contents, tramp-handle-write-region)
4535 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
4537 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
4538 (tramp-fish-handle-make-symbolic-link)
4539 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
4541 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4542 Use `tramp-compat-delete-file'.
4544 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
4545 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
4547 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
4548 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
4550 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
4551 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
4552 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
4553 `tramp-compat-delete-file'.
4555 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4558 * subr.el (add-minor-mode): Use push.
4559 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
4560 * emulation/edt.el (edt-select-mode): Simplify.
4562 Use define-minor-mode in more cases.
4563 * term/tvi970.el (tvi970-set-keypad-mode):
4564 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4565 (normal-erase-is-backspace-mode):
4566 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
4567 (set-scroll-bar-mode-1): (Re)move to its sole caller.
4568 (get-scroll-bar-mode): New function.
4569 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
4571 Use define-minor-mode for less obvious cases.
4572 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
4573 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
4574 * international/iso-ascii.el (iso-ascii-mode):
4575 * frame.el (auto-raise-mode, auto-lower-mode):
4576 * composite.el (global-auto-composition-mode): Use define-minor-mode.
4578 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
4580 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
4581 in order to see error messages for failed logins.
4583 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
4585 * diff.el (diff-sentinel):
4587 * epg.el (epg--make-temp-file, epg-decrypt-string)
4588 (epg-verify-string, epg-sign-string, epg-encrypt-string):
4590 * jka-compr.el (jka-compr-partial-uncompress)
4591 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
4593 * server.el (server-sentinel): Use delete-file's new FORCE arg
4596 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4598 Use define-minor-mode where applicable.
4599 * view.el (view-mode):
4600 * type-break.el (type-break-query-mode)
4601 (type-break-mode-line-message-mode):
4602 * textmodes/reftex.el (reftex-mode):
4603 * term/vt100.el (vt100-wide-mode):
4604 * tar-mode.el (tar-subfile-mode):
4605 * savehist.el (savehist-mode):
4606 * ibuf-ext.el (ibuffer-auto-mode):
4607 * composite.el (auto-composition-mode):
4608 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
4609 Use define-minor-mode.
4610 (vhdl-mode): Use static mode-line format.
4611 (vhdl-mode-line-update): Delete.
4612 (vhdl-create-mode-menu, vhdl-activate-customizations)
4613 (vhdl-hs-minor-mode): Don't bother calling it.
4615 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4617 * simple.el (with-wrapper-hook): Move.
4618 (buffer-substring-filters): Mark obsolete.
4619 (filter-buffer-substring-functions): New variable.
4620 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
4622 Use a mode-line spec rather than a static string in Semantic.
4623 * cedet/semantic/util-modes.el:
4624 (semantic-minor-modes-format): New var to replace...
4625 (semantic-minor-modes-status): Remove.
4626 (semantic-mode-line-update): Construct a mode-line spec rather than
4627 a static string so that mouse buttons can be used on individual minor
4628 modes and so that semantic-mode-line-update only needs to be called
4629 when global settings are changed.
4630 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
4631 Call semantic-mode-line-update.
4632 (semantic-toggle-minor-mode-globally): Don't assume mode is on
4633 minor-mode-alist, check semantic-minor-mode-alist as well.
4634 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
4635 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
4636 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
4637 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
4638 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
4639 (define-semantic-idle-service, semantic-idle-summary-mode):
4640 * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
4641 Don't call semantic-mode-line-update any more.
4643 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4645 Use define-minor-mode in CEDET where applicable.
4647 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
4648 Use define-minor-mode.
4650 * cedet/semantic/util-modes.el (semantic-add-minor-mode):
4651 Remove unused arg `keymap' and code redundant with define-minor-mode.
4652 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
4653 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
4654 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
4655 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
4656 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
4657 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
4658 Use define-minor-mode.
4659 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
4660 (semantic-show-unmatched-syntax-mode-setup)
4661 (semantic-show-parser-state-mode-setup)
4662 (semantic-highlight-func-mode-setup): Inline into sole caller.
4664 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
4665 (semantic-mru-bookmark-mode): Use define-minor-mode.
4666 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
4668 * cedet/semantic/idle.el (define-semantic-idle-service):
4669 Use define-minor-mode and inline setup function into its sole caller.
4670 (semantic-idle-scheduler-mode-setup)
4671 (semantic-idle-summary-mode-setup): Inline into sole caller.
4672 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
4673 Use define-minor-mode.
4675 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
4676 (semantic-decoration-mode): Use define-minor-mode.
4677 (semantic-decoration-mode-setup): Inline into sole caller.
4679 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
4680 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
4681 (ede-dired-add-to-target): Use dolist.
4683 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4684 Michael Albinus <michael.albinus@gmx.de>
4686 Implement compression for inline methods.
4688 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4689 (tramp-copy-size-limit): Allow also nil.
4690 (tramp-inline-compress-commands): New defconst.
4691 (tramp-find-inline-compress, tramp-get-inline-compress)
4692 (tramp-get-inline-coding): New defuns.
4693 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4694 replaced by `tramp-get-inline-coding'.
4695 (tramp-handle-file-local-copy, tramp-handle-write-region)
4696 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4698 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4700 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
4701 Remove unused functions.
4703 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
4704 Set find-tag-default-function as a variable rather than a property.
4706 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
4707 * progmodes/etags.el (tags-completion-at-point-function):
4708 Remove left over interactive spec. Add autoloading stub.
4709 (complete-tag): Use tags-completion-at-point-function.
4711 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
4713 * minibuffer.el (tags-completion-at-point-function): Fix return value.
4715 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4717 * ido.el (ido-init-completion-maps): Remove C-v binding.
4718 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
4720 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
4722 * minibuffer.el (tags-completion-at-point-function): New function.
4723 (completion-at-point-functions): Use it.
4725 * cedet/semantic.el (semantic-completion-at-point-function):
4727 (semantic-mode): Use semantic-completion-at-point-function for
4728 completion-at-point-functions instead.
4730 * progmodes/etags.el (complete-tag): Revert last change.
4732 2010-04-29 Alan Mackenzie <acm@muc.de>
4734 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
4735 off-by-one error (in end of macro position).
4737 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
4740 firefox is absent. Don't autoload.
4741 (browse-url-galeon-program): Don't autoload.
4743 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4745 * bindings.el (complete-symbol): Move into minibuffer.el.
4747 * minibuffer.el (complete-tag): Move from etags.el. If tags
4748 completion cannot be performed, return nil instead of signalling
4750 (completion-at-point): Make it an alias for complete-symbol.
4751 (complete-symbol): Move from bindings.el, and replace with the
4752 body of completion-at-point.
4754 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
4756 * cedet/semantic.el (semantic-mode): When enabled, add
4757 semantic-ia-complete-symbol to completion-at-point-functions.
4759 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
4760 if Semantic is not active.
4762 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
4764 * net/tramp.el (tramp-remote-selinux-p): New defun.
4765 (tramp-handle-file-selinux-context)
4766 (tramp-handle-set-file-selinux-context): Use it.
4768 2010-04-28 Sam Steingold <sds@gnu.org>
4770 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4771 `safe-local-variable' if the value is a string or a symbol with
4772 the property `bug-reference-url-format'.
4774 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
4776 * progmodes/bug-reference.el (bug-reference-url-format):
4777 Revert 2010-04-27 change due to security risk.
4779 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4781 Make it possible to locally disable a globally enabled mode.
4782 * simple.el (fundamental-mode): Run fundamental-mode-hook.
4783 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
4784 rather than kill-all-local-variables so it runs fundamental-mode-hook.
4785 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4786 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
4787 that subsequent hooks get a chance to disable it.
4789 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4791 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
4792 Avoid re-enabling a minor mode after the user turned the minor mode
4793 off if MODE-enable-in-buffers is run twice (typically once from
4794 fundamental-mode's after-change-major-mode-hook and a second time from
4795 run-mode-hook's own after-change-major-mode-hook).
4797 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
4799 2010-04-27 Sam Steingold <sds@gnu.org>
4801 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
4802 `safe-local-variable' if the value is a string or a function, as
4803 documented and implemented on 2010-04-02.
4805 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
4807 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
4808 when method is 'kill.
4810 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
4812 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
4813 condition in default directory check.
4814 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
4815 Kill ispell process when killing its associated buffer.
4817 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
4819 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
4820 but we aren't using it.
4822 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
4824 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
4825 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
4827 2010-04-24 Glenn Morris <rgm@gnu.org>
4829 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
4830 Ignore VCS-ignore files, and deleted nextstep preferences files.
4831 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
4832 (authors-ambiguous-files): New list.
4833 (authors-valid-file-names): Add some deleted files.
4834 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
4835 (authors-disambiguate-file-name): New function. (Bug#5501)
4836 (authors-canonical-file-name): Doc fix.
4837 Don't warn about obsolete files.
4838 (authors-canonical-file-name, authors-scan-el):
4839 Use authors-disambiguate-file-name.
4841 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4842 Add autoload cookies.
4843 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
4844 (generated-autoload-file): Set file-local value to "htmlfontify.el".
4845 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
4846 They have definitions / compiler macros in cl.el.
4847 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
4848 Replace manual autoloads with generated ones.
4849 (htmlfontify-unload-rgb-file): Remove autoload.
4850 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
4852 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
4854 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
4855 (byte-compile-setq-default): Optimize for the
4856 single-var case and don't call byte-compile-form in this case to avoid
4857 inf-loop with byte-compile-set-default.
4859 * progmodes/compile.el (compilation-start): Abbreviate default directory.
4861 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
4863 Implement SELINUX backends.
4865 * net/tramp.el (tramp-file-name-handler-alist):
4866 Add `file-selinux-context' and `set-file-selinux-context'.
4867 (tramp-handle-file-selinux-context)
4868 (tramp-handle-set-file-selinux-context): New defuns.
4869 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4870 Handle PRESERVE-SELINUX-CONTEXT.
4872 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4873 Add `file-selinux-context' and `set-file-selinux-context'.
4874 (tramp-gvfs-handle-file-selinux-context)
4875 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4876 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4878 * net/ange-ftp.el (ange-ftp-copy-file):
4879 * net/tramp-fish.el (tramp-fish-handle-copy-file):
4880 * net/tramp-imap.el (tramp-imap-handle-copy-file):
4881 * net/tramp-smb.el (tramp-smb-handle-copy-file):
4882 Add PRESERVE-SELINUX-CONTEXT.
4884 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4886 Synchronize with Tramp repository.
4888 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
4889 (tramp-action-process-alive, tramp-action-out-of-band)
4890 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4891 (tramp-exists-file-name-handler): Fix docstring.
4892 (with-progress-reporter): New defmacro.
4893 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
4894 (tramp-maybe-open-connection): Use it.
4896 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
4898 Detect ssh 'ControlMaster' argument automatically in some cases.
4900 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4901 (tramp-default-method): Use it.
4903 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4905 * net/tramp.el (tramp-handle-copy-file): Add new optional
4906 parameter `preserve-selinux-context'.
4907 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
4909 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
4911 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
4912 Ensure, that non remote files are still checked. Oops.
4914 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
4918 * icomplete.el (icomplete-completions): Use `non-essential'.
4920 * net/tramp.el (tramp-connectable-p): New defun.
4921 (tramp-handle-expand-file-name)
4922 (tramp-completion-handle-file-name-all-completions)
4923 (tramp-completion-handle-file-name-completion): Use it.
4925 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4927 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
4929 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
4931 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
4933 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
4935 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
4938 * info.el (info-tool-bar-map): Add labels.
4940 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
4942 * cus-edit.el (custom-commands): Add labels for tool bar.
4943 (custom-buffer-create-internal, Custom-mode): Adjust for
4944 labels in custom-commands.
4946 * dynamic-setting.el: Renamed from font-setting.el.
4948 2010-04-21 John Wiegley <jwiegley@gmail.com>
4950 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
4951 toggles the use of virtual buffers.
4952 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
4953 (ido-toggle-virtual-buffers): New function.
4955 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
4957 Use `define-derived-mode'; fix window selection; doc fixes.
4958 * play/tetris.el (tetris, tetris-update-speed-function)
4959 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
4960 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
4961 (tetris-rotate-next, tetris-end-game, tetris-start-game)
4962 (tetris-pause-game): Fix typos in docstrings.
4963 (tetris-mode-map, tetris-null-map):
4964 Move initialization into declaration.
4965 (tetris-mode): Define with `define-derived-mode';
4966 set show-trailing-whitespace to nil.
4967 (tetris): Prefer window already displaying the "*Tetris*" buffer.
4969 2010-04-21 Karel Klíč <kklic@redhat.com>
4971 * files.el (backup-buffer): Handle SELinux context, and return it
4972 if a backup was made by renaming.
4973 (backup-buffer-copy): Set SELinux context to the target file.
4974 (basic-save-buffer): Set SELinux context of the newly written file.
4975 (basic-save-buffer-1): Now it also returns any SELinux context.
4976 (basic-save-buffer-2): Set SELinux context of the newly created file,
4978 * net/tramp.el (tramp-file-name-for-operation):
4979 Add file-selinux-context.
4981 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
4983 Make the log-edit comments use RFC822 format throughout.
4985 * vc.el (vc-checkin, vc-modify-change-comment):
4986 Adjust to new vc-start/finish-logentry.
4987 (vc-find-conflicted-file): New command.
4988 (vc-transfer-file): Adjust to new vc-checkin.
4989 (vc-next-action): Improve scoping.
4991 * vc-hg.el (vc-hg-log-edit-mode): Remove.
4992 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
4994 * vc-git.el (vc-git-log-edit-mode): Remove.
4995 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
4996 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
4998 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
4999 (vc-start-logentry): Remove argument `extra'.
5000 (vc-finish-logentry): Remove extra args.
5002 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
5003 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
5004 (vc-bzr-conflicted-files): New function.
5006 * log-edit.el (log-edit-extra-flags)
5007 (log-edit-before-checkin-process): Remove.
5008 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
5009 (log-edit-headers-alist): New var.
5010 (log-edit-header-contents-regexp): New const.
5011 (log-edit-match-to-eoh): New function.
5012 (log-edit-font-lock-keywords): Use them.
5013 (log-edit): Insert a "Summary:" header as default.
5014 (log-edit-mode): Mark font-lock rules as case-insensitive.
5015 (log-edit-done): Cleanup headers.
5016 (log-view-process-buffer): Remove.
5017 (log-edit-extract-headers): New function to replace it.
5019 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
5021 * subr.el (default-direction-reversed): Remove obsolescence info.
5023 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
5028 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
5029 I.e. include text after point in the completion region.
5030 Also, return nil when we're not after/in a symbol.
5032 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
5033 default enable-multibyte-characters.
5035 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5037 * international/mule.el: Help the user choose a valid coding-system.
5038 (read-buffer-file-coding-system): New function.
5039 (set-buffer-file-coding-system): Use it. Prompt the user if the
5040 coding-system cannot encode all the chars.
5042 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
5043 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
5044 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
5045 Don't use *vc-bzr-shelve*.
5047 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5049 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
5050 Don't destroy list before using it.
5052 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
5054 Fix the version number for added files.
5055 * vc-hg.el (vc-hg-working-revision): Check if the file is
5056 registered after hg parent fails (Bug#5961).
5058 2010-04-19 Glenn Morris <rgm@gnu.org>
5060 * htmlfontify.el (htmlfontify-buffer)
5061 (htmlfontify-copy-and-link-dir): Autoload entry points.
5063 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
5065 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
5066 name relative to the project root (Bug#5960).
5068 2010-04-19 Glenn Morris <rgm@gnu.org>
5070 * vc-git.el (vc-git-print-log): Doc fix.
5072 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
5074 * ido.el (ido-file-internal): Fix 2009-12-02 change.
5076 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
5078 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
5079 default settings (Bug#5928).
5081 2010-04-19 Glenn Morris <rgm@gnu.org>
5083 * progmodes/fortran.el (fortran-match-and-skip-declaration):
5085 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
5087 2010-04-19 Kenichi Handa <handa@m17n.org>
5089 * language/indian.el (malayalam-composable-pattern): Fix previous
5090 change (add U+0D4D "SIGN VIRAMA").
5091 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
5092 (tamil-composable-pattern): Fix typo in the regexp.
5093 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
5094 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
5095 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
5097 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5099 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
5100 paragraph-separate (Bug#5821).
5102 2010-04-19 Juri Linkov <juri@jurta.org>
5104 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
5106 * info.el (Info-find-node-2): Comment out code that skips
5108 (Info-mouse-follow-link): New command.
5109 (Info-link-keymap): New keymap.
5110 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
5111 Return a string with links instead of inserting breadcrumbs
5113 (Info-fontify-node): Comment out code that inserts breadcrumbs.
5114 Instead of putting the `invisible' text property over the Info
5115 header, make an overlay over the Info header with the `invisible'
5116 property and `after-string' set to the string returned by
5119 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
5121 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
5122 Reported by monkey@sandpframing.com.
5124 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5126 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
5127 (tmm-get-keymap): Add key-binding shortcuts now that they're not
5128 available in the "keyseq cache" any more.
5130 * custom.el (defcustom): Add edebug spec.
5132 2010-04-18 Juri Linkov <juri@jurta.org>
5134 Test for special mode-class in view-buffer instead of view-file (bug#5513).
5136 * view.el (view-file, view-buffer): Move test for special mode-class
5137 from view-file to view-buffer.
5139 * tar-mode.el (tar-extract): Turn if's into one cond
5140 like in arc-mode.el.
5142 2010-04-18 Juri Linkov <juri@jurta.org>
5144 Add 7z archive format support (bug#5475).
5146 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
5147 (archive-7z-extract): New defcustom.
5148 (archive-find-type): Add magic string for 7z.
5149 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
5150 If `stderr-file' is non-nil, use `(t stderr-file)' for the
5151 `buffer' arg of `call-process'.
5152 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
5153 call the function `archive-7z-extract' with the variable
5154 `archive-7z-extract' let-bound to `archive-zip-extract'.
5155 (archive-7z-summarize, archive-7z-extract): New functions.
5157 * international/mule.el (auto-coding-alist):
5158 * files.el (auto-mode-alist): Add 7z file extension.
5160 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
5162 * loadup.el: Setup hash-cons for pure data.
5164 Fix duplicate entries in cedet's loaddefs.el files.
5165 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
5166 Should make most file-local generated-autoload-file unnecessary.
5167 (print-readably): Silence warnings.
5168 (autoload-find-destination): Take load-name as an arg to make sure
5169 it's the same as the one that will be in the file.
5170 (autoload-generate-file-autoloads): Adjust to above changes.
5171 Try to make the dataflow a bit simpler.
5173 * cvs-status.el (cvs-refontify): Remove unused.
5175 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
5177 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
5179 * calc-bin.el (calc-radix): Have the "O" option turn on
5180 twos-complement mode.
5182 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
5184 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
5185 Add `calc-option-prefix-help' to calc-help autoloads.
5186 (calc-inverse): Add "Option" to message, as appropriate.
5187 (calc-hyperbolic): Add "Option" to message, as appropriate.
5188 (calc-option, calc-is-option): New functions.
5190 * calc-help.el (calc-full-help): Add `calc-option-help'.
5191 (calc-option-prefix-help): New function.
5193 * calc-misc.el (calc-help): Add "Option" entry.
5195 * calc.el (calc-local-var-list): Add `calc-option-flag'.
5196 (calc-option-flag): New variable.
5197 (calc-do): Set `calc-option-flag to nil.
5198 (calc-set-mode-line): Add "Opt " as appropriate.
5200 2010-04-16 Juri Linkov <juri@jurta.org>
5202 Move scrolling commands from simple.el to window.el
5203 because their primitives are implemented in window.c.
5205 * simple.el (scroll-error-top-bottom)
5206 (scroll-up-command, scroll-down-command, scroll-up-line)
5207 (scroll-down-line, scroll-other-window-down)
5208 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5209 * window.el (scroll-error-top-bottom)
5210 (scroll-up-command, scroll-down-command, scroll-up-line)
5211 (scroll-down-line, scroll-other-window-down)
5212 (beginning-of-buffer-other-window, end-of-buffer-other-window):
5213 Move from simple.el to window.el because their primitives are
5214 implemented in window.c.
5216 2010-04-16 Juri Linkov <juri@jurta.org>
5218 * isearch.el (isearch-lookup-scroll-key): Check both
5219 `isearch-scroll' and `scroll-command' properties.
5220 (scroll-up, scroll-down): Remove `isearch-scroll' property.
5222 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
5224 * simple.el (scroll-up-command, scroll-down-command)
5225 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
5227 2010-04-15 Juri Linkov <juri@jurta.org>
5229 * simple.el (scroll-up-command, scroll-down-command)
5230 (scroll-up-line, scroll-down-line): Put `scroll-command'
5231 property on the these symbols. Remove them from
5232 `scroll-preserve-screen-position-commands'.
5234 * mwheel.el (mwheel-scroll): Put `scroll-command' and
5235 `isearch-scroll' properties on the `mwheel-scroll' symbol.
5236 Remove it from `scroll-preserve-screen-position-commands'.
5238 * isearch.el (isearch-allow-scroll): Doc fix.
5240 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
5242 * net/tramp.el (tramp-error-with-buffer): Don't show the
5243 connection buffer when we are in completion mode.
5244 (tramp-file-name-handler): Catch the error for some operations
5245 when we are in completion mode. This gives the user the chance to
5246 correct the file name in the minibuffer.
5248 2010-04-15 Glenn Morris <rgm@gnu.org>
5250 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
5252 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
5254 Simplify by using `define-derived-mode'.
5255 * info.el (Info-mode):
5256 * calendar/todo-mode.el (todo-mode):
5257 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
5258 (gomoku-mode-map): Move initialization into declaration.
5260 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
5263 * ido.el (ido-file-name-all-completions-1):
5264 * minibuffer.el (minibuffer-completion-help):
5265 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
5267 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5269 * simple.el (non-essential): New var.
5271 Add a new field `location' to bookmarks for non-file bookmarks.
5272 * bookmark.el (bookmark-location): Use the new field, if present.
5273 (bookmark-insert-location): Undo last change, not needed any more.
5274 * man.el (Man-bookmark-make-record):
5275 * woman.el (woman-bookmark-make-record): Add `location' field.
5277 2010-04-14 Juri Linkov <juri@jurta.org>
5279 * simple.el (scroll-error-top-bottom): New defcustom.
5280 (scroll-up-command, scroll-down-command): Use it. Doc fix.
5282 * emulation/pc-select.el (pc-select-override-scroll-error):
5283 Obsolete in favor of `scroll-error-top-bottom'.
5285 2010-04-14 Juri Linkov <juri@jurta.org>
5287 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
5288 `scroll-up-command' and `M-v' to `scroll-down-command'.
5290 * emulation/cua-rect.el (cua--init-rectangles):
5291 * forms.el (forms--change-commands):
5292 * image-mode.el (image-mode-map):
5293 Remap scroll-down-command and scroll-up-command
5294 in addition to scroll-down and scroll-up.
5296 2010-04-14 Juri Linkov <juri@jurta.org>
5298 * mwheel.el (scroll-preserve-screen-position-commands):
5299 Add mwheel-scroll to this list of commands.
5301 * simple.el (scroll-preserve-screen-position-commands):
5302 Add scroll-up-command, scroll-down-command, scroll-up-line,
5303 scroll-down-line to this list of commands.
5305 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5307 * obsolete/complete.el: Move from lisp/complete.el.
5309 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
5311 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
5312 to the minor mode function now turns the mode ON unconditionally.
5314 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5316 * vc-dir.el (vc-dir-kill-line): New command.
5317 (vc-dir-mode-map): Bind it to C-k.
5319 * bookmark.el (bookmark-insert-location): Handle a nil filename.
5321 * woman.el: Add bookmark declarations to silence the compiler.
5322 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
5323 step to compatibility between man and woman bookmarks.
5324 Adjust for Man-default-bookmark-title renaming.
5325 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
5327 * man.el: Add bookmark declarations to silence the compiler.
5328 (Man-name-local-regexp): Make it match NAME as well.
5329 (Man-getpage-in-background): Return the buffer.
5330 (Man-notify-when-ready): Use `case'.
5331 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
5332 Don't hardcode "NAME". Simplify.
5333 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
5334 Rename from Man-bookmark-make-record.
5335 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
5336 we have the actual man-args. Use Man-getpage-in-background rather
5337 than `man' since the arg is already processed. Let bookmark.el do the
5338 window handling. Only wait for the relevant process.
5339 Don't forget to autoload.
5341 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
5343 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5345 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
5347 (woman-mode): Setup bookmark support.
5349 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
5350 (man-bookmark-jump): New functions.
5351 (Man-mode): Setup bookmark support.
5353 2010-04-10 Jari Aalto <jari.aalto@cante.net>
5355 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
5356 recognize ssh-keygen prompt (Bug#2817).
5358 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5360 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
5362 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
5364 Synchronize with Tramp repository.
5366 * net/tramp.el (tramp-completion-function-alist)
5367 (tramp-file-name-regexp, tramp-chunksize)
5368 (tramp-local-coding-commands, tramp-remote-coding-commands):
5370 (tramp-remote-process-environment): Use `format' instead of `concat'.
5371 (tramp-handle-directory-files-and-attributes)
5372 (tramp-get-remote-path): Use `copy-tree'.
5373 (tramp-handle-file-name-all-completions): Backward/ XEmacs
5374 compatibility: Use `completion-ignore-case' if
5375 `read-file-name-completion-ignore-case' does not exist.
5376 (tramp-do-copy-or-rename-file-directly): Do not use
5377 `tramp-handle-file-remote-p'.
5378 (tramp-do-copy-or-rename-file-out-of-band):
5379 Use `tramp-compat-delete-directory'.
5380 (tramp-do-copy-or-rename-file-out-of-band)
5381 (tramp-compute-multi-hops, tramp-maybe-open-connection):
5382 Use `format-spec-make'.
5383 (tramp-find-foreign-file-name-handler)
5384 (tramp-advice-make-auto-save-file-name)
5385 (tramp-set-auto-save-file-modes): Remove superfluous check for
5386 `stringp'. This is done inside `tramp-tramp-file-p'.
5387 (tramp-debug-outline-regexp): New defconst.
5388 (tramp-get-debug-buffer): Use it.
5389 (tramp-check-for-regexp): Use (forward-line 1).
5390 (tramp-set-auto-save-file-modes): Adapt version check.
5392 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
5393 Wrap call of `featurep' for 2nd argument.
5394 (tramp-compat-make-temp-file): Simplify fallback implementation.
5395 (tramp-compat-copy-tree): Remove function.
5396 (tramp-compat-delete-directory): Provide implementation for older
5399 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
5400 Do not use `tramp-fish-handle-file-attributes.
5402 * net/trampver.el: Update release number.
5404 2010-04-10 Glenn Morris <rgm@gnu.org>
5406 * progmodes/compile.el (compilation-save-buffers-predicate):
5407 Add missing :version tag.
5409 2010-04-09 Sam Steingold <sds@gnu.org>
5411 * progmodes/compile.el (compilation-save-buffers-predicate):
5412 Remove the "autoload" cookie.
5414 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
5415 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
5416 and `bug-reference-prog-mode' can be used in hooks directly.
5418 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
5420 Add --author support to git commit.
5421 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
5422 (vc-git-log-edit-mode): New minor mode.
5423 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
5426 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
5428 * vc-hooks.el, vc-git.el: Improve documentation comments.
5430 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
5432 Fix some of the problems in defsubst* (bug#5728).
5433 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
5434 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
5436 2010-04-07 Sam Steingold <sds@gnu.org>
5438 * progmodes/compile.el (compilation-save-buffers-predicate):
5439 New custom variable.
5440 (compile, recompile): Pass it to `save-some-buffers'.
5442 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
5444 * wid-edit.el (widget-choose): Move cursor to the second line of
5445 the buffer (Bug#5695).
5447 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5449 Add new VC methods: vc-log-incoming and vc-log-outgoing.
5450 * vc.el (vc-print-log-setup-buttons): New function split out from
5451 vc-print-log-internal.
5452 (vc-log-internal-common): New function, a parametrized version of
5453 vc-print-log-internal.
5454 (vc-print-log-internal): Just call vc-log-internal-common with the
5456 (vc-incoming-outgoing-internal):
5457 (vc-log-incoming, vc-log-outgoing): New functions.
5458 (vc-log-view-type): New permanent local variable.
5460 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
5462 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
5463 of the dynamic bound vc-short-log.
5464 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
5466 * vc-git.el (vc-git-log-outgoing): New function.
5467 (vc-git-log-view-mode): Use vc-log-view-type instead
5468 of the dynamic bound vc-short-log.
5470 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
5471 of the dynamic bound vc-short-log. Highlight the tag.
5472 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
5473 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
5474 (vc-hg-incoming-mode): Remove.
5475 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
5477 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
5479 Fix default-directory for vc-root-diff.
5480 * vc.el (vc-root-diff): Bind default-directory to the root
5481 directory for the diff command.
5483 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
5485 * progmodes/verilog-mode.el (verilog-forward-sexp):
5486 (verilog-calc-1): Support "disable fork" and "fork wait" multi
5487 word keywords, suggested by Steve Pearlmutter.
5488 (verilog-pretty-declarations): Support lineup of declarations in
5490 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
5491 fix bug for /* / comments.
5492 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
5493 Speed up and simplfy as this is never called with a bound.
5494 (verilog-pretty-declarations): Enhance to line up declarations
5495 inside a parameter list, suggested by Alan Morgan.
5496 (verilog-pretty-expr): Tune assignment regular expression match
5497 string for corner cases; also use markers instead of character
5498 number as indent changes the later.
5500 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
5502 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
5504 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
5505 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
5506 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
5507 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
5510 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
5511 1800-2009 keywords, including "global.".
5513 2010-04-06 John Wiegley <jwiegley@gmail.com>
5515 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
5516 appearing in buffer list (if a live buffer name matched a recentf
5517 file basename). Should use uniquify to offer a real solution.
5519 2010-04-06 John Wiegley <jwiegley@gmail.com>
5521 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
5522 comment to code, and add a :version tag.
5523 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
5525 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
5527 Enable recentf-mode if using virtual buffers.
5528 * ido.el (recentf-list): Declare for byte-compiler.
5529 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
5530 (ido-make-buffer-list): Simplify.
5531 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
5533 2010-04-05 Juri Linkov <juri@jurta.org>
5535 Scrolling commands which scroll a line instead of full screen.
5536 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5538 * simple.el (scroll-up-line, scroll-down-line): New commands.
5539 Put property isearch-scroll=t on them.
5541 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
5544 2010-04-05 Juri Linkov <juri@jurta.org>
5546 Scrolling commands which do not signal errors at top/bottom.
5547 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
5549 * simple.el (scroll-up-command, scroll-down-command): New commands.
5550 Put property isearch-scroll=t on them.
5552 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
5553 `scroll-down-command' and [next] from `scroll-up' to
5554 `scroll-up-command'.
5556 * emulation/cua-base.el: Put property CUA=move on
5557 `scroll-up-command' and `scroll-down-command'.
5558 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
5559 and `scroll-down-command' to `cua-scroll-down'.
5561 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
5563 * help.el (describe-mode): Return nil.
5565 2010-04-04 John Wiegley <jwiegley@gmail.com>
5567 * ido.el (ido-use-virtual-buffers): New variable to indicate
5568 whether "virtual buffer" support is enabled for IDO.
5569 (ido-virtual): Face used to indicate virtual buffers in the list.
5570 (ido-buffer-internal): If a buffer is chosen, and no such buffer
5571 exists, but a virtual buffer of that name does (which would be why
5572 it was in the list), recreate the buffer by reopening the file.
5573 (ido-make-buffer-list): If virtual buffers are being used, call
5574 `ido-add-virtual-buffers-to-list' before the make list hook.
5575 (ido-virtual-buffers): New variable which contains a copy of the
5576 current contents of the `recentf-list', albeit pared down for the
5577 sake of speed, and with proper faces applied.
5578 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
5579 create a list of "virtual buffers" to present to the user in
5580 addition to the currently open set. Note that this logic could
5581 get rather slow if that list is too large. With the default
5582 `recentf-max-saved-items' of 200, there is little speed penalty.
5584 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
5586 * font-lock.el: Require CL when compiling.
5587 (font-lock-turn-on-thing-lock): Use `case'.
5589 2010-04-03 Eli Zaretskii <eliz@gnu.org>
5591 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
5594 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
5596 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
5597 (semantic-create-imenu-directory-index): Fix typos in docstrings.
5598 (semantic-imenu-goto-function): Reflow docstring.
5600 2010-04-02 Juri Linkov <juri@jurta.org>
5602 * ehelp.el (electric-help-orig-major-mode):
5603 New buffer-local variable.
5604 (electric-help-mode): Set it to original major-mode. Doc fix.
5605 (with-electric-help): Use `electric-help-orig-major-mode' instead
5606 of (default-value 'major-mode). Doc fix.
5607 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
5609 2010-04-02 Sam Steingold <sds@gnu.org>
5611 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
5612 `vc-hg-command' with a list of flags.
5614 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5615 Also accept "patch" and "RFE".
5616 (bug-reference-fontify): `bug-reference-url-format' can also be a
5617 function to be able to handle the bug kind.
5618 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
5620 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
5622 * tmm.el (tmm-get-keymap): Check with symbolp before passing
5623 value to fboundp, it may not be a symbol.
5625 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5627 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
5629 2010-03-31 Juri Linkov <juri@jurta.org>
5631 * simple.el (next-line, previous-line): Re-throw a signal
5632 with `signal' instead of using `ding'.
5633 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
5635 2010-03-31 Juri Linkov <juri@jurta.org>
5637 * simple.el (keyboard-escape-quit): Raise deselecting the active
5638 region higher than exiting the minibuffer.
5639 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
5641 2010-03-31 Juri Linkov <juri@jurta.org>
5643 * image.el (image-animated-p): Use `image-metadata' instead of
5644 `image-extension-data'. Get GIF extenstion data from metadata
5645 property `extension-data'.
5647 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5649 * simple.el (append-to-buffer): Simplify.
5651 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
5653 * textmodes/artist.el (artist-mode): Fix typo in docstring.
5654 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
5656 2010-03-31 Kenichi Handa <handa@m17n.org>
5658 * language/sinhala.el (composition-function-table): Fix regexp for
5659 the new Unicode specification.
5661 * language/indian.el (devanagari-composable-pattern)
5662 (tamil-composable-pattern, kannada-composable-pattern)
5663 (malayalam-composable-pattern): Adjust for the new Unicode
5665 (bengali-composable-pattern, gurmukhi-composable-pattern)
5666 (gujarati-composable-pattern, oriya-composable-pattern)
5667 (telugu-composable-pattern): New variables to cope with the new
5668 Unicode specification. Use them in composition-function-table.
5670 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5672 Make tmm-menubar work for the Buffers menu again (bug#5726).
5673 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
5674 vectors rather than cons cells, as used in menu-bar-update-buffers.
5676 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5678 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
5679 (js-insert-and-indent): Revert 2009-08-15 change, restoring
5680 electric punctuation for "{}();,:" (Bug#5586).
5682 * mail/sendmail.el (mail-default-directory): Doc fix.
5684 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5686 * mail/sendmail.el (mail-default-directory): Doc fix.
5688 2010-03-31 Eli Zaretskii <eliz@gnu.org>
5690 * subr.el (version-regexp-alist, version-to-list)
5691 (version-list-<, version-list-=, version-list-<=)
5692 (version-list-not-zero, version<, version<=, version=): Doc fix.
5695 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
5697 * vc.el (vc-root-diff): Doc fix.
5699 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5701 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
5703 * simple.el (append-to-buffer): Fix last change.
5705 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
5707 * simple.el (append-to-buffer): Ensure that point is preserved if
5708 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
5711 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * files.el (auto-mode-case-fold): Change default to t.
5715 2010-03-30 Juri Linkov <juri@jurta.org>
5717 * dired-x.el (dired-omit-mode): Doc fix.
5719 2010-03-30 Juri Linkov <juri@jurta.org>
5721 * replace.el (occur-accumulate-lines): Move occur-engine related
5722 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
5723 to be located after `occur-engine'.
5725 2010-03-30 Juri Linkov <juri@jurta.org>
5727 Make occur handle multi-line matches cleanly with context.
5728 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
5730 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
5731 (occur-engine): Add local variables `ret', `prev-after-lines',
5732 `prev-lines'. Use more arguments for `occur-context-lines'.
5733 Set first elem of its returned list to `data', and the second elem
5734 to `prev-after-lines'. Don't print the separator line.
5735 In the end, print remaining context after-lines.
5736 (occur-context-lines): Add new arguments `begpt', `endpt',
5737 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
5738 after-lines of the previous match with before-lines of the
5739 current match and not overlap them. Return a list with two
5740 values: the output line and the list of context after-lines.
5742 2010-03-30 Juri Linkov <juri@jurta.org>
5744 * replace.el (occur-accumulate-lines): Fix a bug where the first
5745 context line at the beginning of the buffer was missing.
5747 2010-03-30 Eli Zaretskii <eliz@gnu.org>
5749 * files.el: Make bidi-display-reordering safe variable for boolean
5752 2010-03-29 Phil Hagelberg <phil@evri.com>
5753 Chong Yidong <cyd@stupidchicken.com>
5755 * subr.el: Extend progress reporters to perform "spinning".
5756 (progress-reporter-update, progress-reporter-do-update):
5757 Handle non-numeric value arguments.
5758 (progress-reporter--pulse-characters): New var.
5760 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
5762 * progmodes/compile.el (compilation-start): Fix regexp detection
5763 of initial cd command (Bug#5771).
5765 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
5767 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
5769 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
5771 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
5772 * lisp/progmodes/gdb-mi.el: Restore.
5773 * lisp/progmodes/gdb-ui.el: Remove.
5774 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
5776 2010-03-25 Glenn Morris <rgm@gnu.org>
5778 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
5779 all dired buffers, even tramp ones. (Bug#5755)
5781 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
5783 Add "union tags" in mpc.el.
5784 * mpc.el: Remove backward compatibility code.
5785 (mpc-browser-tags): Change default.
5786 (mpc--find-memoize-union-tags): New var.
5787 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
5788 (mpc-cmd-find): Handle the case where the playlist does not exist.
5790 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
5791 (mpc-cmd-add): Use mpc-cmd-flush.
5792 (mpc-tagbrowser-tag-name): New fun.
5793 (mpc-tagbrowser-buf): Use it.
5794 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
5796 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
5800 Use replace-regexp-in-string.
5801 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
5802 (makefile-imake-mode-syntax-table): Move init into defvar.
5803 (makefile-mode): Use define-derived-mode.
5805 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
5806 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
5807 not be present any more.
5809 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5811 * faces.el (set-face-attribute): Fix typo in docstring.
5812 (face-valid-attribute-values): Reflow docstring.
5814 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
5816 2010-03-24 Glenn Morris <rgm@gnu.org>
5818 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
5820 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5822 * indent.el (indent-for-tab-command): Doc fix.
5824 2010-03-24 Alan Mackenzie <acm@muc.de>
5826 * progmodes/cc-engine.el (c-remove-stale-state-cache):
5827 Fix off-by-one error. Fixes bug #5747.
5829 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5831 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
5832 (image-dired-read-comment): Doc fix.
5834 * json.el (json-object-type, json-array-type, json-key-type)
5835 (json-false, json-null, json-read-number):
5836 * minibuffer.el (completion-in-region-functions):
5837 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
5838 (cal-tex-cursor-week):
5839 * emacs-lisp/trace.el (trace-function):
5840 * eshell/em-basic.el (eshell/printnl):
5841 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
5842 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
5843 * obsolete/levents.el (allocate-event, event-key, event-object)
5844 (event-point, event-process, event-timestamp, event-to-character)
5845 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
5846 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
5847 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
5848 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
5849 (reftex-highlight-selection): Fix typos in docstrings.
5851 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
5853 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
5855 2010-03-24 Glenn Morris <rgm@gnu.org>
5857 * mail/rmail.el (rmail-highlight-face): Restore option deleted
5858 2008-02-13 without comment; mark it obsolete.
5859 (rmail-highlight-headers): Use rmail-highlight-face once more.
5861 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
5863 * woman.el (woman2-process-escapes): Only consume the newline if
5864 the filler character is on a line by itself (Bug#5729).
5866 2010-03-24 Kenichi Handa <handa@m17n.org>
5868 * language/indian.el (devanagari-composable-pattern): Add more
5871 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5873 * net/trampver.el: Update release number.
5875 2010-03-24 Glenn Morris <rgm@gnu.org>
5877 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
5879 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
5881 * net/tramp.el (tramp-find-executable):
5882 Use `tramp-get-connection-buffer'. Make the regexp for checking
5883 output of "wc -l" more robust.
5884 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
5885 (tramp-open-connection-setup-interactive-shell): Remove workaround
5886 for OpenSolaris bug, it is not needed anymore.
5888 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
5890 * cedet/semantic/imenu.el: New file, from the CEDET repository
5893 2010-03-24 Glenn Morris <rgm@gnu.org>
5895 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
5897 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
5899 * files.el (auto-mode-alist): Accept more verilog file patterns.
5901 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
5903 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
5905 2010-03-24 Glenn Morris <rgm@gnu.org>
5907 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
5908 log-edit-before-checkin-process.
5910 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
5912 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
5914 * vc-dispatcher.el (vc-start-logentry): Doc fix.
5915 (log-view-process-buffer, log-edit-extra-flags): Declare.
5917 * log-edit.el (log-edit-before-checkin-process): Doc fix.
5919 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
5920 Consistently check ede-object is bound throughout.
5922 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
5924 2010-03-23 Sam Steingold <sds@gnu.org>
5926 Fix bug#5620: recalculate all markers on compilation buffer
5927 modifications, not on file modifications.
5928 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
5929 the buffer modification time, for buffers not associated with files.
5930 (compilation-mode): Create it.
5931 (compilation-filter): Update it.
5932 (compilation-next-error-function): Use it instead of
5933 `visited-file-modtime' for timestamp.
5935 2010-03-23 Juri Linkov <juri@jurta.org>
5937 Implement Occur multi-line matches.
5938 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
5940 * replace.el (occur): Doc fix.
5941 (occur-engine): Set `begpt' to the beginning of the first line.
5942 Set `endpt' to the end of the last match line. At first, count
5943 line numbers between `origpt' and `begpt'. Split out code from
5944 `out-line' variable to new let-bindings `match-prefix' and
5945 `match-str'. In `out-line' add non-numeric prefix to all
5946 non-first lines of multi-line matches. Finally, count lines
5947 between `begpt' and `endpt' and add to `lines'.
5949 2010-03-23 Juri Linkov <juri@jurta.org>
5951 * replace.el (occur-accumulate-lines, occur-engine):
5952 Use `occur-engine-line' instead of duplicate code.
5953 (occur-engine-line): New function created from duplicate code
5954 in `occur-accumulate-lines' and `occur-engine'.
5956 * replace.el (occur-engine-line): Add optional arg `keep-props'.
5957 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
5959 2010-03-23 Juri Linkov <juri@jurta.org>
5961 * finder.el: Remove TODO tasks.
5963 * info.el (Info-finder-find-node): Add node "all"
5964 with all package info. Handle a list of multiple keywords
5966 (info-finder): In interactive use with a prefix argument,
5967 use `completing-read-multiple' to read a list of keywords
5970 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5972 Add a new completion style `substring'.
5973 * minibuffer.el (completion-basic--pattern): New function.
5974 (completion-basic-try-completion, completion-basic-all-completions):
5976 (completion-substring--all-completions)
5977 (completion-substring-try-completion)
5978 (completion-substring-all-completions): New functions.
5979 (completion-styles-alist): New style `substring'.
5981 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5983 Get rid of .elc files after removal of the corresponding .el.
5984 * Makefile.in (compile-clean): New target.
5985 (compile-main): Use it.
5987 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
5989 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
5990 don't do make there. When compiling with separate object dir, there
5991 is no Makefile there.
5993 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
5995 Get rid of the ELCFILES abomination, again.
5996 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
5997 (all, compile): Don't call compile-last.
5998 (compile-main): Build the "elcfiles" list dynamically.
5999 (compile-targets): New (internal) target.
6001 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
6003 * Makefile.in (top_srcdir): Define.
6004 (abs_top_builddir): Define.
6005 (srcdir): Don't append `/..'.
6006 (EMACS): Use ${abs_top_builddir}.
6007 (all, compile, compile-always, compile-last): Don't set emacswd.
6008 (update-subdirs, update-authors): Use $(top_srcdir) instead of
6010 (lisp): Use $(srcdir) instead of @srcdir@.
6012 2010-03-21 Juri Linkov <juri@jurta.org>
6014 Fix message of multi-line occur regexps and multi-buffer header lines.
6015 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
6017 * replace.el (occur-1): Don't display regexp if it is longer
6018 than window-width. Use `query-replace-descr' to display regexp.
6019 (occur-engine): Don't display regexp in the buffer header for
6020 multi-buffer occur. Display a separate header line with total
6021 match count and regexp for multi-buffer occur.
6022 Use `query-replace-descr' to display regexp.
6024 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
6026 * net/secrets.el: Fix parenthesis.
6027 (secrets-enabled): Fix parenthesis.
6029 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
6031 Use more relative file and directory names.
6032 * Makefile.in (EMACS): Arrange for it to work when we chdir.
6033 (setwins, setwins_almost, setwins_for_subdirs):
6034 Don't `cd'; output relative names.
6035 (all, compile, compile-always, compile-last): Set emacswd.
6036 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
6037 Just cd to the lisp source dir so we can use relative file names.
6039 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
6041 2010-03-20 Glenn Morris <rgm@gnu.org>
6043 * textmodes/rst.el: Use faces for font-lock customization, and make the
6044 old -face variables obsolete.
6045 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
6046 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
6047 (rst-block-face, rst-external-face, rst-definition-face)
6048 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
6049 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
6051 (rst-font-lock-keywords-function): Update for above changes.
6053 2010-03-20 Juri Linkov <juri@jurta.org>
6056 * obsolete/s-region.el: Move to obsolete.
6058 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
6060 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
6062 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6064 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
6066 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
6068 Add special markup processing for commit logs.
6069 * log-edit.el (log-edit-extra-flags): New variable.
6070 (log-edit): Add new argument MODE. Use that mode when non-nil
6071 instead of the log-view-mode.
6072 (log-view-process-buffer): New function.
6074 * vc.el: Document that the checkin method takes optional
6075 arguments. Document new backend specific method: log-view-mode.
6076 (vc-default-log-edit-mode): New function.
6077 (vc-checkin): Use a backend specific log-view-mode.
6078 Pass extra arguments to the checkin method.
6079 (vc-modify-change-comment): Pass a dummy extra argument.
6081 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
6083 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
6084 (vc-finish-logentry): Process the log buffer before passing it
6085 down. Pass log-edit-extra-flags.
6087 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
6089 (log-edit-extra-flags, log-edit-before-checkin-process):
6092 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
6094 (log-edit-extra-flags, log-edit-before-checkin-process):
6096 (vc-hg-log-edit-mode): New derived mode.
6098 * vc-arch.el (vc-arch-checkin):
6099 * vc-cvs.el (vc-cvs-checkin):
6100 * vc-git.el (vc-git-checkin):
6101 * vc-mtn.el (vc-mtn-checkin):
6102 * vc-rcs.el (vc-rcs-checkin):
6103 * vc-sccs.el (vc-sccs-checkin):
6104 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
6106 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
6111 2010-03-19 Glenn Morris <rgm@gnu.org>
6113 * password-cache.el (password-cache, password-cache-expiry): Autoload.
6115 2010-03-18 Glenn Morris <rgm@gnu.org>
6117 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
6119 * replace.el (query-replace-history): Give it a doc string.
6120 (map-query-replace-regexp): Use query-replace-from-history-variable
6121 and query-replace-to-history-variable.
6123 * mail/hashcash.el (declare-function): Remove duplicate definition.
6125 * mail/emacsbug.el (report-emacs-bug-pretest-address):
6126 Make it an obsolete alias for report-emacs-bug-address.
6127 (message-strip-special-text-properties): Declare.
6128 (report-emacs-bug): Remove test for a pretest bug address.
6129 Combine message-mode-specific code.
6131 * mail/supercite.el: Don't require sendmail.
6132 (mh-in-header-p): Declare rather than using with-no-warnings.
6133 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
6134 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
6136 * calendar/cal-french.el: Convert to utf-8.
6138 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
6141 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
6143 * net/secrets.el (secrets-enabled): New variable. Use it instead
6146 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
6148 * net/secrets.el (top): Register the D-Bus signals only when the
6149 service "org.freedesktop.secrets" can be pinged.
6150 Provide subfeature `enabled'.
6152 2010-03-14 Juri Linkov <juri@jurta.org>
6154 Add finder unknown keywords.
6156 * finder.el (finder-unknown-keywords): New function.
6158 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
6159 to create a Finder node with unknown keywords.
6161 2010-03-14 Juri Linkov <juri@jurta.org>
6163 * finder.el (finder-compile-keywords): Replace `princ' with
6164 `prin1' on a list of symbols interned from keyword strings.
6166 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
6167 a comma, then split keywords using a comma and optional whitespace.
6168 Otherwise, split by whitespace.
6176 * progmodes/mixal-mode.el: Fix keywords.
6178 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
6180 * Makefile.in (ELCFILES): Add net/secrets.elc.
6182 * net/secrets.el: New file.
6184 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6186 * facemenu.el (list-colors-display, list-colors-print): New arg
6187 callback. Use it to allow selecting colors.
6189 * wid-edit.el (widget-image-insert): Insert image prop even if the
6190 current display is non-graphic.
6191 (widget-field-value-set): New fun.
6192 (editable-field): Use it.
6193 (widget-field-value-get): Clean up unused var.
6194 (widget-color-value-create, widget-color--choose-action):
6195 New funs. Allow using list-colors-display to choose color.
6197 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6199 * cus-edit.el: Resort topmost custom groups.
6200 (custom-buffer-sort-alphabetically): Default to t.
6201 (customize-apropos): Use apropos-parse-pattern.
6202 (custom-search-field): New var.
6203 (custom-buffer-create-internal): Add custom-apropos search field.
6204 (custom-add-parent-links): Don't display parent doc.
6205 (custom-group-value-create): Don't sort top-level custom group.
6206 (custom-magic-value-create): Show visibility button before option name.
6208 (custom-variable-state): New fun, from custom-variable-state-set.
6209 (custom-variable-state-set): Use it.
6210 (custom-group-value-create): Hide options with standard values
6211 using the :hidden-states property. Use progress reporter.
6213 (custom-show): Simplify.
6214 (custom-visibility): Disable images by default.
6215 (custom-variable): New property :hidden-states.
6216 (custom-variable-value-create): Enable images for
6217 custom-visibility widgets. Use :hidden-states property to
6218 determine initial visibility.
6220 * wid-edit.el (widget-image-find): Give images center ascent.
6221 (visibility): Add :on-image and :off-image properties.
6222 (widget-visibility-value-create): Use them.
6224 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
6226 * cus-edit.el (processes): Remove from development group.
6227 (oop, hypermedia): Delete group.
6228 (comm): Promote to top-level group.
6230 * net/browse-url.el (browse-url):
6231 * net/xesam.el (xesam):
6232 * net/tramp.el (tramp):
6233 * net/goto-addr.el (goto-address):
6234 * net/ange-ftp.el (ange-ftp): Put in comm group.
6236 * view.el (view): Remove from editing group.
6238 * uniquify.el (uniquify): Put in files group.
6240 * net/browse-url.el (browse-url):
6241 * ps-print.el (postscript): Put in external group.
6243 * cus-edit.el (outlines):
6244 * textmodes/text-mode.el (text-mode-hook):
6245 * textmodes/table.el (table):
6246 * textmodes/picture.el (picture):
6247 * outline.el (outlines): Put in wp group.
6249 * nxml/nxml-mode.el (nxml): Remove from wp group.
6251 * net/tramp-imap.el (tramp-imap): Put in tramp group.
6253 * mail/metamail.el (metamail): Remove from hypermedia group.
6255 * cus-edit.el (abbrev):
6256 * whitespace.el (whitespace):
6257 * vcursor.el (vcursor):
6258 * reveal.el (reveal):
6259 * hl-line.el (hl-line): Put in convenience group.
6261 * epg-config.el (epg): Put in data group.
6263 * emulation/pc-select.el (pc-select): Put in emulations group.
6265 * calculator.el (calculator): Put in applications group.
6267 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6269 Add .dir-locals.el support for file-less buffers.
6270 * files.el (hack-local-variables): Split out code to apply local
6271 variable settings ...
6272 (hack-local-variables-apply): ... here. New function.
6273 (hack-dir-local-variables): Use the default directory for when the
6274 buffer does not have an associated file.
6275 (hack-dir-local-variables-non-file-buffer): New function.
6276 * diff-mode.el (diff-mode):
6277 * vc-annotate.el (vc-annotate-mode):
6278 * vc-dir.el (vc-dir-mode):
6279 * log-edit.el (log-edit-mode):
6280 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
6282 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
6284 Add support for shelving snapshots and for showing shelves.
6285 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
6286 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
6288 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
6289 (vc-bzr-extra-menu-map): Map them.
6291 2010-03-11 Glenn Morris <rgm@gnu.org>
6293 * cus-edit.el (customize-changed-options-previous-release):
6296 * image.el (image-animate-max-time): Fix :version tag.
6298 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
6302 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * vc-git.el (vc-git-revision-table): Include remote branches.
6306 2010-03-10 Kim F. Storm <storm@cua.dk>
6309 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
6311 * image.el (image-animate-max-time): New defcustom.
6312 (image-animated-types): New defconst.
6313 (create-animated-image, image-animate-timer)
6314 (image-animate-start, image-animate-stop, image-animate-timeout)
6315 (image-animated-p): New functions.
6317 * image-mode.el (image-toggle-display-image):
6318 Replace `create-image' with `create-animated-image'.
6320 2010-03-09 Miles Bader <miles@gnu.org>
6322 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
6323 instead of "format:"; this ensures that the output is
6326 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
6328 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
6329 that all errors are caught, and that the return value is always a
6332 2010-03-08 Kenichi Handa <handa@m17n.org>
6334 * language/misc-lang.el (windows-1256): New coding system.
6335 (cp1256): New alias of windows-1256 (bug#5690).
6337 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
6339 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
6340 call to rfc822-bad-address. (Bug#5692)
6342 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
6344 * vc-git.el (vc-git-annotate-extract-revision-at-line):
6345 Use vc-git-root as default directory for revision path (Bug#5657).
6347 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
6349 * calculator.el (calculator): Don't bind split-window-keep-point
6352 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
6354 * vc-git.el: Re-flow to fit into 80 columns.
6355 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
6356 Remove spurious `quote' element in each case alternative.
6357 (vc-git-show-log-entry): Use prog1.
6358 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
6360 2010-03-06 Glenn Morris <rgm@gnu.org>
6362 * cedet/semantic/grammar.el (semantic-grammar-header-template):
6363 Update template copyright to GPLv3+.
6365 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
6367 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
6369 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
6371 * macros.el (insert-kbd-macro): Look up keyboard macro using the
6372 definition, not the name (Bug#5481).
6374 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
6376 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
6377 argument with a local variable. (Bug#5670)
6379 2010-03-02 Juri Linkov <juri@jurta.org>
6381 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
6383 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
6385 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
6386 error when FILENAME and NEWNAME are existing remote directories.
6388 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
6391 2010-03-02 Glenn Morris <rgm@gnu.org>
6393 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
6394 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
6396 2010-03-01 Kenichi Handa <handa@m17n.org>
6398 * language/burmese.el (burmese-composable-pattern): Rename from
6399 myanmar-composable-pattern.
6401 * international/characters.el (script-list):
6402 * international/fontset.el (script-representative-chars):
6403 Change myanmar to burmese.
6404 (otf-script-alist): Likewise.
6405 (setup-default-fontset): Likewise. Re-fix :otf spec.
6407 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
6409 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
6411 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
6413 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
6415 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp.el (tramp-handle-write-region): START can be a string.
6418 Take care in the checks. Reported by Dan Davison
6419 <davison@stats.ox.ac.uk>.
6421 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
6423 * net/dbus.el (dbus-introspect, dbus-get-property)
6424 (dbus-set-property, dbus-get-all-properties):
6425 Use `dbus-call-method' when noninteractive. (Bug#5645)
6427 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
6429 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
6430 * emacs-lisp/elint.el (elint-add-required-env):
6431 * cedet/semantic/db-find.el
6432 (semanticdb-find-translate-path-brutish-default):
6433 * cedet/ede/make.el (ede-make-check-version):
6434 * calendar/icalendar.el (icalendar--add-diary-entry):
6435 * calc/calcalg2.el (math-tracing-integral):
6436 * files.el (recover-session-finish): Use with-current-buffer
6437 instead of save-excursion.
6439 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
6441 Fix in-buffer completion when after-change-functions modify the buffer.
6442 * minibuffer.el (completion--replace): New function.
6443 (completion--do-completion): Use it and use relative movement.
6445 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
6447 * international/fontset.el (setup-default-fontset): Fix :otf spec.
6449 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
6451 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
6452 Allow the characters _<> in the stack entry (Bug#5653).
6454 2010-02-26 Kenichi Handa <handa@m17n.org>
6456 * language/burmese.el: Fix entries in composition-function-table.
6457 (myanmar-composable-pattern): New variable.
6459 * international/fontset.el (setup-default-fontset): Add an entry
6462 * international/characters.el (script-list): Add Myanmar
6465 2010-02-26 Glenn Morris <rgm@gnu.org>
6467 * custom.el (custom-initialize-delay): Doc fix.
6469 * mail/sendmail.el (send-mail-function): Autoload the call
6470 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
6472 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
6474 * files.el (hack-local-variables-filter): For eval forms, also
6475 check safe-local-variable-p (Bug#5636).
6477 2010-02-24 Eduard Wiebe <usenet@pusto.de>
6479 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
6480 and use c(ad)r of cddr (Bug#5640).
6482 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
6484 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
6485 setting the modes by `ignore-errors'. It might fail, for example
6486 if the file is not owned by the user but the group.
6487 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
6489 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
6491 * files.el (directory-listing-before-filename-regexp): Use
6492 stricter matching for iso-style dates, to avoid false matches with
6493 date-like filenames (Bug#5597).
6495 * htmlfontify.el (htmlfontify): Doc fix.
6497 * eshell/eshell.el (eshell): Doc fix.
6499 * startup.el (fancy-about-screen): In mode-line, apply
6500 mode-line-buffer-id face only to the buffer name (Bug#5613).
6502 2010-02-20 Kevin Ryde <user42@zip.com.au>
6504 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6505 In `watcom' anchor regexp to start of line, to avoid slowness
6508 2010-02-20 Eli Zaretskii <eliz@gnu.org>
6510 * subr.el (remove-yank-excluded-properties): Explain in a comment
6511 why `category' property is removed.
6513 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
6515 * isearch.el (isearch-update-post-hook, isearch-update): Revert
6518 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
6520 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
6521 (icalendar--convert-weekly-to-ical)
6522 (icalendar--convert-yearly-to-ical)
6523 (icalendar--convert-block-to-ical)
6524 (icalendar--convert-cyclic-to-ical)
6525 (icalendar--convert-anniversary-to-ical): Take care of time
6526 specifications where hour has 1-digit only (Bug#5549).
6528 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
6530 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
6531 of disassemble output in GDB 7.1.
6533 2010-02-19 Glenn Morris <rgm@gnu.org>
6535 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
6536 property. (Bug#5593)
6538 2010-02-18 Sam Steingold <sds@gnu.org>
6540 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
6542 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
6544 Use abbreviated file names in bookmarks (bug#5591).
6545 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
6546 calls to expand-file-name.
6547 (bookmark-relocate): Use abbreviated file names in bookmarks.
6548 (bookmark-load): Use abbreviated file names in messages.
6550 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6552 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
6553 expand "." and "..". Reported by Thierry Volpiatto
6554 <thierry.volpiatto@gmail.com>.
6556 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
6558 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
6559 permissions of the temporary file to "0600". In case the remote
6560 file has no read permissions for the owner, there might be
6561 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
6563 22010-02-18 Glenn Morris <rgm@gnu.org>
6565 * emacs-lisp/authors.el (authors-renamed-files-alist):
6566 Add entries for INSTALL.CVS.
6568 2010-02-17 Mark A. Hershberger <mah@everybody.org>
6570 * vc-bzr.el: Fix typo in Known Bugs section.
6572 * isearch.el (isearch-update-post-hook): New hook.
6573 (isearch-update): Use the new hook.
6575 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
6577 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
6578 Fix errors in copying directories.
6579 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
6580 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
6581 (tramp-handle-delete-file)
6582 (tramp-handle-dired-recursive-delete-directory)
6583 (tramp-handle-write-region): Flush also the cache for the upper
6586 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
6588 * simple.el (save-interprogram-paste-before-kill): Doc fix.
6590 * cus-edit.el (hardware): Doc fix.
6592 * man.el (man): Add to external custom group.
6594 * delim-col.el (columns): Move to wp custom group.
6596 * doc-view.el (doc-view): Add to data custom group.
6598 * cedet/data-debug.el (data-debug): Move to extensions group.
6600 * cedet/ede.el (ede):
6601 * cedet/srecode.el (srecode):
6602 * cedet/semantic.el (semantic): Put in tools and extensions group.
6604 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
6606 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
6607 by ispell-parse-output (Bug#5575).
6609 2010-02-16 Kenichi Handa <handa@m17n.org>
6611 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
6612 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
6613 (skkdic-convert): Use `euc-japan' coding system for writing.
6615 2010-02-16 Glenn Morris <rgm@gnu.org>
6617 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
6618 tex-main-file before using it. (Bug#5562)
6620 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
6622 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
6623 warnings, since it is annoying for the user to see them each time he
6626 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
6628 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
6629 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
6630 instead of PROC for caching "first-password-request". Otherwise,
6631 new processes would not profit from passwords already entered.
6633 * net/tramp-cache.el (tramp-dump-connection-properties):
6634 Don't save "first-password-request" property.
6636 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
6638 * outline.el (outline-head-from-level):
6639 * simple.el (with-wrapper-hook):
6640 * cedet/ede.el (ede-run-target, project-delete-target)
6641 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
6642 (ede-adebug-project, ede-adebug-project-parent)
6643 (ede-adebug-project-root):
6644 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
6645 (elint-defun, elint-buffer-env, elint-top-form-logged)
6646 (elint-unbound-variable):
6647 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
6648 Fix typos in docstrings.
6650 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
6652 * files.el (insert-directory): When WILDCARD-REGEXP and
6653 FULL-DIRECTORY-P are nil, insert the file entry instead of the
6654 whole directory. (Bug#5551)
6656 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
6657 dired's alignment sanity. (Bug#5516)
6659 2010-02-14 Juri Linkov <juri@jurta.org>
6661 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
6662 Remove remaining ^H with their preceding chars. (Bug#5566)
6664 2010-02-13 Glenn Morris <rgm@gnu.org>
6666 * simple.el (transpose-subr): Give it a doc-string.
6668 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
6671 2010-02-12 Juri Linkov <juri@jurta.org>
6673 * arc-mode.el (archive-unique-fname): Make directories for nested
6674 archives. (Bug#5540)
6676 2010-02-12 Juri Linkov <juri@jurta.org>
6678 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
6680 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
6682 * subr.el (copy-overlay): Handle deleted overlays.
6684 * man.el (Man-completion-table): Don't signal an error if we can't run
6685 manual-program (bug#4056).
6687 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
6689 * textmodes/artist.el (artist-mt): Fix typos in docstring.
6691 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6693 * info.el (Info-bookmark-jump): Simplify.
6695 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
6696 (bookmark-default-handler): Accept new bookmark field `buffer'.
6698 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
6700 * iswitchb.el (iswitchb-completions): Revert last change.
6702 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
6704 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
6705 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
6706 This prevents file names like "~/" being listed literally.
6708 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
6710 * term/xterm.el (xterm-maybe-set-dark-background-mode):
6711 Remove dead code. (Bug#5546)
6713 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
6715 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
6716 correctly (Bug#5548).
6718 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
6720 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
6721 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
6723 2010-02-08 Kenichi Handa <handa@m17n.org>
6725 * international/mule-util.el (with-coding-priority): Add autoload
6726 cookie for putting `lisp-indent-function'.
6728 2010-02-07 Glenn Morris <rgm@gnu.org>
6730 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
6731 Move F2003 named interfaces from keywords-2 to keywords-1, and
6732 use function-name-face rather than constant-face.
6733 Simplify "abstract interface" regexp.
6735 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
6737 * eshell/esh-util.el (eshell-file-attributes): New optional arg
6738 ID-FORMAT. Pass it to `file-attributes'.
6740 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
6742 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
6744 * faces.el (set-face-attribute): Allow calling
6745 internal-set-lisp-face-attribute with 'unspecified family and
6746 foundry argument (Bug#5536).
6748 2010-02-07 Glenn Morris <rgm@gnu.org>
6750 * progmodes/f90.el (f90-font-lock-keywords-2)
6751 (f90-looking-at-type-like, f90-looking-at-program-block-end):
6752 Handle F2003 named interfaces.
6754 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
6756 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
6757 beg and end before calling c-get-state-before-change-functions.
6759 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
6761 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
6763 2010-02-05 Juri Linkov <juri@jurta.org>
6765 * doc-view.el (doc-view-mode):
6766 * image-mode.el (image-mode): Put property mode-class=special.
6769 2010-02-05 Mark A. Hershberger <mah@everybody.org>
6771 * vc-svn.el (vc-svn-revision-table): New function.
6773 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
6775 * net/ange-ftp.el (ange-ftp-insert-directory):
6776 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6777 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6778 Handle also directories. (Bug#5478)
6780 2010-02-05 Glenn Morris <rgm@gnu.org>
6782 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
6784 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
6786 * startup.el (command-line-1): Convert options beginning with a
6787 single dash as well (Bug#5519).
6789 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
6791 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
6792 * minibuffer.el (completion-initials-expand): Only check the presence
6793 of delims *within* the boundaries, since otherwise the / delim is
6794 always found for files.
6796 Fix up various corner case problems.
6797 * doc-view.el (doc-view-last-page-number): New function.
6798 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
6799 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
6800 (doc-view-kill-proc): Avoid inf-loop in freak cases.
6801 (doc-view-reconvert-doc): Use the new recursive delete-directory.
6802 (doc-view-convert-current-doc): Don't create the resolution.el file
6804 (doc-view-pdf/ps->png): Do it here instead.
6805 (doc-view-already-converted-p): Check that resolution.el is present.
6806 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
6807 windows that are not yet showing images.
6809 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
6811 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
6812 `dired-uncache' for every elemnt which is an absolute file name.
6814 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
6815 directory, handle its directory component.
6816 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
6817 function is called permanently and creates noise, otherwise.
6819 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
6820 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
6821 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
6823 2010-02-04 David Burger <dburger@google.com> (tiny change)
6825 * macros.el (apply-macro-to-region-lines):
6826 Minor simplification. (Bug#5485)
6828 2010-02-04 Glenn Morris <rgm@gnu.org>
6830 * mail/rmail.el (rmail-show-message-1): Handle malformed
6831 quoted-printable text. (Bug#5441)
6833 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
6835 * simple.el (visual-line-mode): Capitalize lighter.
6837 2010-02-03 John Wiegley <jwiegley@gmail.com>
6839 * iswitchb.el (iswitchb-completions): Add bookmark files to the
6840 list of files considered for "virtual buffer" completions.
6842 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
6844 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
6845 also in case of (and (not full) (not wildcard)). This is needed
6846 when dired is called with a list of files, which are not in
6847 `default-directory'. (Bug#5478)
6849 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
6851 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
6853 2010-02-02 Juri Linkov <juri@jurta.org>
6855 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
6856 from unidiff to allow function-line after @@.
6858 2010-02-02 Juri Linkov <juri@jurta.org>
6860 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
6861 '(RCS SCCS) with inverted condition.
6863 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
6865 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
6868 2010-02-01 Juri Linkov <juri@jurta.org>
6870 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
6871 compare with "pkunzip" and "pkzip" instead of only "pkzip".
6872 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
6873 only when (car archive-zip-extract) is "unzip". (Bug#5475)
6875 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
6877 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
6878 (doc-view-revert-buffer): New command.
6879 (doc-view-mode-map): Use it.
6881 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
6883 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
6884 pending merge is detected.
6886 2010-01-31 Juri Linkov <juri@jurta.org>
6888 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
6889 beginning of interactive spec like all other grep commands do.
6890 Put "all" in front of "gz". (Bug#5260)
6892 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
6894 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
6896 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
6898 * dirtrack.el (dirtrack): Warn instead of signalling error if the
6899 regexp is incorrect (Bug#5476).
6901 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
6903 * net/tramp.el (tramp-handle-insert-directory): Handle also
6904 symlinks, when FILENAME is not in `default-directory'.
6906 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6908 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
6909 FILE is not in `default-directory'. (Bug#5478)
6911 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
6912 of SWITCHES. Handle the case, FILENAME is not in
6913 `default-directory'. (Bug#5478)
6914 (tramp-register-file-name-handlers): Add safe-magic property.
6916 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
6918 * arc-mode.el (archive-zip-extract): Quote the argument passed to
6921 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
6923 * progmodes/flymake.el (flymake-allowed-file-name-masks)
6924 (flymake-master-make-header-init): Add other C++ filename masks.
6925 (flymake-find-possible-master-files)
6926 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
6928 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
6930 Fix some busybox annoyances.
6932 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
6933 not responding." string.
6934 (tramp-open-connection-setup-interactive-shell): Dump stty
6935 settings. Enable "neveropen" arg for all `tramp-send-command'
6936 calls. Handle "=" in variable values properly.
6937 (tramp-find-inline-encoding): Raise an error, when no encoding is
6939 (tramp-wait-for-output): Check, whether PROC buffer is available.
6940 Remove spurious " ^H" sequences, sent by busybox.
6941 (tramp-get-ls-command): Suppress coloring, if possible.
6943 2010-01-28 Glenn Morris <rgm@gnu.org>
6945 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
6947 * log-edit.el (log-edit-strip-single-file-name): Add missing
6948 :safe, :group, and :version tags.
6950 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
6952 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
6955 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
6957 * files.el (delete-directory): Handle moving to trash without
6958 first doing recursion (Bug#5436).
6960 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
6962 * vc-hooks.el (vc-path): Mark as obsolete.
6964 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
6966 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
6969 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
6971 (vc-bzr-log-view-mode): Adjust regexp for the above change.
6973 2010-01-25 Mark A. Hershberger <mah@everybody.org>
6975 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
6977 * vc-bzr.el (vc-bzr-revision-table): New function.
6979 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
6981 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
6982 diff-index command. This requires at least git-1.5.5. (Bug#1589).
6984 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
6986 Remove support for adding --signoff on commit.
6987 Future support will use an incompatible generic mechanism.
6988 * vc-git.el (vc-git-add-signoff): Remove variable.
6989 (vc-git-toggle-signoff): Remove function.
6990 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
6992 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
6993 from xterm-set-background-mode. Return t if the background mode
6995 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
6996 earlier, call it again in case the background mode has changed.
6998 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
7000 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
7003 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
7005 * emacs-lisp/assoc.el (aelement): Doc fix.
7006 (aput, adelete, amake): Use lexical-let (Bug#5450).
7008 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
7010 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
7011 is the same as subprogram call, not declaration. (Bug#5435).
7013 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
7015 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
7016 (tramp-smb-maybe-open-connection): Use it.
7018 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
7020 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
7022 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
7024 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
7025 just because we see "encoding: 8bit".
7026 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
7028 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
7030 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
7032 2010-01-22 Eli Zaretskii <eliz@gnu.org>
7034 * jka-compr.el (jka-compr-load): If load-file is not in
7035 load-history, try its file-truename version. (bug#5447)
7037 2010-01-21 Alan Mackenzie <acm@muc.de>
7039 Fix a situation where deletion of a cpp construct throws an error.
7040 * progmodes/cc-engine.el (c-invalidate-state-cache):
7041 Before invoking c-with-all-but-one-cpps-commented-out, check that the
7042 special cpp construct is still in the buffer.
7043 (c-parse-state): Record the special cpp with markers, not numbers.
7045 2010-01-21 Kenichi Handa <handa@m17n.org>
7047 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
7048 process last-command-event, as it is now decoded first (Bug#5380).
7050 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
7052 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
7054 2010-01-20 Glenn Morris <rgm@gnu.org>
7056 * indent.el (tab-always-indent): Fix custom-type.
7058 2010-01-19 Alan Mackenzie <acm@muc.de>
7060 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
7061 buffer throws "args out of range".
7062 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
7063 playing the role of delimiter.
7065 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
7067 * progmodes/ada-mode.el: Fix bug#5400.
7068 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
7069 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
7070 changed. Delete RECURSIVE parameter; never used. Improve doc string.
7071 Improve comments in "is" portion. Handle null procedure declaration.
7072 (ada-move-to-end): Improve doc string.
7074 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
7076 * ido.el (ido-cur-list): Initialize to nil.
7077 Remove obsolete information from commentary.
7078 (ido-choice-list): Initialize to nil.
7079 (ido-get-bufname): Reject minibuffers.
7080 (ido-make-buffer-list): If "default" is a nonexistent
7081 buffer, ignore it, as per the function's comment.
7082 (ido-kill-buffer-internal): New function.
7083 (ido-kill-buffer-at-head): Use it.
7084 (ido-visit-buffer): Likewise.
7086 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
7088 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
7090 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
7092 * cedet/ede/locate.el (ede-locate-file-in-project)
7093 (ede-locate-file-in-project-impl): Fix typos in docstrings.
7094 (ede-enable-locate-on-project): Fix typos in error messages.
7096 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
7097 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
7098 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
7099 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
7100 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
7101 Fix typos in menu help.
7103 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
7104 Fix typos in chart titles.
7106 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
7107 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
7108 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
7109 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
7110 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
7111 (semantic-parse-stream, semantic-parse-region)
7112 (semantic-parse-region-default, semantic--set-buffer-cache)
7113 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
7114 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
7115 (semantic-default-submodes):
7116 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
7117 (semanticdb-create-ebrowse-database)
7118 (semanticdb-find-tags-for-completion-method)
7119 (semanticdb-find-tags-by-class-method)
7120 (semanticdb-deep-find-tags-by-name-method)
7121 (semanticdb-deep-find-tags-for-completion-method):
7122 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
7123 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
7124 (semanticdb-find-tags-for-completion-method)
7125 (semanticdb-find-tags-by-class-method)
7126 (semanticdb-deep-find-tags-for-completion-method):
7127 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
7128 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
7129 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
7130 (semanticdb-find-tags-by-name-method)
7131 (semanticdb-find-tags-by-name-regexp-method)
7132 (semanticdb-find-tags-for-completion-method)
7133 (semanticdb-find-tags-by-class-method)
7134 (semanticdb-find-tags-external-children-of-type-method)
7135 (semanticdb-find-tags-subclasses-of-type-method)
7136 (semanticdb-deep-find-tags-by-name-method)
7137 (semanticdb-deep-find-tags-by-name-regexp-method)
7138 (semanticdb-deep-find-tags-for-completion-method):
7139 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
7140 (semanticdb-enable-gnu-global-in-buffer)
7141 (semanticdb-find-tags-for-completion-method)
7142 (semanticdb-deep-find-tags-by-name-method)
7143 (semanticdb-deep-find-tags-for-completion-method):
7144 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
7145 (javascript-mode, semanticdb-find-translate-path)
7146 (semanticdb-find-tags-for-completion-method)
7147 (semanticdb-find-tags-by-class-method)
7148 (semanticdb-deep-find-tags-by-name-method)
7149 (semanticdb-deep-find-tags-for-completion-method)
7150 (semanticdb-find-tags-external-children-of-type-method):
7151 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
7152 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
7153 (global-semantic-idle-scheduler-mode):
7154 * cedet/srecode/dictionary.el (srecode-field-value)
7155 (srecode-dictionary-add-section-dictionary):
7156 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
7157 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
7158 (describe-class, eieio-describe-generic, describe-generic):
7159 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
7160 (eieio-speedbar-expand):
7161 * emulation/viper-cmd.el (viper-exec-form-in-vi)
7162 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
7163 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
7164 (viper-del-backward-char-in-replace, viper-backward-indent)
7165 (viper-brac-function, viper-register-to-point, viper-submit-report):
7166 * net/tramp.el (tramp-remote-coding-commands):
7167 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
7168 Fix typos in docstrings.
7170 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
7172 * mail/sendmail.el (mail-yank-original): Set the mark if the
7173 specified function for yanking does not do it.
7175 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
7177 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
7179 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
7180 resyncing a directory.
7182 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
7184 * progmodes/ada-mode.el: Fix bug#1920.
7185 (ada-ident-re): Delete ., allow multibyte characters.
7186 (ada-goto-label-re): New; matches goto labels.
7187 (ada-block-label-re): New; matches block labels.
7188 (ada-label-re): New; matches both.
7189 (ada-named-block-re): Deleted; callers changed to use
7190 `ada-block-label-re' instead.
7191 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
7192 Use `ada-block-label-re'.
7193 (ada-indent-on-previous-lines): Improve handling of goto labels.
7194 (ada-get-indent-block-start): Special-case block label.
7195 (ada-get-indent-label): Split into `ada-indent-block-label' and
7196 `ada-indent-goto-label'.
7197 (ada-goto-stmt-start, ada-goto-next-non-ws):
7198 Optionally ignore goto labels.
7199 (ada-goto-next-word): Simplify.
7200 (ada-indent-newline-indent-conditional): Insert newline before
7201 trying to fix indentation; doc fix.
7203 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
7205 * calc/calc.el (calc-command-flags): Give it an initial value.
7207 2010-01-17 Glenn Morris <rgm@gnu.org>
7209 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
7211 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
7213 * cedet/semantic.el (semantic-mode):
7214 * files.el (minibuffer-with-setup-hook):
7215 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
7216 (artist-key-draw-continously, artist-key-do-continously-continously)
7217 (artist-key-set-point-continously, artist-mouse-draw-continously):
7218 Fix typos in docstrings.
7220 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
7222 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
7223 return t (Bug#3898).
7225 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
7227 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
7228 can parse the output of the external commands (Bug#5279).
7230 2010-01-16 Jari Aalto <jari.aalto@cante.net>
7232 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
7234 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
7236 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
7238 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
7240 * startup.el (command-line): Remove unused --icon-type arg.
7241 Handle --display arg, passing it to command-line-1 (Bug#5392).
7243 2010-01-16 Mario Lang <mlang@delysid.org>
7245 * cedet/ede/cpp-root.el (ede-cpp-root-project):
7246 * cedet/ede/files.el (ede-expand-filename):
7247 * cedet/ede/simple.el (ede-simple-project):
7248 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
7249 (semantic-complete-inline-tag-engine):
7250 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
7251 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
7252 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
7253 * cedet/semantic/db.el (semanticdb-equivalent-mode):
7254 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
7255 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
7256 * emacs-lisp/chart.el (chart-translate-namezone):
7257 * textmodes/artist.el (artist-compute-popup-menu-table):
7258 Remove duplicated words in doc-strings.
7260 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
7262 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
7263 to mairix-search to suppress threading (Bug#5342).
7265 2010-01-15 Kenichi Handa <handa@m17n.org>
7267 * international/mule-cmds.el (canonicalize-coding-system-name):
7268 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
7270 2010-01-15 Glenn Morris <rgm@gnu.org>
7272 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
7274 * wid-edit.el (widget-keymap): Doc fix.
7276 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
7277 former seems to be more widely accepted by various svn versions.
7279 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7281 * find-cmd.el (find-constituents):
7282 * vc-arch.el (vc-arch-root):
7283 * window.el (window-body-height, pop-up-frames):
7284 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
7285 (semantic-no-reparse-needed-change-hook):
7286 * cedet/srecode/insert.el (srecode-resolve-argument-list)
7287 (srecode-template-inserter-blank, srecode-template-inserter-variable)
7288 (srecode-template-inserter-ask, srecode-template-inserter-width)
7289 (srecode-template-inserter-section-start)
7290 (srecode-template-inserter-section-end, srecode-insert-method):
7291 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
7292 * progmodes/ada-stmt.el (ada-if):
7293 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
7294 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
7295 (ispell-encoding8-command, ispell-aspell-supports-utf8)
7296 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
7298 * progmodes/flymake.el (flymake-post-syntax-check):
7299 Fix typo in error message.
7301 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7303 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
7304 which is always a string. (Bug#5313)
7306 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
7308 * progmodes/ada-xref.el (ada-default-prj-properties):
7309 Simplify previous change.
7311 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7313 * progmodes/ada-xref.el (ada-default-prj-properties):
7314 Default ada_project_path to $ADA_PROJECT_PATH.
7316 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7318 * progmodes/ada-mode.el (ada-create-keymap):
7319 Override `narrow-to-defun' with `ada-narrow-to-defun'.
7321 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7323 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
7324 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
7325 (ada-get-current-indent, ada-imenu-generic-expression)
7326 (ada-which-function): Check for it.
7328 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
7330 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
7331 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
7333 2010-01-14 Glenn Morris <rgm@gnu.org>
7335 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
7337 2010-01-14 Kenichi Handa <handa@m17n.org>
7339 * composite.el (auto-composition-mode): Make it a buffer local
7340 variable (permanent-local).
7341 (auto-composition-function): Set the default value to
7343 (auto-composition-mode): Make it a simple function, not a minor mode.
7344 (global-auto-composition-mode): Likewise.
7345 (turn-on-auto-composition-if-enabled): Delete it.
7347 2010-01-13 Karl Fogel <kfogel@red-bean.com>
7349 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
7351 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
7353 * files.el (copy-directory): Compute target for recursive
7354 directories with identical names. (Bug#5343)
7356 2010-01-12 Glenn Morris <rgm@gnu.org>
7358 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
7359 it to bug-gnu-emacs rather than emacs-pretest-bug.
7361 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
7363 * cedet/data-debug.el (data-debug): Fix customization group reference.
7365 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
7367 * cedet/semantic/analyze.el (semantic-analyze-push-error)
7368 (semantic-analyze-context, semantic-analyze-context-assignment)
7369 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
7370 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
7371 (semantic-java-doc-keywords-map):
7372 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
7373 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
7374 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
7375 (semantic-c-classname, semantic-format-tag-uml-prototype)
7376 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
7377 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
7378 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
7379 (semantic-get-local-variables, semantic-end-of-command)
7380 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
7382 * cedet/semantic/bovine/make.el (makefile-mode):
7383 * cedet/semantic/wisent/python.el (wisent-python-string-re)
7384 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
7385 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
7386 (semantic-lex, semantic-get-local-variables, python-mode):
7387 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
7388 * cedet/srecode/extract.el (srecode-extract-state-set)
7389 (srecode-extract-method): Fix typos in docstrings.
7391 2010-01-11 Sam Steingold <sds@gnu.org>
7393 * imenu.el (imenu-default-create-index-function): Detect infinite
7394 loops caused by imenu-prev-index-position-function.
7396 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7398 * htmlfontify.el (htmlfontify-load-rgb-file)
7399 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
7400 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
7401 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
7402 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
7403 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
7404 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
7405 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
7406 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
7407 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
7408 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
7409 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
7410 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
7411 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
7412 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
7413 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
7414 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
7415 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
7416 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
7417 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
7418 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
7419 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
7420 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
7421 backslash-quoting from parentheses, etc.
7423 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
7425 * progmodes/js.el: Autoload javascript-mode alias.
7427 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
7429 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
7430 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
7431 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
7432 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
7433 Fix typos in docstrings.
7434 (ffap-url-regexp): Doc fix.
7435 (ffap-at-mouse): Fix typo in message.
7437 2010-01-11 Glenn Morris <rgm@gnu.org>
7439 * version.el (emacs-copyright): Set copyright year to 2010.
7441 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
7443 * format.el (format-annotate-function): Only set
7444 write-region-post-annotation-function after running to-fn so as not to
7445 affect nested write-region calls (bug#5273).
7447 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
7449 * cedet/semantic.el (semantic-new-buffer-setup-functions):
7452 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
7455 2010-01-10 Richard Kim <emacs18@gmail.com>
7457 * cedet/semantic/wisent/python-wy.el:
7458 * cedet/semantic/wisent/python.el: New files.
7460 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7462 * man.el (Man-goto-section): Signal error if the section is not
7465 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
7467 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
7468 URLs with a leading triple slash in the file: scheme. (Bug#5345)
7470 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
7472 * progmodes/compile.el: Don't treat compile-command as safe if
7473 compilation-read-command might be nil (Bug#4218).
7475 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
7477 * startup.el (command-line-1): Use orig-argi to check for ignored X and
7480 2010-01-08 Kenichi Handa <handa@m17n.org>
7482 * international/fontset.el (build-default-fontset-data):
7483 Exclude characters in scripts kana, hangul, han, or cjk-misc.
7485 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
7487 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
7488 to `create-file-buffer' as it expects, not just a buffer name.
7489 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
7490 to help uniquify. (Bug#3224)
7492 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
7494 * font-setting.el (font-setting-change-default-font): Use user-spec
7497 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
7499 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
7501 2010-01-05 Tom Tromey <tromey@redhat.com>
7503 * progmodes/python.el (python-font-lock-keywords):
7504 Handle qualified decorators (Bug#881).
7506 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7508 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
7509 in a lightweight checkout.
7511 2010-01-05 Kenichi Handa <handa@m17n.org>
7513 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
7515 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
7517 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
7519 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
7521 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
7522 checkouts. (Bug#618)
7523 (vc-bzr-log-view-mode): Also highlight the author.
7524 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7525 (vc-bzr-shelve-menu-map):
7526 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
7527 (vc-bzr-shelve-apply): Make prompt more explicit.
7529 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
7531 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
7532 They are valid characters in URL paths (rfc3986), and at least
7533 Firefox does not understand the encoded version (Bug#3166).
7535 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
7537 * progmodes/octave-mod.el (octave-end-keywords)
7538 (octave-block-begin-or-end-regexp, octave-block-match-alist):
7539 Add "end" keyword (Bug#3061).
7540 (octave-end-as-array-index-p): New function.
7541 (calculate-octave-indent): Use it.
7543 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7545 * bookmark.el: Consistently put the text property on the bookmark name.
7546 (bookmark-bmenu-marks-width): Bump back to 2, to include
7548 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
7549 property on the bookmark name, instead of not putting it at all.
7550 (bookmark-bmenu-list): Fix where we put the text property.
7552 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7554 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
7555 for showing buffer modified state (as added in the previous change).
7557 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7559 * bookmark.el: Show modified state of bookmark buffer more accurately.
7560 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
7561 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
7562 (with-buffer-modified-unmodified): New macro.
7563 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
7564 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
7565 Use new macro to preserve the buffer modified state.
7567 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7569 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
7570 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
7571 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
7572 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
7573 (bookmark-bmenu-rename, bookmark-bmenu-locate)
7574 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
7575 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
7577 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7579 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7580 Make the lines in the generated doc string shorter. (Bug#4668)
7582 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
7584 * net/rcirc.el: Add follow-link binding (Bug#4738).
7586 2010-01-02 Eli Zaretskii <eliz@gnu.org>
7588 * Makefile.in (bzr-update): Rename from cvs-update.
7589 (cvs-update): New target for backward compatibility.
7591 * makefile.w32-in (bzr-update): Rename from cvs-update.
7592 (cvs-update): New target for backward compatibility.
7594 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7596 * bookmark.el: Remove gratuitous gratitude.
7598 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7600 * bookmark.el (bookmark-bmenu-any-marks): New function.
7601 (bookmark-bmenu-save): Clear buffer modification if no marks.
7603 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7605 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
7606 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
7607 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
7608 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
7610 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
7611 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
7612 To: emacs-devel {_AT_} gnu.org
7613 Subject: bookmark.el bug report
7614 Date: Mon, 28 Dec 2009 14:19:16 +0800
7615 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
7617 2010-01-02 Karl Fogel <kfogel@red-bean.com>
7619 * bookmark.el: Improvements suggested by Drew Adams:
7620 (bookmark-bmenu-ensure-position): New name for
7621 `bookmark-bmenu-check-position'. Just ensure the position,
7622 don't return any meaningful value.
7623 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
7626 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
7628 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
7629 (bookmark-yank-point, bookmark-bmenu-check-position):
7630 Fix typos in docstrings.
7631 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
7632 (bookmark-name-from-full-record, bookmark-get-position)
7633 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
7634 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
7635 Remove useless quoting of parenthesis, etc. in docstrings.
7637 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
7638 (ediff-append-custom-diff): Fix typo in error message.
7639 (ediff-meta-mark-equal-files): Fix typos in messages.
7641 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
7643 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
7644 Fix typo in docstring.
7646 * net/imap-hash.el (imap-hash-make): Doc fix.
7647 (imap-hash-test): Fix typo in error message; reflow docstring.
7648 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
7649 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
7650 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
7651 Fix typos in docstrings.
7652 (imap-hash-open-connection): Fix typo in error message.
7654 * play/gomoku.el (gomoku): Fix typos in docstring.
7656 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
7657 (gdb-jsonify-buffer): Fix typos in docstring.
7658 (gdb-goto-breakpoint): Fix typo in error message.
7659 ("Display Other Windows"): Fix typo in help message.
7660 (gdb-speedbar-expand-node): Fix typo in question.
7662 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
7663 (idlwave-html-system-help-location, idlwave-html-help-location)
7664 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
7665 (idlwave-help-browser-generic-args, idlwave-help-directory)
7666 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
7667 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
7668 (idlwave-online-help, idlwave-help-html-link)
7669 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
7670 Fix typos in docstrings.
7671 (idlwave-help-with-source, idlwave-help-find-routine-definition):
7673 (idlwave-help-assistant-start): Fix typo in error message.
7675 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
7676 (octave-electric-space): Fix typos in docstrings.
7678 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
7680 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
7682 2010-01-01 Juri Linkov <juri@jurta.org>
7684 * comint.el (comint-input-ring-size): Make it a defcustom and
7685 increase the default to 500 (Bug#5148).
7687 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
7689 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
7690 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
7691 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
7693 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
7695 Show working revision correctly for mercurial.
7696 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
7697 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
7699 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
7701 Declare some functions for the byte-compiler.
7702 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
7703 (speedbar-timer-fn, speedbar-change-expand-button-char)
7704 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
7706 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
7708 This changeset reverts GDB Graphical Interface to use annotations.
7709 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
7711 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
7713 Make vc-dir work on subdirectories of the bzr root.
7714 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
7715 file names relative to it.
7716 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
7717 relative directory to vc-bzr-after-dir-status.
7719 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
7721 * font-lock.el (font-lock-refresh-defaults): New function, which
7722 can be used to let font-lock react to external changes in
7723 variables like font-lock-defaults and keywords.
7724 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
7726 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
7728 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
7730 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
7732 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
7734 Supersede color.diff settings in git log (bug#5211).
7736 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
7737 escape chars in its output when the user has color.diff set to `always'.
7738 This fix works on git 1.4.2 and newer (released on 2006-08-13).
7740 2009-12-26 Kevin Ryde <user42@zip.com.au>
7742 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
7743 node. Keep previous "Index" name to work with past coreutils too.
7745 * man.el (man): Revise docstring a bit to show -a and -l as
7746 examples. Add -k description since support for it has otherwise
7747 been a secret. (Further to bug#3717.)
7748 (Man-bgproc-sentinel): When "-k foo" produces no output show error
7749 "no matches" rather than "Can't find manpage", as the latter reads
7750 like -k was interpreted as a page name, which is not so. (Bug#5431)
7752 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
7754 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
7755 switches. Check also for //SUBDIRED// line.
7757 2009-12-25 Kenichi Handa <handa@m17n.org>
7759 * language/indian.el (devanagari-composable-pattern): Fixed to
7760 handle ZWNJ and ZWJ. Use it in composition-function-table for
7762 (malayalam-composable-pattern): Fix previous change.
7764 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7766 * ps-print.el (ps-face-attributes): It was not returning the
7767 attribute face for faces specified as string. Reported by harven
7768 <harven@free.fr>. (Bug#5254)
7769 (ps-print-version): New version 7.3.5.
7771 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
7773 * calendar/icalendar.el (icalendar--convert-tz-offset):
7775 (icalendar--convert-tz-offset): Fix the "last-day-problem".
7776 (icalendar--add-diary-entry): Remove the trailing blank that
7777 diary-make-entry inserts.
7779 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
7781 Make `file-expand-wildcards' work for remote files.
7783 * files.el (file-expand-wildcards): In case of remote files, check
7784 only local file name part for wildcards. Provide feature 'files
7785 and subfeature 'remote-wildcards. (Bug#5198)
7787 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
7788 if there is already an established connection.
7789 (tramp-advice-file-expand-wildcards): Remove it.
7791 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
7792 (tramp-advice-file-expand-wildcards): Move from tramp.el.
7793 Activate advice for older GNU Emacs versions. (Bug#5237)
7795 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
7797 Some doc fixes (more needed).
7799 * find-cmd.el (find-constituents): Reflow docstring.
7800 (find-cmd, find-prune, find-command): Fix typos in docstrings.
7801 (find-generic): Doc fix.
7803 2009-12-17 Juri Linkov <juri@jurta.org>
7805 Fix regression from 23.1 to allow multiple modes in Local Variables.
7807 * files.el (hack-local-variables-filter): While ignoring duplicates,
7808 don't take `mode' into account.
7809 (hack-local-variables-filter, hack-dir-local-variables):
7810 Don't remove duplicate `mode' from local-variables-alist (like `eval').
7812 2009-12-17 Juri Linkov <juri@jurta.org>
7814 Make `dired-diff' safer. (Bug#5225)
7816 * dired-aux.el (dired-diff): Signal an error when `file' equals to
7817 `current' or when `file' is a directory of the `current' file.
7819 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
7821 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
7822 unconditionally preloaded files.
7824 2009-12-16 Juri Linkov <juri@jurta.org>
7826 Revert to old 23.1 logic of using the file at the mark as default.
7827 * dired-aux.el (dired-diff): Use the file at the mark as default
7828 if it's not the same as the current file, and the target dir is
7829 the current dir or the mark is active. Add the current file
7830 as the arg of `dired-dwim-target-defaults'. Use the default file
7831 in the prompt. (Bug#5225)
7833 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
7835 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
7836 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
7837 (tramp-check-for-regexp): Check also, when an echoing shell stops
7838 to echo sent commands.
7840 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7842 * Makefile.in: Revert last change (Bug#5191).
7844 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
7846 * vc-hg.el (vc-hg-print-log): Fix argument order.
7847 (vc-hg-working-revision): Make sure the command is executed in a
7848 known environment so that we can parse the output. (Bug#4417)
7850 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7852 * progmodes/python.el (python-symbol-completions): Remove text
7853 properties from symbol string before calling python-send-receive.
7855 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
7857 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
7858 when there are values for both file and line. (Bug#5060)
7860 2009-12-14 Juri Linkov <juri@jurta.org>
7862 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
7863 whitespace after the file name of the first line of unified format,
7864 because git-diff doesn't output whitespace and file modification time
7865 after the file name.
7867 2009-12-14 David Kastrup <dak@gnu.org>
7869 * info.el (Info-hide-cookies-node): Before hiding a cookie,
7870 check if it already has the `display' property added by
7871 `Info-display-images-node', and not put the `invisible' property
7874 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
7876 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
7877 (semantic-mru-bookmark-mode): Doc fixes.
7879 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
7882 2009-12-13 Glenn Morris <rgm@gnu.org>
7884 * mail/emacsbug.el (message-sort-headers): Define for compiler.
7885 (report-emacs-bug): In message-mode, sort manually before storing
7886 original report text. (Bug#5178)
7887 Remove superfluous save-excursion.
7889 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
7891 * net/dbus.el (dbus-property-handler): Filter lambda forms out
7892 when responding to "GetAll" properties.
7894 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
7896 * simple.el (compose-mail): Remove mail-setup-with-from from
7897 customization checks.
7899 2009-12-12 Eli Zaretskii <eliz@gnu.org>
7901 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
7902 RAR archives created on Unix systems.
7904 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
7907 the varalias that was accidentally removed by the 2009-11-19 change
7910 2009-12-12 Kenichi Handa <handa@m17n.org>
7912 * language/indian.el (indian-compose-regexp): New function.
7913 (malayalam-composable-pattern): Fix the pattern.
7914 (composition-function-table): Set malayalam-composable-pattern for
7915 Malayalam characters.
7917 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
7919 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
7920 rather than down-mouse-1, based on follow-link conventions.
7922 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
7925 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
7927 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
7928 (verilog-vmm-statement-re, verilog-ovm-statement-re)
7929 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
7930 (verilog-leap-to-head, verilog-backward-token):
7931 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
7933 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
7935 * progmodes/verilog-mode.el (verilog-auto-lineup)
7936 (verilog-nameable-item-re): Cleanup user-visible spelling and
7937 documentation errors. One reported by Gary Delp.
7938 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
7939 (verilog-read-decls): Fix AUTOWIRE with types declared in a
7940 package, bug195. Reported by Pierre-David Pfister.
7942 2009-12-11 Glenn Morris <rgm@gnu.org>
7944 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
7946 * mail/emacsbug.el: No longer require sendmail.
7947 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
7948 (report-emacs-bug-orig-text): Doc fix.
7949 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
7950 New local variables, to adapt to different mail-user-agents.
7951 (report-emacs-bug): Fix test for a gnu.org address.
7952 Use overlays for emphasis, since font-lock defeats 'face property.
7953 Pretest bugs also end up at the newsgroup these days.
7954 Stop message-mode stripping text properties.
7955 Set and use the new buffer-local variables.
7956 (report-emacs-bug-hook): Add doc-string.
7957 Remove some unnecessary save-excursions and simplify.
7958 Use the appropriate hook and send-command.
7960 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
7961 capitalization of some menu entries.
7963 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7965 * whitespace.el (whitespace-display-char-on):
7966 Ensure `buffer-display-table' is unique when two or more windows are
7967 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
7970 2009-12-10 Eli Zaretskii <eliz@gnu.org>
7972 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
7973 characters in the Attribute field.
7975 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
7977 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
7979 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
7981 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
7982 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7983 Disregard autoload-excludes.
7984 (update-directory-autoloads): Obey autoload-excludes here instead.
7985 But don't store its contents in no-autoloads and remove entries that
7986 refer to excludes files.
7988 2009-12-10 Glenn Morris <rgm@gnu.org>
7990 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
7991 (expand-mail-aliases): Define for compiler.
7993 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
7994 Define for compiler.
7996 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
7997 appropriate for the mail-user-agent in use.
7999 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8001 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
8003 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
8005 Fix short log parsing and fontification.
8006 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
8007 Fix fontification for the [merge] label.
8009 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
8011 Drop some properties to avoid surprises (bug#5002).
8012 * htmlfontify.el (hfy-ignored-properties): New defcustom.
8013 (hfy-fontify-buffer): Use it.
8015 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
8020 (ffap-locate-file): Remove unused arg `dir-ok' and make other
8021 args compulsory. Adjust callers.
8022 (ffap-gopher-at-point): Remove unused var `name'.
8024 Get rid of the ELCFILES abomination.
8025 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8026 (compile-elcfiles): New phony target.
8027 (compile-main): Compute ELCFILES dynamically.
8028 (compile-clean): New target to remove left-over elc files.
8029 (compile, all): Use it.
8031 2009-12-09 Kenichi Handa <handa@etlken>
8033 * international/mule-diag.el: Require help-mode instead of help-fns.
8035 2009-12-09 Kenichi Handa <handa@m17n.org>
8037 * international/mule-cmds.el (ucs-names): Supply sufficiently
8038 fine ranges instead of pre-calculating accurate ranges.
8039 Iterate with bigger gc-cons-threshold.
8041 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
8043 Add support for stashing a snapshot of the current tree.
8044 * vc-git.el (vc-git-stash-snapshot): New function.
8045 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
8047 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
8049 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
8050 instead of `(beginning|end)-of-line'.
8052 2009-12-08 Glenn Morris <rgm@gnu.org>
8054 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
8056 * Makefile.in (ELCFILES): Regenerate.
8058 2009-12-07 Juri Linkov <juri@jurta.org>
8060 Don't lazy-highlight the comint output in history Isearch mode.
8062 * comint.el (comint-history-isearch-search): Instead of
8063 `comint-line-beginning-position', use `comint-after-pmark-p'
8064 to check if point if before the process mark, and go to
8065 `process-mark' in this case.
8067 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8069 * textmodes/tex-mode.el (latex-complete)
8070 (latex-indent-or-complete): Remove.
8071 (latex-mode): Set completion-at-point-functions instead.
8073 Provide a standard completion command and hook it into TAB.
8074 * minibuffer.el (completion-at-point-functions): New var.
8075 (completion-at-point): New command.
8076 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
8077 * progmodes/python.el (python-mode-map): Use completion-at-point.
8078 (python-completion-at-point): Rename from python-partial-symbol and
8079 adjust for use in completion-at-point-functions.
8080 (python-mode): Setup completion-at-point for Python completion.
8081 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
8082 extracted from lisp-complete-symbol.
8083 (lisp-complete-symbol): Use it.
8084 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
8085 setup completion-at-point for Elisp completion.
8086 (emacs-lisp-mode-map, lisp-interaction-mode-map):
8087 Use completion-at-point.
8088 * ielm.el (ielm-map): Use completion-at-point.
8089 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
8090 * progmodes/sym-comp.el: Move to...
8091 * obsolete/sym-comp.el: Move from progmodes.
8093 2009-12-07 Eli Zaretskii <eliz@gnu.org>
8095 Prevent save-buffer in Rmail buffers from using the coding-system
8096 of the current message, and from clobbering the encoding mnemonics
8097 in the mode line (Bug#4623).
8099 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
8101 (rmail-message-encoding): New variable.
8102 (rmail-write-region-annotate): Record the encoding of the current
8103 message in rmail-message-encoding.
8104 (rmail-after-save-hook): New function, restores the encoding of
8105 the current message after the message collection is saved.
8107 2009-12-07 Juri Linkov <juri@jurta.org>
8109 * progmodes/grep.el (grep-read-files): Use `completing-read'
8110 instead of `read-string'. Set its `collection' arg to
8111 `read-file-name-internal'. (Bug#4301)
8113 2009-12-07 Juri Linkov <juri@jurta.org>
8115 Correctly restore original Isearch point. (Bug#4994)
8117 * isearch.el (isearch-mode): Move `isearch-push-state' after
8118 `(run-hooks 'isearch-mode-hook)'.
8119 (isearch-cancel): When `isearch-push-state-function' is defined,
8120 let-bind `isearch-cmds' to the first state (the last element of
8121 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
8122 function and restores the original point). Otherwise, move point
8123 to `isearch-opoint'.
8125 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
8128 chars that don't have names, so the table can be built much faster at
8131 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
8133 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
8134 change. Suggested by David Kastrup.
8136 * simple.el (compose-mail): Check for incompatibilities and warn.
8137 (compose-mail-user-agent-warnings): New option.
8139 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8141 Support showing a single log entry from vc-annotate.
8142 * vc.el (print-log): Add a new argument: START-REVISION.
8143 (vc-print-log-internal): Add a new optional argument and
8144 pass it to the backend.
8145 (vc-print-log, vc-print-root-log): Adjust callers.
8146 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
8147 buffer already displays the requested log entry, use it.
8148 Otherwise display only the log entry in question.
8149 * vc-svn.el (vc-svn-print-log):
8150 * vc-mtn.el (vc-mtn-print-log):
8151 * vc-hg.el (vc-hg-state):
8152 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
8153 (vc-git-show-log-entry): Return t on success.
8154 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
8155 (vc-bzr-show-log-entry): Return t on success.
8156 * vc-rcs.el (vc-rcs-print-log):
8157 * vc-sccs.el (vc-sccs-print-log):
8158 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
8160 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8162 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
8163 Add menus to the meta mode. (Bug#5043)
8165 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
8167 * ediff-init.el (ediff-event-key): Use event-to-character instead of
8170 * ediff.el (ediff-buffers-internal): Add unwind-protect.
8172 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
8174 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
8175 Berbain <raphael.berbain@gmail.com>.
8177 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
8179 (tramp-initial-end-of-output): New defconst.
8180 (tramp-methods, tramp-find-shell)
8181 (tramp-open-connection-setup-interactive-shell)
8182 (tramp-maybe-open-connection): Use it.
8183 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
8184 existence of `#' and `$'.
8186 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
8187 `tramp-initial-end-of-output'.
8189 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
8191 Get the background mode from the terminal for xterm, and set
8193 * term/xterm.el (xterm-set-background-mode): New function.
8194 (terminal-init-xterm): Use it in case xterm supports background
8195 color queries. Recompute faces after getting the background
8198 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
8200 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
8201 number comment back on its own line, for easier parsing.
8203 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
8205 Make it work for non-file buffers (bug#5102).
8206 * doc-view.el (doc-view-current-cache-dir):
8207 Use doc-view-buffer-file-name rather than buffer-file-name.
8208 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
8210 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
8212 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
8213 author field is too short.
8215 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
8217 * vc-git.el (vc-git-print-log): Handle a limit argument.
8218 Display the short log in graph form and with labels.
8219 (vc-git-log-view-mode): Handle labels.
8221 Make vc-revert change VC state from 'added to 'unregistered.
8222 * vc-git.el (vc-git-revert): Call git reset first.
8224 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8226 * net/newst-backend.el, net/newst-plainview.el:
8227 * net/newst-reader.el, net/newst-ticker.el:
8228 * net/newst-treeview.el, net/newsticker.el:
8229 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
8231 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8233 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
8235 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
8236 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
8237 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
8238 Update annotation regexp.
8240 * simple.el (beginning-of-visual-line): Constrain to field
8241 boundaries (Bug#5106).
8243 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
8245 * xml.el (xml-substitute-numeric-entities): Move
8246 newsticker--decode-numeric-entities in newst-backend.el to
8247 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8248 * net/newst-backend.el (newsticker--parse-generic-feed)
8249 (newsticker--parse-generic-items)
8250 (newsticker--decode-numeric-entities): Move
8251 newsticker--decode-numeric-entities in newst-backend.el to
8252 xml-substitute-numeric-entities in xml.el. (Bug#5008)
8254 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
8256 * progmodes/js.el (js--js-not): Add null to the list of values.
8258 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
8260 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
8262 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8264 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
8265 delimiter if it is at the end of the current line.
8266 (bibtex-generate-url-list): Fix docstring.
8268 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8270 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
8271 minibuffer's content with itself.
8272 Fold the confirm-after-completion case into the `confirm' case.
8273 (completion-pcm-word-delimiters): Add : and / to the delimiters.
8275 2009-12-06 Kevin Ryde <user42@zip.com.au>
8277 * ffap.el (ffap-rfc-path): Make this a defcustom since
8278 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
8280 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
8281 manuals, similar to existing setup for help-mode. (Bug#3913.)
8283 2009-12-05 Juri Linkov <juri@jurta.org>
8285 Save and restore dired buffer's point positions too. (Bug#4880)
8287 * dired.el (dired-save-positions): Return in the first element
8288 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
8290 (dired-restore-positions): First restore buffer's position.
8291 While restoring window's positions, check if window still displays
8292 the original buffer.
8294 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
8296 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
8299 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
8300 Make argument optional.
8302 * shell.el (shell): Require ansi-color (Bug#5113).
8304 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
8306 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
8308 2009-12-05 Alan Mackenzie <acm@muc.de>
8310 * progmodes/cc-mode.el (c-before-hack-hook)
8311 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
8312 `c-file-style' to work again. This reversion restores the current
8313 software to its state in Emacs 23.1. (Bug#4146)
8315 2009-12-05 Kevin Ryde <user42@zip.com.au>
8317 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
8318 comment-start-skip to comment-end-skip as comment (Bug#4781).
8320 2009-12-05 Juri Linkov <juri@jurta.org>
8322 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
8323 for virtual nodes. (Bug#4147)
8324 (Info-find-node-2): Set `Info-current-node-virtual' to nil
8325 when moving from a virtual node.
8326 (Info-mode-menu): Add `Info-virtual-index' to the menu.
8327 (Info-mode): Add `Info-virtual-index' to the docstring.
8329 2009-12-05 Eric Ludlam <zappo@gnu.org>
8331 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
8332 Describe project macro symbols.
8334 * cedet/semantic/complete.el (semantic-complete-do-completion):
8335 Don't call semantic-collector-current-exact-match.
8337 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
8338 ede-objects as targets.
8340 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
8341 a target's object list even if compiler vars are already in the
8344 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
8345 list of headers producing necessary macros.
8347 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8349 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
8350 track of the buffer position of the end of a BibTeX entry as this
8351 position may change during reformatting.
8352 (bibtex-format-entry): Remove whitespace before processing
8353 numerical fields so that we recognize the latter properly.
8354 (bibtex-reformat): Do not use push which changes the global value
8355 of bibtex-entry-format.
8356 (bibtex-field-braces-alist, bibtex-field-strings-alist)
8357 (bibtex-field-re-init): Replace only space characters by regexp
8359 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
8360 (bibtex-initialize): Also update bibtex-strings.
8361 (bibtex-kill-field): Preserve white space at end of entry.
8362 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
8363 Update bibtex-reference-keys.
8365 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
8367 * minibuffer.el (completion-pcm--merge-try): Also consider placing
8368 point after a star, if that's the only place where modifications can
8371 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
8373 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
8376 2009-12-04 Juri Linkov <juri@jurta.org>
8378 * proced.el (proced): Call `(proced-update t)' to update process
8379 information instead of only running proced-post-display-hook.
8380 (proced-send-signal): Add a leading space to the buffer name
8381 " *Marked Processes*" to make this buffer ephemeral.
8383 2009-12-04 Juri Linkov <juri@jurta.org>
8385 * dired.el (dired-auto-revert-buffer): New defcustom.
8386 (dired-internal-noselect): Use it.
8388 2009-12-04 Juri Linkov <juri@jurta.org>
8390 Change roles of modes and functions in image-mode.el (Bug#5062).
8392 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
8393 in `auto-mode-alist'.
8394 (image-mode-previous-major-mode): New variable.
8395 (image-minor-mode-map): Rename from `image-mode-text-map'.
8396 (image-mode): Move graceful error-handling code from
8397 `image-minor-mode' to here. On errors call `image-mode-as-text'.
8398 (image-minor-mode): Remove all image-handling code.
8399 Replace `image-mode-text-map' with `image-minor-mode-map'.
8400 Check for `image-type' in mode-line format string.
8401 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
8402 (image-mode-as-text): New function with most code from
8404 (image-toggle-display-text): Move code that removes image
8405 properties from `image-toggle-display' to here.
8406 (image-toggle-display-image): New function with code that adds
8407 image properties copied from `image-toggle-display'.
8408 (image-toggle-display): Remove most code with leaving only code
8409 that toggles between `image-mode-as-text' and `image-mode'.
8411 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
8413 * net/newst-treeview.el
8414 (newsticker--treeview-list-highlight-start): Restored call to
8415 save-excursion: Selected item was stuck.
8416 (newsticker--treeview-list-select): New.
8417 (newsticker--treeview-item-show-text)
8418 (newsticker--treeview-item-show)
8419 (newsticker--treeview-item-update): Use new
8420 newsticker-treeview-item-mode.
8421 (newsticker-treeview-update): Keep current item.
8422 (newsticker-treeview-next-new-or-immortal-item): Doc change.
8423 (newsticker--treeview-first-feed): Doc change.
8424 (newsticker-treeview-list-menu)
8425 (newsticker-treeview-item-menu): Added menu entries.
8426 (newsticker-treeview-item-mode): New.
8428 * net/newst-backend.el (newsticker-customize): Delete other
8431 2009-12-04 Sam Steingold <sds@gnu.org>
8433 * log-view.el (log-view-mode-map): "q" calls quit-window,
8434 like in all the other non-self-insert buffers.
8436 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
8440 key decoding rather than do it manually via last-input-event +
8442 (term-exec): Use delete-and-extract-region.
8443 (term-handle-ansi-terminal-messages): Remove unused var `end'.
8444 (term-process-pager): Remove unused var `i'.
8445 (term-dynamic-simple-complete): Make obsolete.
8446 (serial-update-config-menu): Remove unused vars `y' and `str'.
8447 (term-update-mode-line): Remove unused var `temp'.
8449 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8451 Limit the number of log entries displayed by default.
8452 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
8453 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
8454 using a prefix argument.
8456 2009-12-03 Glenn Morris <rgm@gnu.org>
8458 * progmodes/idlwave.el (class): Restore still useful declaration.
8460 2009-12-03 Alan Mackenzie <acm@muc.de>
8462 Enhance `c-parse-state' to run efficiently in "brace deserts".
8464 * progmodes/cc-mode.el (c-basic-common-init):
8465 Call c-state-cache-init.
8466 (c-neutralize-syntax-in-and-mark-CPP): Rename from
8467 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
8468 placing `category' properties value 'c-cpp-delimiter at its boundaries.
8470 * progmodes/cc-langs.el (c-before-font-lock-function):
8471 c-extend-and-neutralize-syntax-in-CPP has been renamed
8472 c-neutralize-syntax-in-and-mark-CPP.
8474 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
8475 with `category' properties now, not `syntax-table' ones.
8477 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
8478 enhanced (but slower) version of c-end-of-macro that won't land
8479 inside a literal or on another awkward character.
8480 (c-state-cache-too-far, c-state-cache-start)
8481 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
8482 (c-state-nonlit-pos-cache-limit, c-state-point-min)
8483 (c-state-point-min-lit-type, c-state-point-min-lit-start)
8484 (c-state-min-scan-pos, c-state-brace-pair-desert)
8485 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
8486 buffer local variables.
8487 (c-state-literal-at, c-state-lit-beg)
8488 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
8489 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
8490 (c-state-cache-top-paren, c-state-cache-after-top-paren)
8491 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
8492 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
8493 (c-renarrow-state-cache)
8494 (c-append-lower-brace-pair-to-state-cache)
8495 (c-state-push-any-brace-pair, c-append-to-state-cache)
8496 (c-remove-stale-state-cache)
8497 (c-remove-stale-state-cache-backwards, c-state-cache-init)
8498 (c-invalidate-state-cache-1, c-parse-state-1)
8499 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
8500 (c-parse-state): Enhance and refactor.
8501 (c-debug-parse-state): Amend to deal with all the new variables.
8503 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
8504 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
8505 modify to use category text properties rather than syntax-table ones.
8506 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
8507 to switch off/on the syntactic paren property of C++ template
8508 delimiters using the category property.
8509 (c-with-<->-as-parens-suppressed): Macro to invoke code with
8510 template delims suppressed.
8511 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
8512 New constant/macros which apply category properties to the start
8513 and end of preprocessor constructs.
8514 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
8515 "comment out" the syntactic value of characters in preprocessor
8517 (c-with-cpps-commented-out)
8518 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
8519 with characters in all or all but one preprocessor constructs
8522 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
8524 * proced.el (proced-filter-alist): Use regexp-quote.
8526 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
8529 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
8530 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
8531 arguments. Expand `default-directory'.
8533 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
8534 the benefit of returning an expanded localname.
8535 (tramp-tramp-file-p): Handle the case NAME is not a string.
8537 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8539 Add support for bzr shelve/unshelve.
8540 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8541 (vc-bzr-extra-menu-map): New variables.
8542 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
8543 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
8544 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
8545 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
8546 (vc-bzr-dir-extra-headers): Display shelves.
8548 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
8550 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8552 * textmodes/bibtex.el (bibtex-complete-internal):
8553 Use completion-in-region.
8554 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
8556 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
8558 Support applying stashes. Improve UI.
8559 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
8560 (vc-git-stash-apply, vc-git-stash-pop)
8561 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
8562 (vc-git-stash-menu): New functions.
8563 (vc-git-stash-menu-map): New variable.
8564 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
8566 2009-12-03 Glenn Morris <rgm@gnu.org>
8568 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
8569 (vc-print-log-internal): Fix previous change.
8570 (vc-revert): Correct pluralization.
8572 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8574 * progmodes/make-mode.el (makefile-special-targets-list): No need for
8575 it to be an alist any more.
8576 (makefile-complete): Use completion-in-region.
8578 * progmodes/octave-mod.el (octave-complete-symbol):
8579 Use completion-in-region.
8582 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
8583 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
8584 (idlwave-complete-class): Don't quote lambda.
8585 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
8586 (idlwave-mode-map): Move initialization into declaration.
8587 (idlwave-action-and-binding): Use backquotes.
8588 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
8590 (idlwave-is-pointer-dereference): Remove unused var `pos'.
8591 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
8592 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
8593 `parts', and `all-parts'.
8594 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
8595 (idlwave-convert-xml-system-routine-info): Remove unused string
8597 (idlwave-display-user-catalog-widget): Use dolist.
8598 (idlwave-scanning-lib): Declare dynamically-scoped var.
8599 (idlwave-scan-library-catalogs): Remove unused var `flags'.
8600 (completion-highlight-first-word-only): Declare to silence bytecomp.
8601 (idlwave-popup-select): Tighten scope of `resp'.
8602 (idlwave-find-struct-tag): Remove unused var `beg'.
8603 (idlwave-after-load-rinfo-hook): Declare.
8604 (idlwave-sintern-class-info): Remove unused var `taglist'.
8605 (idlwave-find-class-definition): Remove unused var `list'.
8606 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
8607 (idlwave-what-module-find-class): Remove unused var `classes'.
8609 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
8611 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
8613 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8615 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
8616 buffers visited. Remove redundant current-buffer-saving.
8618 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8620 Use completion-in-buffer and remove uses of dynamic scoping.
8621 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
8622 (pascal-buffer-to-use, pascal-flag): Don't declare.
8623 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
8624 (pascal-get-completion-decl, pascal-keyword-completion):
8625 Add `pascal-str' argument, save-excursion,
8626 return the found completions, and don't filter with pascal-pred.
8627 (pascal-completion-cache): New var.
8628 (pascal-completion): Don't switch buffer any more (it was never
8629 necessary). Don't save-excursion any more (it's done by the called
8630 subroutines). Use a cache to avoid redundant computations.
8631 Use complete-with-action rather than pascal-completion-response and
8632 let it apply the predicate as well.
8633 (pascal-complete-word): Use completion-in-buffer when
8634 pascal-toggle-completions is nil.
8635 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
8637 (pascal-comp-defun): Don't change buffer any more.
8638 Use complete-with-action rather than pascal-completion-response and
8639 let it apply the predicate as well.
8640 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
8643 2009-12-02 Kenichi Handa <handa@m17n.org>
8645 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
8646 shape for all Indic scripts.
8648 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8650 Use completion-in-buffer.
8651 * wid-edit.el (widget-field-text-end): New function.
8652 (widget-field-value-get): Use it.
8653 (widget-string-complete, widget-file-complete)
8654 (widget-color-complete): Use it and completion-in-region.
8655 (widget-complete): Don't narrow the buffer.
8657 2009-12-02 Glenn Morris <rgm@gnu.org>
8659 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
8660 (rmail-select-summary): Use rmail-pop-to-buffer.
8661 * mail/rmailsum.el: Replace all pop-to-buffer calls with
8662 rmail-pop-to-buffer, to prevent horizontal splits.
8664 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
8665 save-excursion with save-current-buffer.
8666 Widen before searching. (Bug#5093)
8667 (diary-list-sexp-entries): Remove superfluous save-excursion.
8669 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
8671 * woman.el (woman-make-bufname): Handle man-pages with "." in the
8674 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
8676 * ido.el (ido-file-internal): Handle filenames at point that do
8677 not have a directory part. (Bug#5049)
8679 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
8681 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
8682 (mpc-songs-jump-to, mpc-resume): Doc fixes.
8684 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
8686 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
8687 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
8690 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * comint.el (comint-insert-input): Ignore clicks to the right of
8693 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
8695 * vc.el (vc-print-log-internal): Don't wait for the process to
8696 terminate before setting up the major mode.
8698 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
8701 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
8704 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
8706 2009-12-01 Glenn Morris <rgm@gnu.org>
8708 * window.el (window--display-buffer-2): Fix previous changes.
8710 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
8712 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
8714 2009-12-01 Glenn Morris <rgm@gnu.org>
8716 * Makefile.in (ELCFILES): Add mpc.elc.
8718 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8722 2009-12-01 Glenn Morris <rgm@gnu.org>
8724 * window.el (window-to-use): Define for compiler.
8726 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
8727 consistent with others (no final period).
8729 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
8730 (rmail-mime-show): Downcase the encoding. (Bug#5070)
8732 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
8734 Make vc-print-log buttons work.
8735 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
8737 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
8739 * savehist.el (savehist-autosave-interval): Allow setting to nil
8740 through customize. (Bug#5056)
8742 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
8744 Fix references to jit-lock properties.
8745 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
8746 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
8747 (perl-font-lock-special-syntactic-constructs):
8748 Quote jit-lock-defer-multiline property.
8750 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
8752 * vc-git.el (vc-git-registered): Call vc-git-root only once.
8754 2009-11-30 Juri Linkov <juri@jurta.org>
8756 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
8757 value `buffer' of `multi-isearch-next-buffer-current-function'.
8758 Use `(current-buffer)' when `buffer' is nil.
8759 (multi-isearch-next-buffer-from-list): Don't fallback to
8760 `(current-buffer)' when `buffer' is nil. (Bug#4947)
8762 2009-11-30 Juri Linkov <juri@jurta.org>
8764 * misearch.el (multi-isearch-read-buffers): Move canonicalization
8765 of buffers with `get-buffer' to `multi-isearch-buffers'.
8766 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8767 Canonicalize BUFFERS with `get-buffer'. Doc fix.
8768 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
8769 FILES with `expand-file-name' converting relative file names
8770 to absolute. Doc fix. (Bug#4727)
8772 2009-11-30 Juri Linkov <juri@jurta.org>
8774 * misearch.el (multi-isearch-read-buffers)
8775 (multi-isearch-read-matching-buffers): New functions.
8776 (multi-isearch-buffers, multi-isearch-buffers-regexp):
8777 Use them in the `interactive' spec. Doc fix.
8778 (multi-isearch-read-files, multi-isearch-read-matching-files):
8780 (multi-isearch-files, multi-isearch-files-regexp):
8781 Use them in the `interactive' spec. Doc fix. (Bug#4725)
8783 2009-11-30 Juri Linkov <juri@jurta.org>
8785 * doc-view.el (doc-view-continuous):
8786 Rename from `doc-view-continuous-mode'.
8787 (doc-view-menu): Move "Toggle display" to the top.
8788 Add submenu "Continuous" with radio buttons "Off"/"On"
8789 and "Save as Default".
8790 (doc-view-scroll-up-or-next-page)
8791 (doc-view-scroll-down-or-previous-page)
8792 (doc-view-next-line-or-next-page)
8793 (doc-view-previous-line-or-previous-page): Rename
8794 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
8796 2009-11-30 Juri Linkov <juri@jurta.org>
8798 * comint.el (comint-mode-map): Rebind `M-r' from
8799 `comint-previous-matching-input' to
8800 `comint-history-isearch-backward-regexp'.
8801 Unbind `M-s' to allow global key binding `M-s'.
8802 Add menu items for `comint-history-isearch-backward' and
8803 `comint-history-isearch-backward-regexp'. (Bug#3746)
8805 2009-11-30 Juri Linkov <juri@jurta.org>
8807 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
8808 For def=recenter, replace `recenter' with `recenter-top-bottom'
8809 that is called with `this-command' and `last-command' let-bound
8810 to `recenter-top-bottom'. When the last `def' was not `recenter',
8811 set `recenter-last-op' to nil. (Bug#4981)
8813 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
8815 Minor cleanup and simplification.
8816 * filecache.el (file-cache-add-directory)
8817 (file-cache-add-directory-recursively)
8818 (file-cache-add-from-file-cache-buffer)
8819 (file-cache-delete-file-regexp, file-cache-delete-directory)
8820 (file-cache-files-matching-internal, file-cache-display): Use dolist.
8821 (file-cache-temp-minibuffer-message): Delete function.
8822 (file-cache-minibuffer-complete): Use minibuffer-message instead.
8824 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
8825 Don't signal an error when bumping into EOB in tr, s, or y.
8827 2009-11-29 Juri Linkov <juri@jurta.org>
8829 * startup.el (fancy-about-text): Fix wording of Guided Tour.
8832 * descr-text.el (describe-char-unidata-list): Use lowercase name
8833 for "Unicode name" like in other tags.
8835 2009-11-29 Juri Linkov <juri@jurta.org>
8837 * ediff-util.el (ediff-minibuffer-with-setup-hook):
8838 New compatibility macro.
8839 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
8841 2009-11-29 Juri Linkov <juri@jurta.org>
8843 Add defcustom to define the cycling order of `recenter-top-bottom'.
8846 * window.el (recenter-last-op): Doc fix.
8847 (recenter-positions): New defcustom.
8848 (recenter-top-bottom): Rewrite to use `recenter-positions'.
8849 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
8851 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
8853 Improve integration of Tramp and ange-ftp in eshell.
8855 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
8856 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
8857 (eshell/sudo): Flatten args. Let-bind `default-directory'.
8859 * eshell/esh-util.el (top): Require also Tramp when compiling.
8860 (eshell-directory-files-and-attributes): Check for FTP remote
8862 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
8863 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
8864 (eshell-file-attributes): Handle ".". Return `entry'.
8866 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
8867 (ange-ftp-directory-files-and-attributes)
8868 (ange-ftp-real-directory-files-and-attributes): New defuns.
8870 * net/tramp.el (tramp-maybe-open-connection): Open the remote
8871 shell with "exec" when possible. This prevents trailing prompts
8872 in `start-file-process'.
8874 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8876 Try and remove assumptions about point-min==1.
8877 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
8878 (rng-compute-mode-line-string): Show the validation percentage in
8879 terms of the narrowed text, not the widened text.
8880 (rng-do-some-validation): Don't catch internal errors when debugging.
8881 (rng-first-error): Simplify.
8882 (rng-after-change-function): Remove work around. AFAIK the bug has
8883 been fixed a while ago.
8885 * image-mode.el (image-minor-mode): Exit more gracefully when the image
8886 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
8888 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
8890 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
8891 `cd' doesn't always do it for us (bug#5067).
8893 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
8894 on 2009-10-25 as part of some other change (bug#5067).
8896 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8898 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
8900 (byte-compile-warnings): Use byte-compile-warning-types.
8901 (byte-compile-save-excursion): Warn about use of set-buffer right
8902 after save-excursion.
8904 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
8905 the excursion as well.
8907 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
8909 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
8910 providing a Tramp related implementation of "su" and "sudo".
8911 (eshell-unix-initialize): Add "su" and "sudo".
8913 2009-11-27 Daiki Ueno <ueno@unixuser.org>
8915 * net/socks.el (socks-send-command): Convert binary request to
8916 unibyte before sending. This fixes mishandling of some port
8917 numbers such as 129.
8919 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
8921 * help.el (describe-bindings-internal): Remove `interactive'.
8923 * man.el (Man-completion-table): Trim a terminating "(".
8924 Remove the space between name page a section.
8925 Add the command's description on the `help-echo' property.
8926 Remove `process-connection-type' binding since it's unused by
8928 Provide completion for the "<section> <name>" format as well.
8929 (Man-default-man-entry): Remove spurious var shadowing the argument.
8931 2009-11-26 Kevin Ryde <user42@zip.com.au>
8933 * log-view.el: Add "Keywords: tools", since its other keywords
8934 aren't in finder-known-keywords, and following vc.el.
8936 * sha1.el (sha1-string-external): default-directory "/" in case
8937 otherwise non-existent. process-connection-type pipe for touch of
8938 efficiency recommended by elisp manual. (An aside in Bug#3911.)
8940 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8942 Misc coding convention cleanups.
8943 * htmlfontify.el (hfy-init-kludge-hook): Rename from
8944 hfy-init-kludge-hooks.
8945 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
8946 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
8947 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
8949 (hfy-slant, hfy-weight): Use tables rather than code.
8950 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
8951 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
8952 (hfy-face-attr-for-class): Initialize `face-spec' directly.
8953 (hfy-face-to-css): Remove `nconc' with single arg.
8954 (hfy-p-to-face-lennart): Use `or'.
8955 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
8956 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
8957 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
8958 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
8959 (hfy-force-fontification): Use run-hooks.
8961 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
8963 Various minor fixes.
8964 * htmlfontify.el (hfy-default-header): Add toggle_invis since
8965 Javascript belongs in the header, not the body.
8966 (hfy-javascript): Remove.
8967 (hfy-fontify-buffer): Don't insert it any more.
8968 (hfy-face-at): Handle (face0 face1 face2) style face properties.
8969 Fix bug in invis handling when there were no invis props in a chunk.
8971 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
8973 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
8975 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
8977 * finder.el (finder-mode-map): Add a menu.
8979 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
8981 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
8984 (verilog-leap-to-head, verilog-backward-token): Handle "disable
8985 fork" statement better.
8987 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
8989 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
8990 (verilog-delete-auto, verilog-delete-empty-auto-pair)
8991 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
8992 Reported by Clay Douglass.
8994 (verilog-auto-inst, verilog-auto-star-safe)
8995 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
8996 Fix removing "// Interfaces" when saving .* expansions. Reported by
8997 Pierre-David Pfister.
8999 2009-11-26 Glenn Morris <rgm@gnu.org>
9001 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
9004 2009-11-25 Johan Bockgård <bojohan@gnu.org>
9006 * vc-annotate.el (vc-annotate-revision-previous-to-line):
9007 Really use previous revision.
9009 2009-11-25 Kevin Ryde <user42@zip.com.au>
9011 * man.el (Man-completion-table): default-directory "/" in case
9012 doesn't otherwise exist. process-environment COLUMNS=999 so as
9013 not to truncate long names. process-connection-type pipe to avoid
9014 any chance of hitting the pseudo-tty TIOCGWINSZ.
9015 (man): completion-ignore-case t for friendliness and since man
9016 itself is case-insensitive on the command line.
9017 Further to Bug#3717.
9019 * arc-mode.el: Add "Keywords: files", so the details in its
9020 commentary can be reached from finder-by-keyword.
9021 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
9022 editing mode, but it's comms related and sgml-mode.el has "comm"
9024 * textmodes/bibtex-style.el: Add "Keywords: tex".
9025 * international/isearch-x.el, international/ja-dic-cnv.el:
9026 * international/ja-dic-utl.el, international/kkc.el:
9027 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
9029 2009-11-25 Juri Linkov <juri@jurta.org>
9031 * man.el (Man-completion-table): Modify regexp to include
9032 section names to completion strings. (Bug#3717)
9034 2009-11-25 Juri Linkov <juri@jurta.org>
9036 Search recursively in gzipped files. (Bug#4982)
9038 * progmodes/grep.el (grep-highlight-matches): Add new options
9039 `always' and `auto'. Doc fix.
9040 (grep-process-setup): Check `grep-highlight-matches' for
9041 `auto-detect' to determine the need to compute grep defaults.
9042 Move Windows/DOS specific --colors settings handling
9043 to `grep-compute-defaults'. Check `grep-highlight-matches'
9044 to get the value of "--color=".
9045 (grep-compute-defaults): Compute `grep-highlight-matches' when it
9046 has the value `auto-detect'. Move Windows/DOS specific settings
9047 from `grep-process-setup'.
9048 (zrgrep): New command with alias `rzgrep'.
9050 2009-11-25 Juri Linkov <juri@jurta.org>
9052 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
9053 to nil instead of switching off view-mode. (Bug#4896)
9055 2009-11-25 Juri Linkov <juri@jurta.org>
9057 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
9059 * mwheel.el (mwheel-scroll-up-function)
9060 (mwheel-scroll-down-function): New defvars.
9061 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
9062 `scroll-up', and `mwheel-scroll-down-function' instead of
9065 * doc-view.el (doc-view-scroll-up-or-next-page)
9066 (doc-view-scroll-down-or-previous-page): Add optional ARG.
9067 Use this ARG in the call to image-scroll-up/image-scroll-down.
9068 Change `interactive' spec to "P". Goto next/previous page only
9069 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
9070 SPC/DEL case). Doc fix.
9071 (doc-view-next-line-or-next-page)
9072 (doc-view-previous-line-or-previous-page): Rename arg to ARG
9074 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
9075 `doc-view-scroll-up-or-next-page', and buffer-local
9076 `mwheel-scroll-down-function' to
9077 `doc-view-scroll-down-or-previous-page'.
9079 2009-11-25 Juri Linkov <juri@jurta.org>
9081 Provide additional default values (directories at other Dired
9082 windows) via M-n in the minibuffer of some Dired commands.
9084 * dired-aux.el (dired-diff, dired-compare-directories)
9085 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
9086 `minibuffer-default' in `minibuffer-with-setup-hook'.
9087 (dired-dwim-target-directory): Find a window that displays Dired
9088 buffer instead of failing when the next window is not Dired.
9089 Use `get-window-with-predicate' to find for the next Dired window.
9090 (dired-dwim-target-defaults): New function.
9092 * ediff-util.el (ediff-read-file-name):
9093 Use `dired-dwim-target-defaults' to set `minibuffer-default'
9094 in `minibuffer-with-setup-hook'.
9096 2009-11-25 Juri Linkov <juri@jurta.org>
9098 Provide additional default values (file name at point or at the
9099 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
9101 * minibuffer.el (read-file-name-defaults): New function.
9102 (read-file-name): Reset `minibuffer-default' to nil when
9103 it duplicates initial input `insdef'.
9104 Bind `minibuffer-default-add-function' to lambda that
9105 calls `read-file-name-defaults' in `minibuffer-selected-window'.
9106 (minibuffer-insert-file-name-at-point): New command.
9108 * files.el (file-name-at-point-functions): New defcustom.
9109 (find-file-default): Remove defvar.
9110 (find-file-read-args): Don't use `find-file-default'.
9111 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9112 to `read-file-name'.
9113 (find-file-literally): Use `read-file-name' with
9114 `confirm-nonexistent-file-or-buffer'.
9116 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
9118 * dired.el (dired-read-dir-and-switches):
9119 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
9120 to `read-file-name'.
9121 (dired-file-name-at-point): New function.
9122 (dired-mode): Add hook `dired-file-name-at-point' to
9123 `file-name-at-point-functions'.
9125 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9127 Really make the *Completions* window soft-dedicated (bug#5030).
9128 * window.el (window--display-buffer-2): Add `dedicated' argument.
9129 (display-buffer): Pass it when needed so the dedicated flag is set
9130 after calling set-window-buffer, which would otherwise reset it.
9132 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
9134 * progmodes/meta-mode.el (meta-complete-symbol):
9135 * progmodes/etags.el (complete-tag):
9136 * mail/mailabbrev.el (mail-abbrev-complete-alias):
9137 Use completion-in-region.
9139 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
9140 (dabbrev-completion): Use completion-in-region.
9141 (dabbrev--abbrev-at-point): Simplify regexp.
9143 * abbrev.el (abbrev--before-point): Use word-motion functions
9144 if :regexp is not specified (bug#5031).
9146 * subr.el (string-prefix-p): New function.
9148 * man.el (Man-completion-cache): New var.
9149 (Man-completion-table): Use it.
9151 * vc.el (vc-print-log-internal): Make `limit' optional for better
9152 compatibility (e.g. with vc-annotate.el).
9154 2009-11-24 Kevin Ryde <user42@zip.com.au>
9156 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
9157 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
9159 * emacs-lisp/elint.el (elint-add-required-env): Better error message
9160 when .el source file not found or other error.
9162 2009-11-24 Markus Triska <markus.triska@gmx.at>
9164 * linum.el (linum-update-window): Ignore intangible (bug#4996).
9166 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9168 Handle the [back] button properly (bug#4979).
9169 * descr-text.el (describe-text-properties): Add a `buffer' argument.
9170 Use help-setup-xref, help-buffer, and with-help-window.
9171 (describe-char): Add `buffer' argument.
9172 Pass proper command to help-setup-xref. Don't meddle with
9173 help-xref-stack-item directly.
9174 (describe-text-category): Use with-help-window and help-buffer.
9176 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
9177 for the displayed buffer (bug#4887).
9179 * man.el (Man-completion-table): New function.
9182 2009-11-24 David Reitter <david.reitter@gmail.com>
9184 * vc-git.el (vc-git-registered): Use checkout directory (where
9185 .git is) rather than the file's directory and a relative path spec
9186 to work around a bug in git.
9188 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
9190 Improve handling of processes on remote hosts.
9192 * eshell/esh-util.el (eshell-path-env): New defvar.
9193 (eshell-parse-colon-path): New defun.
9194 (eshell-file-attributes): Use `eshell-parse-colon-path'.
9196 * eshell/esh-ext.el (eshell-search-path):
9197 Use `eshell-parse-colon-path'.
9198 (eshell-remote-command): Remove argument HANDLER.
9199 (eshell-external-command): Check for FTP remote connection.
9201 * eshell/esh-proc.el (eshell-gather-process-output):
9202 Use `file-truename', in order to start also symlinked files.
9203 Apply `start-file-process' instead of `start-process'.
9204 Shorten `command' to the local file name part.
9206 * eshell/em-cmpl.el (eshell-complete-commands-list):
9207 Use `eshell-parse-colon-path'.
9209 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
9211 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
9212 to `eshell-directory-change-hook'.
9214 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
9216 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
9217 because it could be enabled automatically if view-read-only is non-nil.
9219 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
9221 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
9224 2009-11-24 Glenn Morris <rgm@gnu.org>
9226 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
9227 deleted variable bookmark-bmenu-bookmark-column.
9229 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
9230 Move after definition of global-semantic-idle-tag-highlight-mode.
9232 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
9234 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
9236 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
9238 * net/browse-url.el (browse-url-filename-alist): On Windows, add
9239 two slashes to the "file:" prefix.
9240 (browse-url-file-url): De-munge Cygwin filenames before passing
9241 them to Windows browser.
9242 (browse-url-default-windows-browser): Use call-process.
9244 2009-11-23 Juri Linkov <juri@jurta.org>
9246 Implement DocView Continuous mode. (Bug#4896)
9247 * doc-view.el (doc-view-continuous-mode): New defcustom.
9248 (doc-view-mode-map): Bind C-n/<down> to
9249 `doc-view-next-line-or-next-page', C-p/<up> to
9250 `doc-view-previous-line-or-previous-page'.
9251 (doc-view-next-line-or-next-page)
9252 (doc-view-previous-line-or-previous-page): New commands.
9254 2009-11-23 Juri Linkov <juri@jurta.org>
9256 Implement Isearch in comint input history. (Bug#3746)
9257 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
9258 `isearch-mode-hook'.
9259 (comint-history-isearch): New defcustom.
9260 (comint-history-isearch-backward)
9261 (comint-history-isearch-backward-regexp): New commands.
9262 (comint-history-isearch-message-overlay): New buffer-local variable.
9263 (comint-history-isearch-setup, comint-history-isearch-end)
9264 (comint-goto-input, comint-history-isearch-search)
9265 (comint-history-isearch-message, comint-history-isearch-wrap)
9266 (comint-history-isearch-push-state)
9267 (comint-history-isearch-pop-state): New functions.
9269 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
9271 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
9273 (tramp-handle-make-symbolic-link)
9274 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
9276 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
9277 (tramp-handle-process-file): Use it.
9279 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
9281 * window.el (move-to-window-line-last-op): Remove.
9282 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
9284 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
9286 Make M-r mirror the new cycling behavior of C-l.
9287 * window.el (move-to-window-line-last-op): New var.
9288 (move-to-window-line-top-bottom): New command.
9289 (global-map): Bind M-r move-to-window-line-top-bottom.
9291 2009-11-23 Sven Joachim <svenjoac@gmx.de>
9293 * dired-x.el (dired-guess-shell-alist-default):
9294 Support xz format. (Bug#4953)
9296 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
9298 * cedet/srecode/map.el (srecode-get-maps):
9299 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
9300 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
9301 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
9302 (semantic-toggle-decoration-style):
9303 * cedet/semantic/decorate/include.el
9304 (semantic-decoration-include-describe)
9305 (semantic-decoration-unknown-include-describe)
9306 (semantic-decoration-unparsed-include-describe)
9307 (semantic-decoration-all-include-summary):
9308 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
9309 * cedet/semantic/analyze/complete.el
9310 (semantic-analyze-possible-completions):
9311 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
9312 (semantic-show-unmatched-syntax-mode)
9313 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
9314 (semantic-highlight-func-mode):
9315 * cedet/semantic/util.el (semantic-describe-buffer):
9316 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
9317 (semantic-symref-find-tags-by-name)
9318 (semantic-symref-find-tags-by-regexp)
9319 (semantic-symref-find-tags-by-completion)
9320 (semantic-symref-find-file-references-by-name)
9321 (semantic-symref-find-text):
9322 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
9324 * cedet/semantic/scope.el (semantic-calculate-scope):
9325 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
9326 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
9327 (define-semantic-idle-service):
9328 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
9329 (semantic-complete-analyze-inline-idle):
9330 * cedet/semantic/analyze.el (semantic-analyze-current-context):
9331 * cedet/mode-local.el (describe-mode-local-bindings)
9332 (describe-mode-local-bindings-in-mode):
9333 * cedet/ede/make.el (ede-make-check-version):
9334 * cedet/ede/locate.el (ede-enable-locate-on-project):
9335 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
9336 (cedet-idutils-version-check):
9337 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
9338 (cedet-gnu-global-version-check):
9339 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
9340 (cedet-cscope-version-check): Use called-interactively-p instead
9343 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
9344 Use semantic-format-tag-prototype.
9346 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
9348 * emulation/viper-cmd.el: Use viper-last-command-char instead of
9349 last-command-char/last-command-event.
9350 (viper-prefix-arg-value): Do correct conversion of event-char for
9353 * emulation/viper-util.el, emulation/viper.el:
9354 Use viper-last-command-char instead of
9355 last-command-char/last-command-event.
9357 * ediff-init.el, ediff-mult.el, ediff-util.el:
9358 Replace last-command-char and last-command-event
9359 with (ediff-last-command-char) everywhere.
9361 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
9362 created in fundamental mode.
9364 * ediff.el (ediff-version): Revert the change of interactive-p to
9365 called-interactively-p.
9367 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
9369 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
9370 generation from word-movement command names.
9372 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
9374 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
9375 (semantic-complete-jump-local, semantic-complete-jump):
9376 Improve prompt string.
9378 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
9380 * cus-start.el (all): Add native condition for font-use-system-font.
9382 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
9384 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
9385 Correct the patch from 2009-11-18. (Bug#3910)
9387 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
9389 * progmodes/subword.el: Rename from lisp/subword.el.
9391 * subword.el: Rename to progmodes/subword.el.
9393 * Makefile.in (ELCFILES): Adapt to subword.el move.
9395 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9396 Stefan Monnier <monnier@iro.umontreal.ca>
9398 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
9399 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
9400 (bookmark-bmenu-show-filenames): Use push.
9401 (bookmark-bmenu-hide-filenames): Use local var instead of
9402 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
9403 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
9404 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
9405 filenames now that the bookmark names are always available.
9407 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9409 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
9410 (bookmark-search-pattern): Move and leave unbound.
9411 (bookmark-bmenu-mode-map): Change binding.
9412 (bookmark-read-search-input): Simplify.
9413 Don't use text-char-description. Don't error on non-char events.
9414 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
9415 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
9416 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
9417 Use a local var for the timer.
9418 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
9419 (i.e. bookmark-bmenu-search).
9421 2009-11-21 Glenn Morris <rgm@gnu.org>
9423 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
9425 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
9427 * net/browse-url.el (browse-url-default-windows-browser):
9428 Use cygstart for cygwin.
9430 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
9432 * bookmark.el: Formatting and doc fixes only:
9433 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
9434 (bookmark-bmenu-search): Wrap to fit within 80 columns.
9435 Minor grammar and punctuation fixes in doc string.
9436 (bookmark-read-search-input): Adjust to fit within 80 columns.
9438 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9440 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
9441 (c-backward-into-nomenclature): Adapt to subword renaming.
9443 * subword.el (subword-forward, subword-backward, subword-mark)
9444 (subword-kill, subword-backward-kill, subword-transpose)
9445 (subword-downcase, subword-upcase, subword-capitalize)
9446 (subword-forward-internal, subword-backward-internal):
9447 Rename from forward-subword, backward-subword, mark-subword,
9448 kill-subword, backward-kill-subword, transpose-subwords,
9449 downcase-subword, upcase-subword, capitalize-subword,
9450 forward-subword-internal, backward-subword-internal.
9452 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9454 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
9456 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
9458 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
9459 (bookmark-bmenu-filter-alist-by-regexp)
9460 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
9461 (bookmark-bmenu-search): New command.
9462 (bookmark-bmenu-mode-map): Bind it.
9464 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
9466 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
9468 * cedet/semantic/idle.el (define-semantic-idle-service)
9469 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
9471 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
9473 * progmodes/cc-cmds.el: declare-functioned forward-subword and
9474 backward-subword to quit the byte-compiler.
9476 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
9478 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
9480 * progmodes/cc-cmds.el (c-update-modeline)
9481 (c-forward-into-nomenclature, c-backward-into-nomenclature):
9482 Refer to subword.el functions instead of cc-subword.el.
9484 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
9485 subword.el functions instead of cc-subword.el.
9487 * progmodes/cc-subword.el: Rename to subword.el.
9488 * subword.el: Rename from progmodes/cc-subword.el.
9489 (subword-mode-map): Rename from c-subword-mode-map.
9490 (subword-mode): Rename from c-subword-mode.
9491 (global-subword-mode): New global minor mode.
9492 (forward-subword): Rename from c-forward-subword.
9493 (backward-subword): Rename from c-backward-subword.
9494 (mark-subword): Rename from c-mark-subword.
9495 (kill-subword): Rename from c-kill-subword.
9496 (backward-kill-subword): Rename from c-backward-kill-subword.
9497 (transpose-subwords): Rename from c-tranpose-subword.
9498 (downcase-subword): Rename from c-downcase-subword.
9499 (capitalize-subword): Rename from c-capitalize-subword.
9500 (forward-subword-internal): Rename from c-forward-subword-internal.
9501 (backward-subword-internal): Rename from c-backward-subword-internal.
9503 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
9505 * vc.el (vc-deduce-fileset): Allow non-state changing operations
9506 from a dired buffer.
9507 (vc-dired-deduce-fileset): New function.
9508 (vc-root-diff, vc-print-root-log): Use it.
9510 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
9511 nil LIMIT argument to vc-print-log-internal.
9513 2009-11-20 Glenn Morris <rgm@gnu.org>
9515 * Makefile.in (ELCFILES): Regenerate.
9517 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
9519 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
9521 * cedet/semantic.el: Enable idle-mode menu items only if
9522 global-semantic-idle-scheduler-mode is enabled.
9523 (semantic-default-submodes): Doc fix.
9525 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
9526 When turning off, disable other idle modes.
9528 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
9530 * calc/calc.el (calc-set-mode-line):
9531 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9532 (math-format-number): Rename `math-format-complement-signed' to
9533 `math-format-twos-complement'.
9535 * calc/calc-bin.el (math-format-twos-complement): Rename from
9536 math-format-complement-signed.
9537 (calc-radix): Rename `calc-complement-signed-mode' to
9538 `calc-twos-complement-mode'.
9539 (calc-octal-radix, calc-hex-radix): Add an argument for
9542 * calc/calc-embed.el (calc-embedded-mode-vars):
9543 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9545 * calc/calc-ext.el (calc-init-extensions):
9546 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
9547 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
9549 * calc/calc-units.el (math-build-units-table-buffer):
9550 Let `calc-twos-complement-mode' be nil.
9552 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
9555 * calc/calc-vec.el (calcFunc-vunpack):
9556 * calc/calc-aent.el (calc-do-calc-eval):
9557 * calc/calc-forms.el (math-format-date):
9558 * calc/calc-graph.el (calc-graph-plot):
9559 * calc/calc-math.el (math-use-emacs-fn):
9560 * calc/calccomp.el (math-compose-expr):
9561 Let `calc-twos-complement-mode' be nil.
9563 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9565 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
9566 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
9567 * minibuffer.el (completion-in-region-functions): New hook.
9568 (completion-in-region): New function.
9569 * emacs-lisp/lisp.el (lisp-complete-symbol):
9570 * pcomplete.el (pcomplete-std-complete): Use it.
9572 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
9574 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
9575 (latex-complete-alist): New vars.
9576 (latex-string-prefix-p, latex-complete-bibtex-keys)
9577 (latex-complete-envnames, latex-complete-refkeys)
9578 (latex-complete-data): New functions.
9579 (latex-complete, latex-indent-or-complete): New commands.
9581 * window.el (display-buffer-mark-dedicated): New var.
9582 (display-buffer): Obey it.
9583 * minibuffer.el (minibuffer-completion-help): Use it.
9585 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
9587 * filecache.el (file-cache-add-file): Use push and cons.
9588 (file-cache-delete-file-regexp): Use push.
9589 (file-cache-complete): Use completion-in-region.
9591 * simple.el (with-wrapper-hook): Fix thinko.
9593 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
9594 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
9595 Use with-current-buffer and string-to-number.
9596 (hfy-fallback-colour-values): Use assoc-string.
9597 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
9598 (hfy-face-at): Remove unused var `found-face'.
9599 (hfy-compile-stylesheet): Remove unused var `css'.
9600 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
9602 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
9603 Use with-current-buffer.
9604 (hfy-text-p): Use expand-file-name and fewer setq.
9606 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
9608 * htmlfontify.el, hfy-cmap.el: New files.
9610 2009-11-19 Juri Linkov <juri@jurta.org>
9612 * minibuffer.el (completions-format): New defcustom.
9613 (completion--insert-strings): Implement vertical format.
9615 * simple.el (switch-to-completions): Move point to the first
9616 completion when point was at the beginning of the buffer.
9618 2009-11-19 Juri Linkov <juri@jurta.org>
9620 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
9622 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
9624 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
9626 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
9627 (mail-signature): Change default to t.
9628 (mail-from-style): Deprecate `system-default' value.
9629 (mail-insert-from-field): For default value of mail-from-style,
9630 default to `angles' unless `angles' needs quoting and `parens'
9632 (mail-citation-prefix-regexp): Use citation regexp from
9635 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
9637 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9638 Set variables for computing the prompt for reading password.
9640 2009-11-19 Glenn Morris <rgm@gnu.org>
9642 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
9644 * textmodes/flyspell.el (sgml-lexical-context): Declare.
9646 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
9647 (newsticker-treeview-listwindow-height): Fix custom type.
9649 2009-11-19 Kenichi Handa <handa@m17n.org>
9651 * descr-text.el (describe-char-padded-string): Compose with TAB
9652 only if there's a font for CH.
9653 (describe-char): Fix the condition for detecting a trivial composition.
9655 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
9657 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
9658 more accurate version of the regexp. (Bug#3910)
9660 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
9662 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
9664 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
9666 * font-setting.el (font-use-system-font): Declare for byte-compiler.
9667 (font-setting-change-default-font): Fix typo in docstring.
9669 2009-11-18 Alan Mackenzie <acm@muc.de>
9671 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
9673 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9675 * font-setting.el (font-use-system-font): Move ...
9677 * cus-start.el (all): ... to here.
9679 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
9681 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
9682 Don't set `ad-return-value' if `ad-do-it' doesn't.
9684 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
9687 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
9689 * menu-bar.el: Put "Use system font" in Option-menu.
9690 (menu-bar-options-save): Add font-use-system-font.
9692 * loadup.el: If feature system-font-setting or font-render-setting is
9693 there, load font-setting.
9695 * Makefile.in (ELCFILES): Add font-settings.el.
9696 * font-setting.el: New file.
9698 2009-11-17 Glenn Morris <rgm@gnu.org>
9700 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
9702 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
9703 Preserve point in the list buffer. (Bug#4939)
9705 (newsticker--treeview-list-update-highlight)
9706 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
9708 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9710 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
9713 * calc/calc-ext.el (calc-init-extensions): Remove references to
9716 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
9718 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
9719 * calc/calc-help.el (calc-b-prefix-help): Remove references to
9722 2009-11-16 Kevin Ryde <user42@zip.com.au>
9724 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9725 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
9727 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
9728 (lm-keywords-list): Allow comma-only separator like "foo,bar".
9729 Ignore trailing spaces by omit-nulls to split-string (fixing
9730 regression from Emacs 21 due to the incompatible split-string
9731 change). (Bug #4928.)
9733 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
9735 * vc.el (vc-log-show-limit): Default to 2000.
9736 (vc-print-log-internal): Insert buttons to request more entries
9737 when limiting the output.
9739 * vc-sccs.el (vc-sccs-print-log):
9740 * vc-rcs.el (vc-rcs-print-log):
9741 * vc-cvs.el (vc-cvs-print-log):
9742 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
9745 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9747 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
9748 error when `tramp-gvfs-dbus-event-vector' is set.
9749 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
9751 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
9753 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
9755 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
9757 * net/dbus.el (dbus-unregister-service): New defun.
9758 (dbus-register-property): Register the handlers of
9759 "org.freedesktop.DBus.Properties" for SERVICE.
9760 (dbus-property-handler): Fix docstring.
9762 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9764 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
9765 Quote doc string reference in defvaralias as it is not in special form.
9766 (byte-compile-output-docform): Doc fix.
9768 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
9770 * calc/calc.el (math-2-word-size, math-half-2-word-size)
9771 (calc-complement-signed-mode): New variables.
9772 (calc-set-mode-line): Add indicator for twos-complements.
9773 (math-format-number): Format twos-complement notation.
9775 * calc/calc-bin.el (calc-word-size): Reset the variables
9776 `math-2-word-size' and `math-half-2-word-size'.
9777 (math-format-complement-signed, math-symclip, calcFunc-symclip)
9778 (calc-symclip): New functions.
9780 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
9782 * calc/calc-embed.el (calc-embedded-mode-vars):
9783 Add `calc-complement-signed-mode' to the list of modes.
9785 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
9786 (calc-b-oper-keys): Add `calc-symclip' to list.
9788 * calc/calc-ext.el (math-read-number-fancy): Read complement
9790 (calc-init-extensions): Add binding for `calc-symclip'.
9791 Add autoload for `calcFunc-symclip' and `calc-symclip'.
9793 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
9795 (calc-modes-menu): Add item for twos complement mode.
9797 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
9799 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9801 * register.el (jump-to-register, insert-register): Handle Semantic
9802 tags. From commented-out advice in semantic/senator.el.
9804 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
9806 * vc.el (vc-log-show-limit): New variable.
9807 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
9808 when using a prefix argument.
9809 (vc-print-log-internal): Add new argument LIMIT.
9811 * vc-svn.el (vc-svn-print-log):
9812 * vc-mtn.el (vc-mtn-print-log):
9813 * vc-hg.el (vc-hg-print-log):
9814 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
9815 pass it to the log command when set. Make the BUFFER argument
9818 * vc-sccs.el (vc-sccs-print-log):
9819 * vc-rcs.el (vc-rcs-print-log):
9820 * vc-git.el (vc-git-print-log):
9821 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
9822 ignore it. Make the BUFFER argument non-optional
9824 * bindings.el (mode-line-buffer-identification): Do not purecopy.
9826 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
9828 * dired.el (dired-mode-map): Move encryption items to "Operate"
9831 * strokes.el (strokes-update-window-configuration): Make strokes
9832 buffer current before erasing (Bug#4906).
9834 * cedet/semantic/idle.el (semantic-idle-summary-mode)
9835 (semantic-idle-summary-mode): Define using define-minor-mode
9836 instead of define-semantic-idle-service.
9837 (semantic-idle-summary-mode): New function.
9838 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
9839 that mouse motion does not reset the echo area.
9841 2009-11-15 Juri Linkov <juri@jurta.org>
9843 * simple.el (set-mark-default-inactive): Add :type, :group
9844 and :version. (Bug#4876)
9846 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
9848 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
9849 (archive-unique-fname): ... here. (Bug#4929)
9851 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
9856 * novice.el (disabled-command-function): Add useful args.
9857 Setup the help buffer so that [back] works.
9858 Remove redundant call to help-mode.
9859 (disabled-command-function): Use `case'.
9860 (en/disable-command): New function extracted from enable-command.
9861 (enable-command, disable-command): Use it.
9863 2009-11-14 Glenn Morris <rgm@gnu.org>
9865 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
9866 constants. (Bug#4913)
9868 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
9870 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
9872 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
9873 defined in C that have no doc-strings. (Bug#1063)
9875 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
9877 * cus-edit.el (data, files):
9878 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
9880 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
9882 * simple.el (shell-command): Doc fix (Bug#4891).
9884 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
9886 2009-11-14 Glenn Morris <rgm@gnu.org>
9888 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
9889 statements for vc-diff, emerge-quit, and rmail-cease-edit.
9890 If they are already loaded, eval-after-load will do the right thing.
9892 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
9895 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
9897 * simple.el (x-selection-owner-p): Declare.
9898 (read-mail-command): Use custom radio type rather than choice.
9899 (completion-no-auto-exit): Doc fix.
9901 * custom.el (defgroup):
9902 * epg-config.el (epg): Doc fixes.
9904 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
9906 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
9907 * international/ccl.el (define-ccl-program): Do not purecopy the
9908 docstring, defconst does it anyway.
9910 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
9912 * add-log.el (add-change-log-entry): Avoid displaying the changelog
9915 * x-dnd.el (x-dnd-maybe-call-test-function):
9916 * window.el (split-window-vertically):
9917 * whitespace.el (whitespace-help-on):
9918 * vc-rcs.el (vc-rcs-consult-headers):
9919 * userlock.el (ask-user-about-lock-help)
9920 (ask-user-about-supersession-help):
9921 * type-break.el (type-break-force-mode-line-update):
9922 * time-stamp.el (time-stamp-conv-warn):
9923 * terminal.el (te-set-output-log, te-more-break, te-filter)
9924 (te-sentinel, terminal-emulator):
9925 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
9926 (term-write-input-ring, term-check-source, term-start-output-log):
9927 (term-display-buffer-line, term-dynamic-list-completions):
9928 (term-ansi-make-term, serial-term):
9929 * subr.el (selective-display):
9930 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
9931 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
9932 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
9933 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
9934 (speedbar-remove-localized-speedbar-support)
9935 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
9936 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
9937 (speedbar-buffers-line-directory):
9938 * simple.el (shell-command-on-region, append-to-buffer)
9939 (prepend-to-buffer):
9940 * shadowfile.el (shadow-save-todo-file):
9941 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
9942 (scroll-bar-maybe-set-window-start):
9943 * sb-image.el (speedbar-image-dump):
9944 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
9945 (load-save-place-alist-from-file):
9946 * ps-samp.el (ps-print-message-from-summary):
9947 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
9948 (ps-background-image, ps-begin-job, ps-do-despool):
9949 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
9950 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
9951 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
9952 (pr-call-process, pr-file-list, pr-interface-save):
9953 * novice.el (disabled-command-function)
9954 (enable-command, disable-command):
9955 * mouse.el (mouse-buffer-menu-alist):
9956 * mouse-copy.el (mouse-kill-preserving-secondary):
9957 * macros.el (kbd-macro-query):
9958 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
9959 * informat.el (batch-info-validate):
9960 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
9961 * hippie-exp.el (try-expand-dabbrev-visible):
9962 * help-mode.el (help-make-xrefs):
9963 * help-fns.el (describe-variable):
9964 * generic-x.el (bat-generic-mode-run-as-comint):
9965 * finder.el (finder-mouse-select):
9966 * find-dired.el (find-dired-sentinel):
9967 * filesets.el (filesets-file-close):
9968 * files.el (list-directory):
9969 * faces.el (list-faces-display, describe-face):
9970 * facemenu.el (list-colors-display):
9971 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
9972 * epg.el (epg--process-filter, epg-cancel):
9973 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
9974 (epa--read-signature-type):
9975 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
9976 (emerge-file-names):
9977 * ehelp.el (electric-helpify):
9978 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
9979 * ediff-vers.el (rcs-ediff-view-revision):
9980 * ediff-util.el (ediff-setup):
9981 * ediff-mult.el (ediff-append-custom-diff):
9982 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
9984 * echistory.el (Electric-command-history-redo-expression):
9985 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
9986 * disp-table.el (describe-display-table):
9987 * dired.el (dired-find-buffer-nocreate):
9988 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
9989 * dabbrev.el (dabbrev--same-major-mode-p):
9990 * chistory.el (list-command-history):
9991 * apropos.el (apropos-documentation):
9992 * allout.el (allout-obtain-passphrase):
9993 (allout-copy-exposed-to-buffer):
9994 (allout-verify-passphrase): Use with-current-buffer.
9996 2009-11-13 Glenn Morris <rgm@gnu.org>
9998 * Makefile.in (ELCFILES): Regenerate.
10000 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
10002 * net/dbus.el (dbus-registered-objects-table): Rename from
10003 `dbus-registered-functions-table', because it contains also properties.
10004 (dbus-unregister-object): Unregister also properties.
10005 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10006 Use a timeout of 500 msec, in order to not block.
10007 (dbus-register-property, dbus-property-handler): New defuns.
10009 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * simple.el (minibuffer-default-add-completions): Drop deprecated
10014 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
10016 * textmodes/artist.el (artist-mouse-choose-operation):
10017 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
10018 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
10019 (artist-compute-up-event-key): New function.
10020 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
10022 2009-11-13 Kenichi Handa <handa@m17n.org>
10024 * language/japan-util.el: Make sure that the value of jisx0208
10025 property is jisx0208 character.
10027 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
10029 * international/mule.el (auto-coding-regexp-alist): Only purecopy
10030 car or each item, not the whole list.
10032 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * minibuffer.el (minibuffer-completion-help):
10035 Use minibuffer-hide-completions.
10037 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
10039 * dired.el (dired-save-positions, dired-restore-positions): New funs.
10040 (dired-revert): Use them (bug#4880).
10042 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10044 * tooltip.el (tooltip-frame-parameters): Undo previous change.
10046 2009-11-12 Juri Linkov <juri@jurta.org>
10048 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
10050 (find-file-literally-at-point): Alias of `ffap-literally'.
10052 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
10054 * textmodes/ispell.el (ispell-skip-region-alist):
10055 * textmodes/css-mode.el (auto-mode-alist):
10056 * progmodes/compile.el (auto-mode-alist):
10057 * international/mule.el (ctext-non-standard-encodings-alist)
10058 (ctext-non-standard-encodings-regexp):
10059 * simple.el (shell-command-switch, text-read-only):
10060 * replace.el (occur-mode-map):
10061 * paths.el (rmail-file-name):
10062 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
10063 * find-file.el (ff-special-constructs):
10064 * files.el (file-name-handler-alist):
10065 * composite.el: Purecopy strings.
10067 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
10069 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10071 * widget.el (define-widget): Purecopy the docstring.
10072 * international/mule-cmds.el (charset): Do not purecopy the
10073 docstring here, define-widget does it.
10075 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
10076 * textmodes/bibtex-style.el (auto-mode-alist):
10077 * progmodes/inf-lisp.el (inferior-lisp-prompt):
10078 * progmodes/compile.el (compile-command):
10079 * language/korea-util.el (default-korean-keyboard):
10080 * international/mule-conf.el (file-coding-system-alist):
10081 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
10082 * tooltip.el (tooltip-frame-parameters):
10083 * newcomment.el (comment-end, comment-padding):
10084 * dired.el (dired-trivial-filenames):
10085 * comint.el (comint-file-name-prefix): Purecopy initial values.
10087 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
10089 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
10090 (tramp-advice-minibuffer-electric-tilde): Unload advices via
10092 (tramp-advice-make-auto-save-file-name)
10093 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
10094 after removing the advice.
10096 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
10098 * progmodes/grep.el (grep-regexp-alist):
10099 * international/mule-cmds.el (iso-2022-control-alist):
10100 * emacs-lisp/timer.el (timer-duration-words):
10101 * subr.el (version-separator, version-regexp-alist):
10102 * minibuffer.el (completion-styles-alist):
10103 * faces.el (face-attribute-name-alist, list-faces-sample-text):
10104 Change defvars to defconsts.
10106 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
10107 * loadup.el ("international/mule-conf"): Load the byte compiled version.
10108 * international/mule-conf.el: Allow to be byte compiled.
10110 * international/mule.el (define-charset): Purecopy props.
10111 (load-with-code-conversion): Purecopy doc string and file name.
10112 (put-charset-property): Purecopy strings.
10113 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
10115 * international/mule-cmds.el (register-input-method): Purecopy arguments.
10116 (define-char-code-property): Correctly purecopy the table.
10118 * international/ccl.el (define-ccl-program): Purecopy the docstring.
10120 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
10122 * subr.el (add-hook): Purecopy strings.
10123 (eval-after-load): Purecopy load-history-regexp and the form.
10125 * custom.el (custom-declare-group): Purecopy load-file-name.
10127 * subr.el (menu-bar-separator): New defconst.
10128 * net/eudc.el (eudc-tools-menu):
10129 * international/mule-cmds.el (set-coding-system-map)
10130 (mule-menu-keymap):
10131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
10132 * vc-hooks.el (vc-menu-map):
10133 * replace.el (occur-mode-map):
10134 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
10135 (menu-bar-edit-menu, menu-bar-goto-menu)
10136 (menu-bar-custom-menu, menu-bar-showhide-menu)
10137 (menu-bar-options-menu, menu-bar-tools-menu)
10138 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
10139 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
10140 (menu-bar-help-menu):
10141 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
10142 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
10144 * term/x-win.el (x-gtk-stock-map):
10145 * progmodes/vera-mode.el (auto-mode-alist):
10146 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
10147 (inferior-lisp-program, inferior-lisp-load-command):
10148 * progmodes/hideshow.el (hs-special-modes-alist):
10149 * progmodes/gud.el (same-window-regexps):
10150 * progmodes/grep.el (grep-program, find-program, xargs-program):
10151 * net/telnet.el (same-window-regexps):
10152 * net/rlogin.el (same-window-regexps):
10153 * language/ethiopic.el (font-ccl-encoder-alist):
10154 * vc-sccs.el (vc-sccs-master-templates):
10155 * vc-rcs.el (vc-rcs-master-templates):
10156 * subr.el (cl-assertion-failed):
10157 * simple.el (next-error-overlay-arrow-position):
10158 * lpr.el (lpr-command):
10159 * locate.el (locate-ls-subdir-switches):
10160 * info.el (same-window-regexps, info)
10161 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
10162 * image-mode.el (image-mode, auto-mode-alist):
10163 * hippie-exp.el (hippie-expand-ignore-buffers):
10164 * format.el (format-alist):
10165 * find-dired.el (find-ls-subdir-switches, find-grep-options)
10167 * facemenu.el (facemenu-keybindings):
10168 * dired.el (dired-listing-switches, dired-chown-program):
10169 * diff.el (diff-switches, diff-command):
10170 * cus-edit.el (same-window-regexps):
10171 * bindings.el (mode-line-mule-info)
10172 (mode-line-buffer-identification): Purecopy strings.
10174 2009-11-11 Juri Linkov <juri@jurta.org>
10176 * simple.el (dired-get-filename) <declare-function>:
10177 Tell the byte-compiler about dired-get-filename.
10178 (shell-command): In Dired mode, get filename from the current line
10179 as the default value.
10181 2009-11-10 Glenn Morris <rgm@gnu.org>
10183 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
10184 * calendar/holidays.el, progmodes/cperl-mode.el:
10185 Update x-popup-menu declarations.
10187 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
10188 (list-load-path-shadows): Use dolist.
10189 (list-load-path-shadows): Use with-current-buffer.
10191 2009-11-10 Juri Linkov <juri@jurta.org>
10193 * minibuffer.el (read-file-name): Support a list of default values
10194 in `default-filename'. Use the first file name where only one
10195 element is required. Doc fix.
10197 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
10199 * net/dbus.el (dbus-unregister-object): Release service, if no
10200 other method is registered for it.
10202 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
10204 * bookmark.el (bookmark-completing-read): Sort bookmark names if
10205 bookmark-sort-flag is non-nil (Bug#4653).
10207 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10209 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
10210 the progress reporter entirely.
10212 * emulation/cua-base.el: Add CUA property to some CC mode commands
10215 2009-11-08 Kevin Ryde <user42@zip.com.au>
10217 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
10218 at end of sentence (Bug#4818).
10220 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
10222 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10223 Handle "see declaration of" MSFT statements (Bug#4100).
10225 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
10227 * net/tramp.el (tramp-advice-make-auto-save-file-name)
10228 (tramp-advice-file-expand-wildcards): Unload via
10229 `ad-remove-advice'.
10231 * net/trampver.el: Update release number.
10233 2009-11-08 Kevin Ryde <user42@zip.com.au>
10235 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
10238 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
10240 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
10241 in order to keep context in SELinux.
10243 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
10245 * dired-aux.el (dired-query): Place cursor in echo area and allow
10248 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
10249 menu item if not on a directory (Bug#4701).
10251 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
10253 Sync with Tramp 2.1.17.
10255 * net/tramp.el (tramp-handle-copy-directory): Don't use
10256 `file-remote-p' (due to compatibility).
10258 * net/tramp-compat.el (tramp-compat-copy-directory)
10259 (tramp-compat-delete-directory): New defuns.
10261 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
10262 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
10263 `tramp-compat-delete-directory'.
10265 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10266 (tramp-smb-handle-delete-directory): Use
10267 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
10269 * net/trampver.el: Update release number.
10271 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
10273 * tar-mode.el (tar-copy): Call write-region on the right buffer
10276 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
10277 by hand, if necessary (Bug#4878).
10279 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
10281 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
10282 align size column (Bug#4839).
10284 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
10287 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10289 * progmodes/ld-script.el (auto-mode-alist):
10290 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
10292 * cus-face.el (custom-declare-face): Purecopy face spec.
10294 2009-11-06 Kenichi Handa <handa@m17n.org>
10296 * international/uni-bidi.el: Re-generated.
10297 * international/uni-category.el: Re-generated.
10298 * international/uni-combining.el: Re-generated.
10299 * international/uni-mirrored.el: Re-generated.
10301 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
10303 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
10304 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
10305 (tex-start-options, slitex-run-command, latex-run-command)
10306 (tex-run-command, tex-directory):
10307 * textmodes/ispell.el (ispell-html-skip-alists)
10308 (ispell-tex-skip-alists, ispell-tex-skip-alists):
10309 * textmodes/fill.el (adaptive-fill-first-line-regexp):
10310 (adaptive-fill-regexp):
10311 * textmodes/dns-mode.el (auto-mode-alist):
10312 * progmodes/python.el (interpreter-mode-alist):
10313 * progmodes/etags.el (tags-compression-info-list):
10314 * progmodes/etags.el (tags-file-name):
10315 * net/browse-url.el (browse-url-galeon-program)
10316 (browse-url-firefox-program):
10317 * mail/sendmail.el (mail-signature-file)
10318 (mail-citation-prefix-regexp):
10319 * international/mule-conf.el (eight-bit):
10320 * international/latexenc.el (latex-inputenc-coding-alist):
10321 * international/fontset.el (x-pixel-size-width-font-regexp):
10322 * emacs-lisp/warnings.el (warning-type-format):
10323 * emacs-lisp/trace.el (trace-buffer):
10324 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
10325 (emacs-lisp-mode-map):
10326 * calendar/holidays.el (holiday-solar-holidays)
10327 (holiday-bahai-holidays, holiday-islamic-holidays)
10328 (holiday-christian-holidays, holiday-hebrew-holidays)
10329 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
10330 (hebrew-holidays-1, holiday-oriental-holidays)
10331 (holiday-general-holidays):
10332 * x-dnd.el (x-dnd-known-types):
10333 * tool-bar.el (tool-bar):
10334 * startup.el (site-run-file):
10335 * shell.el (shell-dumb-shell-regexp):
10336 * rfn-eshadow.el (file-name-shadow-tty-properties)
10337 (file-name-shadow-properties):
10338 * paths.el (remote-shell-program, news-directory):
10339 * mouse.el ([C-down-mouse-3]):
10340 * menu-bar.el (menu-bar-tools-menu):
10341 * jka-cmpr-hook.el (jka-compr-load-suffixes)
10342 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
10343 (jka-compr-compression-info-list):
10344 * isearch.el (search-whitespace-regexp):
10345 * image-file.el (image-file-name-extensions):
10346 * find-dired.el (find-ls-option):
10347 * files.el (directory-listing-before-filename-regexp)
10348 (directory-free-space-args, insert-directory-program)
10349 (list-directory-brief-switches, magic-fallback-mode-alist)
10350 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
10351 (automount-dir-prefix):
10352 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
10353 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
10354 (face-font-registry-alternatives, face-font-registry-alternatives)
10355 (face-font-family-alternatives):
10356 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
10357 (facemenu-foreground-menu, facemenu-face-menu):
10358 * epa-hook.el (epa-file-name-regexp):
10359 * dnd.el (dnd-protocol-alist):
10360 * textmodes/rst.el (auto-mode-alist):
10361 * button.el (default-button): Purecopy strings.
10363 2009-11-06 Glenn Morris <rgm@gnu.org>
10365 * Makefile.in (ELCFILES): Update.
10367 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
10370 * emacs-lisp/levents.el: Move to obsolete/levents.el.
10372 * nxml/xsd-regexp.el (xsdre-gen-categories):
10373 * nxml/xmltok.el (xmltok-parse-entity):
10374 * nxml/rng-parse.el (rng-parse-validate-file):
10375 * nxml/rng-maint.el (rng-format-manual)
10376 (rng-manual-output-force-new-line):
10377 * nxml/rng-loc.el (rng-save-schema-location-1):
10378 * nxml/rng-cmpct.el (rng-c-parse-file):
10379 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
10380 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
10382 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
10384 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
10385 Remove extra save-excursions and make-variable-buffer-local's.
10386 Suggested by Stefan Monnier.
10388 (verilog-getopt-file, verilog-module-inside-filename-p)
10389 (verilog-set-define): Merge GNU 1.35 and repair changes from
10390 switching to using with-current-buffer.
10392 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
10393 being treated as a number and confusing AUTORESET.
10394 Reported by Dan Dever.
10396 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
10397 Add verilog-auto-ignore-concat to fix backward compatibility with
10398 older verilog-modes. Reported by Dan Katz.
10400 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
10401 containing closing anchors "...$".
10403 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
10404 Reported by Wade Smith.
10406 (verilog-batch-execute-func): Comment on function usage.
10408 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
10410 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
10413 (verilog-label-re, verilog-calc-1): Support proper indent of named
10416 (verilog-backward-token, verilog-basic-complete-re)
10417 (verilog-beg-of-statement, verilog-indent-re): Support proper
10418 indent of the assert statement at the beginning of a block of text.
10420 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
10421 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
10424 2009-11-05 Glenn Morris <rgm@gnu.org>
10426 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
10427 Emacs 19. (Bug#1531)
10428 (byte-compile-fix-header): Update for the above change.
10429 Drop test for epoch::version.
10431 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
10432 * cus-dep.el (custom-make-dependencies):
10433 * finder.el (finder-compile-keywords):
10434 Use autoload-rubric's feature argument.
10436 * calendar/diary-lib.el (top-level): Make load behave more like require.
10438 * vc-git.el (vc-git-stash-map): Move definition before use.
10440 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
10442 * custom.el (custom-declare-group): Purecopy standard-value.
10443 (custom-declare-group): Purecopy custom-prefix.
10445 * international/mule.el (load-with-code-conversion):
10446 Call do-after-load-evaluation unconditionally.
10448 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
10450 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
10452 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
10454 2009-11-04 Glenn Morris <rgm@gnu.org>
10456 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
10457 (byte-compile-compatibility): Remove option.
10458 (byte-compile-close-variables, byte-compile-fix-header)
10459 (byte-compile-insert-header, byte-compile-output-docform)
10460 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
10461 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
10462 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
10463 (byte-compile-insert, byte-compile-defun):
10464 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
10465 (byte-defop-compiler19): Remove.
10466 Without byte-compile-compatibility, the 'emacs19-opcode property is not
10467 used by anything. Replace all calls with byte-defop-compiler.
10469 2009-11-04 Juri Linkov <juri@jurta.org>
10471 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
10472 (menu-bar-options-menu): Don't quote the `prop' arg of
10473 `menu-bar-make-mm-toggle'.
10475 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
10477 * calendar/calendar.el (cal-loaddefs):
10478 * calendar/diary-lib.el (diary-loaddefs):
10479 * calendar/holidays.el (hol-loaddefs):
10480 * eshell/esh-module.el (esh-groups): Load rather than require.
10482 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * calendar/todo-mode.el (todo-add-category): Don't hardcode
10486 (todo-top-priorities): Only display-buffer when called interactively.
10487 (todo-item-start): Don't save excursion point.
10488 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
10489 (todo-insert-item-here, todo-file-item, todo-remove-item):
10490 Adjust uses of todo-item-start and todo-item-end.
10492 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
10493 (autoload-rubric): Don't use any more.
10494 * cedet/semantic/fw.el (semantic/loaddefs):
10495 * cedet/srecode.el (srecode/loaddefs):
10496 * cedet/ede.el (ede/loaddefs): Load rather than require.
10497 * cedet/ede/cpp-root.el:
10498 * cedet/ede/emacs.el:
10499 * cedet/ede/files.el:
10500 * cedet/ede/linux.el:
10501 * cedet/ede/locate.el:
10502 * cedet/ede/make.el:
10503 * cedet/ede/shell.el:
10504 * cedet/ede/speedbar.el:
10505 * cedet/ede/system.el:
10506 * cedet/ede/util.el:
10507 * cedet/semantic/analyze.el:
10508 * cedet/semantic/bovine.el:
10509 * cedet/semantic/complete.el:
10510 * cedet/semantic/ctxt.el:
10511 * cedet/semantic/db-file.el:
10512 * cedet/semantic/db-find.el:
10513 * cedet/semantic/db-global.el:
10514 * cedet/semantic/db-mode.el:
10515 * cedet/semantic/db-typecache.el:
10516 * cedet/semantic/db.el:
10517 * cedet/semantic/debug.el:
10518 * cedet/semantic/dep.el:
10519 * cedet/semantic/doc.el:
10520 * cedet/semantic/edit.el:
10521 * cedet/semantic/find.el:
10522 * cedet/semantic/format.el:
10523 * cedet/semantic/html.el:
10524 * cedet/semantic/ia-sb.el:
10525 * cedet/semantic/ia.el:
10526 * cedet/semantic/idle.el:
10527 * cedet/semantic/lex-spp.el:
10528 * cedet/semantic/lex.el:
10529 * cedet/semantic/mru-bookmark.el:
10530 * cedet/semantic/scope.el:
10531 * cedet/semantic/senator.el:
10532 * cedet/semantic/sort.el:
10533 * cedet/semantic/symref.el:
10534 * cedet/semantic/tag-file.el:
10535 * cedet/semantic/tag-ls.el:
10536 * cedet/semantic/tag-write.el:
10537 * cedet/semantic/tag.el:
10538 * cedet/semantic/util-modes.el:
10539 * cedet/semantic/analyze/complete.el:
10540 * cedet/semantic/analyze/refs.el:
10541 * cedet/semantic/bovine/c.el:
10542 * cedet/semantic/bovine/gcc.el:
10543 * cedet/semantic/bovine/make.el:
10544 * cedet/semantic/bovine/scm.el:
10545 * cedet/semantic/decorate/include.el:
10546 * cedet/semantic/decorate/mode.el:
10547 * cedet/semantic/symref/cscope.el:
10548 * cedet/semantic/symref/global.el:
10549 * cedet/semantic/symref/grep.el:
10550 * cedet/semantic/symref/idutils.el:
10551 * cedet/semantic/symref/list.el:
10552 * cedet/semantic/wisent/java-tags.el:
10553 * cedet/semantic/wisent/javascript.el:
10554 * cedet/srecode/compile.el:
10555 * cedet/srecode/cpp.el:
10556 * cedet/srecode/document.el:
10557 * cedet/srecode/el.el:
10558 * cedet/srecode/expandproto.el:
10559 * cedet/srecode/getset.el:
10560 * cedet/srecode/insert.el:
10561 * cedet/srecode/java.el:
10562 * cedet/srecode/map.el:
10563 * cedet/srecode/mode.el:
10564 * cedet/srecode/template.el:
10565 * cedet/srecode/texi.el: Remove the file-local setting of
10566 generated-autoload-feature.
10568 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
10569 and only put a prop if it is non-nil.
10571 2009-11-03 Juri Linkov <juri@jurta.org>
10573 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
10574 (menu-bar-options-menu): Fix list quoting (Bug#4429).
10576 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
10577 and "Menu" to make top-level menu item visually one unit (like
10578 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
10579 multi-word menu items). Fix :help string for quit-window.
10581 2009-11-03 Glenn Morris <rgm@gnu.org>
10583 * cedet/mode-local.el (with-mode-local): Doc fix.
10585 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
10586 (byte-compile-file-form-define-abbrev-table)
10587 (byte-compile-file-form-custom-declare-variable)
10588 (byte-compile-variable-ref, byte-compile-defvar):
10589 Whether or not a warning is enabled should only affect whether we issue
10590 the warning, not whether or not we collect the relevant data.
10591 Eg warnings can be turned on and off throughout the course of a file.
10593 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
10594 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
10596 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
10598 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
10599 * play/mpuz.el (mpuz-create-buffer):
10600 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
10601 (lm-print-y,s,noise, lm-print-w0, lm-init):
10602 * play/gomoku.el (gomoku-prompt-for-move):
10603 * play/fortune.el (fortune-in-buffer):
10604 * play/dissociate.el (dissociated-press):
10605 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
10606 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
10607 * mail/supercite.el (sc-eref-show):
10608 * mail/smtpmail.el (smtpmail-send-it):
10609 * mail/rmailsum.el (rmail-summary-next-labeled-message)
10610 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
10611 (rmail-summary-undelete-many, rmail-summary-rmail-update)
10612 (rmail-summary-goto-msg, rmail-summary-expunge)
10613 (rmail-summary-get-new-mail, rmail-summary-search-backward)
10614 (rmail-summary-add-label, rmail-summary-output-menu)
10615 (rmail-summary-output-body):
10616 * mail/rfc822.el (rfc822-addresses):
10617 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
10618 * mail/mailpost.el (post-mail-send-it):
10619 * mail/hashcash.el (hashcash-generate-payment):
10620 * mail/feedmail.el (feedmail-run-the-queue)
10621 (feedmail-queue-send-edit-prompt-help-first)
10622 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
10623 (feedmail-deduce-address-list):
10624 * eshell/esh-ext.el (eshell-remote-command):
10625 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
10626 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
10627 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
10628 (viper-save-string-in-file, viper-valid-marker):
10629 * emulation/viper-keym.el (viper-toggle-key):
10630 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
10631 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
10632 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
10633 * emulation/viper-cmd.el (viper-exec-form-in-vi)
10634 (viper-exec-form-in-emacs, viper-brac-function):
10635 * emulation/viper.el (viper-delocalize-var):
10636 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
10637 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
10638 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
10639 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
10640 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
10641 * emulation/edt.el (edt-electric-helpify):
10642 * emulation/cua-rect.el (cua--rectangle-aux-replace):
10643 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
10644 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
10645 (cua-indent-to-global-mark-column):
10646 * calendar/diary-lib.el (calendar-mark-1):
10647 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
10648 Use with-current-buffer.
10649 * emulation/viper.el (viper-delocalize-var): Use dolist.
10651 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
10653 * comint.el (comint-replace-by-expanded-history-before-point):
10654 Replace !! with the previous input string literally (Bug#1795).
10656 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
10658 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
10659 to be made up of whitespace.
10661 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
10663 * minibuffer.el (read-file-name): Don't use file dialogs for
10664 remote directories (Bug#99).
10666 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
10668 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
10670 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
10672 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
10673 instead of deleting the window or frame.
10675 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10677 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
10678 Support face colors.
10680 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
10681 New function. Support face colors (Bug#1168).
10682 (tex-common-initialization): Use it.
10684 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
10685 mode allows it (Bug#1168).
10687 2009-10-31 Juri Linkov <juri@jurta.org>
10689 * facemenu.el (list-colors-display): Don't mark buffer as
10690 modified (Bug#3948).
10692 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
10694 * international/mule-diag.el (list-character-sets-1): Minor
10695 message fix (Bug#3526).
10697 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
10698 face property (Bug#4834).
10699 (etags-list-tags, etags-tags-apropos-additional)
10700 (etags-tags-apropos, tags-select-tags-table): Add follow-link
10703 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
10706 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
10709 * cedet/ede.el (ede-minor-mode):
10710 * cedet/semantic.el (semantic-mode): Toggle menu separators.
10712 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * textmodes/two-column.el (2C-split):
10715 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
10716 * textmodes/tex-mode.el (tex-set-buffer-directory):
10717 * textmodes/spell.el (spell-region, spell-string):
10718 * textmodes/reftex.el (reftex-erase-buffer):
10719 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
10720 * textmodes/reftex-toc.el (reftex-toc-promote-action):
10721 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
10722 (reftex-select-item):
10723 * textmodes/reftex-ref.el (reftex-label-info-update)
10724 (reftex-offer-label-menu):
10725 * textmodes/reftex-index.el (reftex-index-change-entry)
10726 (reftex-index-phrases-info):
10727 * textmodes/reftex-global.el (reftex-create-tags-file)
10728 (reftex-save-all-document-buffers, reftex-ensure-write-access):
10729 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
10730 (reftex-view-crossref-from-bibtex):
10731 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
10732 (reftex-extract-bib-entries-from-thebibliography)
10733 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
10734 * textmodes/refbib.el (r2b-capitalize-title):
10735 (r2b-convert-buffer, r2b-help):
10736 * textmodes/page-ext.el (pages-directory)
10737 (pages-directory-goto-with-mouse):
10738 * textmodes/bibtex.el (bibtex-validate-globally):
10739 * textmodes/bib-mode.el (bib-capitalize-title):
10740 * textmodes/artist.el (artist-clear-buffer, artist-system):
10741 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
10742 (local-set-scheme-interaction-buffer, xscheme-process-filter)
10743 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
10744 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
10745 (xscheme-send-control-g-interrupt, xscheme-start-process)
10746 (xscheme-process-sentinel, xscheme-cd):
10747 * progmodes/verilog-mode.el (verilog-read-always-signals)
10748 (verilog-set-define, verilog-getopt-file)
10749 (verilog-module-inside-filename-p):
10750 * progmodes/sh-script.el:
10751 * progmodes/python.el (python-pdbtrack-get-source-buffer)
10752 (python-pdbtrack-grub-for-buffer, python-execute-file):
10753 * progmodes/octave-inf.el (inferior-octave):
10754 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10755 (idlwave-shell-compile-helper-routines, idlwave-set-local)
10756 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
10757 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
10758 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
10759 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
10760 (idlwave-shell-filter, idlwave-shell-examine-highlight)
10761 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
10762 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
10763 (idlwave-shell-examine-display, idlwave-shell-run-region)
10764 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
10765 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
10766 * progmodes/idlw-help.el (idlwave-help-get-special-help)
10767 (idlwave-help-get-help-buffer):
10768 * progmodes/gud.el (gud-basic-call, gud-find-class)
10769 (gud-tooltip-activate-mouse-motions-if-enabled):
10770 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10771 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
10772 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
10773 (ebrowse-tags-next-file):
10774 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
10775 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
10776 (ebnf-eps-finish-and-write):
10777 * progmodes/cpp.el (cpp-edit-save):
10778 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
10779 * progmodes/cc-defs.el (c-emacs-features):
10780 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
10781 (antlr-directory-dependencies):
10782 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
10783 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
10784 (ada-find-any-references, ada-make-filename-from-adaname)
10785 (ada-make-body-gnatstub):
10786 * obsolete/rnews.el (news-list-news-groups):
10787 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
10788 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
10789 * net/rcirc.el (rcirc-debug):
10790 * net/newst-treeview.el (newsticker--treeview-list-add-item)
10791 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
10792 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
10793 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
10794 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
10795 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
10796 (newsticker--treeview-list-clear-highlight)
10797 (newsticker--treeview-list-update-highlight)
10798 (newsticker--treeview-list-highlight-start)
10799 (newsticker--treeview-tree-update-highlight)
10800 (newsticker--treeview-get-selected-item)
10801 (newsticker-treeview-mark-list-items-old)
10802 (newsticker--treeview-set-current-node):
10803 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10804 * net/newst-backend.el (newsticker--get-news-by-funcall)
10805 (newsticker--get-news-by-wget, newsticker--image-get)
10806 (newsticker--image-sentinel):
10807 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
10808 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
10809 (eudc-ph-close-session):
10810 * net/eudc.el (eudc-save-options):
10811 * language/thai-word.el (thai-update-word-table):
10812 * language/japan-util.el (japanese-string-conversion):
10813 * international/titdic-cnv.el (tsang-quick-converter)
10814 (ziranma-converter, ctlau-converter):
10815 * international/mule-cmds.el (describe-language-environment):
10816 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
10817 (skkdic-convert-postfix, skkdic-convert-prefix):
10818 (skkdic-convert-okuri-nasi, skkdic-convert):
10819 * emacs-lisp/re-builder.el (reb-update-overlays):
10820 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
10821 * emacs-lisp/gulp.el (gulp-send-requests):
10822 * emacs-lisp/find-gc.el (trace-call-tree):
10823 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
10824 (eieio-describe-generic):
10825 * emacs-lisp/eieio-base.el (eieio-persistent-read):
10826 * emacs-lisp/edebug.el (edebug-outside-excursion):
10827 * emacs-lisp/debug.el (debugger-make-xrefs):
10828 * emacs-lisp/cust-print.el (custom-prin1-to-string):
10829 * emacs-lisp/chart.el (chart-new-buffer):
10830 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
10831 Use with-current-buffer.
10832 * textmodes/artist.el (artist-system): Don't call
10833 copy-sequence on a fresh string.
10834 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
10836 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
10838 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
10839 is no item to edit. (Bug#4820)
10840 (todo-top-priorities): Restore point and restore narrowing in Todo
10843 2009-10-31 Glenn Morris <rgm@gnu.org>
10845 * net/ange-ftp.el (top-level): Don't require dired when compiling.
10846 (comint-last-output-start, comint-last-input-start)
10847 (comint-last-input-end): Don't defvar when compiling.
10848 (ange-ftp-process-file): Use bound-and-true-p.
10850 * pcmpl-rpm.el (top-level): Move provide statement to end.
10851 (pcmpl-rpm): Remove unused custom group.
10853 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
10855 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
10857 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10858 (byte-compile-warnings): Add `constants' as an option.
10859 (byte-compile-callargs-warn, byte-compile-arglist-warn)
10860 (display-call-tree): Update for byte-compile-fdefinition possibly
10861 returning `(macro lambda ...)'. (Bug#4778)
10862 (byte-compile-variable-ref, byte-compile-setq-default):
10863 Respect `constants' member of byte-compile-warnings.
10865 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
10866 Use mapc rather than mapcar because the return value is never used.
10868 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
10869 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
10870 * cedet/semantic/html.el:
10871 Suppress harmless warnings about setting up semantic-imenu (not
10872 part of Emacs) variables.
10874 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10876 * vc-bzr.el (vc-bzr-revision-keywords): New var.
10877 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
10880 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
10881 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
10882 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
10883 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
10884 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
10885 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
10886 (semantic-analyzer-debug-global-symbol)
10887 (semantic-analyzer-debug-missing-innertype)
10888 (semantic-analyzer-debug-insert-include-summary):
10889 * cedet/semantic/util.el (semantic-file-tag-table):
10890 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
10891 (semantic-recursive-find-nonterminal-by-name):
10892 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
10893 * cedet/semantic/tag-file.el (semantic-prototype-file):
10894 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
10895 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
10896 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
10897 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
10898 (semantic-idle-summary-maybe-highlight):
10899 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
10900 (semantic-ia-sb-tag-info):
10901 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
10902 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
10903 * cedet/semantic/ede-grammar.el (project-compile-target):
10904 (ede-proj-makefile-insert-variables):
10905 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
10906 (semantic-debug-set-source-location, semantic-debug-interface-layout)
10907 (semantic-debug-mode, semantic-debug):
10908 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
10909 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
10910 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
10911 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
10912 (semanticdb-find-translate-path-includes--internal)
10913 (semanticdb-reset-log, semanticdb-find-log-activity):
10914 * cedet/semantic/db-file.el (object-write):
10915 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
10916 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
10917 (semanticdb-create-ebrowse-database):
10918 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
10919 * cedet/semantic/complete.el (semantic-displayor-focus-request)
10920 (semantic-collector-calculate-completions-raw)
10921 (semantic-complete-read-tag-analyzer):
10922 * cedet/semantic/analyze.el (semantic-analyze-pulse):
10923 * cedet/ede/util.el (ede-update-version-in-source):
10924 * cedet/ede/proj.el (project-delete-target):
10925 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
10926 (ede-proj-flush-autoconf):
10927 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
10928 (ede-proj-configure-synchronize):
10929 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
10930 * cedet/ede/linux.el (ede-linux-version):
10931 * cedet/ede/emacs.el (ede-emacs-version):
10932 * cedet/ede/dired.el (ede-dired-add-to-target):
10933 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
10934 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
10935 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
10936 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
10937 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
10938 (cedet-idutils-version-check):
10939 * cedet/cedet-global.el (cedet-gnu-global-call):
10940 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
10941 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
10942 * cedet/cedet-cscope.el (cedet-cscope-call)
10943 (cedet-cscope-expand-filename, cedet-cscope-version-check):
10944 Use with-current-buffer.
10945 * cedet/ede.el (ede-make-project-local-variable)
10946 (ede-set-project-variables, ede-set): Use dolist.
10948 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
10950 * textmodes/ispell.el (ispell-skip-region-alist):
10951 * international/mule-conf.el (eight-bit):
10952 * international/fontset.el (font-encoding-alist):
10953 * startup.el (pure-space-overflow-message):
10954 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
10955 * paths.el (gnus-nntp-service, rmail-spool-directory)
10956 (term-file-prefix):
10957 * files.el (save-some-buffers-action-alist):
10958 * cmuscheme.el (same-window-buffer-names):
10959 * ielm.el (same-window-buffer-names):
10960 * shell.el (same-window-buffer-names):
10961 * mail/sendmail.el (same-window-buffer-names):
10962 * progmodes/inf-lisp.el (same-window-buffer-names):
10963 * bindings.el (mode-line-client)
10964 (mode-line-column-line-number-mode-map):
10965 * language/tibetan.el (tibetan-precomposition-rule-regexp)
10966 (tibetan-precomposed-regexp): Purecopy string arguments.
10968 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
10971 (calcDigit-nondigit):
10972 * calc/calc-yank.el (calc-copy-to-buffer):
10973 * calc/calc-units.el (calc-invalidate-units-table):
10974 * calc/calc-trail.el (calc-trail-yank):
10975 * calc/calc-store.el (calc-insert-variables):
10976 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
10977 * calc/calc-prog.el (calc-read-parse-table):
10978 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
10979 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
10980 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
10981 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
10982 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
10983 (calc-graph-name, calc-graph-find-command, calc-graph-view)
10984 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
10985 * calc/calc-ext.el (calc-realign):
10986 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
10987 (calc-embedded-finish-edit, calc-embedded-make-info)
10988 (calc-embedded-finish-command, calc-embedded-stack-change):
10989 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
10991 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
10992 (overload-docstring-extension): Use that info.
10993 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
10994 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
10995 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
10996 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
10997 (semantic-nonterminal-full-name): Add the new `when' info.
10998 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
11001 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
11002 shell-dynamic-complete-filename in preference to
11003 comint-dynamic-complete-filename.
11005 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
11006 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
11007 Don't consider whether the display supports colors.
11008 (bookmark-import-new-list): Use dolist.
11009 (bookmark-bmenu-mode-map): Move initialization into declaration.
11010 (bookmark-bmenu-list): Use dolist, simplify.
11011 (bookmark-show-all-annotations): Use save-selected-window and dolist.
11012 (menu-bar-final-items): Use push.
11014 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
11016 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
11017 it works on remote files.
11018 (vc-hg-diff): Don't pass any `--cwd' argument.
11020 2009-10-27 Kevin Ryde <user42@zip.com.au>
11022 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11023 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
11024 (Further to Bug#3921).
11026 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
11028 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
11029 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
11030 calling `tramp-imap-put-file'. Add file size to the call.
11031 (tramp-imap-get-file-entries): Compute also user name, file size,
11033 (tramp-imap-handle-insert-directory): Insert uid and gid.
11034 (tramp-imap-handle-file-attributes): Transform uid and gid
11035 according to `id-format'.
11036 (tramp-imap-put-file): New optional parameter SIZE. Encode file
11037 size in header X-Size.
11039 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
11041 * simple.el (transpose-subr): Give clearer error when the mark
11042 is not set. (Bug#4807)
11044 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
11046 * net/tramp.el (tramp-perl-file-truename): New defconst.
11047 Perl code contributed by yary <not.com@gmail.com> (tiny change).
11048 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
11049 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
11050 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
11052 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
11053 Ignore `dired-call-process'.
11054 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
11056 2009-10-26 Julian Scheid <julians37@gmail.com>
11058 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
11059 (tramp-get-remote-readlink): New defun.
11060 (tramp-handle-file-truename): Use it.
11061 (tramp-handle-file-exists-p): Check file-attributes cache, assume
11062 file exists if cache value present.
11063 (tramp-check-cached-permissions): New defun.
11064 (tramp-handle-file-readable-p): Use it.
11065 (tramp-handle-file-writable-p): Likewise.
11066 (tramp-handle-file-executable-p): Likewise.
11067 (tramp-handle-file-name-all-completions): Try using Perl to get
11068 partial completions. When perl not available, combine `cd' and
11069 `ls' into single remote operation and use shell expansion to get
11070 partial remote directory contents. Set `file-exists-p' cache for
11071 directory and any files returned by ls. Change cache handling to
11072 support partial directory contents. Use error message emitted by
11073 remote `cd' or Perl code for local tramp-error.
11074 (tramp-do-copy-or-rename-file-directly): Avoid separate
11075 tramp-send-command-and-check call.
11076 (tramp-handle-process-file): Merge three remote ops into one.
11077 Do not flush all caches when `process-file-side-effects' is set.
11078 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
11079 file-attributes shows uid/gid to be set already.
11081 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
11083 * textmodes/tex-mode.el (tex-dvi-view-command)
11084 (tex-show-queue-command, tex-open-quote):
11085 * progmodes/ruby-mode.el (auto-mode-alist)
11086 (interpreter-mode-alist): Purecopy strings.
11088 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
11090 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
11091 string for the hook, keymap and abbrev table.
11093 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
11095 * x-dnd.el (x-dnd-xdnd-to-action):
11096 * startup.el (fancy-startup-text, fancy-about-text): Change to
11097 defconst from defvar.
11099 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
11101 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
11102 Purecopy initialization strings.
11104 * mail/sendmail.el (mail-header-separator)
11105 (mail-personal-alias-file):
11106 * mail/rmail.el (rmail-default-dont-reply-to-names)
11107 (rmail-ignored-headers, rmail-retry-ignored-headers)
11108 (rmail-highlighted-headers, rmail-secondary-file-directory)
11109 (rmail-secondary-file-regexp):
11110 * files.el (null-device, file-name-invalid-regexp)
11111 (locate-dominating-stop-dir-regexp)
11112 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
11113 (interpreter-mode-alist): Use mapcar instead of mapc.
11115 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
11117 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
11118 (completion-ignored-extensions):
11119 (debug-ignored-errors): Purecopy strings.
11121 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
11123 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
11124 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
11125 (pcomplete--here): Use push.
11127 * subr.el (all-completions): Declare the 4th arg obsolete.
11129 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11131 * pcomplete.el (pcomplete-unquote-argument-function): New var.
11132 (pcomplete-unquote-argument): New function.
11133 (pcomplete--common-suffix): Always pay attention to case.
11134 (pcomplete--table-subvert): Quote and unquote the text.
11135 (pcomplete--common-quoted-suffix): New function.
11136 (pcomplete-std-complete): Use it and pcomplete-begin.
11138 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
11139 we're inside a dedicated or minibuffer window.
11141 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * cedet/semantic/fw.el (semantic-alias-obsolete)
11144 (semantic-varalias-obsolete): Make the `when' arg mandatory.
11145 (define-mode-overload-implementation):
11146 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
11147 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
11148 * cedet/semantic/util.el (semantic-file-token-stream)
11149 (semantic-something-to-stream):
11150 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
11151 (semantic-expand-nonterminal):
11152 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
11153 (semantic-find-dependency, semantic-find-nonterminal)
11154 (semantic-find-dependency):
11155 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
11156 (semantic-flex-text, semantic-flex-make-keyword-table)
11157 (semantic-flex-keyword-p, semantic-flex-keyword-put)
11158 (semantic-flex-keyword-get, semantic-flex-map-keywords)
11159 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
11160 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
11161 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
11162 (semantic-after-idle-scheduler-reparse-hooks):
11163 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
11164 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
11165 * cedet/semantic.el (semantic-toplevel-bovine-table)
11166 (semantic-toplevel-bovine-cache)
11167 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
11168 (semantic-init-mode-hooks, semantic-init-db-hooks)
11169 (semantic-bovination-working-type): Provide the `when' arg.
11171 2009-10-24 Karl Fogel <kfogel@red-bean.com>
11173 * bookmark.el: Update documentation, especially documentation
11174 of `bookmark-alist' and of the bookmark file format.
11175 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
11177 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11179 * mail/emacsbug.el (report-emacs-bug): Clarify that the
11180 keybindings apply to the mail buffer (Bug#4003). Shrink help
11183 * whitespace.el (whitespace-mode, whitespace-newline-mode)
11184 (global-whitespace-mode, global-whitespace-newline-mode)
11185 (whitespace-toggle-options, global-whitespace-toggle-options):
11186 Doc fix (Bug#3660).
11188 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
11189 of xmltok-start before the end tag was inserted (Bug#2840).
11191 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
11192 patterns that are preceded by an open-paren (Bug#1320).
11194 2009-10-24 Sven Joachim <svenjoac@gmx.de>
11196 * files.el (delete-directory): Delete symlinks to directories with
11197 delete-file (Bug#4739).
11199 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
11201 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
11202 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
11203 argument to make-obsolete.
11205 * cedet/semantic/fw.el (semantic-alias-obsolete)
11206 (semantic-varalias-obsolete): Add optional WHEN argument.
11208 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
11210 * vc.el (vc-backend-for-registration): Rename from
11211 vc-get-backend-for-registration. Update callers.
11213 * international/mule-cmds.el (set-language-info-alist):
11215 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
11216 (charset): Purecopy the name.
11217 (define-char-code-property): Purecopy string arguments.
11219 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
11220 Purecopy string arguments.
11222 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
11223 * ediff-hook.el (menu-bar-ediff-menu):
11224 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
11225 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
11227 2009-10-24 Glenn Morris <rgm@gnu.org>
11229 * comint.el (comint-dynamic-list-completions):
11230 * term.el (term-dynamic-list-completions): Use choose-completion rather
11231 than obsolete alias mouse-choose-completion.
11233 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
11234 file-cache-choose-completion.
11235 (file-cache-choose-completion): Handle an optional event argument.
11236 (file-cache-mouse-choose-completion): Make it an obsolete alias.
11238 * progmodes/octave-mod.el (octave-complete-symbol):
11239 Use choose-completion if mouse-choose-completion is ever removed.
11241 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
11244 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
11247 * vc-hooks.el (vc-responsible-backend): Fix declaration.
11249 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
11252 Ignore `pred' now that we receive one.
11253 Handle test-completion specially.
11255 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11257 * vc.el (vc-responsible-backend): Throw an error if not backend is
11258 found. Remove the REGISTER argument. Move the code dealing with
11260 (vc-get-backend-for-registration): ... here. New function.
11261 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
11262 of vc-responsible-backend, pass the file name instead of the
11265 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
11269 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
11270 (pcomplete-comint-setup): Don't modify a global var via
11271 accidental side-effects.
11272 (pcomplete-shell-setup): Adjust call accordingly.
11273 (pcomplete-parse-comint-arguments): Use push.
11275 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
11277 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
11278 Allow uncapitalized info node names (Bug#3921).
11280 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
11281 to the DEBUG file (Bug#3781).
11283 2009-10-23 Jari Aalto <jari.aalto@cante.net>
11285 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
11286 dictionary entry (Bug#4579).
11288 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
11290 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
11291 from `rfn-eshadow-update-overlay-hook' when unloading.
11292 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
11293 "rsyncc". Adjust doc string.
11294 (tramp-temp-buffer-file-name): New buffer-local defvar.
11295 (tramp-handle-insert-file-contents, tramp-handle-write-region):
11296 Keep temporary file when indicated by method ("rsync" and
11298 (tramp-handle-write-region): Handle APPEND.
11299 (tramp-delete-temp-file-function): New defun. Added to
11300 `kill-buffer-hook'.
11302 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
11304 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
11306 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
11308 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
11309 (color-name-rgb-alist, tty-standard-colors)
11310 (tty-color-mode-alist): Change to defconst.
11312 * simple.el (mark-inactive): Purecopy message.
11314 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
11315 (global-map, yank-menu):
11316 * textmodes/ispell.el (ispell-menu-map):
11317 * net/eudc.el (eudc-tools-menu):
11318 * international/mule-cmds.el (describe-language-environment-map)
11319 (setup-language-environment-map, set-coding-system-map)
11320 (mule-menu-keymap):
11321 * vc-hooks.el (vc-menu-entry, vc-menu-map):
11322 * replace.el (occur-mode-map):
11323 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
11325 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
11327 * calc/calc.el (math-read-number, math-read-number-simple): Use
11330 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11332 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
11333 rather than fiddling with global-map bindings, since it should only
11334 affect per-terminal settings.
11335 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
11337 * minibuffer.el (completion-table-with-terminator): Allow to specify
11338 the terminator-regexp.
11340 * simple.el (switch-to-completions): Look for *Completions* in other
11343 * pcomplete.el: Allow the use of completion-tables.
11344 (pcomplete-std-complete): New command.
11345 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
11346 (pcomplete--here): Use a function for `form' rather than an expression,
11347 so it can be byte-compiled.
11348 (pcomplete-here, pcomplete-here*): Adjust accordingly.
11349 Add edebug declaration.
11350 (pcomplete-show-completions): Remove unused var `curbuf'.
11351 (pcomplete-do-complete, pcomplete-stub):
11352 Don't assume `completions' is a list of strings any more.
11354 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
11356 * find-dired.el (find-name-arg): Fix typo in docstring.
11358 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
11360 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
11361 (pcmpl-linux-fs-types): Same, and update to new modules layout.
11363 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
11366 * comint.el (comint-read-input-ring, comint-write-input-ring)
11367 (comint-substitute-in-file-name)
11368 (comint-dynamic-complete-as-filename)
11369 (comint-dynamic-simple-complete)
11370 (comint-dynamic-list-filename-completions)
11371 (comint-dynamic-list-completions)
11372 (comint-redirect-results-list-from-process): Minor simplifications.
11374 2009-10-21 Kevin Ryde <user42@zip.com.au>
11376 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
11377 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
11378 the first form. And insert a blank line after ";;; Code" since
11379 that's usual style. (Bug#4612)
11381 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
11383 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11385 * minibuffer.el (completion-table-with-terminator): Properly implement
11386 boundaries, in case `terminator' appears in the suffix.
11387 (completion--embedded-envvar-table): Don't return boundaries if
11388 there's no valid completion. Simplify.
11389 (completion-file-name-table): New completion table extracted from
11390 completion--file-name-table.
11391 (completion--file-name-table): Use it.
11392 (read-file-name-predicate): Declare obsolete.
11393 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
11394 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
11395 completion-file-name-table, and use the `pred' argument.
11396 * files.el (locate-file-completion-table): Use the `pred' arg rather
11397 than read-file-name-predicate.
11398 (abbreviate-file-name): Use \` rather than ^ for BOS.
11400 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
11402 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
11403 vc-responsible-backend to register, it causes problems.
11405 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
11407 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
11409 2009-10-21 Eric Ludlam <zappo@gnu.org>
11411 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
11412 (semantic-c-debug-mode-init-pch): New functions.
11413 (semantic-c-debug-mode-init-last-mode): New var.
11414 (semantic-c-parse-lexical-token): Use them.
11416 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
11417 When extracting the argument list, limit only by point-max.
11419 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
11421 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
11422 (tramp-smb-handle-file-attributes): Use it.
11423 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
11424 (tramp-smb-handle-insert-directory): Use `mapc' rather than
11425 `mapcar'. Use `tramp-smb-get-stat-capability'.
11426 Add `dired-filename' text properties.
11427 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
11428 (tramp-smb-maybe-open-connection): Simplify check for smbclient
11431 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
11433 * subr.el (read-key-delay): Reduce to 0.01.
11434 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
11437 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
11439 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
11441 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
11442 (Info-menu): Remove unused vars `last' and `completions'.
11443 (Info-index-nodes): Remove unused var `node'.
11445 * info.el (Info-complete-menu-item): Use complete-with-action.
11447 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
11449 Make vc-annotate work through copies and renames.
11450 * vc-annotate.el (vc-annotate-extract-revision-at-line):
11451 Return the file name too.
11452 (vc-annotate-revision-at-line)
11453 (vc-annotate-find-revision-at-line)
11454 (vc-annotate-revision-previous-to-line)
11455 (vc-annotate-show-log-revision-at-line): Update to get the file
11456 name from vc-annotate-extract-revision-at-line.
11457 (vc-annotate-show-diff-revision-at-line-internal): Change the
11458 argument to mean whether to show a file diff or not. Get the file
11459 name from vc-annotate-extract-revision-at-line.
11460 (vc-annotate-show-diff-revision-at-line):
11461 Update vc-annotate-show-diff-revision-at-line call.
11462 (vc-annotate-warp-revision): Add an optional file argument.
11464 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
11465 (vc-git-annotate-extract-revision-at-line): Also return the file
11468 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
11469 command. Remove unused code.
11470 (vc-hg-annotate-re): Update to match --follow output.
11471 (vc-hg-annotate-extract-revision-at-line): Also return the file
11474 * vc.el: Update annotate-extract-revision-at-line documentation.
11476 2009-10-18 Kevin Ryde <user42@zip.com.au>
11478 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
11479 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
11481 * net/browse-url.el (browse-url): Identify alist with "consp and
11482 not functionp" and let all other things go down the `apply' leg,
11483 as suggested by Stefan. (Further to bug#4531.)
11485 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
11487 * minibuffer.el (read-file-name): Check for repeat before putting
11488 a default argument in file-name-history (Bug#4657).
11490 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
11491 read syntax (Bug#4737).
11493 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
11495 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11497 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
11498 (html-tag-alist, html-tag-help): Add descriptions for undocumented
11499 entries and make note of obsolete tags.
11501 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
11503 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
11505 2009-10-18 Glenn Morris <rgm@gnu.org>
11507 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
11508 grep, so that binary files (eg international/uni-bidi.el) can match.
11509 Remove test for "UnicodeData" files, since it is hopefully unnecessary
11510 now, and in any case the file header format has changed.
11512 2009-10-17 Glenn Morris <rgm@gnu.org>
11514 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
11515 (flyspell-get-word, flyspell-large-region)
11516 (flyspell-auto-correct-previous-word): Doc/error message fixes.
11518 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11520 * Makefile.in (ELCFILES): Add ede/shell.
11522 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
11524 * term/common-win.el (x-colors): Purecopy it.
11526 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11528 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
11529 permissive for when the buffer is empty.
11530 (tar-header-block-tokenize): Decode the username and groupname.
11531 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
11533 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
11535 * cedet/srecode/srt.el:
11536 * cedet/srecode/compile.el:
11537 * cedet/semantic/mru-bookmark.el:
11538 * cedet/semantic/debug.el:
11539 * cedet/semantic/complete.el:
11540 * cedet/semantic/analyze.el: Require CL when compiling.
11542 2009-10-17 Eric Ludlam <zappo@gnu.org>
11544 * cedet/semantic/scope.el
11545 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
11546 tmpscope so that the regular scope will continue to work.
11548 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
11549 Use semantic-idle-summary-highlight-face as the highlighting.
11551 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
11552 contains multibyte characters, choose first applicable coding
11553 system automatically.
11555 * cedet/ede/project-am.el (project-run-target): New method.
11556 (project-run-target): New method.
11558 * cedet/ede.el (ede-target): Add run target menu item.
11559 (ede-project, ede-minor-keymap): Add ede-run-target binding.
11560 (ede-run-target): New function.
11561 (ede-target::project-run-target): New method.
11563 * cedet/ede/proj.el (project-run-target): New method.
11565 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
11566 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
11568 (ede-proj-target-makefile-shared-object): Only libtool compilers
11569 now available. Add linkers for libtool.
11570 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
11571 (ede-proj-makefile-target-name): Always use .la extension.
11573 * cedet/ede/proj-prog.el (project-run-target): New method.
11575 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
11576 (ede-g++-linker): Change Change link lines.
11578 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
11579 When searching for old variables, go to the end of the buffer and
11580 search backward from there.
11581 (ede-proj-makefile-automake-insert-subdirs)
11582 (ede-proj-makefile-automake-insert-extradist): New methods.
11583 (ede-proj-makefile-create): Use them.
11585 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
11586 Force FILE to expand to the current target. Use file-exists-p to
11587 check that it exists.
11589 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
11590 (ede-linux-load): Wrap dir in file-name-as-directory.
11593 * cedet/ede/files.el (ede-get-locator-object): When enabling
11594 locate, do so on "top".
11596 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
11597 file-name-as-directory during compare.
11598 (ede-emacs-version): Return Emacs/XEmacs differentiator.
11599 Get version number from different places. Don't call egrep.
11600 (ede-emacs-load): Set :version slot. Call file-name-as-directory
11601 to set the directory.
11603 * cedet/ede/shell.el: New file.
11605 * cedet/inversion.el (inversion-decoders): Allow for stray . in
11606 alpha/beta variants.
11608 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * international/mule-cmds.el (select-safe-coding-system): If the file
11611 has a coding cookie, use it regardless of any other setting (bug#4712).
11613 2009-10-17 Glenn Morris <rgm@gnu.org>
11615 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
11616 All errors should have messages.
11618 * foldout.el (foldout-mouse-swallow-events):
11619 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
11621 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
11622 (dired-keep-marker-copy, dired-keep-marker-hardlink)
11623 (dired-keep-marker-symlink, dired-dwim-target)
11624 (dired-copy-preserve-time): Do not autoload these defcustoms.
11626 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
11627 messages from messing up the file coding. (Bug#4623)
11629 2009-10-17 Jari Aalto <jari.aalto@cante.net>
11631 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
11632 if no match is found for the current dictionary. (Bug#4578)
11634 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
11635 optional, since that is how it is documented, and this is often called
11636 with a nil argument. (Bug#4577)
11637 (flyspell-external-point-words, flyspell-auto-correct-word)
11638 (flyspell-correct-word-before-point, flyspell-word-search-forward)
11639 (flyspell-word-search-backward): Remove nil argument in calls to
11640 flyspell-get-word, since it is not needed now.
11642 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
11644 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
11646 2009-10-16 Glenn Morris <rgm@gnu.org>
11648 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
11650 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11652 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
11653 (ange-ftp-file-size): New function.
11654 (ange-ftp-file-attributes): Use it.
11656 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
11658 * net/tramp-smb.el (tramp-smb-version): New defvar.
11659 (tramp-smb-maybe-open-connection): Use it, in order to avoid
11662 2009-10-16 Glenn Morris <rgm@gnu.org>
11664 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
11665 Maybe copy some custom properties from old to new name. (Bug#4706)
11667 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
11669 * subr.el (error, sit-for, start-process-shell-command)
11670 (start-file-process-shell-command): Set the calling convention
11671 after the function definition.
11673 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
11675 * subr.el (error, sit-for, start-process-shell-command)
11676 (start-file-process-shell-command): Use the new
11677 set-advertised-calling-convention feature.
11679 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
11681 * international/ucs-normalize.el (ucs-normalize-version):
11683 (check-range): Adjust for Unicode 5.2.
11685 2009-10-15 Juri Linkov <juri@jurta.org>
11687 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
11688 to the `menu-item' format.
11690 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
11692 * net/tramp.el (tramp-replace-environment-variables): Do not fail
11693 if the environment variable does not exist.
11695 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11696 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
11698 (tramp-smb-handle-add-name-to-file)
11699 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11700 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11701 (tramp-smb-handle-file-attributes)
11702 (tramp-smb-do-file-attributes-with-stat)
11703 (tramp-smb-handle-file-local-copy)
11704 (tramp-smb-handle-insert-directory)
11705 (tramp-smb-handle-make-directory)
11706 (tramp-smb-handle-make-directory-internal)
11707 (tramp-smb-handle-make-symbolic-link)
11708 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
11709 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
11710 (tramp-smb-maybe-open-connection): Apply the changed parameters.
11711 (tramp-smb-read-file-entry): Read Disk names in compressed format.
11712 Handle long file names.
11713 (tramp-smb-get-cifs-capabilities): Check, whether the connection
11714 process is running.
11715 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
11716 Read share names with "-g" option.
11718 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
11720 * net/rcirc.el (rcirc-view-log-file): New command.
11721 (rcirc-track-minor-mode-map): Remove C-c ` binding.
11722 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
11725 2009-10-15 Glenn Morris <rgm@gnu.org>
11727 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
11728 from the second command-line argument.
11729 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
11730 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
11731 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
11732 w32-batch-update-autoloads.
11733 * emacs-lisp/autoload.el (autoload-make-program): New variable.
11734 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
11736 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
11737 the headers cannot be located. Simplify, subtracting superflous
11740 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
11742 Replace completion-base-size by completion-base-position to fix bugs
11743 such as (bug#4699).
11744 * simple.el (completion-base-position): New var.
11745 (completion-base-size): Mark as obsolete.
11746 (choose-completion): Make it work for mouse events as well.
11747 Pass the new base-position to choose-completion-string.
11748 (choose-completion-guess-base-position): New function, extracted from
11749 choose-completion-delete-max-match.
11750 (choose-completion-delete-max-match): Use it. Make obsolete.
11751 (choose-completion-string): Use the new base-position info.
11752 (completion-root-regexp): Delete.
11753 (completion-setup-function): Preserve completion-base-position.
11754 Eliminate obsolete base-size manipulation.
11755 * minibuffer.el (display-completion-list): Don't mess with base-size.
11756 (minibuffer-completion-help): Set completion-base-position instead.
11757 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
11759 * textmodes/bibtex.el (bibtex-complete):
11760 * emacs-lisp/crm.el (crm--choose-completion-string):
11761 Adjust to new calling convention.
11762 * complete.el (partial-completion-mode): Use minibufferp to avoid
11763 bumping into incompatible change to choose-completion-string-functions.
11764 * ido.el (ido-choose-completion-string): Make its calling convention
11766 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
11767 base-size manipulation.
11768 (comint-dynamic-list-input-ring): Use dotimes and push.
11769 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
11770 fundamental-mode. Use `or'.
11772 2009-10-14 Juri Linkov <juri@jurta.org>
11774 * misearch.el (multi-isearch-next-buffer-from-list)
11775 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
11777 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11779 * Makefile.in (compile-onefile): Load `bytecomp' rather than
11782 * minibuffer.el (completion-pcm--merge-completions): Make sure the
11783 string we return is all made up of text from the completions rather
11784 than part from the completions and part from the input (bug#4219).
11786 * ido.el (ido-everywhere): Use define-minor-mode.
11788 * buff-menu.el (list-buffers, ctl-x-map):
11789 Mark the entry points with ;;;###autoload cookies.
11791 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
11793 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
11794 correctly in the detached head case.
11795 (vc-git-print-log): Remove unused binding.
11797 * vc.el (vc-responsible-backend): When a directory is passed for
11798 for registration create a VC repository if no backend is
11799 responsible for the directory argument.
11800 (vc-deduce-fileset): Tell vc-responsible-backend to register.
11802 * vc.el: Move comments about RCS and SCCS ...
11804 * vc-sccs.el: ... here, respectively.
11806 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * minibuffer.el (completion--file-name-table): Return nil if there's
11809 no file completion, even if substitute-in-file-name changed
11810 the string (bug#4708).
11812 2009-10-13 Juri Linkov <juri@jurta.org>
11814 * files-x.el (read-file-local-variable-value): Don't filter out
11815 minor modes from mode name completion (bug#4664).
11817 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11819 * international/mule-cmds.el (ucs-names): Remove exclusion of
11820 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
11822 2009-10-13 Kenichi Handa <handa@m17n.org>
11824 * international/uni-name.el: Regenerated.
11826 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
11828 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
11829 should be automatically buffer-local, but isn't.)
11831 2009-10-12 Sam Steingold <sds@gnu.org>
11833 * progmodes/compile.el (compilation-next-error-function): Fix the
11834 timestamps if the buffer has been visited before.
11835 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
11836 non-anchored patterns, like the perl one (bug#3928).
11838 2009-10-12 Glenn Morris <rgm@gnu.org>
11840 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
11843 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
11845 * proced.el (proced-unload-function): New function.
11847 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
11848 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
11851 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
11853 2009-10-11 Juri Linkov <juri@jurta.org>
11855 * files-x.el (read-file-local-variable-value):
11856 Provide default value only for bound variables (bug#4664).
11858 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
11860 * net/tramp.el (tramp-local-host-p): Function shall return nil for
11861 connection methods like smb.
11863 * net/tramp-cache.el (tramp-flush-connection-property): The hash
11866 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
11867 (tramp-smb-file-name-handler-alist): Add handlers for
11868 `add-name-to-file', `make-symbolic-link'.
11869 (tramp-smb-handle-add-name-to-file)
11870 (tramp-smb-do-file-attributes-with-stat)
11871 (tramp-smb-handle-make-symbolic-link)
11872 (tramp-smb-get-cifs-capabilities): New defuns.
11873 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
11874 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
11875 (tramp-smb-handle-file-local-copy)
11876 (tramp-smb-handle-make-directory-internal)
11877 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11878 The file name syntax depends on cifs capabilities.
11879 (tramp-smb-handle-file-attributes):
11880 Call `tramp-smb-do-file-attributes-with-stat' if possible.
11881 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
11882 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
11884 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
11886 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
11887 (eieio-defclass): Apply deftype handler and setf-method properties
11889 (eieio-add-new-slot): Avoid union function from cl library.
11890 (eieio--typep): New function.
11891 (eieio-perform-slot-validation): Use it.
11893 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11895 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
11896 Update documentation to refer to the variables documented in r1.135.
11899 2009-10-10 Karl Fogel <kfogel@red-bean.com>
11901 * bookmark.el (Info-suffix-list): Remove this unused variable.
11902 (bookmark-current-point): Remove this obsolete variable.
11903 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
11904 Adjust for removal of bookmark-current-point.
11906 (bookmarks-already-loaded, bookmark-current-buffer)
11907 (bookmark-yank-point): Document. (Bug#4188)
11909 2009-10-10 Glenn Morris <rgm@gnu.org>
11911 * frame.el (frame-height): Doc fix.
11913 * calendar/calendar.el (calendar-split-width-threshold): New option.
11914 (calendar-basic-setup): Use calendar-split-width-threshold.
11916 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
11918 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
11919 Use .la for Automake.
11921 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
11923 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
11924 Use "autoreconf -i". Suggested by Andreas Schwab.
11926 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
11928 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
11929 Ideographic Supplement" range (U+1F200..U+1F2FF).
11931 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11933 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
11934 since the list will have been rebuilt anyway. (Bug#4349)
11936 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11938 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
11939 (bookmark-bmenu-execute-deletions): Don't save here, as
11940 bookmark-delete will now do so if necessary.
11941 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
11944 2009-10-09 Glenn Morris <rgm@gnu.org>
11946 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
11948 2009-10-09 Karl Fogel <kfogel@red-bean.com>
11950 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
11951 (bookmark-jump-other-window): Just invoke bookmark-jump with new
11952 argument now, so the two function's behaviors will match. (Bug#3645)
11954 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11956 * cedet/ede/proj.el (project-make-dist, project-compile-project):
11958 (ede-proj-dist-makefile): Use expand-file-name instead of concat
11959 to expand file names.
11961 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
11963 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
11964 (tramp-file-name-real-host, tramp-file-name-port):
11965 Apply `save-match-data'.
11967 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
11968 case both directories are remote.
11969 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
11970 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
11972 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
11974 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
11975 (ede-proj-target-makefile-objectcode): Use it.
11977 * cedet/ede/source.el (ede-want-any-source-files-p)
11978 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
11979 Return search result. This error was introduced while merging.
11981 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
11983 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
11985 2009-10-07 Glenn Morris <rgm@gnu.org>
11987 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
11990 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
11992 * files-x.el (read-file-local-variable): Include some
11993 non-user-variables in the completion table (bug#4664).
11995 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
11997 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
12000 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
12001 (tramp-smb-file-name-handler-alist): Add handler for
12002 `copy-directory', `expand-file-name', `set-file-modes'.
12003 (tramp-smb-handle-copy-directory)
12004 (tramp-smb-handle-expand-file-name)
12005 (tramp-smb-handle-set-file-modes): New defuns.
12006 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
12007 (tramp-smb-handle-file-attributes): Simplify check for retrieving
12009 (tramp-smb-handle-insert-directory): Don't flush the cache.
12010 (tramp-smb-maybe-open-connection): Check for samba client and
12013 2009-10-07 Eli Zaretskii <eliz@gnu.org>
12015 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
12016 to not error out of search for "^lisp=" fails.
12018 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
12020 * makefile.w32-in (WINS_UPDATES): New macro.
12021 (custom-deps, finder-data, autoloads): Use it.
12023 2009-10-07 Glenn Morris <rgm@gnu.org>
12025 * Makefile.in (autoloads): Revert previous change.
12026 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
12027 the list of preloaded files passed on the command-line, get
12028 it from src/Makefile.
12030 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
12031 show the original buffer rather than a random one.
12033 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
12035 * help.el (describe-no-warranty): Place point in a slightly better
12036 position in the GPLv3 text.
12038 2009-10-06 Sam Steingold <sds@gnu.org>
12040 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
12041 the comm attribute is present before calling regexp-quote.
12043 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
12045 * play/animate.el (animate-string): For good effect, make sure
12046 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
12048 * play/animate.el (animate-sequence, animate-birthday-present):
12049 * misc.el (butterfly): Don't set `indent-tabs-mode'.
12051 2009-10-06 Glenn Morris <rgm@gnu.org>
12053 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
12055 * emacs-lisp/autoload.el (autoload-excludes): New variable.
12056 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
12057 (batch-update-autoloads): Process a string value of autoload-excludes,
12058 set during the build process.
12059 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
12061 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
12062 inside with-parsed... macro so that `v' is defined.
12064 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
12065 * progmodes/fortran.el (fortran-end-of-block)
12066 (fortran-beginning-of-block):
12067 Also push mark in the macro case.
12069 * emerge.el (emerge-show-file-name):
12070 * calc/calc.el (calc-quit):
12071 * calc/calc-misc.el (calc-big-or-small):
12072 * calc/calc-graph.el (calc-graph-view):
12073 * calc/calc-ext.el (calc-reset):
12074 * calendar/calendar.el (calendar-basic-setup):
12075 Use window-full-height-p.
12077 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
12078 header we don't understand, don't insert another. (Bug#4624)
12079 If changing mime charset, insert the new one in the right place.
12081 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
12083 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
12084 (cal-tex-cursor-month): Correctly increment the end date for diary and
12085 holiday listing. (Bug#4626)
12087 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12089 * help-fns.el (describe-function-1): Don't burp if the function is not
12092 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
12094 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
12095 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
12096 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
12097 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
12099 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
12100 (eieio-default-superclass): Reflow docstrings.
12101 (this, class-option-assoc, defclass, eieio-class-un-autoload)
12102 (eieio-unbind-method-implementations, defmethod)
12103 (eieio-validate-slot-value, eieio-validate-class-slot-value)
12104 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
12105 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
12106 (eieio-slot-originating-class-p, eieio-slot-name-index)
12107 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
12108 (constructor, initialize-instance, no-next-method, object-print)
12109 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
12110 Fix typos in docstrings.
12111 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
12112 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
12113 (next-method-p): Doc fixes.
12114 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
12115 Fix typos in error messages.
12116 (eieio-defmethod): Fix typo in description of generic method.
12118 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
12119 (eieio-persistent-save-interactive, slot-missing):
12120 Fix typos in docstrings.
12121 (eieio-instance-inheritor-slot-boundp): Doc fix.
12123 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
12124 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
12126 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
12127 (eieio-custom-object-apply-reset):
12128 Fix typos in docstrings and error messages.
12130 * emacs-lisp/eieio-datadebug.el (data-debug-show):
12131 Fix typo in docstring.
12133 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
12134 (eieio-browse-tree): Doc fix.
12135 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
12136 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
12137 Fix typos in docstrings.
12139 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
12140 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
12141 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
12142 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
12145 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
12147 * vc-hg.el (log-view-vc-backend): Declare for compiler.
12148 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
12149 Set log-view-vc-backend so that diff can work.
12151 * log-view.el (log-view-diff): Use vc-diff-internal instead of
12153 (vc-diff-internal): Autoload this instead of vc-version-diff.
12155 2009-10-05 Eli Zaretskii <eliz@gnu.org>
12157 * simple.el (eval-expression): Doc fix.
12159 * progmodes/cwarn.el (cwarn-mode): Doc fix.
12161 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
12163 * files.el (directory-files-no-dot-files-regexp): New defconst.
12164 (delete-directory): Use it.
12165 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
12167 * net/tramp.el (tramp-verbose): Fix docstring.
12168 (tramp-methods): Add recursive option to `tramp-copy-args'.
12169 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
12170 "scp1_old", "scp2_old", "rsync", "rsyncc".
12171 (tramp-default-method): Check also for `auth-source-user-or-password'.
12172 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
12173 Add handler for `copy-directory'.
12174 (tramp-handle-copy-directory): New defun.
12175 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
12176 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
12177 Optimize sent command.
12179 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
12181 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
12182 window if necessary.
12184 * calendar/calendar.el (calendar-basic-setup): Don't call
12185 switch-to-buffer in a dedicated window.
12187 2009-10-05 Karl Fogel <kfogel@red-bean.com>
12189 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
12190 don't do anything related to relocating, just return nil.
12191 (bookmark-error-no-filename): New error.
12192 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
12193 bookmark has no file. Don't even attempt to handle things that
12194 are not files; the whole point of custom handlers is to keep that
12195 knowledge elsewhere anyway. Tighten some comments.
12196 (bookmark-file-or-variation-thereof): Remove now-unused function.
12197 (bookmark-location): Doc string fix.
12200 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12202 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
12203 don't use a file dialog, because they usually don't know how to read
12204 a directory target from the user. (Bug#4230)
12205 Also, make sure the prompt can display directories as well as files.
12207 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12209 * bookmark.el (bookmark-set, bookmark-buffer-name):
12210 Improve doc strings. (Bug#1193)
12212 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12214 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
12215 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
12216 (bookmark-get-annotation, bookmark-set-annotation)
12217 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
12218 (bookmark-set-position, bookmark-get-front-context-string)
12219 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
12220 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
12221 (bookmark-jump-other-window, bookmark-handle-bookmark)
12222 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
12223 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
12224 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
12225 Improve doc strings to say whether bookmark can be a string or
12226 a record or both, and make other consistency and clarity fixes.
12227 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
12228 (bookmark-default-annotation-text, bookmark-yank-word)
12229 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
12230 (bookmark-import-new-list, bookmark-maybe-rename)
12231 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12232 (bookmark-bmenu-bookmark): Give these doc strings.
12233 (bookmark-bmenu-check-position): Give this a doc string, but also
12234 add a FIXME comment about how the function may be pointless.
12235 (bookmark-default-handler): Rework doc string and change a
12236 parameter name, to clarify that this takes a bookmark record
12237 not a bookmark name.
12238 (bookmark-set): Change a parameter name to indicate its meaning,
12239 and improve the doc string a bit.
12242 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12244 * bookmark.el (bookmark-alist): Document the new `handler' element
12245 in the param alist.
12246 (bookmark-make-record-function): Adjust documentation for above.
12249 2009-10-04 Karl Fogel <kfogel@red-bean.com>
12251 * info.el (Info-bookmark-make-record): Document this function.
12252 (Info-bookmark-jump): Document with a doc string, not just a comment.
12255 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
12257 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
12258 (semantic-new-buffer-fcn): Call parser setup functions here.
12259 (semantic-mode): Don't call parser setup functions here, it's done
12260 in semantic-new-buffer-fcn now.
12261 (semantic-mode): Parse all existing buffers when enabled.
12263 * cedet/srecode/compile.el (srecode-compile-file):
12264 Call semantic-new-buffer-fcn if the buffer has not been parsed.
12266 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
12268 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
12270 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
12271 (proj-comp-insert-variable-once): New macro, renamed from
12272 ede-pmake-insert-variable-once in ede/pmake.edl.
12273 (ede-proj-makefile-insert-variables): Use it.
12275 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
12277 * files.el (copy-directory): New defun.
12279 * dired-aux.el (dired-copy-file-recursive): Use it.
12281 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12283 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
12284 (makefile-end-of-command):
12285 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
12286 (semantic-end-of-context): Fix previous change. Doc fixes.
12288 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
12290 * files-x.el (modify-dir-local-variable)
12291 (copy-dir-locals-to-file-locals-prop-line):
12292 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
12293 (makefile-end-of-command):
12294 * cedet/semantic/lex.el (semantic-lex-token):
12295 * cedet/semantic/analyze/fcn.el
12296 (semantic-analyze-dereference-metatype-1):
12297 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
12298 (semantic-lex-cpp-undef):
12299 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
12300 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
12301 (semantic-end-of-context): Fix typos in docstrings.
12303 * recentf.el (recentf-unload-function): New function.
12305 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
12307 * cedet/ede.el (ede-project-placeholder-cache-file):
12308 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
12309 * cedet/srecode/map.el (srecode-map-save-file):
12310 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
12312 2009-10-04 Glenn Morris <rgm@gnu.org>
12314 * window.el (window-full-height-p): Add doc string.
12316 2009-10-04 Martin Rudalics <rudalics@gmx.at>
12318 * window.el (window-full-height-p): New function. (Bug#4543)
12320 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
12322 * cedet/srecode/insert.el: Require srecode/args.
12324 * cedet/srecode/args.el: Require srecode/dictionary instead of
12327 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
12329 * files.el (auto-mode-alist): Add .srt and Project.ede.
12331 * cedet/semantic.el (semantic-mode):
12332 Handle srecode-template-mode-hook as well.
12333 (semantic-mode): Use js-mode-hook for Javascript hook.
12335 * cedet/srecode/template.el: Remove hook variable.
12337 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
12339 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
12341 (ede-project-placeholder-cache-file): Default to a file in
12342 user-emacs-directory.
12344 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
12345 templates in data-directory.
12346 (srecode-map-save-file): Default to a file in user-emacs-directory.
12348 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
12351 2009-09-30 Eric Ludlam <zappo@gnu.org>
12353 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
12356 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
12357 Only insert each variable once.
12359 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
12360 (ede-pmake-insert-variable-shared): Use it.
12362 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
12363 for lexical table iff table is nil.
12365 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
12367 * vc.el: Remove commented out code.
12368 (vc-derived-from-dir-mode): Remove, unused.
12369 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
12371 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
12373 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
12374 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
12375 there could be recursive loading when `default-directory' is a
12376 remote file name. (Bug#4614)
12378 2009-10-03 Glenn Morris <rgm@gnu.org>
12380 * calendar/calendar.el (calendar-basic-setup): Handle the case where
12382 (calendar-generate-window): Test for shrinkability rather than width.
12384 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
12385 declaration, currently false.
12387 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
12388 reusing existing buffers, in case we happen to visit two files with the
12389 same basename. (Bug#4593)
12391 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12393 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
12394 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
12395 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
12396 subdirs of cedet as well.
12397 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
12399 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
12401 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
12402 Obey advertised-signature-table.
12404 * help-fns.el (help-function-arglist): Don't check
12405 advertised-signature-table.
12406 (describe-function-1): Do it here instead so it also applies to subrs.
12408 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
12410 * simple.el (start-file-process): Say in the doc-string, that file
12411 handlers might not support pty association, if PROGRAM is nil.
12413 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
12414 HOST and USER are strings. They are nil, when there are
12415 incomplete entries in ~/.netrc, for example.
12416 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
12417 root directory ("device busy" error otherwise).
12419 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
12420 Flush file properties of created directory.
12422 2009-10-02 Eli Zaretskii <eliz@gnu.org>
12424 * makefile.w32-in (WINS_BASIC): Remove cedet.
12425 (WINS_CEDET): Add cedet.
12426 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
12428 2009-10-02 Kevin Ryde <user42@zip.com.au>
12430 * net/browse-url.el (browse-url): Pass any symbol in
12431 browse-url-browser-function to `apply', since if you've mistakenly put
12432 an unbound symbol then the error is clearer. (Bug#4531)
12434 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12436 * allout.el (allout-init, allout-back-to-current-heading)
12437 (allout-beginning-of-current-entry, allout-ascend-to-depth)
12438 (allout-ascend, allout-up-current-level, allout-end-of-level)
12439 (allout-previous-visible-heading, allout-forward-current-level)
12440 (allout-backward-current-level, allout-show-children):
12441 * apropos.el (apropos-describe-plist):
12442 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
12443 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
12444 * completion.el (add-completion, add-permanent-completion):
12445 * descr-text.el (describe-text-category, describe-char):
12446 * desktop.el (desktop-lazy-abort):
12447 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
12448 * dired.el (dired-build-subdir-alist):
12449 * ediff.el (ediff-version):
12450 * elide-head.el (elide-head, elide-head-show):
12451 * emerge.el (emerge-version):
12453 * face-remap.el (variable-pitch-mode):
12454 * faces.el (describe-face):
12455 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
12457 * files.el (find-file-existing, auto-save-mode):
12458 * font-lock.el (font-lock-fontify-buffer):
12459 * help-fns.el (describe-function, describe-variable)
12460 (describe-syntax, describe-categories):
12461 * help.el (view-lossage, describe-bindings, describe-key)
12463 * hexl.el (hexl-current-address):
12464 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
12465 * info.el (Info-goto-emacs-key-command-node):
12466 * log-edit.el (log-edit-insert-cvs-template)
12467 (log-edit-insert-cvs-rcstemplate):
12468 * menu-bar.el (menu-bar-mode):
12469 * mouse.el (mouse-appearance-menu):
12470 * newcomment.el (comment-indent-new-line):
12471 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
12472 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
12473 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
12474 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
12475 * recentf.el (recentf-mode):
12476 * savehist.el (savehist-mode, savehist-save):
12477 * shadowfile.el (shadow-copy-files):
12478 * simple.el (kill-ring-save, next-line, previous-line)
12479 (normal-erase-is-backspace-mode):
12480 * strokes.el (strokes-update-window-configuration)
12481 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
12482 (strokes-xpm-for-stroke):
12483 * time.el (emacs-uptime, emacs-init-time):
12484 * tutorial.el (tutorial--describe-nonstandard-key)
12485 (tutorial--detailed-help):
12486 * type-break.el (type-break-mode)
12487 (type-break-mode-line-message-mode, type-break-query-mode)
12488 (type-break-guesstimate-keystroke-threshold):
12489 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
12490 * version.el (emacs-version):
12491 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
12492 * winner.el (winner-mode):
12493 * calendar/timeclock.el (timeclock-in, timeclock-out)
12494 (timeclock-status-string, timeclock-change)
12495 (timeclock-workday-remaining-string)
12496 (timeclock-workday-elapsed-string)
12497 (timeclock-when-to-leave-string):
12498 * calendar/todo-mode.el (todo-add-category):
12499 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
12500 * emacs-lisp/autoload.el (update-file-autoloads):
12501 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
12502 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
12503 (checkdoc-message-text, checkdoc-defun):
12504 * emacs-lisp/debug.el (debugger-list-functions):
12505 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12506 * emacs-lisp/eieio-opt.el (eieio-describe-class)
12507 (eieio-describe-generic):
12508 * emacs-lisp/lisp-mnt.el (lm-synopsis):
12509 * emacs-lisp/shadow.el (list-load-path-shadows):
12510 * emulation/cua-base.el (cua-mode):
12511 * emulation/edt.el (edt-set-scroll-margins):
12512 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
12513 (tpu-toggle-regexp, tpu-toggle-search-direction)
12514 (tpu-toggle-rectangle, tpu-toggle-control-keys):
12515 * emulation/tpu-extras.el (tpu-set-scroll-margins):
12516 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
12517 (viper-set-parsing-style-toggling-macro)
12518 (viper-set-emacs-state-searchstyle-macros):
12519 * emulation/viper.el (viper-set-hooks):
12520 * eshell/esh-mode.el (eshell-truncate-buffer):
12521 * international/mule-cmds.el (prefer-coding-system)
12522 (describe-input-method, describe-language-environment):
12523 * international/mule-diag.el (list-character-sets)
12524 (describe-character-set, describe-coding-system)
12525 (describe-fontset, list-fontsets, list-input-methods):
12526 * mail/sendmail.el (mail-signature):
12527 * net/ange-ftp.el (ange-ftp-copy-file):
12528 * net/browse-url.el (browse-url):
12529 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
12530 * net/quickurl.el (quickurl-add-url):
12531 * net/rcirc.el (names, topic):
12532 * net/xesam.el (xesam-mode):
12533 * play/5x5.el (5x5-new-game):
12534 * play/yow.el (apropos-zippy):
12535 * progmodes/ada-mode.el (ada-mode-version):
12536 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
12538 (f90-beginning-of-block):
12539 * progmodes/fortran.el (fortran-end-of-block)
12540 (fortran-beginning-of-block):
12541 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
12542 * progmodes/python.el (python-describe-symbol, python-shell):
12543 * term/ns-win.el (ns-print-buffer):
12544 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
12545 * textmodes/flyspell.el (flyspell-mode-on):
12546 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
12547 (pages-directory-for-addresses):
12548 * textmodes/table.el (table-recognize-cell)
12549 (table-query-dimension, table-generate-source)
12550 (table-insert-sequence, table--warn-incompatibility):
12551 * textmodes/tex-mode.el (tex-validate-buffer):
12552 * textmodes/texinfmt.el (texinfmt-version)
12553 (texinfo-format-buffer):
12554 Use `called-interactively-p' instead of `interactive-p'.
12556 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
12558 * image-mode.el (image-toggle-display):
12559 * emacs-lisp/elp.el (elp-instrument-function):
12560 * emacs-lisp/advice.el (ad-make-advised-definition):
12561 * emacs-lisp/easy-mmode.el (define-minor-mode):
12562 * net/browse-url.el (browse-url-maybe-new-window):
12563 * progmodes/sh-script.el (sh-learn-buffer-indent):
12564 Pass new argument 'any to `called-interactively-p'.
12566 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12568 * international/uni-bidi.el:
12569 * international/uni-category.el:
12570 * international/uni-combining.el:
12571 * international/uni-comment.el:
12572 * international/uni-decimal.el:
12573 * international/uni-decomposition.el:
12574 * international/uni-digit.el:
12575 * international/uni-lowercase.el:
12576 * international/uni-mirrored.el:
12577 * international/uni-name.el:
12578 * international/uni-numeric.el:
12579 * international/uni-old-name.el:
12580 * international/uni-titlecase.el:
12581 * international/uni-uppercase.el:
12582 Regenerate from Unicode 5.2.0 data.
12584 2009-10-01 Glenn Morris <rgm@gnu.org>
12586 * Makefile.in (ELCFILES): Regenerate.
12588 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12590 * subr.el (interactive-p): Mark obsolete.
12591 (called-interactively-p): Make the optional-ness of `kind' obsolete.
12592 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
12593 advertised-signature-table for subroutines as well.
12595 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
12596 (set-advertised-calling-convention): New function.
12597 (make-obsolete, define-obsolete-function-alias)
12598 (make-obsolete-variable, define-obsolete-variable-alias):
12599 Make the optional-ness of `when' obsolete.
12600 (define-obsolete-face-alias): Make `when' non-optional.
12601 * help-fns.el (help-function-arglist):
12602 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
12603 Use advertised-signature-table.
12605 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
12607 * files.el (delete-directory): New defun. The original function
12608 in fileio.c has been renamed to `delete-directory-internal'.
12610 * dired.el (dired-delete-file): Call `delete-directory' with
12611 RECURSIVE parameter.
12613 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
12614 parameter RECURSIVE. Implementation is missing.
12616 * net/tramp.el (tramp-handle-make-directory): Flush upper
12617 directory's file properties.
12618 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
12619 (tramp-handle-dired-recursive-delete-directory): Flush directory
12620 properties after the remove command only.
12622 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12623 Handle optional parameter RECURSIVE.
12625 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12626 Handle optional parameter RECURSIVE.
12628 * net/tramp-smb.el (tramp-smb-errors): Add error message for
12629 connection timeout.
12630 (tramp-smb-handle-delete-directory): Handle optional parameter
12633 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
12635 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
12636 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
12637 (byte-compile-defmacro): Use backquotes.
12639 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
12641 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
12642 has no associated file.
12643 (vc-resynch-buffer): Use vc-dir-buffers.
12645 2009-10-01 Glenn Morris <rgm@gnu.org>
12647 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
12648 (chart-file-count):
12649 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
12650 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
12651 * emacs-lisp/eieio-opt.el (eieio-describe-class):
12652 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
12653 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
12654 (eieio-copy-parents-into-subclass, make-instance, class-children)
12655 (eieio-generic-form):
12656 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
12657 * cedet/cedet-idutils.el (cedet-idutils-search)
12658 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
12659 (cedet-idutils-version-check):
12660 * cedet/cedet.el (cedet-version):
12661 * cedet/data-debug.el (data-debug-insert-overlay-button)
12662 (data-debug-insert-overlay-list-button)
12663 (data-debug-insert-buffer-button)
12664 (data-debug-insert-buffer-list-button)
12665 (data-debug-insert-process-button, data-debug-insert-ring-button)
12666 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
12667 (data-debug-insert-stuff-vector-button)
12668 (data-debug-insert-symbol-button, data-debug-insert-string)
12669 (data-debug-insert-number, data-debug-insert-lambda-expression)
12670 (data-debug-insert-nil, data-debug-insert-simple-thing)
12671 (data-debug-insert-custom, data-debug-edebug-expr):
12672 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
12673 (global-ede-mode-map, ede-new, ede-debug-target)
12674 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
12675 * cedet/semantic.el (semantic-minimum-working-buffer-size)
12676 (semantic-fetch-tags, semantic-submode-list)
12677 (semantic-default-submodes):
12678 * cedet/ede/source.el (ede-source-match):
12679 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
12680 (project-am-package-info):
12681 * cedet/ede/proj.el (ede-proj-target, project-new-target):
12682 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
12683 * cedet/ede/proj-comp.el (ede-current-build-list):
12684 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
12685 * cedet/ede/files.el (ede-toplevel-project-or-nil):
12686 * cedet/ede/cpp-root.el (initialize-instance):
12687 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
12688 (autoconf-parameter-strip, autoconf-insert-new-macro):
12689 * cedet/semantic/wisent.el (wisent-lex-eoi):
12690 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
12691 (semantic-show-parser-state-mode):
12692 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
12693 * cedet/semantic/tag.el (semantic-tag-new-variable)
12694 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
12695 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
12696 (semantic--tag-deep-copy-tag-list)
12697 (semantic-tag-components-with-overlays-default):
12698 * cedet/semantic/symref.el (semantic-symref-find-text):
12699 * cedet/semantic/senator.el (senator-yank-tag)
12700 (senator-transpose-tags-up):
12701 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
12702 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
12703 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
12704 * cedet/semantic/lex.el (semantic-lex-comment-regex)
12705 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
12706 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
12707 * cedet/semantic/lex-spp.el
12708 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
12709 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
12710 * cedet/semantic/idle.el
12711 (semantic-idle-summary-current-symbol-info-brutish)
12712 (semantic-idle-summary-current-symbol-info-default):
12713 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
12714 (semantic--grammar-macro-compl-dict):
12715 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
12716 * cedet/semantic/format.el (semantic-format-tag-custom-list)
12717 (semantic-format-tag-canonical-name-default):
12718 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
12719 (semantic-find-tags-for-completion)
12720 (semantic-find-tags-by-scope-protection-default)
12721 (semantic-deep-find-tags-for-completion):
12722 * cedet/semantic/edit.el
12723 (semantic-edits-incremental-reparse-failed-hook)
12724 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
12725 (semantic-edits-splice-remove, semantic-edits-splice-replace):
12726 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
12727 * cedet/semantic/dep.el (semantic-dependency-include-path):
12728 * cedet/semantic/db.el (semanticdb-default-find-index-class)
12729 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
12730 (semanticdb-project-roots):
12731 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
12732 (semanticdb-find-adebug-insert-scanned-tag-cons)
12733 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
12734 (semanticdb-brute-deep-find-tags-for-completion):
12735 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
12736 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
12737 (semantic-end-of-context-default)
12738 (semantic-ctxt-current-function-default)
12739 (semantic-ctxt-scoped-types-default):
12740 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
12741 (semantic-complete-inline-tag-engine)
12742 (semantic-complete-inline-custom-type)
12743 (semantic-complete-read-tag-analyzer):
12744 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
12745 (semantic-chart-database-size):
12746 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
12747 (semantic-analyze-current-context):
12748 * cedet/semantic/symref/list.el (semantic-symref)
12749 (semantic-symref-hide-buffer, semantic-symref-symbol):
12750 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
12751 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
12752 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
12753 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
12754 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
12755 (semantic-c-dereference-template):
12756 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
12757 (semantic--analyze-refs-full-lookup-with-parents)
12758 (semantic--analyze-refs-full-lookup-simple):
12759 * cedet/semantic/analyze/complete.el
12760 (semantic-analyze-possible-completions):
12761 * cedet/srecode/table.el (srecode-mode-table-new):
12762 * cedet/srecode/srt.el (srecode-read-variable-name):
12763 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
12764 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
12765 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
12766 * cedet/srecode/map.el (srecode-current-map):
12767 * cedet/srecode/insert.el (srecode-insert)
12768 (srecode-insert-variable-secondname-handler, srecode-insert-method)
12769 (srecode-template-inserter-point-override)
12770 (srecode-insert-include-lookup):
12771 * cedet/srecode/getset.el (srecode-auto-choose-class):
12772 * cedet/srecode/extract.el (srecode-inserter-extract):
12773 * cedet/srecode/document.el
12774 (srecode-document-autocomment-return-last-alist)
12775 (srecode-document-autocomment-param-type-alist)
12776 (srecode-document-insert-function-comment)
12777 (srecode-document-insert-variable-one-line-comment)
12778 (srecode-document-function-name-comment):
12779 * cedet/srecode/dictionary.el (srecode-create-dictionary)
12780 (srecode-compound-toString):
12781 * cedet/srecode/compile.el (srecode-flush-active-templates):
12782 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
12785 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
12786 match-data. (Bug#4555).
12788 * cedet/semantic/bovine/gcc.el
12789 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
12790 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
12792 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
12793 rather than parsing it as a regexp. This relaxes the layout
12794 requirements and makes errors easier to detect.
12795 (check-declare-verify): Check file is regular.
12796 (check-declare-directory): Doc fix.
12797 * subr.el (declare-function): Doc fix.
12799 * ibuffer.el (ibuffer-format-qualifier):
12800 * isearch.el (hi-lock-regexp-okay):
12801 * calc/calc.el (math-zerop):
12802 * mail/uce.el (rmail-msgbeg, rmail-msgend):
12803 * term/w32-win.el (setup-default-fontset, set-fontset-font):
12804 Remove unused declarations.
12806 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
12808 * cedet/semantic/wisent/javat-wy.el
12809 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
12811 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
12813 * cedet/srecode/expandproto.el: Fix provide statement.
12815 2009-09-30 Eric Ludlam <zappo@gnu.org>
12817 * emacs-lisp/eieio.el (boolean-p): Delete.
12819 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
12821 * cedet/ede/srecode.el: Fix provide statement.
12823 2009-09-30 Glenn Morris <rgm@gnu.org>
12825 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
12826 * cedet/ede/proj-aux.el (ede-aux-source):
12827 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
12829 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
12830 (semantic-mrub-switch-tags): Fix doc typos.
12832 * cedet/semantic/db-global.el (data-debug-new-buffer)
12833 (data-debug-insert-thing): Remove unneeded declarations (one broken).
12834 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
12836 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
12838 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
12839 use of CL function `remove-if-not'.
12841 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
12843 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
12844 filename is not a string.
12846 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
12848 * files.el (safe-local-eval-forms): Fix typo.
12850 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * vc-hooks.el (vc-dir-buffers): New var.
12853 (vc-state-refresh): New function.
12854 (vc-state): Use it.
12855 (vc-after-save): Always ask the backend to recompute the new state.
12856 Always call vc-dir if necessary, using vc-dir-buffers.
12857 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
12858 Use vc-dir-buffers.
12859 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
12860 (vc-dir-prepare-status-buffer, vc-dir-update)
12861 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
12862 Don't call expand-file-name on default-directory.
12864 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12866 * speedbar.el (speedbar-item-delete):
12867 * calc/calc-prog.el (calc-kbd-if):
12868 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
12870 * epa.el (epa-key-list-mode-map):
12871 * hi-lock.el (hi-lock-menu): Fix typos in menus.
12873 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
12874 (hs-show-hook): Fix typo in docstring.
12876 2009-09-29 Glenn Morris <rgm@gnu.org>
12878 * cedet/semantic/symref/idutils.el:
12879 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
12881 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
12883 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
12884 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
12885 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
12886 Mark declarations not understood by check-declare.
12888 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
12889 file-name-nondirectory call preventing location of cedet files.
12890 (check-declare-verify): Use literal search rather than re-search.
12891 Add basic defmethod and defclass, and define-overloadable-function.
12893 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12894 Use tramp-compat-file-attributes rather than nonexistent
12895 tramp-compat-handle-file-attributes.
12897 * Makefile.in (lisptagsfiles4): New.
12898 (AUTOGENEL): Add cedet loaddefs files.
12899 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
12900 (update-elclist, compile-always, backup-compiled-files)
12901 (bootstrap-clean): Add yet another directory level.
12902 (update-elclist): Use LC_COLLATE rather than COLLATE.
12903 (ELCFILES): Update, via `make update-elclist'.
12905 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
12907 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
12908 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
12909 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
12911 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
12913 * Makefile.in (lisptagsfiles3): Define.
12914 (TAGS, TAGS-LISP): Use it.
12915 (update-elclist): Add third directory level to look for elc files.
12916 (compile-always): Likewise.
12917 (backup-compiled-files): Likewise.
12918 (bootstrap-clean): Likewise.
12919 (ELCFILES): Update.
12921 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
12923 * Makefile.in (ELCFILES): Add CEDET files.
12925 2009-09-28 Eric Ludlam <zappo@gnu.org>
12927 CEDET (development tools) package merged.
12931 * cedet/semantic/*.el:
12932 * cedet/srecode/*.el: New files.
12934 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
12936 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
12938 * net/tramp.el (top): Require tramp-imap.
12940 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
12941 Use `tramp-compat-handle-file-attributes'.
12943 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
12945 * net/tramp-imap.el: New package.
12947 2009-09-28 Eric Ludlam <zappo@gnu.org>
12949 * emacs-lisp/chart.el:
12950 * emacs-lisp/eieio-base.el:
12951 * emacs-lisp/eieio-comp.el:
12952 * emacs-lisp/eieio-custom.el:
12953 * emacs-lisp/eieio-datadebug.el:
12954 * emacs-lisp/eieio-opt.el:
12955 * emacs-lisp/eieio-speedbar.el:
12956 * emacs-lisp/eieio.el: New files.
12958 * cedet/cedet-cscope.el:
12959 * cedet/cedet-files.el:
12960 * cedet/cedet-global.el:
12961 * cedet/cedet-idutils.el:
12962 * cedet/data-debug.el:
12963 * cedet/inversion.el:
12964 * cedet/mode-local.el:
12965 * cedet/pulse.el: New files.
12967 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12969 * whitespace.el (whitespace-trailing-regexp)
12970 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
12973 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
12975 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
12978 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
12979 menu-bar-ediff-menu.
12981 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
12982 define-overloadable-function.
12984 * progmodes/autoconf.el: Provide autoconf as well, so that this
12985 file can be `require'd.
12987 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
12989 * emacs-lisp/autoload.el (generated-autoload-feature)
12990 (generated-autoload-load-name): New vars.
12991 (autoload-rubric, autoload-generate-file-autoloads): Use them.
12992 (make-autoload): Recognize define-overloadable-function and
12993 defclass forms (for EIEIO).
12995 * Makefile.in (update-subdirs): Exclude cedet directory.
12997 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
12999 * term/ns-win.el: Don't set the region face background. (Bug#4381)
13001 * faces.el: Default light-background background for region face to
13002 ns_selection_color under NS.
13004 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
13006 * net/imap-hash.el: New library, see NEWS.
13008 * Makefile.in (ELCFILES): Add imap-hash.el.
13010 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
13013 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
13014 * help-macro.el (make-help-screen): Avoid using an ambiguous function
13015 definition where the docstring could be taken for the return value.
13017 2009-09-26 Glenn Morris <rgm@gnu.org>
13019 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
13020 Add option to only show images below a certain size.
13021 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
13022 save-excursion calls.
13024 2009-09-26 Eli Zaretskii <eliz@gnu.org>
13026 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
13027 subdirectories) and eieio.
13029 2009-09-26 Alan Mackenzie <acm@muc.de>
13031 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
13032 buggy bracketing. (Bug#4289)
13034 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
13035 character constants (as case labels). (Bug#4289)
13037 2009-09-25 Juri Linkov <juri@jurta.org>
13039 * files.el (safe-local-eval-forms): Allow time-stamp in
13040 before-save-hook (Bug#4554).
13042 2009-09-25 Drew Adams <drew.adams@oracle.com>
13044 * menu-bar.el (list-buffers-directory): Doc fix.
13046 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
13049 Try and avoid copying twice the same paragraph.
13050 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
13051 Remove save-excursion.
13052 (log-edit-changelog-entry): Do it here instead.
13054 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
13056 * bs.el (bs--get-file-name): Use `list-buffers-directory'
13057 when available, instead of hardcoding mode names. Doc fix.
13059 * menu-bar.el (list-buffers-directory): Add docstring.
13060 Make automatically buffer-local.
13062 * dired.el (dired-mode):
13063 * files.el (cd-absolute):
13064 * pcvs.el (cvs-temp-buffer):
13065 * pcvs-util.el (cvs-get-buffer-create):
13066 * shell.el (shell-mode):
13067 * vc-dir.el (vc-dir-mode):
13068 Don't make `list-buffers-directory' buffer local.
13070 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
13072 * comint.el (comint-exec, comint-run, make-comint):
13073 Doc fixes (Bug#4542).
13075 2009-09-25 Glenn Morris <rgm@gnu.org>
13077 * mail/rmailmm.el (rmail-mime): New custom group.
13078 Move all defcustoms in this file into this group.
13079 (rmail-mime-media-type-handlers-alist): Revert previous change.
13080 (rmail-mime-show-images): New option.
13081 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
13082 references to it, since it wasn't actually used for anything.
13083 (rmail-mime-insert-image): New function.
13084 (rmail-mime-image): Use rmail-mime-insert-image.
13085 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
13086 obey the value of `rmail-mime-show-images' option. Print the size of
13089 2009-09-25 David Engster <deng@randomsample.de>
13091 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
13093 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13095 * whitespace.el: Does not highlight trailing spaces While point is
13096 at end of line. Does not highligt spaces at beginning of buffer
13097 while point is at beginning of buffer. Does not highlight spaces
13098 at end of buffer while point is at end of buffer. (Bug#4177)
13100 (whitespace-display-mappings): Adjust initialization.
13101 (whitespace-point, whitespace-font-lock-refontify): New vars.
13102 (whitespace-color-on, whitespace-color-off): Adjust code.
13103 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
13104 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
13105 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
13107 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
13109 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
13111 * textmodes/sgml-mode.el: Remove xml-mode alias.
13113 * files.el (auto-mode-alist, conf-mode-maybe)
13114 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
13116 2009-09-24 Alan Mackenzie <acm@muc.de>
13118 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
13119 c-forward-conditionals, but it doesn't move point and doesn't set
13121 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
13122 (c-down-conditional-with-else, c-backward-conditional)
13123 (c-forward-conditional): Refactor to use c-scan-conditionals.
13125 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13127 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
13128 (help-default-arg-highlight): Remove.
13129 (help-highlight-arg): New function.
13130 (help-do-arg-highlight): Use it.
13131 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
13133 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13135 * term.el (term-set-scroll-region, term-handle-ansi-escape):
13136 Undo last change, which didn't fix the problem and introduced others.
13138 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
13140 * progmodes/gdb-mi.el: Don't require speedbar.
13141 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
13143 2009-09-24 Glenn Morris <rgm@gnu.org>
13145 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
13147 * term/ns-win.el (ns-reg-to-script): Define for compiler.
13149 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
13150 there is no newline after the final mime boundary. (Bug#4539)
13151 Move markers on insertion so that any buttons inserted don't end up in
13152 the next part of a multipart message.
13153 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
13154 (rmail-mime-bulk-handler): Optionally handle images.
13155 (rmail-mime-image): New button action.
13156 (rmail-mime-image-handler): New function.
13157 (rmail-mime-mode): New mode.
13158 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
13160 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
13162 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
13163 than just dropping elements from it (bug#4504).
13165 * term.el (term-set-scroll-region): Don't move cursor any more.
13166 (term-handle-ansi-escape): Call term-goto here instead.
13167 Suggested by Ivan Kanis <apple@kanis.eu>.
13169 * term.el: Require CL.
13170 (term-ansi-reset): New function.
13171 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
13172 (term-handle-colors-array): Simplify.
13174 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
13176 * allout.el (allout-overlay-interior-modification-handler)
13177 (allout-obtain-passphrase):
13178 * epa-file.el (epa-file-write-region):
13179 * ps-print.el (ps-begin-job):
13180 * vc-hooks.el (vc-toggle-read-only):
13181 * vc-rcs.el (vc-rcs-rollback):
13182 * vc-sccs.el (vc-sccs-rollback):
13183 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
13184 (vc-version-diff, vc-revert, vc-rollback):
13185 * wdired.el (wdired-check-kill-buffer):
13186 * emacs-lisp/authors.el (authors):
13187 * net/socks.el (socks-open-connection):
13188 * net/zeroconf.el (zeroconf-service-add-hook):
13189 * obsolete/vc-mcvs.el (vc-mcvs-register):
13190 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
13191 (gdb-select-frame):
13192 * progmodes/grep.el (lgrep, rgrep):
13193 * progmodes/idlw-help.el (idlwave-help-check-locations)
13194 (idlwave-help-html-link, idlwave-help-assistant-open-link):
13195 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13196 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
13197 (reftex-toc-rename-label): Fix typos in error messages.
13199 * dired-aux.el (dired-do-shell-command): Reflow docstring.
13200 (dired-copy-how-to-fn): Doc fix.
13201 (dired-files-attributes, dired-read-shell-command):
13202 Fix typos in docstrings.
13204 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
13205 (dired-x-find-file-other-window): Reflow docstrings.
13206 (dired-omit-marker-char, dired-read-shell-command)
13207 (dired-x-submit-report): Fix typos in docstrings.
13209 * shell.el (shell-mode-hook):
13210 * view.el (View-scroll-line-forward):
13211 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
13212 Fix typos in docstrings.
13214 * net/dig.el (dig-invoke): Fix typo in docstring.
13215 (query-dig): Reflow docstring.
13217 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
13218 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
13219 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
13220 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
13221 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
13222 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
13223 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
13224 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
13225 (idlwave-completion-map, idlwave-current-indent)
13226 (idlwave-custom-ampersand-surround, idlwave-customize)
13227 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
13228 (idlwave-define-abbrev, idlwave-determine-class-special)
13229 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
13230 (idlwave-end-block-reg, idlwave-end-of-statement)
13231 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
13232 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
13233 (idlwave-explicit-class-listed, idlwave-file-header)
13234 (idlwave-fill-paragraph, idlwave-find-class-definition)
13235 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
13236 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
13237 (idlwave-in-quote, idlwave-indent-action-table)
13238 (idlwave-indent-expand-table, idlwave-indent-line)
13239 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
13240 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
13241 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
13242 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
13243 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
13244 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
13245 (idlwave-outlawed-buffers, idlwave-popup-select)
13246 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
13247 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
13248 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
13249 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
13250 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
13251 (idlwave-statement-type, idlwave-struct-skip)
13252 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
13253 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
13254 (idlwave-what-module-find-class): Fix typos in docstrings.
13255 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
13256 (idlwave-calculate-cont-indent, idlwave-expand-equal)
13257 (idlwave-find-module, idlwave-find-structure-definition)
13258 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
13259 (idlwave-list-load-path-shadows, idlwave-next-statement)
13260 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
13261 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
13262 (idlwave-template): Reflow docstrings.
13264 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
13265 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
13266 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
13267 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
13268 (idlwave-shell-display-line, idlwave-shell-display-wframe)
13269 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
13270 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
13271 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
13272 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
13273 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
13274 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
13275 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
13276 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
13277 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
13278 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
13279 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
13280 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
13281 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
13282 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
13283 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
13284 Fix typos in docstrings.
13285 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
13286 (idlwave-shell-hide-output, idlwave-shell-mode)
13287 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
13290 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
13292 2009-09-24 Ivan Kanis <apple@kanis.eu>
13294 * term.el (term-bold-attribute): New var.
13295 (term-handle-colors-array): Use it.
13297 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
13299 * progmodes/gdb-mi.el (gdb-version): New variable.
13300 (gdb-non-stop-handler): Set gdb-version.
13301 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
13302 Condition "--thread" option on gdb-version.
13303 (gdb-invalidate-threads): Remove unused argument.
13305 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13307 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
13308 to looking-back to avoid ridiculous slow down in large files (bug#4511).
13310 2009-09-23 Glenn Morris <rgm@gnu.org>
13312 * mail/rmail.el (rmail-reply): Don't try to add a References header when
13313 replying to mail without References or Message-Id. (Bug#4525)
13315 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
13317 * term/ns-win.el (ns-reg-to-script): New variable.
13319 2009-09-23 Daiki Ueno <ueno@unixuser.org>
13321 * epg.el (epg-wait-for-status): Preserve existing 'error results.
13323 2009-09-22 Sam Steingold <sds@gnu.org>
13325 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
13326 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
13327 to 1 because hg returns status 1 when nothing is found.
13328 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
13330 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
13332 * textmodes/fill.el: Convert to utf-8 encoding.
13333 (fill-french-nobreak-p): Remove redundant » and « inherited from our
13336 * add-log.el (change-log-fill-forward-paragraph): New function.
13337 (change-log-mode): Use it so fill-region DTRT.
13338 Set fill-indent-according-to-mode here rather than in
13339 change-log-fill-paragraph.
13340 (change-log-fill-paragraph): Remove.
13342 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
13344 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
13345 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
13347 2009-09-22 Glenn Morris <rgm@gnu.org>
13349 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
13350 the scroll-bar scroll the calendar window rather than the buffer.
13352 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
13353 commands that move point (as opposed to scrolling).
13355 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
13357 * emacs-lisp/elint.el (elint): New custom group.
13358 (elint-log-buffer): Make it a defcustom.
13359 (elint-scan-preloaded, elint-ignored-warnings)
13360 (elint-directory-skip-re): New options.
13361 (elint-builtin-variables): Doc fix.
13362 (elint-preloaded-env): New variable.
13363 (elint-unknown-builtin-args): Add an entry for encode-time.
13364 (elint-extra-errors): Make it a variable rather than a constant.
13365 (elint-preloaded-skip-re): New constant.
13366 (elint-directory): Skip files matching elint-directory-skip-re.
13367 (elint-features): New variable, local to linted buffers.
13368 (elint-update-env): Initialize elint-features. Possibly add
13369 elint-preloaded-env to the buffer's environment.
13370 (elint-get-top-forms): Bind elint-current-pos, for log messages.
13372 (elint-init-form): New function, extracted from elint-init-env.
13373 Make non-list forms a warning rather than an error.
13374 Add the mode-map for define-derived-mode. Handle define-minor-mode,
13375 easy-menu-define, put that adds an error-condition, and provide.
13376 When requiring cl, also require cl-macs. Really require cl, to handle
13377 some cl macros. Store required libraries in the list elint-features,
13378 so as not to re-load them. Treat cc-require like require.
13379 (elint-init-env): Call elint-init-form to do the work.
13380 Handle eval-and-compile and such like.
13381 (elint-add-required-env): Do not clear messages.
13382 (elint-special-forms): Add handlers for function, defalias, if, when,
13384 (elint-form): Add optional argument to ignore elint-special-forms,
13385 useful to prevent recursive calls from handlers. Doc fix.
13386 Respect elint-ignored-warnings.
13387 (elint-form): Respect elint-ignored-warnings.
13388 (elint-bound-variable, elint-bound-function): New variables.
13389 (elint-unbound-variable): Respect elint-bound-variable.
13390 (elint-get-args): Respect elint-bound-function.
13391 (elint-check-cond-form): Add some simple handling for (f)boundp and
13393 (elint-check-defalias-form): New handler.
13394 (elint-check-let-form): Make an empty let a warning rather than an
13396 (elint-check-setq-form): Make an empty setq a warning rather than an
13397 error. Respect elint-ignored-warnings.
13398 (elint-check-defvar-form): Accept null doc-strings.
13399 (elint-check-conditional-form): New handler. Does some simple-minded
13400 checking of featurep and (f)boundp tests.
13401 (elint-put-function-args): New function.
13402 (elint-initialize): Use elint-scan-doc-file rather than
13403 elint-find-builtin-variables. Use elint-put-function-args.
13404 Possibly scan preloaded-file-list.
13405 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
13406 extend to handle functions as well.
13408 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
13410 * linum.el (linum-delete-overlays, linum-update-window):
13411 Do not modify the right margin. (Bug#3971)
13413 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
13415 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
13416 nxml-mode instead of xml-mode.
13418 2009-09-21 Kevin Ryde <user42@zip.com.au>
13420 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
13422 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13424 * net/dig.el (dig-mode): Use define-derived-mode.
13426 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
13428 * vc-dispatcher.el (vc-do-command): Return the process object in
13429 the asynchronous case. Use when instead of if. Do not run
13430 vc-exec-after to display a message if not enabled. (Bug#4463)
13432 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
13433 properties to the stash strings.
13434 (vc-git-stash-list): Return a list of strings.
13435 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
13436 (vc-git-stash-show-at-point): New functions.
13437 (vc-git-stash-map): New keymap.
13439 * register.el (ctl-x-r-map): Define the keys here instead of
13442 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
13444 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
13445 list, to workaround performance problem (bug#4485).
13447 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
13449 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
13451 2009-09-20 Daiki Ueno <ueno@unixuser.org>
13453 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
13454 Document that this option is not recommended to use.
13456 2009-09-19 Glenn Morris <rgm@gnu.org>
13458 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
13461 * calc/calc-alg.el (var):
13462 * calc/calcalg2.el (var): Define for compiler.
13464 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
13466 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
13467 Doc fix (Bug#3932).
13469 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
13471 * time-stamp.el (time-stamp-month-dd-yyyy)
13472 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
13473 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
13474 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
13475 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
13476 Remove functions that have been obsolete since 1995 (Bug#4436).
13478 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
13479 indent buffer only if called interactively (Bug#4452).
13481 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
13482 Eli Zaretskii <eliz@gnu.org>
13484 This fixes bug#4197 (merged to bug#865, though not identical).
13485 * server.el (server-auth-dir): Add docstring note about FAT32.
13486 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
13487 but warn against using them.
13489 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
13491 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
13492 older GDB where there is no has_more field.
13494 2009-09-19 Glenn Morris <rgm@gnu.org>
13496 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
13498 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
13500 * files.el (auto-mode-alist): Change default for XML files to nXML
13503 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
13505 * server.el (server-ensure-safe-dir): Pass 'integer
13506 to `file-attributes', as suggested.
13508 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
13510 * dired-aux.el (dired-query-alist): Remove spurious backslash.
13511 (dired-query): Use read-key.
13513 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
13515 * cus-start.el (ns-use-qd-smoothing): Remove.
13517 2009-09-18 Glenn Morris <rgm@gnu.org>
13519 * allout.el (top-level): Remove unnecessary progn.
13521 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
13523 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
13524 definition of abbrev table.
13526 * speedbar.el (speedbar-track-mouse):
13527 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
13528 * net/eudc.el (eudc-expand-inline):
13529 * net/newst-backend.el (newsticker--cache-read-feed):
13530 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
13531 condition-case handlers.
13533 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
13535 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
13536 (gdb-var-list): Add an element for has_more field.
13537 (gdb-non-stop-handler): Enable pretty printing for STL containers.
13538 (gdb-var-create-handler, gdb-var-list-children-handler-1)
13539 (gdb-var-update-handler-1): Parse output of dynamic variable
13540 objects (STL containers).
13541 (gdb-var-delete-1): Pass var1 as an explicit second argument.
13542 (gdb-get-field): Delete alias. Use bindat-get-field directly.
13544 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
13546 (gud-speedbar-buttons): Make node expandable if expression "has more"
13549 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
13551 * startup.el (emacs-quick-startup): Remove variable and all uses.
13552 (command-line): Set `inhibit-x-resources' instead.
13553 (command-line-1): Use `inhibit-x-resources' instead.
13555 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
13557 * subr.el: Fix last change to avoid using the `unless' macro,
13558 which breaks bootstrapping.
13560 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13562 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
13563 extended definitions, in case we reload subr.el after having
13565 (eval-next-after-load): Mark as obsolete.
13567 2009-09-17 Juri Linkov <juri@jurta.org>
13569 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
13570 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
13571 (menu-bar-showhide-menu, menu-bar-tools-menu)
13572 (menu-bar-describe-menu, menu-bar-help-menu)
13573 (minibuffer-local-completion-map, minibuffer-local-map):
13576 2009-09-17 Glenn Morris <rgm@gnu.org>
13578 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
13579 arguments, whether or not it has a handler.
13581 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
13583 * simple.el (hard-newline): Give it a doc-string.
13585 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13586 (lisp-mode-syntax-table): Give them doc-strings.
13588 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
13590 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
13591 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
13592 (menu-bar-options-menu, menu-bar-showhide-menu)
13593 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
13594 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
13595 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
13596 (menu-bar-options-menu, menu-bar-tools-menu)
13597 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
13598 (menu-bar-help-menu):
13599 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
13602 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
13603 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
13604 calls for the menu names and :help.
13606 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
13608 * mouse.el (minor-mode-menu-from-indicator): Pay attention
13609 to :minor-mode-function (bug#4455).
13611 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13613 * startup.el (command-line): Initialize the window-system after
13614 processing the command-line.
13616 * textmodes/page.el (what-page): Make sure we don't inf-loop if
13617 page-delimiter matches the empty string.
13619 2009-09-16 Glenn Morris <rgm@gnu.org>
13621 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
13622 byte-compile-not-obsolete-var. It's a list now.
13623 (byte-compile-not-obsolete-funcs): New variable.
13624 (byte-compile-warn-obsolete): Don't warn about functions if they are in
13625 byte-compile-not-obsolete-funcs.
13626 (byte-compile-variable-ref, byte-compile-defvar): Update for
13627 byte-compile-not-obsolete-vars name-change and list nature.
13628 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
13629 and variables behind (f)boundp tests.
13630 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
13632 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13634 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
13636 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13638 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
13639 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
13642 2009-09-15 Stephen Eglen <stephen@gnu.org>
13644 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
13645 the virtual-buffers, use the name of the buffer specified by
13646 find-file-noselect, as the match may be a symlink. (This was a
13647 problem if the target and the symlink had different names.)
13649 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13651 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
13653 * desktop.el (desktop-path): Check user-emacs-directory.
13655 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
13657 * loadup.el: Use after-load-functions to GC after loading each file.
13658 Remove the explicit GC calls that used to be sprinkled around.
13660 * subr.el (after-load-functions): New hook.
13661 (do-after-load-evaluation): Run it. Use string-match-p to detect
13662 `obsolete' packages, rather than painfully extracting the relevant
13665 2009-09-15 Glenn Morris <rgm@gnu.org>
13667 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
13668 free variable `doc'.
13670 * dired.el (dired-mode-map): Add menu entry for async shell command.
13672 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
13673 variables, also consider the .elc files, since the .el files are
13674 normally gzipped (subsequent code locates the .el.gz from the .elc).
13676 * calc/calc-prog.el (arglist): Define for compiler.
13678 * calendar/diary-lib.el (diary-display-function): Change the default to
13680 (body): Define for compiler.
13682 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
13683 (byte-compile-file-form, byte-compile-lambda)
13684 (byte-compile-top-level-body, byte-compile-form)
13685 (byte-compile-variable-ref, byte-compile-setq)
13686 (byte-compile-setq-default, byte-compile-body)
13687 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
13688 (batch-byte-compile): Give some more local variables with common names
13689 a "bytecomp-" prefix to avoid masking warnings about free variables.
13691 * startup.el (command-line-1): Give local variables with common names a
13692 distinguishing prefix, so as not to hide free variable warnings during
13695 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
13696 clever and add a suffix to make a unique name, just let the user decide
13697 whether or not to overwrite it. If the input is a directory, write the
13698 default filename to that directory. (Bug#4388)
13699 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
13700 is a filename-as-a-directory.
13702 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
13704 * textmodes/page.el (what-page): Don't move to beginning of line.
13705 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
13707 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
13709 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
13711 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
13713 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
13714 * help.el (help-for-help-internal): Add purecopy calls for text.
13716 * vc.el (top): print-log method now takes an optional SHORTLOG
13717 argument. Add a new method: root.
13718 (vc-root-diff, vc-print-root-log): New functions.
13719 (vc-log-short-style): New variable.
13720 (vc-print-log-internal): Add support for showing short logs.
13722 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
13723 vc-print-root-log and vc-print-root-diff.
13725 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
13726 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
13727 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
13730 * vc-cvs.el (vc-cvs-print-log):
13731 * vc-mtn.el (vc-mtn-print-log):
13732 * vc-rcs.el (vc-rcs-print-log):
13733 * vc-sccs.el (vc-sccs-print-log):
13734 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
13735 that is ignored for now.
13737 * vc-mtn.el (vc-mtn-annotate-command):
13738 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
13740 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13742 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
13743 to function-key-map, and give them ascii-character property.
13744 * term/x-win.el (x-alternatives-map):
13745 * term/ns-win.el (ns-alternatives-map):
13746 * term/internal.el (msdos-key-remapping-map):
13747 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
13749 2009-09-14 Glenn Morris <rgm@gnu.org>
13751 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
13752 temp-buffers (2009-09-12).
13754 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13756 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
13757 the new read-key function.
13759 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13761 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
13762 is defined (Bug#4405).
13764 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
13766 * recentf.el (recentf-cleanup): Use a hash table to find
13767 duplicates (Bug#4407).
13769 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
13771 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
13772 kp-0 to ascii equivalents (Bug#4325).
13774 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
13776 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
13778 * eshell/em-hist.el:
13779 * eshell/em-dirs.el (eshell-complete-user-reference):
13780 Declare pcomplete functions and variables to avoid compiler warnings.
13782 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
13784 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
13785 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
13786 * eshell/em-alias.el (eshell-aliases-file):
13787 * eshell/em-hist.el (eshell-history-file-name):
13788 Use expand-file-name instead of concat to make file names (Bug#4308).
13790 2009-09-13 Glenn Morris <rgm@gnu.org>
13792 * ediff-merg.el (ediff-do-merge):
13793 * filesets.el (filesets-run-cmd):
13794 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
13795 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
13796 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
13797 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
13798 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
13799 Replace empty `let's with `progn'.
13801 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
13803 * mail/sendmail.el (send-mail-function):
13804 * tooltip.el (tooltip-mode):
13805 * simple.el (transient-mark-mode):
13806 * rfn-eshadow.el (file-name-shadow-mode):
13807 * frame.el (blink-cursor-mode):
13808 * font-core.el (global-font-lock-mode):
13809 * files.el (temporary-file-directory)
13810 (small-temporary-file-directory, auto-save-file-name-transforms):
13811 * epa-hook.el (auto-encryption-mode):
13812 * composite.el (global-auto-composition-mode):
13813 Use custom-initialize-delay.
13814 * startup.el (command-line): Don't explicitly call
13815 custom-reevaluate-setting for all the above vars.
13816 * custom.el (custom-initialize-safe-set)
13817 (custom-initialize-safe-default): Delete.
13819 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13821 * term/x-win.el (x-initialize-window-system):
13822 * term/w32-win.el (w32-initialize-window-system):
13823 * term/ns-win.el (ns-initialize-window-system): Don't call
13824 mouse-wheel-mode since it's enabled globally by default already.
13826 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
13827 actually define the variable, but only silences the byte-compiler.
13828 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
13829 before looking it up.
13830 (mouse-wheel-scroll-amount): Also reset the bindings if this value
13833 2009-09-12 Glenn Morris <rgm@gnu.org>
13835 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
13837 (elint-add-required-env): Don't beep on error.
13838 (elint-forms): In case of error, return ENV unchanged.
13839 (elint-init-env): Skip non-list forms.
13840 (elint-log): Handle unknown file positions.
13842 2009-09-12 Daiki Ueno <ueno@unixuser.org>
13844 * epg.el (epg-make-context): Add autoload cookie.
13845 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
13846 (epg-decrypt-string, epg-start-verify, epg-verify-file)
13847 (epg-verify-string, epg-start-sign, epg-sign-file)
13848 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
13849 (epg-encrypt-string, epg-start-export-keys)
13850 (epg-export-keys-to-file, epg-export-keys-to-string)
13851 (epg-start-import-keys, epg-import-keys-from-file)
13852 (epg-import-keys-from-string, epg-start-receive-keys)
13853 (epg-receive-keys, epg-import-keys-from-server)
13854 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
13855 (epg-sign-keys, epg-start-generate-key)
13856 (epg-generate-key-from-file, epg-generate-key-from-string):
13857 Remove autoload cookie.
13859 2009-09-12 Eli Zaretskii <eliz@gnu.org>
13861 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
13862 reevaluation of trash-directory.
13864 * mwheel.el: Fix last change.
13865 (mouse-wheel-mode): New defvar.
13866 (mouse-wheel-mode): Remove autoload cookie.
13868 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
13870 * mwheel.el (mwheel-installed-bindings): New var.
13871 (mouse-wheel-mode): Use it, so as to make sure we really remove all
13872 the bindings we set last time. Use custom-initialize-delay.
13873 * loadup.el: Load mwheel after term/*-win.el.
13874 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
13875 and mouse-wheel-up-event now that their first evaluation is done
13876 sufficiently late to be correct.
13878 * startup.el (tutorial-directory): Make it a defcustom.
13879 Use custom-initialize-delay rather than eval-at-startup to set it.
13880 * image.el (image-load-path): Make it a defcustom.
13881 Use custom-initialize-delay rather than eval-at-startup to set it.
13882 * subr.el (eval-at-startup): Remove.
13883 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
13885 * subr.el (do-after-load-evaluation): Warn the user after loading an
13888 2009-09-12 Glenn Morris <rgm@gnu.org>
13890 * proced.el (proced-mark-alt): Remove alias.
13891 (proced-mode-map): Remove proced-mark-alt.
13893 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
13894 Elint file and directory. Remove initialization entry.
13896 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
13898 (elint-current-buffer): Set mode-line-process.
13899 (elint-init-env): Handle define-derived-mode.
13900 Fix declare-function with unspecified arglist. Guard against odd
13901 defalias statements (eg iso-insert's 8859-1-map).
13902 (elint-add-required-env): Use a temp buffer.
13903 (elint-form): Just print the function/macro name, not the whole form.
13904 Return env unchanged if we fail to parse a macro.
13905 (elint-forms): Guard against parse errors.
13906 (elint-output): New function, to handle batch mode.
13907 (elint-log-message): Add optional argument. Use elint-output.
13908 (elint-set-mode-line): New function.
13910 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
13912 * emacs-lisp/elp.el (elp-not-profilable): Add more
13913 functions (Bug#4233).
13915 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
13917 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
13918 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
13920 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13922 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
13923 (gdb-var-list-children): Use json parsing.
13925 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
13927 * progmodes/js.el (js--proper-indentation): Handle the case where
13928 char-before is null. Reported by Deniz Dogan.
13930 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13932 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
13934 2009-09-11 Daiki Ueno <ueno@unixuser.org>
13936 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
13937 (epg-digest-algorithm-alist): Add SHA224.
13938 (epg-context-set-passphrase-callback)
13939 (epg-context-set-progress-callback): Add description about
13942 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13944 * custom.el (custom-delayed-init-variables): New var.
13945 (custom-initialize-delay): New function.
13946 * startup.el (command-line): "Re"evaluate all vars in
13947 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
13948 explicitly any more.
13949 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
13950 to avoid creating a ~/.emacs.d at build-time (bug#4347).
13952 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
13954 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
13956 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
13957 (gdb-var-update-handler): Use json parsing.
13959 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
13961 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
13962 decode annotated text, regardless of language environment. (Bug#2741)
13964 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
13966 * Makefile.in (autoloads): Make rmail.el writable as well.
13968 2009-09-11 Glenn Morris <rgm@gnu.org>
13970 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
13972 * dired.el: Regenerate with extracted autoloads.
13973 * Makefile.in (autoloads): Make dired.el writable.
13975 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
13976 * ibuffer.el: Regenerate with extracted autoloads.
13977 * Makefile.in (autoloads): Make ibuffer.el writable.
13979 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
13980 * version.el (emacs-copyright, emacs-major-version)
13981 (emacs-minor-version): Reformat doc-strings for make-docfile.
13983 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
13984 functions and variables, since they must be stuff specific to some other
13986 (apropos-print): Make mouse-click message less specific about button.
13988 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
13989 that records where a macro was defined.
13990 * help-fns.el (describe-function-1): Mention if a function has a
13992 * help-mode.el (help-function-cmacro): New button.
13994 * locate.el (top-level): Always require dired.
13995 (locate-mode-map): Initialize inside the defvar.
13997 * net/ange-ftp.el (dired-compress-file): Declare.
13998 (ange-ftp-dired-compress-file): Add doc string.
14000 * term/ns-win.el (x-display-name, x-setup-function-keys):
14001 Unify doc-strings with X versions.
14003 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
14005 * emulation/crisp.el (crisp-mode-map): Move initialization
14007 (crisp-mode): Use define-minor-mode.
14009 * progmodes/xscheme.el (xscheme-evaluation-commands):
14010 Put a :advertised-binding property rather than using
14011 advertised-xscheme-send-previous-expression.
14012 (advertised-xscheme-send-previous-expression): Declare obsolete.
14013 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
14015 (crisp-mode): Add corresponding bindings to
14016 undo's :advertised-binding instead.
14017 * dired.el (dired-mode-map): Put a :advertised-binding property rather
14018 than using dired-advertised-find-file.
14019 (dired-advertised-find-file):
14020 * simple.el (advertised-undo):
14021 * wid-edit.el (advertised-widget-backward): Declare obsolete.
14022 (widget-keymap): Put a :advertised-binding property rather
14023 than using advertised-widget-backward.
14024 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
14025 than using advertised-undo.
14026 * tutorial.el (tutorial--default-keys): Adjust accordingly.
14028 2009-09-10 Simon South <ssouth@slowcomputing.org>
14030 * progmodes/delphi.el (delphi-tab): Indent region when Transient
14031 Mark mode is enabled and region is active; otherwise indent or
14032 insert TAB as usual.
14033 (delphi-mode): Update description of TAB-key binding.
14035 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
14037 * subr.el (define-key-rebound-commands): Mark obsolete.
14038 * startup.el (precompute-menubar-bindings): Remove.
14039 (normal-top-level): Remove obsolete code that tried to precompute
14041 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
14042 define-key-rebound-commands and precompute-menubar-bindings.
14044 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
14046 * net/imap.el (imap-interactive-login): Better messages.
14047 (imap-open): Fix bug with renamed buffer on reconnect.
14048 (imap-authenticate): Add buffer-local imap-last-authenticator variable
14049 for easier debugging and cleaner code. On successful (guessed based on
14050 server capabilities) secondary authentication, set imap-state
14052 (imap-last-authenticator): Define imap-last-authenticator as a variable
14055 2009-09-10 Glenn Morris <rgm@gnu.org>
14057 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
14059 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
14060 (byte-compile-file-form-autoload): Don't warn about unknown functions
14061 where the autoload statement comes after the use.
14062 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
14063 that any handlers inside the body (eg require) are in turn respected.
14065 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
14068 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
14069 and syntax and abbrev tables basic docs, if they don't have any.
14071 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
14073 * international/mule-cmds.el (top-level): Require cl when compiling.
14074 (view-hello-file): Use default-value rather than
14075 default-enable-multibyte-characters.
14077 * progmodes/fortran.el: Move all safe and risky properties into the
14080 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
14081 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
14082 * mail/undigest.el:
14083 Put autoloads in rmail.el rather than loaddefs.el.
14084 * mail/rmail.el: Regenerate with extracted autoloads.
14086 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
14087 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
14089 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
14091 Reported in thread for Bug#4375.
14092 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
14093 "-data-evaluate-expression" instead of print.
14094 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
14095 (gdb-tooltip-print): Parse output from above MI command.
14096 (gdb): Revert 2009-08-11 change. User should detach inferior
14099 Remove the word "separate" from IO functions as inferior
14100 output is now never displayed in the GUD buffer.
14102 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
14104 * startup.el (command-line-normalize-file-name): On Windows and
14105 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
14107 2009-09-10 Juri Linkov <juri@jurta.org>
14109 * isearch.el (isearch-text-char-description): Propertize escape
14110 character sequences with the `escape-glyph' face. (Bug#4344)
14112 * simple.el (shell-command): Set asynchronous process filter to
14113 `comint-output-filter'. (Bug#4343)
14115 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
14116 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
14117 the list. Move "asm" to the bottom.
14118 (grep-find-ignored-directories): Add `choice' with nil value
14119 to empty the list easily.
14120 (grep-find-ignored-files): New option.
14121 (grep-files-history): Set to nil by default instead of '("ch" "el").
14122 (grep-compute-defaults): Add "<X>" to `grep-template'.
14123 (grep-read-files): Bind new local variables `default-alias' and
14124 `default-extension'. Use a list of default values for the file prompt.
14125 (lgrep): Add `--exclude=' command line options composed from
14126 `grep-find-ignored-files'.
14127 (rgrep): Add `-name' command line options composed from
14128 `grep-find-ignored-files'. (Bug#4301)
14130 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
14132 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
14135 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
14137 * calendar/time-date.el (autoload):
14138 Expand define-obsolete-function-alias into defalias and make-obsolete
14139 for old Emacsen that Gnus supports.
14140 (with-no-warnings): Define it for old Emacsen.
14141 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
14143 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
14144 float-time is available; suppress compile warning for time-to-seconds.
14146 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
14148 * net/imap.el (imap-message-map): Docstring fix.
14150 2009-09-09 Glenn Morris <rgm@gnu.org>
14152 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
14153 line numbers too. (Bug#4374)
14155 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
14157 * smerge-mode.el (smerge-remove-props, smerge-refine):
14158 Use with-silent-modifications (bug#4342).
14160 * subr.el (with-silent-modifications): New macro.
14162 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
14164 * files.el (top-level): Require `cl' when compiling.
14166 2009-09-07 Glenn Morris <rgm@gnu.org>
14168 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
14170 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
14171 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
14173 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
14175 * vc-git.el (vc-git-annotate-command): Use separator to parse
14176 arguments correctly.
14178 2009-09-06 Eli Zaretskii <eliz@gnu.org>
14180 * proced.el (proced-mode): Doc fix.
14182 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
14184 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
14186 (tramp-do-file-attributes-with-ls): Check for file existence at
14188 (tramp-do-file-attributes-with-stat): Likewise.
14189 (tramp-convert-file-attributes): Return nil when attr is nil.
14191 2009-09-05 Glenn Morris <rgm@gnu.org>
14193 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
14194 properties to this button.
14195 (diary-fancy-display): Don't extend the button to the final newline.
14196 (diary-fancy-display-mode): Continue to define "q" as a local key.
14198 * calendar/cal-china.el (holiday-chinese): Make it slightly more
14201 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
14203 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
14204 (byte-compile-dest-file-function): New option.
14205 (byte-compile-dest-file): Doc fix.
14206 Obey byte-compile-dest-file-function.
14207 (byte-compile-cl-file-p): New function.
14208 (byte-compile-eval): Only suppress noruntime warnings about cl functions
14209 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
14210 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
14211 than for file being previously loaded.
14212 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
14213 (byte-compile-file-form-require): Handle the case where requiring a file
14214 indirectly causes CL to be loaded.
14216 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14218 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
14219 before killing the old buffer, since by the time `kill-buffer' is
14220 run so many buffer variables have been set to nil that it may not
14221 behave as expected. (Bug#4061)
14223 2009-09-05 Karl Fogel <kfogel@red-bean.com>
14225 * files.el (find-alternate-file): If the old buffer is modified
14226 and visiting a file, behave similarly to `kill-buffer' when
14227 killing it, thus reverting to the pre-1.878 behavior; see
14228 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
14229 for discussion. Also, consult `buffer-file-name' as a variable
14230 not as a function, for consistency with the rest of the code.
14232 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
14234 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
14235 also when adding a new directory.
14237 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
14240 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
14242 * files.el (locate-file-completion-table): Make it provide boundary
14243 information, so partial-completion works better.
14245 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
14247 * mail/footnote.el (Footnote-text-under-cursor):
14248 Check footnote-text-marker-alist before using it (bug#4324).
14250 2009-09-04 Glenn Morris <rgm@gnu.org>
14252 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
14253 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
14254 * play/solitaire.el, play/tetris.el:
14255 Remove leading * from defcustom and defface docs.
14257 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
14259 (diary-fancy-overriding-map): New variable.
14260 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
14263 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
14266 2009-09-03 Glenn Morris <rgm@gnu.org>
14268 * arc-mode.el (archive-mode):
14269 * dos-fns.el (set-default-process-coding-system):
14270 * man.el (Man-getpage-in-background):
14271 * menu-bar.el (menu-bar-describe-menu):
14272 * server.el (server-process-filter):
14273 * startup.el (command-line):
14274 * tar-mode.el (tar-header-block-tokenize, tar-extract):
14275 * w32-fns.el (set-default-process-coding-system):
14276 * x-dnd.el (x-dnd-handle-file-name):
14277 * international/mule-cmds.el (mule-menu-keymap)
14278 (set-default-coding-systems, language-info-alist, set-language-info)
14279 (set-language-environment, standard-display-european-internal)
14280 (set-locale-environment):
14281 * international/mule-diag.el (mule-diag):
14282 * mail/emacsbug.el (report-emacs-bug):
14283 * mail/rmail.el (rmail-mode):
14284 * mail/sendmail.el (mail-setup):
14285 Use default-value rather than default-enable-multibyte-characters.
14287 * progmodes/f90.el: Move all safe properties into the defcustoms.
14288 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
14290 * calendar/appt.el (appt-check):
14291 * calendar/diary-lib.el (diary-set-header, diary-live-p)
14292 (diary-check-diary-file, diary-list-entries)
14293 (diary-include-other-diary-files, diary-simple-display)
14294 (diary-fancy-display, diary-print-entries)
14295 (diary-mark-included-diary-files, diary-make-entry):
14296 Don't call substitute-in-file-name on diary-file.
14298 2009-09-03 Eduard Wiebe <usenet@pusto.de>
14299 Stefan Monnier <monnier@iro.umontreal.ca>
14301 * mail/footnote.el (footnote-prefix): Make it a defcustom.
14302 (footnote-mode-map): Move initialization into the declaration.
14303 (footnote-minor-mode-map): Define it rather than changing global-map.
14304 (footnote-mode): Use define-minor-mode.
14306 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
14308 * net/tramp.el (tramp-handle-file-attributes-with-ls)
14309 (tramp-do-file-attributes-with-perl)
14310 (tramp-do-file-attributes-with-stat): Rename from
14311 `tramp-handle-file-attributes-with-*'.
14312 (tramp-handle-file-attributes): Use them.
14313 (tramp-do-directory-files-and-attributes-with-perl)
14314 (tramp-do-directory-files-and-attributes-with-stat): Rename from
14315 `tramp-handle-directory-files-and-attributes-with-*'.
14316 (tramp-handle-directory-files-and-attributes): Use them.
14317 (tramp-method-out-of-band-p): Additional parameter SIZE.
14318 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
14319 (tramp-handle-write-region): Use it.
14320 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
14321 (tramp-handle-vc-registered): Check, whether the first run did
14322 return files to be tested.
14323 (tramp-advice-make-auto-save-file-name): Do not call directly
14324 `tramp-handle-make-auto-save-file-name', because this would bypass
14325 the locking mechanism.
14327 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
14328 (file-remote-p, process-file, start-file-process, set-file-times)
14329 (tramp-compat-file-attributes): Compatibility functions shall not
14330 call directly `tramp-handle-*', because this would bypass the
14332 (tramp-compat-number-sequence): New defun.
14334 2009-09-02 Glenn Morris <rgm@gnu.org>
14336 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
14337 alias for float-time.
14338 (time-to-number-of-days): In Emacs, use float-time.
14339 * net/newst-backend.el (time-add): Suppress warnings from compat
14341 * time.el (emacs-uptime, emacs-init-time):
14342 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
14343 Use float-time rather than time-to-seconds.
14345 * minibuffer.el (completion-initials-expand): Fix typo.
14347 * faces.el (modeline, modeline-inactive, modeline-highlight)
14348 (modeline-buffer-id):
14349 * info.el (info-menu-5): Mark these face aliases as obsolete.
14351 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14353 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
14355 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
14356 no "--thread" option.
14357 (gdb-stopped): Don't print "Switched to thread" message when it is
14360 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
14362 * minibuffer.el (completion-try-completion)
14363 (completion-all-completions): Remove ill-defined (and
14364 mistakenly installed and luckily never used nor documented)
14365 `completion-styles' property.
14366 (completion-initials-expand, completion-initials-all-completions)
14367 (completion-initials-try-completion): New functions.
14368 (completion-styles-alist): Add doc to each entry.
14369 Add new `initials' entry.
14371 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
14373 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
14374 MI command -var-evaluate-expression.
14375 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
14376 and tweak for case of string child.
14377 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
14379 2009-09-01 Glenn Morris <rgm@gnu.org>
14381 * add-log.el (change-log-date-face, change-log-name-face)
14382 (change-log-email-face, change-log-file-face, change-log-list-face)
14383 (change-log-conditionals-face, change-log-function-face)
14384 (change-log-acknowledgement-face):
14385 * cus-edit.el (custom-invalid-face, custom-rogue-face)
14386 (custom-modified-face, custom-set-face, custom-changed-face)
14387 (custom-saved-face, custom-button-face, custom-button-pressed-face)
14388 (custom-documentation-face, custom-state-face, custom-comment-face)
14389 (custom-comment-tag-face, custom-variable-tag-face)
14390 (custom-variable-button-face, custom-face-tag-face)
14391 (custom-group-tag-face-1, custom-group-tag-face):
14392 * diff-mode.el (diff-header-face, diff-file-header-face)
14393 (diff-index-face, diff-hunk-header-face, diff-removed-face)
14394 (diff-added-face, diff-changed-face, diff-function-face)
14395 (diff-context-face, diff-nonexistent-face):
14396 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
14397 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
14398 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
14399 (Info-title-4-face):
14400 * isearch.el (isearch-lazy-highlight-face):
14401 * log-view.el (log-view-file-face, log-view-message-face):
14402 * paren.el (show-paren-match-face, show-paren-mismatch-face):
14403 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
14404 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
14406 * smerge-mode.el (smerge-mine-face, smerge-other-face)
14407 (smerge-base-face, smerge-markers-face):
14408 * wid-edit.el (widget-documentation-face, widget-button-face)
14409 (widget-field-face, widget-single-line-field-face)
14410 (widget-inactive-face, widget-button-pressed-face):
14411 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
14412 (woman-addition-face):
14413 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
14414 (eshell-ls-executable-face, eshell-ls-readonly-face)
14415 (eshell-ls-unreadable-face, eshell-ls-special-face)
14416 (eshell-ls-missing-face, eshell-ls-archive-face)
14417 (eshell-ls-backup-face, eshell-ls-product-face)
14418 (eshell-ls-clutter-face):
14419 * eshell/em-prompt.el (eshell-prompt-face):
14420 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
14421 * obsolete/old-whitespace.el (whitespace-highlight-face):
14422 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
14423 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
14424 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
14425 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
14426 (antlr-font-lock-literal-face):
14427 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
14428 (ebrowse-root-class-face, ebrowse-file-name-face)
14429 (ebrowse-default-face, ebrowse-member-attribute-face)
14430 (ebrowse-member-class-face, ebrowse-progress-face):
14431 * progmodes/make-mode.el (makefile-space-face):
14432 * progmodes/sh-script.el (sh-heredoc-face):
14433 * textmodes/flyspell.el (flyspell-incorrect-face)
14434 (flyspell-duplicate-face):
14435 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
14436 * textmodes/texinfo.el (texinfo-heading-face):
14437 Mark face aliases with "-face" suffix as obsolete.
14439 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
14442 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
14443 (eudc-bob-sound-menu): Use defvar rather than defconst, since
14444 easy-menu-define wants to modify these.
14446 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
14448 * net/browse-url.el (browse-url-file-url):
14449 * term/internal.el (dos-codepage-setup):
14450 Use default-value rather than default-enable-multibyte-characters.
14452 * progmodes/etags.el (etags-goto-tag-location):
14453 * progmodes/flymake.el (flymake-highlight-line)
14454 (flymake-goto-file-and-line, flymake-goto-line):
14455 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
14456 (gdb-goto-breakpoint):
14457 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
14458 * progmodes/python.el (python-find-function)
14459 (python-pdbtrack-track-stack-file):
14460 * progmodes/verilog-mode.el (verilog-surelint-off):
14461 * term/ns-win.el (ns-open-file-select-line):
14462 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
14463 Use forward-line rather than goto-line.
14465 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
14466 * textmodes/reftex-index.el (reftex-display-index):
14467 * textmodes/reftex-ref.el (reftex-offer-label-menu):
14468 * textmodes/reftex-toc.el (reftex-toc):
14469 Remove unnecessary bindings of default-major-mode (all are followed by
14470 major-mode check and possible mode switch).
14472 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14474 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14475 Handle watchpoints (bug#4282).
14476 (def-gdb-thread-buffer-command): Enable thread to be selected by
14477 clicking without selecting threads buffer first.
14478 (gdb-current-context-command): Use selected frame so that "up",
14479 "down" etc work in the GUD buffer.
14480 (gdb-update): Find selected frame before rendering stack buffer.
14481 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
14483 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
14485 * progmodes/sym-comp.el (displayed-completions): Remove.
14486 (symbol-complete): Use minibuffer-complete.
14488 2009-08-31 Glenn Morris <rgm@gnu.org>
14490 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
14492 * apropos.el (apropos-symbols-internal):
14493 Handle (obsolete) face aliases.
14495 * faces.el (describe-face): Adjust the output format to be more like
14496 describe-variable, and to mention (obsolete) face aliases.
14497 Adjust the whitespace so that help-setup-xref works.
14499 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
14500 * calendar/diary-lib.el (diary-button-face):
14501 Mark these face aliases as obsolete.
14503 * calendar/calendar.el (calendar-today): Doc fix.
14505 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
14507 * progmodes/gdb-mi.el (gdb-control-all-threads)
14508 (gdb-control-current-thread): Force tool bar update.
14509 (gdb-non-stop-handler): New function.
14510 (gdb-init-1): Use it to test if non-stop mode is supported.
14511 Remove unused gdbmi buffer type.
14513 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
14515 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
14516 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
14518 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
14520 * comint.el (comint-exec-1): Check command is non-null first.
14521 Part of gdb-mi.el change (2009-08-28).
14523 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14525 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
14527 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
14529 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
14530 instead of `dolist' to avoid a recursive require when bootstrapping.
14532 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14534 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
14536 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
14538 * net/imap.el (imap-send-command): Simplify.
14539 (imap-wait-for-tag): point-max -> buffer-size.
14541 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
14543 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
14544 with constant argument.
14546 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
14548 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
14550 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
14551 Change default, since most of our files don't have a history.
14552 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
14555 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14558 * calc/calc.el: Improve commenting convention.
14559 (calc-digit-map, toplevel): Simplify.
14561 * comint.el (comint-insert-input): Be careful to only set point if we
14562 don't delegate to some other command.
14564 * proced.el (proced-signal-list): Make it an alist.
14565 (proced-grammar-alist): Capitalize names.
14566 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
14567 Disable undo manually and make it read-only.
14568 Use completion-annotate-function.
14570 * minibuffer.el (minibuffer-message): If the current buffer is not
14571 a minibuffer, insert the message in the echo area rather than at the
14573 (completion-annotate-function): New variable.
14574 (minibuffer-completion-help): Use it.
14575 (completion--embedded-envvar-table): Environment vars are
14576 always case-sensitive.
14578 2009-08-30 Glenn Morris <rgm@gnu.org>
14580 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
14581 from fortran-current-defun.
14582 (fortran-beginning-of-subprogram): Be more precise about finding the
14583 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
14584 (fortran-end-of-subprogram): Simplify.
14585 (fortran-current-defun): Use fortran-start-prog-re.
14587 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
14589 * subr.el (do-after-load-evaluation): Simplify.
14591 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
14593 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
14595 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
14596 (vc-rcs-print-log): Use it.
14598 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
14600 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
14602 * paths.el (abbrev-file-name): Move to abbrev.el.
14603 * abbrev.el (abbrev-file-name): Move from paths.el.
14604 Obey user-emacs-directory.
14605 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
14606 user-emacs-directory.
14607 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
14608 abbrev-file-name and calc-settings-file any more.
14609 * startup.el (command-line): Recompute abbrev-file-name and
14610 abbreviated-home-dir.
14611 (normal-no-mouse-startup-screen): Improve the generic code and get rid
14612 of the special code for when C-h bindings haven't been changed.
14613 (display-startup-echo-area-message): Use with-current-buffer.
14614 (command-line-1): Use a list of strings, rather than a list of lists
14615 of strings for longopts.
14617 * files.el (get-free-disk-space): Use / for default-directory.
14619 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
14620 Use with-current-buffer.
14622 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
14623 Recognize immutable variables like most-positive-fixnum.
14624 (byte-compile-setq-default): Check and warn if trying to assign
14625 to an immutable variable, or a non-variable.
14627 * progmodes/cc-vars.el (c-comment-continuation-stars):
14628 * progmodes/cc-engine.el (c-looking-at-bos):
14629 * progmodes/cc-cmds.el (c-toggle-auto-state)
14630 (c-forward-into-nomenclature, c-backward-into-nomenclature)
14631 (c-comment-line-break-function): Add version of obsolescence.
14633 2009-08-28 Juri Linkov <juri@jurta.org>
14635 * files.el (magic-fallback-mode-alist): Add ZIP magic number
14636 associated with `archive-mode'.
14638 * image.el (image-type-header-regexps): Use only JPEG magic number
14639 to determine JPEG images, and don't use `image-jpeg-p' because
14640 Emacs can display non-JFIF non-Exif JPEG images.
14642 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14644 * arc-mode.el (archive-mode):
14645 * emacs-lisp/re-builder.el (re-builder-unload-function):
14646 Protect against the default value of `major-mode' being nil.
14648 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
14650 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
14651 Fix typos in docstrings.
14653 * progmodes/js.el (js--macro-decl-re): Doc fix.
14654 (js--plain-method-re, js--split-name): Refloc docstring.
14655 (js--class-styles, js--make-merged-item, js--splice-into-items):
14656 Fix typos in docstrings; reflow docstrings.
14657 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
14658 (js--variable-decl-matcher, js--inside-pitem-p)
14659 (js--parse-state-at-point, js--get-all-known-symbols)
14660 (js--symbol-history, js-find-symbol, js--js-references)
14661 (js--moz-interactor, js--js-encode-value, js--read-tab):
14662 Fix typos in docstrings.
14664 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14666 * textmodes/reftex.el (reftex-get-file-buffer-force):
14667 * progmodes/verilog-mode.el (verilog-batch-execute-func):
14668 * emulation/viper.el (viper-go-away, viper-set-hooks):
14669 * emacs-lisp/re-builder.el (re-builder-unload-function):
14670 * emacs-lisp/bytecomp.el (byte-compile-file):
14671 * ses.el (ses-unload-function):
14672 * hexl.el (hexl-find-file):
14673 * files.el (normal-mode):
14674 * ehelp.el (with-electric-help):
14675 * autoinsert.el (auto-insert-alist):
14676 * arc-mode.el (archive-mode):
14677 Use (default-value 'major-mode) instead of default-major-mode.
14679 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
14680 * international/mule.el (load-with-code-conversion):
14681 * emacs-lisp/debug.el (debug):
14682 * ediff-vers.el (ediff-rcs-get-output-buffer):
14683 * dired.el (dired-internal-noselect): Don't let-bind
14684 default-major-mode around code that doesn't use it.
14685 E.g. buffer creation via get-buffer-create doesn't use it.
14687 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
14689 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
14690 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
14691 when writing the temp file. Otherwise, epa-file gets confused.
14692 (tramp-register-file-name-handlers): Make it a defun. Move also
14693 `epa-file-handler' to the front of `file-name-handler-alist'.
14695 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14697 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
14698 start right after a ^M.
14699 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
14700 (tramp-completion-file-name-regexp-separate)
14701 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
14702 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
14703 Don't modify last-coding-system-used by accident.
14704 (tramp-completion-file-name-handler): Apply the checks here,
14705 instead during registration.
14706 (tramp-register-file-name-handlers): Renamed from
14707 `tramp-register-file-name-handler'. Register both
14708 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
14709 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
14711 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
14713 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
14714 Remove variable ...
14715 (gdb-init-1, gdb-display-separate-io-buffer)
14716 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
14718 (gdb-inferior-io-mode): Use make-comint-in-buffer.
14719 (gdb-inferior-filter): Use comint-output-filter to stop
14720 echoing and remove ^M characters.
14722 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14724 * emulation/viper-init.el (viper-restore-cursor-type):
14725 * emulation/cua-base.el (cua--update-indications):
14726 Replace default-cursor-type with (default-value 'cursor-type).
14728 * mail/sendmail.el (mail-recover-1):
14729 * international/mule-diag.el (describe-current-coding-system-briefly)
14730 (describe-current-coding-system):
14731 * international/mule-cmds.el (select-safe-coding-system)
14732 (select-message-coding-system)
14733 (set-language-environment-coding-systems, set-locale-environment):
14734 * hexl.el (hexl-insert-multibyte-char):
14735 * dos-w32.el (find-buffer-file-type-coding-system):
14736 * simple.el (what-cursor-position):
14737 Replace uses of default-buffer-file-coding-system
14738 with (default-value 'buffer-file-coding-system).
14740 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
14741 Replace uses of default-cursor-in-non-selected-windows
14742 with (default-value 'cursor-in-non-selected-windows).
14743 Use with-current-buffer.
14745 * mail/feedmail.el: Use CL macros.
14746 (feedmail-run-the-queue, feedmail-send-it-immediately):
14747 * dos-w32.el (find-buffer-file-type): Replace uses of
14748 default-buffer-file-type with (default-value 'buffer-file-type).
14750 2009-08-28 Glenn Morris <rgm@gnu.org>
14752 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
14753 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
14754 Use default-value of major-mode rather than default-major-mode.
14756 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14758 * Makefile.in (update-elcfiles): Report left over elc files.
14760 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
14761 expand-file-name and with-current-buffer.
14762 (mail-get-names, mail-directory): Use with-current-buffer.
14764 * vc.el (vc-read-revision): New function.
14765 (vc-version-diff, vc-merge): Use it.
14767 2009-08-27 Sam Steingold <sds@gnu.org>
14769 * simple.el (kill-do-not-save-duplicates): New user option.
14770 (kill-new): When it is non-nil, and the new string is the same as
14771 the latest kill, set replace to t to avoid duplicates in kill-ring.
14773 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
14775 * net/tramp.el (tramp-handle-process-file): Do not flush all
14776 caches when `process-file-side-effects' is set.
14777 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
14778 instead of `tramp-find-file-exists-command'.
14779 Unset `process-file-side-effects'.
14781 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
14783 * net/tramp.el (tramp-methods): New method "rsyncc".
14784 (top): Add completion function for "rsyncc".
14785 (tramp-message-show-message): New defvar.
14786 (tramp-message, tramp-error): Use it.
14787 (tramp-do-copy-or-rename-file-directly): Extend check for direct
14789 (tramp-do-copy-or-rename-file-out-of-band): Handle new
14790 `tramp-methods' entry `copy-env' of "rsyncc".
14791 (tramp-vc-registered-read-file-names): New defconst.
14792 (tramp-vc-registered-file-names): New defvar.
14793 (tramp-handle-vc-registered): Implement optimization strategy.
14794 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
14795 (tramp-vc-file-name-handler): New defun.
14796 (tramp-get-ls-command, tramp-get-test-command)
14797 (tramp-get-file-exists-command, tramp-get-remote-ln)
14798 (tramp-get-remote-perl, tramp-get-remote-stat)
14799 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
14801 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
14802 (tramp-cache-inhibit-cache): Extend doc string. It allows also
14804 (tramp-get-file-property): Check for timestamps in
14805 `tramp-cache-inhibit-cache'.
14806 (tramp-set-file-property): Write timestamp.
14808 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
14810 * language/japan-util.el (japanese-symbol-table): Add entries for
14813 * international/characters.el: Add category `j' to cp932-2-byte.
14815 2009-08-27 Kenichi Handa <handa@m17n.org>
14817 * international/fontset.el (build-default-fontset-data): New macro.
14818 (setup-default-fontset): Use build-default-fontset-data for CJK,
14819 tibetan, ethiopic, and ipa.
14821 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
14823 * cus-start.el (default-major-mode): Customize `major-mode' instead.
14824 (enable-multibyte-characters): Not customizable any more.
14826 * subr.el (default-mode-line-format, default-header-line-format)
14827 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
14828 (default-direction-reversed, default-truncate-lines)
14829 (default-left-margin, default-tab-width, default-case-fold-search)
14830 (default-left-margin-width, default-right-margin-width)
14831 (default-left-fringe-width, default-right-fringe-width)
14832 (default-fringes-outside-margins, default-scroll-bar-width)
14833 (default-vertical-scroll-bar, default-indicate-empty-lines)
14834 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
14835 (default-fringe-cursor-alist, default-scroll-up-aggressively)
14836 (default-scroll-down-aggressively, default-fill-column)
14837 (default-cursor-type, default-buffer-file-type)
14838 (default-cursor-in-non-selected-windows)
14839 (default-buffer-file-coding-system, default-major-mode)
14840 (default-enable-multibyte-characters): Mark as obsolete.
14842 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
14844 * vc-dir.el (vc-dir-update): Remove debug helper.
14846 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
14848 2009-08-26 Sam Steingold <sds@gnu.org>
14850 * simple.el (save-interprogram-paste-before-kill): New user option.
14851 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
14852 save the interprogram-paste into kill-ring before overriding it
14853 with the Emacs kill.
14855 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14857 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
14858 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
14859 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
14860 and move to vc-rcs.el.
14861 (vc-default-next-revision): Rename to vc-rcs-next-revision and
14863 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
14864 (vc-rcs-update-changelog): Remove.
14865 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
14866 and move to vc-rcs.el.
14868 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
14869 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
14871 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
14872 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
14873 vc.el, renamed to be RCS specific.
14875 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
14877 (vc-cvs-update-changelog): Move here from vc.el.
14879 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
14882 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
14884 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
14886 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
14888 * vc-git.el (vc-git-register): Use "git add" for directories.
14889 (vc-git-stash, vc-git-stash-show): New functions.
14890 (vc-git-extra-menu-map): Bind them.
14892 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
14893 directory correctly in case the item is a directory itself.
14895 * vc.el: Document the desired behavior for reverted files in the
14897 (vc-default-prettify-state-info): Remove function, unused.
14899 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
14901 2009-08-26 Glenn Morris <rgm@gnu.org>
14903 * bindings.el (standard-mode-line-format): Reposition dashes in
14904 which-func entry. (Bug#4217)
14906 * files.el (enable-local-variables, enable-local-eval)
14907 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
14909 (auto-mode-alist, ignored-local-variables)
14910 (save-some-buffers-action-alist): Move risky declarations to the
14912 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
14913 (font-lock-defaults, format-alist, imenu--index-alist)
14914 (imenu-generic-expression, input-method-alist, minor-mode-alist)
14915 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
14916 (mode-line-modified, mode-line-mule-info, mode-line-position)
14917 (mode-line-process, mode-line-remote, outline-level)
14918 (parse-time-rules, rmail-output-file-alist)
14919 (special-display-buffer-names, vc-mode):
14920 Move risky declarations to the relevant files.
14921 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
14922 (mode-line-modified, mode-line-process, mode-line-position)
14923 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
14924 * font-core.el (font-lock-defaults):
14925 * format.el (format-alist):
14926 * vc-hooks.el (vc-mode):
14927 * window.el (special-display-buffer-names):
14928 * international/mule-cmds.el (input-method-alist):
14929 Define riskiness here (dumped file) rather than in files.el.
14930 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
14931 * imenu.el (imenu-generic-expression, imenu--index-alist):
14932 * outline.el (outline-level):
14933 * time.el (display-time-string):
14934 * calendar/parse-time.el (parse-time-rules):
14935 * mail/rmailout.el (rmail-output-file-alist):
14936 Autoload riskiness here, rather than placing in files.el.
14938 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
14940 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
14942 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
14944 * simple.el (process-file-side-effects): New defvar.
14946 * dired-aux.el (dired-show-file-type):
14947 * vc.el (vc-diff-internal):
14948 * vc-arch.el (vc-arch-diff):
14949 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
14950 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
14951 * vc-git.el (vc-git-registered, vc-git-working-revision)
14952 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
14953 (vc-git--empty-db-p):
14954 * vc-hooks.el (vc-user-login-name):
14955 * vc-svn.el (vc-svn-registered, vc-svn-state)
14956 (vc-svn-dir-extra-headers, vc-svn-find-revision):
14957 * progmodes/grep.el (grep-probe): Let-bind
14958 `process-file-side-effects' with nil.
14960 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
14962 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
14963 daemon. Replace ping by checking for running service for bluez
14964 and zeroconf. (Bug#4239)
14966 2009-08-25 Kevin Ryde <user42@zip.com.au>
14968 * net/dig.el (dig): Add autoload cookie.
14970 2009-08-25 Glenn Morris <rgm@gnu.org>
14972 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
14973 load-history for absolute file-names.
14974 (byte-compile-file-form-require): Warn about use of the cl package.
14976 * format.el (format-alist): Doc fix.
14978 * play/bubbles.el (top-level): Don't require cl at run-time.
14980 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
14983 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
14985 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
14987 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
14989 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
14991 * calc/calc-alg.el (math-trig-rewrite)
14992 (math-hyperbolic-trig-rewrite): New functions.
14993 (calc-simplify): Simplify trig functions when asked.
14995 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14997 * diff-mode.el (diff-find-source-location): Avoid goto-line.
14999 2009-08-24 Kenichi Handa <handa@m17n.org>
15001 * language/ind-util.el (mapthread): Delete it.
15002 (combinatorial): New function.
15003 (indian--puthash-cv): Use combinatorial instead of mapthread.
15005 2009-08-22 Kevin Ryde <user42@zip.com.au>
15007 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
15008 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
15009 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
15010 Clarify docstring that the value is strings not symbols.
15011 (checkdoc-list-of-strings-p): New function.
15013 2009-08-22 Glenn Morris <rgm@gnu.org>
15015 * files.el (auto-mode-alist):
15016 * hippie-exp.el (he-concat-directory-file-name):
15017 * lpr.el (lpr-windows-system, printer-name):
15018 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
15019 * ps-print.el (ps-windows-system):
15020 * startup.el (command-line):
15021 * emulation/viper-ex.el (viper-glob-function):
15022 * international/mule-cmds.el (set-language-environment-coding-systems):
15023 * net/ange-ftp.el (ange-ftp-write-region):
15024 * obsolete/fast-lock.el (fast-lock-cache-name):
15025 Remove code for defunct system-types emx, macos, mswindows, next-mach,
15026 unisoft-unix, vax-vms, win32, w32.
15028 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
15029 given name if the pattern is not more specific.
15031 * calendar/lunar.el (lunar-phase-names): New option.
15032 (lunar-phase): Doc fix.
15033 (lunar-cycles-per-year): New constant.
15034 (lunar-index): New function.
15035 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
15036 (lunar-phase-name): Use lunar-phase-names.
15037 (calendar-lunar-phases): Use format.
15038 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
15040 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
15041 Copy imenu-example--name-and-position function here for own use.
15042 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
15044 * bs.el (bs--redisplay):
15045 * cus-edit.el (custom-redraw):
15046 * ibuffer.el (ibuffer-bury-buffer):
15047 * server.el (server-goto-line-column):
15048 * startup.el (command-line-1):
15049 * strokes.el (strokes-xpm-for-stroke):
15050 * term.el (term-display-buffer-line):
15051 * view.el (View-goto-line):
15052 * calc/calc.el (calc-do, calc-trail-buffer):
15053 * play/gamegrid.el (gamegrid-add-score-insecure):
15054 * progmodes/ada-mode.el (ada-compile-goto-error):
15055 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
15056 (ebrowse-select-1st-to-9nth):
15057 * progmodes/cperl-mode.el (cperl-time-fontification):
15058 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
15059 * progmodes/gud.el (gud-display-line):
15060 (idlwave-shell-display-line):
15061 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
15062 * progmodes/make-mode.el (makefile-browser-toggle):
15063 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
15064 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
15065 * textmodes/picture.el (picture-draw-rectangle):
15066 * textmodes/reftex-index.el (reftex-index-goto-letter):
15067 (reftex-select-jump-to-previous):
15068 * textmodes/reftex-sel.el (reftex-find-start-point)
15069 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
15070 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
15071 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
15072 * textmodes/tex-mode.el (tex-compilation-parse-errors):
15073 * textmodes/two-column.el (2C-associated-buffer):
15074 Use forward-line rather than goto-line.
15076 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
15079 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
15080 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
15081 (quick-check-list-to-regexp): Declare.
15083 * progmodes/make-mode.el (makefile-browser-insert-selection):
15084 Use goto-char rather than goto-line.
15086 * progmodes/prolog.el (compilation-error-regexp-alist)
15087 (compilation-forget-errors): Declare.
15089 2009-08-22 Juri Linkov <juri@jurta.org>
15091 * progmodes/grep.el (lgrep, rgrep): At the beginning
15092 set `dir' to `default-directory' unless `dir' is a non-nil
15093 readable directory. (Bug#4052)
15094 (lgrep, rgrep): Change a weird way to report an error
15095 from using `read-string' to using `error'.
15096 Instead of using interactive arguments in the function body,
15097 add new argument `confirm'.
15099 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
15101 * textmodes/remember.el (remember-buffer):
15102 * progmodes/cperl-mode.el (cperl-vc-header-alist):
15103 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
15104 (icalendar-extract-ical-from-buffer):
15105 * net/newst-treeview.el (newsticker-groups-filename):
15106 * net/newst-backend.el (newsticker-cache-filename):
15107 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
15108 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
15109 (speedbar-add-ignored-path-regexp, speedbar-line-path)
15110 (speedbar-buffers-line-path, speedbar-path-line)
15111 (speedbar-buffers-line-path):
15112 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
15114 * epa.el (epa-display-verify-result):
15115 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
15117 2009-08-21 Glenn Morris <rgm@gnu.org>
15119 * progmodes/js.el (inferior-moz-process): Fix declaration.
15121 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
15123 * obsolete/rnewspost.el (news-mail-reply):
15124 Use goto-char rather than goto-line.
15126 * term/ns-win.el (ns-open-file-select-line):
15127 Use line-beginning-position rather than goto-line.
15129 * apropos.el (apropos-command):
15130 * ehelp.el (electric-helpify):
15131 * printing.el (pr-show-setup):
15132 * strokes.el (strokes-help):
15133 * tutorial.el (tutorial--describe-nonstandard-key)
15134 (tutorial--detailed-help):
15135 * woman.el (woman-mini-help, woman-display-extended-fonts):
15136 * calc/calc-help.el (calc-describe-key):
15137 * emulation/edt.el (edt-electric-helpify):
15138 * international/mule-diag.el (mule-diag):
15139 * play/yow.el (apropos-zippy):
15140 * progmodes/python.el (python-describe-symbol):
15141 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
15142 * textmodes/table.el (*table--cell-describe-mode)
15143 (*table--cell-describe-bindings):
15144 Use help-print-return-message rather than the now obsolete alias.
15146 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
15147 (calendar-cursor-to-visible-date):
15148 * play/5x5.el (5x5-position-cursor):
15149 * play/decipher.el (decipher):
15150 * play/gomoku.el (gomoku-goto-xy):
15151 * play/landmark.el (lm-goto-xy):
15152 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
15153 (mpuz-paint-digit):
15154 Use forward-line, not goto-line.
15156 * mail/rmail.el (rmail-obsolete): Delete custom group.
15157 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
15158 (rmail-remote-password, rmail-remote-password-required):
15159 Remove unneeded :set-after and :set properties.
15161 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
15163 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
15165 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
15167 * loadup.el: Remove leftover macos code.
15169 * vc-git.el (vc-git-annotate-command): Run asynchronously.
15170 Explicitly pass the date format to git blame so that user local
15171 so that the output format can be parsed.
15173 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
15175 * net/dbus.el (top): Don't check for (getenv
15176 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
15178 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
15180 * log-edit.el (log-edit-strip-single-file-name): New var.
15181 (log-edit-insert-changelog): Use it. Bug#3571
15183 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15185 * subr.el (read-passwd): Use read-key so keypad keys work as well.
15188 * help.el (help-print-return-message): Rename from
15189 print-help-return-message.
15191 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
15192 cvs-mode-map parent hack.
15193 (log-view-mode): Derive from special-mode.
15195 * linum.el (linum-mode): window-size-change-functions is redundant.
15196 Adapt to new window-configuration-change-hook behavior.
15197 (linum-after-size, linum-after-config): Remove.
15199 * imenu.el (imenu-example--name-and-position)
15200 (imenu-example--lisp-extract-index-name)
15201 (imenu-example--create-lisp-index, imenu-example--create-c-index):
15204 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
15205 (inferior-prolog-mode): Use it.
15206 (inferior-prolog-load-file): Reset list of errors.
15208 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
15210 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
15212 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
15214 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
15216 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
15217 is running already.
15219 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15221 * subr.el (listify-key-sequence-1): Use normal syntax since those
15222 integers are nowadays always represented by the same (positive) number
15224 (read-key-empty-map): New const.
15225 (read-key-delay): New var.
15226 (read-key): New function.
15227 (force-mode-line-update): Use with-current-buffer.
15228 (locate-user-emacs-file): Don't forget to abbreviate the file name.
15229 (start-process-shell-command, start-file-process-shell-command):
15230 Discourage the use of command-args.
15232 2009-08-19 Glenn Morris <rgm@gnu.org>
15234 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
15236 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
15238 * simple.el (choose-completion-string): Don't rely on
15239 minibuffer-completing-file-name and ad-hoc checks to decide whether
15240 to continue completion or not.
15242 * minibuffer.el (minibuffer-hide-completions): New function.
15243 (completion--do-completion): Use it.
15244 (completions-annotations): New face.
15245 (completion--insert-strings): Use it.
15246 (completion-pcm--delim-wild-regex): Add docstring.
15247 (completion-pcm--string->pattern): Add support for 0-width delimiters
15248 in completion-pcm--delim-wild-regex.
15250 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
15252 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
15253 Remove unused var `buffer-modified-p'.
15255 * minibuffer.el (completion--do-completion): Move point for the #b001
15256 case as well (bug#4176).
15257 (minibuffer-complete, minibuffer-complete-word): Don't move point.
15259 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
15261 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
15262 and :session buses.
15264 2009-08-18 Kenichi Handa <handa@m17n.org>
15266 * international/ucs-normalize.el (ucs-normalize-version):
15268 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
15269 (utf-8-hfs): Make it perform normalization on encoding too.
15271 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
15272 (sentence-end-without-space): Delete duplicated chars.
15273 (sentence-end-base): Likewise.
15275 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
15276 (html-mode): Delete duplicated chars from sentence-end-base.
15278 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
15279 (texinfo-mode): Delete duplicated chars from sentence-end-base.
15281 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
15283 * files.el (hack-one-local-variable): If the mode function is for
15284 a minor mode, pass it an argument (Bug#4148).
15286 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
15288 * net/tramp.el (tramp-register-completion-file-name-handler):
15289 Check also for (member 'partial-completion completion-styles).
15291 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15293 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
15296 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
15298 * progmodes/cperl-mode.el: Merge upstream 6.2.
15299 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
15300 (cperl-forward-re): Check cperl-brace-recursing.
15301 (cperl-highlight-charclass): New function.
15302 (cperl-find-pods-heres): Use it.
15303 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
15304 (cperl-beautify-regexp-piece): Fix column calculation.
15305 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
15306 (cperl-beautify-level): Don't process entire regexp.
15307 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
15309 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
15310 (cperl-init-faces): Build a list in the normal way.
15312 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15314 * calendar/parse-time.el (parse-time-string-chars): Save match
15317 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
15319 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
15320 (sql-product): Use it.
15321 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
15322 (sql-set-product): Add completion.
15323 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
15324 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
15325 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
15326 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
15327 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
15328 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
15329 (sql-highlight-db2-keywords): Remove.
15330 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
15331 (sql-highlight-product): Use derived-mode-p.
15332 (sql-set-sqli-buffer): Use with-current-buffer.
15333 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
15336 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
15338 * term.el: Fix commenting convention, turn comments into docstrings.
15340 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
15342 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
15344 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
15346 * calendar/parse-time.el (parse-time-string-chars): Compute using
15347 character classes, to handle non-ascii characters (Bug#3190).
15349 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
15351 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
15352 another heredoc if the user adds another < (Bug#3226).
15354 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
15355 Don't initialize based on window-system (Bug#4124).
15357 * facemenu.el (facemenu-read-color): Use a completion function
15358 that accepts any defined color, such as RGB triplets (Bug#3677).
15360 * files.el (get-free-disk-space): Change fallback default
15361 directory to /. Expand DIR argument before switching to fallback.
15362 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
15364 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15366 * files.el (load-library): Doc fix.
15368 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
15370 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
15371 (viper-if-string): Redefine C-s in the minibuffer to insert the last
15372 incremental search string.
15374 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
15377 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
15378 (ediff-merge-region-is-non-clash)
15379 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
15380 Also check if the job is really a merge job.
15382 * ediff.el (ediff-current-file): New function.
15384 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
15386 * progmodes/js.el: Edit docstrings throughout to follow Emacs
15388 (js-insert-and-indent): Delete function.
15389 (js-mode-map): Don't bind keys to js-insert-and-indent.
15390 (js-beginning-of-defun): Rename from js--beginning-of-defun.
15391 (js-end-of-defun): Rename from js--end-of-defun.
15392 (js-auto-indent-flag): Delete variable.
15394 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
15396 * progmodes/js.el: Remove proclaim statement.
15397 Defvar which-func-imenu-joiner-function to silence compiler.
15399 * files.el (auto-mode-alist): Use js-mode for .js files.
15401 * progmodes/js2-mode.el: Remove file.
15403 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
15405 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
15407 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
15409 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
15410 Karl Landstrom <karl.landstrom@brgeight.se>
15412 * progmodes/js.el: New file.
15414 2009-08-14 Mark A. Hershberger <mah@everybody.org>
15416 * timezone.el (timezone-parse-date): Add ability to understand ISO
15417 basic format (minimal separators) dates in addition to the
15418 already-supported extended format dates.
15420 2009-08-14 Eli Zaretskii <eliz@gnu.org>
15422 * international/ucs-normalize.el: Add a `coding' file variable.
15424 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
15426 2009-08-14 Sam Steingold <sds@gnu.org>
15428 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
15430 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
15432 * faces.el (help-argument-name): Define it here instead of
15433 help-fns.el, because in daemon mode help-fns.el may be loaded when
15434 faces are still uninitialized (Bug#1078).
15436 * help-fns.el (help-argument-name): Move defface to faces.el.
15438 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
15440 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
15441 create buffer with a pty but no process so that GDB can make the
15442 inferior the controlling process.
15444 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
15446 * international/ucs-normalize.el: New file.
15448 2009-08-13 Richard Stallman <rms@gnu.org>
15450 * mail/rmail.el (rmail-get-attr-names):
15451 Accept an attribute header that is too short.
15453 * mail/rmail.el (rmail-forget-messages):
15454 Ignore nil elt in rmail-message-vector. Use dotimes.
15456 * progmodes/compile.el (compilation-goto-locus):
15457 Use next-error-move-function.
15459 * simple.el (next-error-move-function): New variable.
15461 2009-08-12 Juri Linkov <juri@jurta.org>
15463 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
15464 always non-nil. (Bug#4052)
15466 * replace.el (read-regexp): Return empty string when
15467 `default-value' is nil.
15468 (keep-lines-read-args): Don't use empty string as the
15469 default value for `read-regexp'. (Bug#2495)
15471 2009-08-12 Juri Linkov <juri@jurta.org>
15473 * international/mule-cmds.el (ucs-insert): Change arguments
15474 from `arg' to `character', `count', `inherit' to be the same
15475 as in `insert-char'. Doc fix. (Bug#4039)
15477 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
15479 2009-08-12 Juri Linkov <juri@jurta.org>
15481 * files-x.el: New file.
15483 * files.el: Move code that deals with adding/deleting
15484 file/directory-local variables to files-x.el.
15486 * Makefile.in (ELCFILES): Add files-x.elc.
15488 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
15490 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
15491 to use `goto-line'.
15492 (gdb-place-breakpoints, gdb-get-location): Rewritten without
15494 (gdb-invalidate-disassembly): Do not refresh upon receiving
15495 'update signal. Instead, update all disassembly buffers only after
15497 (gdb): Send -target-detach when buffer is killed (Bug#3794).
15498 (gdb-starting): Moved -data-list-register-names...
15499 (gdb-stopped): ...here so it's sent when first thread stops.
15500 (gdb-registers-handler-custom): Do nothing if register names are
15503 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
15504 from `gdb-mi.el' to avoid extra tangling.
15506 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
15507 change which breaks `gud-def' definitions used in `gdb'.
15508 (gdb-update-gud-running): No extra fuss for updating frame number.
15510 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
15512 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
15513 (describe-language-environment-map, setup-language-environment-map)
15514 (set-coding-system-map): Move initialization into declaration.
15515 (set-language-info-alist): Last arg to define-key-after can be skipped.
15517 * international/quail.el (quail-completion-1): Simplify.
15518 (quail-define-rules): Use slightly more compact code.
15519 (quail-insert-decode-map): Propertize keys, compact columns.
15521 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15524 2009-08-10 Miles Bader <miles@gnu.org>
15526 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
15527 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
15528 (js2-instance-member, js2-private-member, js2-private-function-call)
15529 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
15530 (js2-magic-paren, js2-external-variable):
15531 Remove "-face" suffix from face names.
15532 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
15533 (js2-highlight-undeclared-vars, js2-peek-token)
15534 (js2-parse-function-params, js2-mode-show-errors)
15535 (js2-mode-show-warnings, js2-make-magic-delimiter)
15536 (js2-mode-highlight-magic-parens): Update to use new face names.
15538 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
15540 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
15541 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
15543 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
15545 * subr.el: Provide hashtable-print-readable.
15547 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
15548 hs-c-like-adjust-block-beginning.
15549 (hs-hide-block-at-point): Stop hiding at the beginning of
15550 hs-block-end-regexp (Bug#700).
15552 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
15554 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
15556 (gdb-registers-handler-custom): Do not fail when register names
15559 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15561 * progmodes/gdb-mi.el (gdb-control-all-threads)
15562 (gdb-control-current-thread): Interactive setters for
15563 `gdb-gud-control-all-threads' to use in menu.
15564 (gdb-show-run-p): Show «Go» when process is not active.
15565 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
15566 gud/thread.xpm and gud/all.xpm.
15568 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
15570 * net/net-utils.el (net-utils-font-lock-keywords): New var.
15571 (nslookup-font-lock-keywords): Make it a variable.
15572 (net-utils-mode): New mode for viewing diagnostic network output.
15573 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
15574 (net-utils-run-simple): New function.
15575 (ifconfig, iwconfig, netstat, arp, route): Use it.
15577 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
15579 * progmodes/gdb-mi.el (gdb-read-memory-custom)
15580 (gdb-memory-set-address, def-gdb-set-positive-number)
15581 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
15582 after changing settings.
15583 (gdb-invalidate-disassembly): Update when first shown.
15584 (gdb-edit-locals-value): Fixed.
15585 (gdb-registers-handler-custom): Print registers in right order and
15586 allow changing register values (only for current thread yet).
15587 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
15588 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
15589 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
15590 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
15592 (gdb-registers-mode-map): TAB to switch to locals.
15594 2009-08-08 Eli Zaretskii <eliz@gnu.org>
15596 * mail/rmail.el (rmail-add-mbox-headers)
15597 (rmail-set-message-counters-counter): Search for
15598 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
15600 2009-08-08 Glenn Morris <rgm@gnu.org>
15602 * Makefile.in (ELCFILES): Update.
15604 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15606 * mail/sendmail.el (mail-yank-original): Set
15607 buffer-file-coding-system from the one used by the message whose
15610 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
15611 to "windows" when "pgnuplot" is used.
15612 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
15613 call accept-process-output if "pgnuplot" is used.
15614 (calc-graph-init): Don't send -display and -geometry to
15615 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
15616 running "pgnuplot -V" with shell-command-to-string.
15618 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
15621 2009-08-07 Eli Zaretskii <eliz@gnu.org>
15623 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
15626 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
15628 * vc-dispatcher.el (vc-resynch-window): Update comment.
15630 * term.el (term-handle-ansi-escape): Add comments with the
15631 terminfo capabilities implemented.
15633 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
15635 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
15636 (gdb-var-create-handler): Rewritten using JSON parser.
15637 (gdb-propertize-header): Moved earlier.
15638 (gdb-set-header): Removed to avoid duplication.
15639 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
15640 Refresh disassembly buffers only after threads list have been
15642 (gdb-threads-header, gdb-registers-header): Per-buffer header line
15645 2009-08-04 Juri Linkov <juri@jurta.org>
15647 * files.el: Commands to add/delete file/directory-local variables.
15648 (read-file-local-variable, read-file-local-variable-value)
15649 (read-file-local-variable-mode, modify-file-local-variable)
15650 (modify-file-local-variable-prop-line)
15651 (modify-dir-local-variable): New functions.
15652 (add-file-local-variable, delete-file-local-variable)
15653 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
15654 (add-dir-local-variable, delete-dir-local-variable)
15655 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
15656 (copy-dir-locals-to-file-locals-prop-line): New commands.
15658 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
15660 * abbrev.el (insert-abbrev-table-description): Prettify output.
15661 Suggested by Karl Chen.
15663 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
15665 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
15666 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
15667 (gdb-overlay-arrow-position, gdb-thread-position)
15668 (gdb-disassembly-position): Declare variables.
15669 (gdb-wait-for-pending): Function now.
15670 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
15671 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
15672 compilation goes smoothly.
15673 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
15674 (gdb-non-stop-setting): New customization setting which replaces
15675 `gdb-non-stop' so changing it doesn't break active GDB session.
15676 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
15677 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
15678 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
15679 (gdb-show-threads-by-default): New customization options.
15680 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
15682 (gdb-get-buffer-create): Send buffers update signal when they are
15684 (gdb-invalidate-locals, gdb-invalidate-registers)
15685 (gdb-invalidate-breakpoints)
15686 (gdb-invalidate-threads, gdb-invalidate-disassembly)
15687 (gdb-invalidate-memory): Accept update signal.
15688 (gdb-current-context-command): Use --frame option.
15689 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
15690 Implement `gdb-frame-number' selection logic.
15691 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
15692 whether to show GUD toolbar buttons.
15693 (gdb-thread-exited): Unselect current thread when it exits.
15694 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
15695 (gdb-mark-line): Routine which sets overlay arrow or inverses
15696 video on fringeless displays.
15697 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
15698 to build aligned columns of data in GDB buffers and set text
15699 properties line-by-line.
15700 (gdb-invalidate-breakpoints)
15701 (gdb-breakpoints-list-handler-custom)
15702 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
15703 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
15704 (gdb-registers-handler-custom): Align data columns.
15705 (gdb-locals-handler-custom): Now prints data like in variable
15707 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
15708 Removed confusing buttons.
15709 (gdb-invalidate-threads): Append --frame.
15710 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
15711 between breakpoints/threads buffers.
15712 (gdb-set-window-buffer): Now can ignore dedicated windows.
15713 (gdb-propertize-header): Use `gdb-set-window-buffer'.
15714 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
15715 (def-gdb-thread-buffer-gud-command): Replaces
15716 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
15717 for fine thread control.
15718 (gdb-preempt-existing-or-display-buffer): New function used to
15719 display bound buffers without breaking window layout.
15720 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
15721 (gdb-select-frame): New version of `gdb-frames-select' which now
15722 sets `gdb-frame-number' so commands may use --frame option instead
15723 of inner debugger state.
15724 (gdb-frame-handler): Do not set `gdb-frame-number'.
15725 (gdb-threads-mode-map): Select threads with mouse.
15727 * progmodes/gud.el (gdb-gud-context-call): Declare function to
15728 avoid compilation warning.
15729 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
15732 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
15733 Argument `key' renamed to `buffer-type'.
15734 (gdb-current-context-buffer-name): Do not add thread info to
15735 buffer name when no thread is selected.
15736 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
15737 command (bug 3794).
15738 (gdb-thread-selected): Handle `=thread-selected' notification.
15739 (gdb-wait-for-pending): New macro to deal with congestion problems.
15740 (gdb-breakpoints-list-handler-custom): Don't fail on pending
15742 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
15743 This fixes problem similar to one described in bug 3947.
15744 (gud-menu-map): More menu items.
15745 (gdb-init-1): Reset `gdb-thread-number' to nil.
15747 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
15750 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
15751 (gdb-current-context-command): Do not append --thread if
15752 `gdb-thread-number' is nil.
15753 (gdb-running-threads-count, gdb-stopped-threads-count): New
15755 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
15756 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
15757 customization options.
15758 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
15760 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
15761 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
15762 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
15763 set `gdb-thread-number' and update `gud-running' properly.
15764 (gdb-running): Update threads list when new threads appear.
15765 (gdb-stopped): Support non-stop operation and new thread switching
15767 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
15768 (gdb-json-partial-output): New set of JSON routines.
15769 (def-gdb-auto-update-trigger): New `signal-list' optional
15771 (gdb-thread-list-handler-custom): Update `gud-running',
15772 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
15773 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
15774 (gdb-continue-thread, gdb-step-thread): New commands for fine
15775 thread execution control.
15776 (gud-menu-map): New menu items to switch non-stop options.
15777 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
15778 (gdb-send): Mimic RET properly (bug 3794).
15780 * progmodes/gdb-mi.el (gdb-rules-name-maker)
15781 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
15783 (def-gdb-auto-update-handler): New nopreserve optional argument.
15784 (gdb-stack-list-frames-custom): Print stack from top to bottom.
15786 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
15787 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
15788 (gdb-parent-mode): New mode to derive other GDB modes from.
15789 (gdb-display-disassembly-for-thread)
15790 (gdb-frame-disassembly-for-thread): New commands for threads
15793 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
15794 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
15795 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
15796 (gdb-update): We now store all GDB buffers in a list so that they
15797 can be updated by traversing a list instead of calling invalidate
15798 triggers explicitly.
15799 (def-gdb-trigger-and-handler): New macro to define trigger-handler
15800 pair for GDB buffer.
15801 (gdb-stack-buffer-name): Add thread information.
15802 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
15803 handle pending triggers.
15804 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
15805 (def-gdb-thread-buffer-simple-command)
15806 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
15807 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
15808 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
15809 New commands which show buffers bound to thread.
15810 (gdb-stack-list-locals-regexp): Removed unused regexp.
15812 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
15813 (gdb-locals-buffer-name, gdb-registers-buffer-name)
15814 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
15815 to (gud-comint-buffer) in *-buffer-name functions
15816 because (gdb-get-target-string) already does that.
15817 (gdb-locals-handler-custom, gdb-registers-handler-custom)
15818 (gdb-changed-registers-handler): Rewritten without regexps.
15820 * progmodes/gdb-mi.el: Basic thread selection support.
15821 (gdb-thread-number): New variable.
15822 (gdb-current-context-command): New macro which adds --thread
15824 (gdb-threads-mode-map): Select thread with SPC.
15825 (gdb-thread-list-handler-custom): Mark current thread with overlay
15826 arrow. Synchronize GDB thread and Emacs thread.
15827 (gdb-select-thread): New command which selects current thread.
15828 (gdb-invalidate-frames, gdb-invalidate-locals)
15829 (gdb-invalidate-registers): Use --thread option.
15831 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
15833 * net/tramp.el (top): Make check for tramp-gvfs loading more
15835 (tramp-handle-insert-file-contents): `unwind-protect' must be
15836 inside `with-parsed-tramp-file-name'.
15838 * net/tramp-gvfs.el (top): Remove superfluous message when loading
15841 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
15843 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
15844 directory if CLASSPATH is not set.
15846 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
15848 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
15850 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
15852 2009-08-02 Kevin Ryde <user42@zip.com.au>
15854 * net/newst-backend.el (newsticker--raw-url-list-defaults):
15855 Update freshmeat link. Delete newsforge.com as it seems gone.
15857 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15859 * select.el (x-set-selection): Doc fix (Bug#4021).
15861 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
15863 * help-fns.el (describe-variable): Treat list return values from
15864 dir-locals-find-file properly (Bug#4005).
15866 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
15868 * net/tramp.el (tramp-debug-message): Print also microseconds.
15870 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
15872 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
15874 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
15875 (tramp-get-debug-buffer): Change `outline-regexp' according to new
15878 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
15879 (tramp-get-file-property): Use it.
15881 * autorevert.el (auto-revert-handler): Allow
15882 `auto-revert-tail-mode' for remote files.
15884 2009-08-02 Jason Rumney <jasonr@gnu.org>
15886 * minibuffer.el (read-file-name): Treat confirm options to
15887 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
15889 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
15891 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
15892 (font-lock-variable-name-face, font-lock-constant-face): Darken
15893 the colors for light backgrounds.
15895 2009-08-01 Eli Zaretskii <eliz@gnu.org>
15897 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
15898 month names. (Bug#3987)
15900 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
15902 * simple.el (line-move-finish): Pass whole number to
15903 line-move-to-column.
15904 (line-move-visual): Perform hscroll to the recorded position.
15906 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
15908 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
15910 2009-07-29 Alan Mackenzie <acm@muc.de>
15912 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
15914 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
15916 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
15917 (gdb-place-breakpoints): Use full path when setting breakpoints.
15919 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
15921 * calc/calc.el (calc-mode-map): Add keybinding for
15922 `calc-transpose-lines'.
15924 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
15926 * calc/calc-misc.el (calc-transpose-lines): New function.
15928 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
15930 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
15931 Simplify check for out-of-band methods.
15932 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
15933 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
15935 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
15937 * vc-git.el (vc-git-checkin): Fix typo.
15939 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
15941 * progmodes/js2-mode.el: New file.
15943 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
15945 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
15946 (gud-menu-map): Adjust tooltip accordingly.
15948 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
15950 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
15951 (vc-bzr-log-view-mode): Adjust log-view-file-re.
15953 * add-log.el (change-log-mode-map): Add a menu.
15955 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
15957 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
15958 function returns nil.
15959 (dbus-handle-event): Handle special return value :ignore.
15960 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
15962 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
15964 * view.el (view-mode-enable): Don't define Helper-return-blurb if
15967 2009-07-25 Eli Zaretskii <eliz@gnu.org>
15971 * w32-vars.el (x-select-enable-clipboard): Doc fix.
15973 * term/pc-win.el (x-display-name, x-colors)
15974 (x-select-enable-clipboard, x-select-text): Doc fix.
15976 * term/common-win.el (x-display-name, x-colors): Doc fix.
15978 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
15979 (xw-defined-colors): Doc fix.
15981 * w32-fns.el (x-select-text, x-setup-function-keys)
15982 (x-get-selection, x-set-selection): Doc fix.
15984 * term/x-win.el (x-select-text, x-setup-function-keys)
15985 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
15987 * select.el (x-set-selection): Doc fix.
15989 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
15991 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
15992 instead of "IsNSSSupportAvailable". Avahi ought to work also when
15993 "IsNSSSupportAvailable" method is not available. Reported by
15994 Steve Youngs <steve@sxemacs.org>.
15996 2009-07-24 Kenichi Handa <handa@m17n.org>
15998 * international/characters.el: Fix setting of category ?C, ?|, ?K,
15999 and ?H. Fix setting of case for Latin Extended and Greek Extended.
16000 (build-unicode-category-table): Fix range checks.
16002 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
16004 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
16005 the buffer we try to sync is current when calling
16008 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
16009 not show up to date files.
16011 2009-07-24 Glenn Morris <rgm@gnu.org>
16013 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
16014 Add autoload cookies. If necessary, initialize.
16015 (elint-log): Handle non-file buffers.
16016 (elint-initialize): Add optional argument to reinitialize.
16017 (elint-find-builtin-variables): Save excursion.
16019 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
16021 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
16024 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
16026 * vc.el (vc-print-log-internal): New function, split out from ...
16027 (vc-print-log): ... here.
16028 (vc-dir-move-to-goal-column): Declare.
16030 * vc-git.el (vc-git-add-signoff): New variable.
16031 (vc-git-checkin): Use it.
16032 (vc-git-toggle-signoff): New function.
16033 (vc-git-extra-menu-map): Bind it to menu.
16034 (vc-git--run-command-string): Accept a nil FILE argument.
16035 (vc-git-stash-list): New function.
16036 (vc-git-dir-extra-headers): Use it.
16038 2009-07-23 Glenn Morris <rgm@gnu.org>
16040 * help-fns.el (describe-variable): Describe ignored and risky local
16041 variables in a similar way to that in which we describe safe ones.
16043 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
16044 (byte-compile-output-file-form, byte-compile-output-docform)
16045 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
16046 Give some more local variables with common names a "bytecomp-" prefix,
16047 so as not to shadow things during compilation.
16048 * emacs-lisp/cl-macs.el (load-time-value)
16049 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
16050 `outbuffer' to `bytecomp-outbuffer'.
16052 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
16053 since the next two variables cover them automatically now.
16054 (elint-builtin-variables, elint-autoloaded-variables): New.
16055 (elint-unknown-builtin-args): Remove all members, since they can be
16056 parsed automatically now.
16057 (elint-extra-errors): New.
16058 (elint-env-add-env, elint-env-add-macro): Use cadr.
16059 (elint-current-buffer): Use or. Change final message.
16060 (elint-get-top-forms): Use line-end-position.
16061 (elint-init-env): Use cadr. Handle autoload, declare-function,
16063 (elint-add-required-env): Doc fix. Use or. Standardize error.
16064 (regexp-assoc): Remove unused function.
16065 (elint-top-form): Set elint-current-pos, to record the start of the
16066 top-level form, for compilation-mode.
16067 (elint-form): Trap errors in macro expansion. Use dolist.
16068 (elint-unbound-variable): Use elint-builtin-variables and
16069 elint-autoloaded-variables.
16070 (elint-get-args): Use cadr, or.
16071 (elint-check-cond-form): Use dolist, cadr.
16072 (elint-check-condition-case-form): Doc fix. Use cadr.
16073 Use elint-extra-errors.
16074 (elint-log): New function.
16075 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
16076 Distinguish errors and warnings.
16077 (elint-log-message): Use with-current-buffer. Inhibit read-only.
16078 Use a bytecomp-style format.
16079 (elint-clear-log): Preserve default-directory. Inhibit read-only.
16080 (elint-get-log-buffer): Use compilation mode. Disable undo.
16081 Don't truncate lines.
16082 (elint-initialize): Set builtin and autoloaded variable lists.
16083 Only process elint-unknown-builtin-args if non-nil.
16084 (elint-find-builtin-variables, elint-find-autoloaded-variables):
16086 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
16088 2009-07-22 Kevin Ryde <user42@zip.com.au>
16090 * net/newst-backend.el (newsticker--parse-atom-1.0)
16091 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
16092 (newsticker--parse-rss-1.0):
16093 * progmodes/idlwave.el (idlwave-mode):
16094 * progmodes/idlw-shell.el (idlwave-shell-mode):
16095 * progmodes/vera-mode.el (vera-mode):
16096 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
16097 * progmodes/vhdl-mode.el (vhdl-mode):
16098 * textmodes/table.el (table-generate-source)
16099 (table--warn-incompatibility):
16100 Hyperlink urls in docstrings with URL `...'.
16102 2009-07-22 Glenn Morris <rgm@gnu.org>
16104 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
16105 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
16106 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
16107 Remove leading * from defcustom docs.
16109 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
16111 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
16113 (list-load-path-shadows): Optionally, just return shadows as a string.
16115 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
16117 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
16119 * mail/rmailedit.el (rmail-edit-mode): Use
16120 auto-save-include-big-deletions.
16122 * mail/rmail.el (rmail-variables): Use
16123 auto-save-include-big-deletions.
16125 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
16128 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
16130 * calc/calc.el (calc-undo-length): New variable.
16131 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
16133 2009-07-21 Richard Stallman <rms@gnu.org>
16135 * files.el (auto-save-mode): Handle buffer-save-size = -2
16138 2009-07-21 Glenn Morris <rgm@gnu.org>
16140 * textmodes/ispell.el (ispell-looking-back): Update declaration.
16142 * calendar/todo-mode.el (calendar-current-date): Update declaration.
16144 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
16145 silence compiler. Instead...
16146 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
16147 (ps-print-ensure-fontified): Update for above function name changes.
16149 * printing.el (pr-mh-get-msg-num, pr-mh-show)
16150 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
16151 silence compiler. Instead...
16152 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
16153 (mh-show-buffer): Only define for compiler.
16154 (pr-mh-current-message): Update for above function name changes.
16156 * files.el (abort-if-file-too-large): Explicitly pass `filename'
16158 (find-file-noselect, insert-file-1): Update for above change.
16160 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
16162 * mail/mailclient.el (mailclient-send-it): Fix message.
16164 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
16165 (edebug-eval): Check cl-debug-env is bound.
16166 (print-level, print-circle): Don't redefine built-in variables.
16168 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
16169 (custom-print-vectors): Remove old comments from doc.
16171 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
16172 (emerge-version): Make the variable an obsolete alias for the
16173 emacs-version variable. Make the function obsolete.
16174 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
16175 Emerge options, rather than merging in into the main Options menu.
16176 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
16177 and auto advance modes. Disable edit/fast items when not relevant.
16179 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
16181 * term/vt420.el (terminal-init-vt420): Fix typo.
16183 2009-07-20 Sam Steingold <sds@gnu.org>
16185 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
16186 variable (removed from compile.el on 2004-03-11).
16188 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
16190 * files.el (hack-local-variables-filter): Fix last change.
16192 2009-07-19 Juri Linkov <juri@jurta.org>
16194 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
16195 (dir-local-variables-alist): New buffer-local variable.
16196 (hack-local-variables-filter): If variable is not dir-local,
16197 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
16198 because file-local overrides dir-local.
16199 (c-postprocess-file-styles) <declare-function>:
16200 Remove obsolete declaration.
16201 (hack-dir-local-variables): Add dir-local variable/value pair to
16202 `dir-local-variables-alist' and remove duplicates. Doc fix.
16204 * help-fns.el (describe-variable): Add information about
16205 file-local and dir-local variables.
16207 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
16209 * files.el (hack-local-variables-filter): Rewrite.
16211 2009-07-19 Glenn Morris <rgm@gnu.org>
16213 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
16214 Silence compiler by only defining on XEmacs.
16216 * international/mule.el (auto-coding-regexp-alist): Only match
16217 BABYL... at the start of buffer, not of lines. (Bug#3790)
16219 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
16220 non-calendar buffers (Bug#3862). Restore "not on a date" message.
16221 (cal-menu-context-mouse-menu): Doc fix.
16223 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
16225 * simple.el (mail-user-agent): Doc fix. Set :version tag.
16227 2009-07-18 Juri Linkov <juri@jurta.org>
16229 * info.el: Virtual Info keyword finder.
16230 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
16231 (Info-finder-file): New variable.
16232 (Info-finder-find-file): New function.
16233 (finder-known-keywords, finder-package-info)
16234 (find-library-name, lm-commentary): Use defvar and
16235 declare-function to silence compiler warnings.
16236 (Info-finder-find-node): New function.
16237 (info-finder): New command.
16239 * subr.el (process-kill-buffer-query-function): New function.
16240 (add-hook)<kill-buffer-query-functions>: Add hook
16241 `process-kill-buffer-query-function'.
16243 2009-07-18 Alan Mackenzie <acm@muc.de>
16245 * progmodes/cc-mode.el (c-before-hack-hook)
16246 (c-postprocess-file-styles): Give invocation of `c-set-style'
16247 DONT-OVERRIDE parameter of t. Already set style variables will
16248 thus not be overridden by style settings given by `c-file-syle'.
16250 * files.el (hack-local-variables-filter): Remove entries with
16251 duplicate keys from `file-local-variables-alist'.
16253 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16255 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
16256 x-set-selection if display-selections-p returns nil for the
16259 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
16261 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
16263 2009-07-18 Eli Zaretskii <eliz@gnu.org>
16265 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
16266 Accept nil in addition to a regexp.
16267 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
16268 Accept nil in addition to a regexp.
16269 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
16270 buffers that have an associated file. Handle nil values of
16271 desktop-buffers-not-to-save and desktop-files-not-to-save.
16274 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16275 (x-disown-selection-internal): New functions.
16277 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
16279 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
16281 (gdb-breakpoints-header): Move forward to avoid compiler warning.
16282 (gdb-make-header-line-mouse-map): Remove duplicate definition.
16284 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
16286 * simple.el (set-mark): Revert last change.
16288 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
16290 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
16291 rendering of pngs is not possible instead of messaging a long
16294 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
16296 * w32-fns.el (x-selection-owner-p): New function.
16298 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
16299 (mouse-yank-at-click, mouse-yank-primary): If
16300 select-active-regions is non-nil, deactivate the mark before
16303 * simple.el (deactivate-mark, set-mark): Only save selection if we
16306 2009-07-17 Kenichi Handa <handa@m17n.org>
16308 * case-table.el (describe-buffer-case-table): Fix for the case
16309 that KEY is a cons.
16311 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
16313 * vc-rcs.el (vc-rcs-find-file-hook):
16314 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
16316 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
16318 * net/tramp.el (tramp-wait-for-output): Handle the case when
16319 commands do not return a newline but a null byte before the shell
16322 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16324 * term/ns-win.el (ns-set-alpha): Don't declare.
16325 (ns-set-background-alpha): Remove function.
16327 2009-07-16 Kevin Ryde <user42@zip.com.au>
16329 * emacs-lisp/copyright.el (copyright-update): Save match-data across
16330 y-or-n-p, for safety.
16332 2009-07-16 Richard Stallman <rms@gnu.org>
16334 * files.el (auto-save-mode): If buffer-saved-size is -2,
16337 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
16338 (rmail-retry-ignored-headers): Add more uninteresting fields.
16340 2009-07-15 Jari Aalto <jari.aalto@cante.net>
16342 * net/rcirc.el (rcirc): Use history variables.
16343 (rcirc-server-name-history, rcirc-nick-name-history)
16344 (rcirc-server-port-history): New variables.
16346 2009-07-15 Kenichi Handa <handa@m17n.org>
16348 * international/mule-cmds.el (set-language-environment-charset):
16349 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
16352 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
16353 Delete unibyte-display.
16355 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16357 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
16359 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
16361 * simple.el (deactivate-mark): Optional argument FORCE.
16362 (set-mark): Use deactivate-mark.
16364 * info.el (Info-search): No need to check transient-mark-mode
16365 before calling deactivate-mark.
16367 * select.el (x-set-selection): Doc fix.
16368 (x-valid-simple-selection-p): Allow buffer values.
16369 (xselect--selection-bounds): Handle buffer values. Suggested by
16370 David De La Harpe Golden.
16372 * mouse.el (mouse-set-region, mouse-drag-track): Call
16373 copy-region-as-kill before setting the mark, to let
16374 select-active-regions work.
16376 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
16378 * simple.el (deactivate-mark): If select-active-regions is
16379 non-nil, copy the selection data into a string.
16380 (activate-mark): If select-active-regions is non-nil, set the
16381 selection to the current buffer.
16382 (set-mark): Update selection if select-active-regions is non-nil.
16384 * select.el (x-valid-simple-selection-p): Allow buffer values.
16386 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
16388 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
16389 and more featureful message-mode.
16391 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
16393 * select.el (x-set-selection): Doc fix.
16394 (x-valid-simple-selection-p): Disallow selection data consisting
16395 of a list or cons of integers, since that is not used.
16396 (xselect--selection-bounds, xselect--int-to-cons): New functions.
16397 (xselect-convert-to-string, xselect-convert-to-length)
16398 (xselect-convert-to-filename, xselect-convert-to-charpos)
16399 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
16401 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
16403 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
16404 output in -break-info command (Emacs bug #3794).
16406 2009-07-14 Glenn Morris <rgm@gnu.org>
16408 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
16409 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
16410 (edebug-print-length, edebug-print-level, edebug-print-circle)
16411 (edebug-sit-for-seconds, edebug-view-outside)
16412 (edebug-bounce-point, edebug-set-global-break-condition)
16413 (edebug-Go-nonstop-mode, edebug-trace-mode)
16414 (edebug-Trace-fast-mode, edebug-continue-mode)
16415 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
16416 (edebug-visit-eval-list): Doc fixes.
16418 * subr.el (def-edebug-spec): Doc fix.
16420 2009-07-14 Kenichi Handa <handa@m17n.org>
16422 * international/characters.el: Fix setting of category ?C.
16424 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
16426 * term/ns-win.el (x-select-font): defalias x-select-font to
16427 ns-popup-font-panel instead of generate-fontset-menu.
16429 2009-07-12 Eli Zaretskii <eliz@gnu.org>
16431 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
16433 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
16435 * arc-mode.el (archive-find-type): Allow for a PK00 string before
16436 the PK\003\004 header (Bug#3770).
16438 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
16440 * pcomplete.el (pcomplete-comint-setup): Check for
16441 shell-dynamic-complete-filename too.
16443 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
16445 * simple.el (temporary-goal-column): Change the value for
16446 line-move-visual to a cons cell.
16447 (line-move-visual): Record or set the window hscroll, if
16448 necessary (Bug#3494).
16449 (line-move-1): Handle cons value of temporary-goal-column.
16451 2009-07-11 Kenichi Handa <handa@m17n.org>
16453 * international/mule-diag.el (describe-character-set): Don't show
16456 2009-07-10 Sam Steingold <sds@gnu.org>
16458 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16459 Omake sometimes indents the errors it prints, so allow all
16460 regexps to start with spaces.
16462 2009-07-10 Eli Zaretskii <eliz@gnu.org>
16464 * cus-edit.el (customize-changed-options-previous-release):
16465 Bump value to 22.1. (Bug#3804)
16467 2009-07-08 Sam Steingold <sds@gnu.org>
16469 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
16470 to be a cons cell (test . ignored-directory) to selectively ignore
16471 some directories depending on the location of the search.
16473 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
16475 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
16476 remote user is root, on the local host.
16477 (tramp-local-host-p): Either the local user or the remote user
16478 must be root. (Bug#3771)
16480 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16482 * progmodes/gdb-mi.el (gdb): Remove description of
16483 gdb-use-separate-io-buffer.
16484 (menu): Don't allow toggling of or enable
16485 gdb-use-separate-io-buffer from menubar.
16487 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
16489 * mail/unrmail.el (unrmail): Make sure the message ends with two
16490 newlines (Bug#3769).
16492 2009-07-08 Glenn Morris <rgm@gnu.org>
16494 * calendar/calendar.el (calendar-current-date): Rework previous change.
16496 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
16498 * calendar/calendar.el (calendar-current-date):
16499 Add an optional argument giving an offset from today.
16501 2009-07-08 Glenn Morris <rgm@gnu.org>
16503 * tutorial.el (tutorial--describe-nonstandard-key):
16504 Adjust the message for when a key has been unbound.
16505 (help-with-tutorial): Hide the arch-tag.
16507 2009-07-08 Kenichi Handa <handa@m17n.org>
16509 * international/fontset.el (setup-default-fontset): For each
16510 script, append (not set) font-specs.
16512 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
16515 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
16517 * progmodes/gdb-mi.el (gdb-init-1): Move sending
16518 -data-list-register-names to ...
16519 (gdb-starting): ... here because GDB 7.0 requires execution to
16520 have started when using this MI command.
16521 (gdb-set-header): New function to distinguish select and
16522 unselected tabs in gdb buffers.
16523 (gdb-propertize-header): New macro that uses gdb-set-header.
16524 (gdb-breakpoints-header, gdb-locals-header): Use it.
16525 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
16527 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
16529 * Makefile.in (ELCFILES): Remove fadr.elc.
16531 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
16533 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
16534 may contain frame information, so `string-match' should be used.
16535 (gdb-update): Disassembly is invalidated through
16536 `gdb-get-selected-frame'.
16537 (gdb-pad-string): New function to pad string with spaces.
16538 (gdb-invalidate-disassembly): Invalidate only if the buffer
16540 (gdb-disassembly-handler-custom): Column alignment.
16541 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
16543 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
16545 (gdb-frame-handler): Match convention to for disassembly buffer
16547 (gdb-stack-list-frames-handler): Rewritten without regexps.
16548 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
16549 not highlight breakpoints without line information.
16550 (gdb-input): Add trailing newline to command.
16552 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
16554 (gdb-breakpoints-list-handler-custom): Replacement for
16555 `gdb-break-list-handler'. Using real parser instead of regexps
16557 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
16558 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
16559 to place breakpoints.
16560 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
16562 (gdb-disassembly-handler-custom): Show overlay arrow.
16563 (gdb-disassembly-place-breakpoints): Show breakpoints in
16564 disassembly buffer.
16565 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
16566 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
16567 instead of parsing breakpoints buffer. Fixed old menu references
16572 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
16573 (gdb-memory-address): New variable which holds top address of
16574 memory page shown in memory buffer.
16575 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
16576 customization variables.
16578 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
16579 display the memory buffer.
16580 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
16581 buffer display parameters.
16582 (def-gdb-memory-format, gdb-memory-format-binary)
16583 (gdb-memory-format-octal, gdb-memory-format-unsigned)
16584 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
16585 Functions for setting memory buffer format.
16586 (gdb-memory-unit-word, gdb-memory-unit-halfword)
16587 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
16588 unit size used in memory buffer.
16589 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
16590 to next/previous page of memory buffer.
16591 Now using (bindat-get-field) instead of fadr functions.
16593 2009-07-07 Sam Steingold <sds@gnu.org>
16595 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
16596 non-top-level files.
16598 2009-07-07 Kenichi Handa <handa@m17n.org>
16600 * international/mule-cmds.el (reset-language-environment): Put
16601 the highset priority to the charset iso-8859-1.
16603 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16605 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
16606 to the end of the line when locating the block (Bug#700).
16608 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
16610 * net/tramp.el (tramp-handle-write-region): Flush file properties
16611 in case of short track.
16613 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
16615 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
16616 Coded custom representation of verilog error regular expressions
16617 to work with Emacs-22's new format.
16618 (verilog-error-regexp-xemacs-alist): Coded custom representation
16619 of verilog error regular expressions to work with XEmacs format.
16620 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
16621 error recognition into XEmacs.
16622 (verilog-error-regexp-add-emacs): Hook routine to install verilog
16623 error recognition into Emacs-22.
16625 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
16627 * woman.el: Remove stand-alone closing parentheses.
16628 (woman-file-name, woman2-format-paragraphs)
16629 (woman-leave-blank-lines): Code cleanup.
16630 (woman-use-own-frame): Change default to nil.
16631 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
16632 defaults to inherit from default faces.
16633 (woman2-process-escapes): Consume the newline after a stand-alone
16634 filler character (Bug#3651).
16636 2009-07-06 Glenn Morris <rgm@gnu.org>
16638 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
16639 (top-level): Move provide to the end.
16640 (ffap): Remove defunct URL from custom group.
16642 * subr.el (eval-after-load): Doc fix.
16644 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
16646 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
16647 `calc-embedded-word' is called twice.
16649 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16651 * files.el (find-alternate-file-other-window, find-alternate-file):
16652 Obey confirm-nonexistent-file-or-buffer.
16654 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
16656 * dired-aux.el (dired-show-file-type): Handle remote files.
16658 2009-07-05 Jari Aalto <jari.aalto@cante.net>
16660 * desktop.el (desktop-globals-to-save):
16661 Add file-name-history (Bug#2750).
16663 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
16665 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
16667 2009-07-04 Johan Bockgård <bojohan@gnu.org>
16669 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
16670 property on entire argument since this is what eshell-lisp-command
16673 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
16675 * net/tramp-gvfs.el (tramp-gvfs-methods)
16676 (tramp-gvfs-zeroconf-domain)
16677 (tramp-bluez-discover-devices-timeout): Add version flag.
16678 (tramp-gvfs-handler-mounted-unmounted)
16679 (tramp-gvfs-connection-mounted-p): Polish handling of
16680 incompatibilities between GVFS 0.2 and 1.0.
16682 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
16684 * cus-start.el (all): Add make-pointer-invisible.
16686 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
16688 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
16689 formatted correctly.
16691 2009-07-02 Juri Linkov <juri@jurta.org>
16693 * info.el: Virtual Info files and nodes.
16694 (Info-virtual-files, Info-virtual-nodes): New variables.
16695 (Info-current-node-virtual): New variable.
16696 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
16698 (Info-file-supports-index-cookies): Use Info-virtual-file-p
16699 to check for a virtual file instead of checking a fixed list
16701 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
16702 instead of ad-hoc processing of "dir" and (apropos history toc).
16703 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
16704 instead of ad-hoc processing of "dir" and (apropos history toc).
16705 Reread a file when moving from a virtual node.
16706 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
16707 (Info-directory-toc-nodes, Info-directory-find-file)
16708 (Info-directory-find-node): New functions.
16709 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
16710 (Info-history): Move part of code to
16711 `Info-history-find-node'.
16712 (Info-history-toc-nodes, Info-history-find-file)
16713 (Info-history-find-node): New functions.
16714 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
16715 (Info-toc): Move part of code to `Info-toc-find-node'.
16716 (Info-toc-find-node): New function.
16717 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
16718 the current Info file name to references because now the node
16719 "*TOC*" belongs to the same Info manual.
16720 (Info-toc-build): Rename from `Info-build-toc'.
16721 (Info-toc-nodes): Rename input argument `file' to `filename'.
16722 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
16723 instead of ad-hoc processing of ("dir" apropos history toc).
16724 (Info-index-nodes): Use Info-virtual-file-p
16725 to check for a virtual file instead of checking a fixed list
16727 (Info-index-node): Add check for `Info-current-node-virtual'.
16728 Raise `save-match-data' higher up the tree to contain
16729 `search-forward' too (bug fix).
16730 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
16731 (Info-virtual-index-nodes): New variable.
16732 (Info-virtual-index-find-node, Info-virtual-index): New functions.
16733 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
16734 (Info-apropos-file, Info-apropos-nodes): New variables.
16735 (Info-apropos-toc-nodes, Info-apropos-find-file)
16736 (Info-apropos-find-node, Info-apropos-matches): New functions.
16737 (info-apropos): Move part of code to `Info-apropos-find-node' and
16738 `Info-apropos-matches'.
16739 (Info-mode-map): Bind "I" to `Info-virtual-index'.
16740 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
16741 for a virtual file instead of checking a fixed list of node names.
16743 * simple.el (async-shell-command): New command.
16745 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
16747 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
16748 instead of `mount-info'.
16750 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
16752 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
16753 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
16755 2009-07-02 Kenichi Handa <handa@m17n.org>
16757 * international/mule.el (set-keyboard-coding-system): Force *-unix
16758 coding-system to avoid eol conversion.
16760 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
16762 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
16763 Add handler for `process-file', `shell-command' and
16764 `start-file-process'.
16765 (tramp-gvfs-handle-shell-command)
16766 (tramp-gvfs-handle-start-file-process)
16767 (tramp-gvfs-handle-process-file): New defuns.
16768 (tramp-synce-list-devices): Simplify check for existence of property.
16770 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
16772 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
16774 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
16776 * language/korean.el (set-language-info-alist): Add korean-cp949,
16779 2009-07-01 Kenichi Handa <handa@m17n.org>
16781 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
16783 * international/encoded-kb.el: Deleted.
16785 * international/mule.el (set-keyboard-coding-system): Perform the
16786 necessary setup here instead of calling encoded-kbd-setup-display.
16788 2009-07-01 Glenn Morris <rgm@gnu.org>
16790 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
16792 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
16794 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
16796 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
16798 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
16799 Handle also the 'rename case, when setting file modes. (Bug#3712)
16800 (tramp-default-file-modes): Remove execute permissions.
16802 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
16803 (top): Add a default for "synce" in `tramp-default-user-alist'.
16804 Add completion function for "synce" method.
16805 (tramp-hal-service, tramp-hal-path-manager)
16806 (tramp-hal-interface-manager, tramp-hal-interface-device):
16808 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
16809 (tramp-synce-list-devices, tramp-synce-parse-device-names):
16812 * net/trampver.el: Update release number.
16814 2009-06-30 Kenichi Handa <handa@m17n.org>
16816 * international/fontset.el (setup-default-fontset): Add CJK fonts
16817 for symbols and the other miscellaneous characters.
16819 * language/korea-util.el (setup-korean-environment-internal):
16820 Make char-width-table suitable for Korean environments.
16821 (exit-korean-environment): Cancel above.
16823 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
16824 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
16825 setup-function to make char-width-table suitable for respective
16826 environments, and an exit-function to cancel that.
16828 * language/japan-util.el (setup-japanese-environment-internal):
16829 Call use-cjk-char-width-table with arg `ja_JP'.
16831 * international/characters.el (cjk-char-width-table): Delete it.
16832 (cjk-char-width-table-list): New variable.
16833 (use-cjk-char-width-table): New arg local-name.
16834 (use-default-char-width-table): Fix for the case that Emacs is
16835 already using the default char-width-table.
16837 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
16839 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
16840 modes mandatory. (Bug#3712)
16842 2009-06-29 Alan Mackenzie <acm@muc.de>
16844 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
16845 correction between the visible width of TABs and their number of bytes.
16847 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
16849 * server.el (server-buffer-done): Prevent kill-buffer from
16850 prompting by clearing the buffer modification flag (Bug#3696).
16852 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
16854 * progmodes/verilog-mode.el (verilog-beg-of-statement)
16855 (verilog-endcomment-reason-re): Support unique case and priority case.
16856 (verilog-basic-complete-re): Support localparam lineup.
16857 (verilog-beg-of-statement-1): Fix for robustness, unique case.
16858 (verilog-set-auto-endcomments): Fix for unique case, always_comb
16860 (verilog-leap-to-case-head): Now support *nested* unique &
16861 priority case statements.
16862 (verilog-auto-lineup): Make just declarations the default (as it
16864 (verilog-leap-to-case-head): Support priority/unique case statements.
16865 (verilog-auto-lineup): Rework to give users radio buttons to
16866 select the various styles of automatic lineup.
16867 (verilog-error-regexp-alist): Rework to support the XEmacs style
16868 of error regular expressions from compilers, lint tools &
16869 simulators. Note that GNU Emacs has made it impossible for a mode
16870 to load such things.
16871 (electric-verilog-terminate-line, verilog-indent-declaration)
16872 (verilog-auto-wiure): Rework for radio button selection of
16873 auto-lineup selection of specification of auto lineup.
16874 (verilog-beg-of-statement-1): Redesign to support proper operation
16875 in additional code, based on testing with auto-lineup.
16876 (verilog-calculate-indent, assignments & declarations)
16877 (verilog-backward-token): Enhance to support auto-lineup of
16878 assignments & declarations.
16879 (verilog-in-directive-p, verilog-at-struct-p): New function for
16880 easy test of whether we are.
16881 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
16882 to support safe execution at almost anyline.
16883 (verilog-calc-1): Properly support indenting deep inside generate
16885 (verilog-init-font): Remove definition & use of verilog-init-font,
16886 as it is redundant with font-lock-defaults.
16887 (verilog-mode): Alter the definition of verilog-font-lock-defaults
16888 to avoid circular calls if syntax-ppss is a function (as is the
16889 case now in 22.x GNU Emacs) as that function would sometimes call
16890 itself, leading to (nearly) infinite recursion.
16891 (verilog-ovm-begin-re, verilog-ovm-end-re)
16892 (verilog-ovm-statement-re, verilog-leap-to-head)
16893 (verilog-backward-token): Add support for OVM macros. Some are
16894 complete statements, and others open and close scopes like begin
16896 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
16897 (verilog-defun-level-generate-only-re): Really fix the defun-list
16899 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
16900 coverpoint, constraint and cross statements.
16901 (verilog-defun-level-list, verilog-generate-defun-level-list)
16902 (verilog-all-defun-level-list): Redo these specifications - it is
16903 too hard to support eval-when compile aggregation of lists also
16904 built at when-compile time.
16905 (verilog-defun-level-list): Place defconsts of variables used in
16906 building regular expressions which are built in eval-when-compile
16907 bodies in the same eval-when-compile body to facilitate compile
16909 (verilog-beg-block-re-ordered): Support indenting
16910 virtual/protected tasks and functions.
16911 (verilog-defun-level-list, verilog-in-generate-region-p)
16912 (verilog-backward-ws&directives, verilog-calc-1): Speed up
16913 indentation of some module items (generate items).
16914 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
16915 across virtual/protected tasks and functions.
16917 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
16919 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
16920 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
16921 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
16922 in concatenations. Reported by Yishay Belkind.
16923 (verilog-auto-ascii-enum): Support one-hot state machines in
16924 AUTOASCIIENUM. Suggested by Lloyd Gomez.
16925 (verilog-auto-inst, verilog-auto-inst-port): Include interface
16926 modport in AUTOINST and add vl-modport for users. Reported by
16928 (verilog-auto-inout-module, verilog-auto-inst)
16929 (verilog-decls-get-interfaces, verilog-insert-definition)
16930 (verilog-insert-one-definition, verilog-read-decls)
16931 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
16932 (verilog-sig-modport, verilog-signals-combine-bus)
16933 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
16934 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
16935 Suggested by David Rogoff.
16936 (verilog-repair-open-comma): Fix non-insertion of comma when
16937 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
16938 (verilog-make-width-expression): Simplify [A-1:0] expression
16939 widths to just {A{1'b0}}.
16940 (verilog-mode): Cleanup checkdoc warnings.
16941 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
16942 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
16943 inputs/outputs or data type. Suggested by Vasu Kandadi.
16944 (next-error-last-buffer): Fix byte-compiler warning.
16945 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
16946 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
16947 or shell command text during AUTO expansion. Suggested by Tad Truex.
16948 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
16949 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
16950 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
16951 in AUTOINOUT. Reported by Matthew Lovell.
16952 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
16953 causing use of <= assignments. Reported by Alex Reed.
16954 (verilog-read-decls): Fix triand, trior, wand, wor to be
16955 recognized by AUTOWIRE. Reported by Spencer Isaacson.
16956 (verilog-extended-complete-re): Support import "DPI-C" functions.
16957 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
16958 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
16959 (verilog-insert-date, verilog-insert-year)
16960 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
16961 Windows systems. Reported by Michael Potts.
16962 (verilog-read-module-name): Fix AUTOINST when the child module
16963 declaration's name is a tick define. Reported by Elliot Mednick.
16964 (verilog-read-decls): Fix V2K parameter bit subscripts getting
16965 passed to next parameter's definition. Reported by Bruce T.
16966 (verilog-read-decls): Fix detecting "parameter int" when using
16967 AUTOINSTPARAM. Reported by Bruce T.
16968 (verilog-goto-defun): Fix goto not finding modules unless first
16969 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
16970 (verilog-mode): Expand -f flag arguments on entry to mode so
16971 verilog-goto-defun will work. Reported by Lawrence Butcher.
16972 (verilog-getopt): Expand environment variables in -f file
16973 arguments. Suggested by Lawrence Butcher.
16974 (verilog-set-define): Fix "Symbol's value as variable is void"
16975 when reading enumerations.
16976 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
16977 Suggested by Stephen Peltan.
16978 (verilog-read-defines): Fix reading of enumerations in include
16979 files. Reported by Steve Peltan.
16981 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16983 * files.el (trash-directory): Fix defcustom type.
16985 2009-06-28 Juri Linkov <juri@jurta.org>
16987 * help-fns.el (describe-function-1): Correctly locate adviced
16988 functions in hyperlink (Bug#2438).
16990 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
16992 * files.el (trash-directory): Change default to nil.
16993 (move-file-to-trash): If trash-directory is nil and
16994 system-move-file-to-trash is unbound, perform freedesktop-style
16997 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
16999 * files.el (move-file-to-trash): Add freedesktop trash
17002 2009-06-28 Glenn Morris <rgm@gnu.org>
17004 * autorevert.el (global-auto-revert-non-file-buffers)
17005 (global-auto-revert-mode): Doc fixes.
17007 2009-06-27 Johan Bockgård <bojohan@gnu.org>
17009 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
17011 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
17013 * faces.el (x-handle-named-frame-geometry): Ensure that we have
17014 opened an X connection before calling x-get-resource (Bug#3194).
17016 * play/doctor.el: Remove reference to obsolete website.
17017 (make-doctor-variables): Correct grammar mistake (Bug#2633).
17019 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
17021 Remove find-file-not-found-hook VC method. (Bug#2757)
17022 * vc-hooks.el (vc-file-not-found-hook)
17023 (vc-default-find-file-not-found-hook): Remove functions.
17024 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
17025 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
17028 * vc-git.el: Do not mention find-file-not-found-hook VC method.
17030 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
17032 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
17033 compatibility function for `looking-back'.
17035 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
17036 Use `ispell-looking-back'.
17038 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
17040 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
17041 rather than `filename'.
17043 2009-06-23 Miles Bader <miles@gnu.org>
17045 * face-remap.el (text-scale-set): New function.
17047 2009-06-23 Glenn Morris <rgm@gnu.org>
17049 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
17051 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
17053 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
17055 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
17057 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
17058 Simplify Persian conditionals.
17060 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
17061 variable `filename'.
17063 * comint.el (comint-insert-input): Doc fix.
17065 * Makefile.in (ELCFILES): Fix typo in previous change.
17067 2009-06-23 Miles Bader <miles@gnu.org>
17069 * cus-start.el: Add entry for `recenter-redisplay'.
17071 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17073 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
17074 Add an optional argument for the backend, use it instead of
17075 calling vc-backend.
17076 (vc-mode-line): Add an optional argument for the backend.
17077 Pass the backend to vc-state and vc-working-revision. Move code for
17078 special handling for vc-state being a buffer to ...
17080 * vc-rcs.el (vc-rcs-find-file-hook):
17081 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
17083 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
17084 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
17085 vc-stay-local-p and vc-mode-line calls.
17087 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
17088 (vc-cvs-diff, vc-cvs-annotate-command)
17089 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
17090 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
17091 vc-mode-line calls.
17093 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
17095 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
17096 backend when calling vc-mode-line.
17097 (vc-register): Do not create a closure for calling the vc register
17098 function, call it directly.
17100 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
17102 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
17103 to make it obvious item can be clicked.
17105 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
17107 2009-06-23 Kenichi Handa <handa@m17n.org>
17109 * language/korea-util.el (korean-key-bindings): Change the binding
17110 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
17113 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
17115 Sync with Tramp 2.1.16.
17117 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
17119 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
17120 when a loading of a package fails. Completion function for rsync
17121 is `tramp-completion-function-alist-ssh'.
17122 (all): Replace all calls of `split-string' and
17123 `tramp-split-string' by `tramp-compat-split-string'.
17124 (tramp-default-method): Use `tramp-compat-process-running-p'.
17125 (tramp-default-proxies-alist): Allow also Lisp forms.
17126 (tramp-remote-path): Add choice "Private Directories".
17127 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
17128 (tramp-domain-regexp): Allow also "-", "_" and ".".
17129 (tramp-end-of-output): Remove newlines, and add "$" at the end.
17130 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
17131 (tramp-debug-message): Insert header line in debug buffer.
17132 (tramp-handle-directory-files-and-attributes-with-stat):
17133 Care about filenames with spaces, or starting with "-".
17134 (tramp-handle-dired-uncache): New defun.
17135 (tramp-handle-insert-directory): Don't flush the directory from
17136 cache, this is handled by `dired-uncache' now.
17137 (tramp-handle-insert-file-contents): Improve error handling.
17138 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
17139 Quote `tramp-end-of-output'.
17140 (tramp-action-password): Improve trace message.
17141 (tramp-check-for-regexp): Both echoes must be present, before removing.
17142 (tramp-open-connection-setup-interactive-shell): Trace coding system.
17143 (tramp-compute-multi-hops): Eval cons cells of
17144 `tramp-default-proxies-alist'.
17145 (tramp-maybe-open-connection): Use the same command pattern for
17146 first hop and further hops.
17147 (tramp-wait-for-output): Remove handling of newlines.
17148 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
17149 (tramp-split-string): Remove function. It is handled in
17152 * net/tramp-cmds.el (tramp-bug):
17153 Recommend `tramp-cleanup-all-connections' in the bug mail.
17155 * net/tramp-compat.el (tramp-compat-split-string)
17156 (tramp-compat-process-running-p): New defuns.
17158 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
17159 for `dired-uncache'.
17161 * net/tramp-gvfs.el: New package.
17163 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
17164 Add handler for `dired-uncache'.
17165 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
17167 * net/trampver.el: Update release number. Make version check fit
17170 2009-06-22 Jim Meyering <meyering@redhat.com>
17172 Automatically handle .xz suffix (XZ-compressed files), too.
17173 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
17174 XZ is the successor to LZMA: <http://tukaani.org/xz/>
17176 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
17177 Nick Roberts <nickrob@snap.net.nz>
17179 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
17180 repository (http://sphinx.net.ru/hg/gdb-mi/).
17182 2009-06-22 Glenn Morris <rgm@gnu.org>
17184 * files.el (dir-locals-collect-mode-variables): Allow for any number of
17185 `mode' and `eval' entries. (Bug#3430)
17187 * Makefile.in (ELCFILES): Add fadr.elc.
17189 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
17190 differing behavior of \n and ^ in strings. (Bug#3385)
17192 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
17194 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
17196 (lisp-indent-function): Make it a defcustom.
17198 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
17200 * progmodes/gdb-ui.el: Replace with ...
17201 * progmodes/gdb-mi.el: ... this file.
17202 * progmodes/gud.el: Modify for gdb-mi.el.
17204 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
17206 * fadr.el: New file.
17208 See ChangeLog.14 for earlier changes.
17210 ;; Local Variables:
17214 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
17216 This file is part of GNU Emacs.
17218 GNU Emacs is free software: you can redistribute it and/or modify
17219 it under the terms of the GNU General Public License as published by
17220 the Free Software Foundation, either version 3 of the License, or
17221 (at your option) any later version.
17223 GNU Emacs is distributed in the hope that it will be useful,
17224 but WITHOUT ANY WARRANTY; without even the implied warranty of
17225 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17226 GNU General Public License for more details.
17228 You should have received a copy of the GNU General Public License
17229 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
17231 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1