Special handling of the `custom-enabled-themes' custom variable.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2
3 * custom.el (custom--inhibit-theme-enable): Make it affect only
4 custom-theme-set-variables and custom-theme-set-faces.
5 (provide-theme): Ignore custom--inhibit-theme-enable.
6 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7 (custom-enabling-themes): Delete variable.
8 (enable-theme): Accept only loaded themes as arguments. Ignore
9 the special custom-enabled-themes variable.
10 (custom-enabled-themes): Forbid themes from setting this.
11 Eliminate use of custom-enabling-themes.
12 (custom-push-theme): Quote "changed" custom var entry.
13
14 2011-03-21 Leo Liu <sdl.web@gmail.com>
15
16 * ido.el (ido-read-internal): Add ido-selected to history instead
17 of user input.
18
19 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * subr.el (deferred-action-list, deferred-action-function):
22 Mark obsolete.
23
24 2011-03-21 Leo Liu <sdl.web@gmail.com>
25
26 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27 change on 2011-02-13 (bug#8309).
28
29 * minibuffer.el (read-file-name-function): Change default value.
30 (read-file-name--defaults): Rename from read-file-name-defaults.
31 (read-file-name-default): Rename from read-file-name.
32 (read-file-name): Call read-file-name-function.
33
34 2011-03-21 Glenn Morris <rgm@gnu.org>
35
36 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
37 Doc fixes.
38
39 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
40
41 * cus-theme.el: Add missing provide statement.
42 (customize-create-theme): Extract theme value correctly.
43 (custom-theme-visit-theme): Autoload.
44 (customize-create-theme): Prompt before inserting default faces.
45
46 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
47
48 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
49 units and musical notes.
50
51 2011-03-20 Leo <sdl.web@gmail.com>
52
53 * ido.el (ido-read-internal): Use completing-read-default.
54 (ido-completing-read): Fix compatibility with completing-read.
55
56 2011-03-20 Christian Ohler <ohler@gnu.org>
57
58 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
59 (ert-delete-all-tests): Use `called-interactively-p' rather than
60 `interactive-p'.
61 (ert--make-xrefs-region): Respect END.
62
63 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
64
65 * dired-aux.el (dired-create-directory): Signal an error if the
66 directory already exists (Bug#8246).
67
68 * facemenu.el (list-colors-display): Call list-faces-display
69 inside with-help-window.
70 (list-colors-print): Use display property to align the final
71 column, instead of checking window-width.
72
73 2011-03-19 Eli Zaretskii <eliz@gnu.org>
74
75 * emerge.el (emerge-metachars): Separate value for ms-dos and
76 windows-nt systems.
77 (emerge-protect-metachars): Quote correctly for ms-dos and
78 windows-nt systems.
79
80 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
81
82 * info.el (info-initialize): Replace all uses of `:' with
83 path-separator for compatibility with non-Unix systems.
84 Cache quoting of path-separator. (Bug#8258)
85
86 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
87
88 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
89 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
90 (mouse-avoidance-mode): Fix typos in docstrings.
91
92 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
93
94 * startup.el (package-subdirectory-regexp): Move from package.el.
95 Omit \\` and \\', and let callers add them.
96
97 * emacs-lisp/package.el (package-strip-version)
98 (package-load-all-descriptors): Add \\` and \\' to
99 package-subdirectory-regexp before using it.
100 (package-untar-buffer): New arg DIR; ensure that file untars only
101 into this expected directory. Remove superfluous delete-region.
102 (package-unpack): Caller changed.
103 (package-tar-file-info): Use package-subdirectory-regexp.
104
105 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
106
107 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
108 diff-mode-shared-map (bug#8284).
109 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
110
111 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
112
113 * calendar/time-date.el (format-seconds): Use assoc instead of
114 assoc-string, since assoc-string doesn't exist in XEmacs.
115
116 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
117
118 * custom.el (custom-known-themes): Reflow docstring.
119 (custom-theme-load-path): Fix typo in docstring.
120 (load-theme): Fix typo in error message.
121 (custom-available-themes, custom-variable-theme-value):
122 Use `let', not `let*'.
123
124 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
125
126 * calc/README: Mention inclusion of musical notes.
127
128 * calc/calc-units.el (calc-lu-quant): Rename from
129 `calc-logunits-quantity'.
130 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
131 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
132 (calc-db): Rename from `calc-dblevel'.
133 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
134 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
135 (calc-np): Rename from `calc-nplevel'.
136 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
137 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
138 (calc-lu-plus): Rename from `calc-logunits-add'.
139 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
140 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
141 (calc-lu-minus): Rename from `calc-logunits-sub'.
142 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
143 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
144 (calc-lu-times): Rename from `calc-logunits-mul'.
145 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
146 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
147 (calc-lu-divide): Rename from `calc-logunits-div'.
148 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
149 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
150
151 * calc/calc-ext.el (calc-init-extensions): Update the names of the
152 functions being autoloaded.
153
154 * calc/calc.el (calc-lu-power-reference): Rename from
155 `calc-logunits-power-reference'.
156 (calc-lu-field-reference): Rename from
157 `calc-logunits-field-reference'.
158
159 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
160
161 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * minibuffer.el (completion-all-sorted-completions):
164 Use :completion-cycle-penalty text property if present.
165
166 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
167
168 * allout.el (allout-yank-processing): Adjust for new rebulleting
169 regime so bullet being yanked is used without prompting the user
170 for a choice.
171
172 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
173
174 * startup.el (command-line): Warn the user that _emacs is deprecated.
175
176 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
177
178 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
179 (delphi-verbose, delphi-comment-face, delphi-string-face)
180 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
181 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
182 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
183 (delphi-new-comment-line, delphi-font-lock-defaults)
184 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
185 Fix typos in docstrings.
186
187 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
188
189 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
190 Invert the roles of character and string values for INSTEAD, so a
191 string is used for the more common case of a defaulting prompt.
192
193 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * progmodes/ruby-mode.el (ruby-backward-sexp):
196 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
197 * play/gamegrid.el (gamegrid-make-face):
198 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
199 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
200 * notifications.el (notifications-notify):
201 * net/xesam.el (xesam-search-engines):
202 * net/quickurl.el (quickurl-list-insert):
203 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
204
205 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
206
207 * startup.el (command-line): Update package subdirectory regexp.
208
209 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * allout.el (allout-abbreviate-flattened-numbering)
212 (allout-mode-deactivate-hook): Fix up obsolescence "date".
213
214 * subr.el (read-char-choice): Only show the cursor after the prompt,
215 not after the answer.
216
217 2011-03-15 Kevin Ryde <user42@zip.com.au>
218
219 * help-fns.el (variable-at-point): Skip leading quotes, if any
220 (bug#8253).
221
222 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
223
224 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
225 warning message.
226
227 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
228
229 * shell.el (shell): When called interactively, offer to change the
230 shell file name on remote hosts.
231
232 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
233
234 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
235 integration for LDAP parameters. The host, base, user or binddn,
236 and secret tokens can be specified in a netrc file, for instance.
237 This is optional because an `auth-source' parameter must be
238 specified in the search attributes.
239
240 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
241
242 * help.el (describe-mode): Link to the mode's definition (bug#8185).
243
244 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
247 into declaration. Remove redundant and harmful binding.
248
249 2011-03-12 Eli Zaretskii <eliz@gnu.org>
250
251 * files.el (file-ownership-preserved-p): Pass `integer' as an
252 explicit 2nd argument to `file-attributes'. If the file's owner
253 is the Administrators group on Windows, and the current user is
254 Administrator, consider that a match.
255
256 * server.el (server-ensure-safe-dir): Consider server directory
257 safe on MS-Windows if its owner is the Administrators group while
258 the current Emacs user is Administrator. Use `=' to compare
259 numerical UIDs, since they could be integers or floats.
260
261 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
262
263 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
264
265 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
266
267 Sync with Tramp 2.2.1.
268
269 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
270
271 * net/trampver.el: Update release number.
272
273 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * progmodes/compile.el (compilation--previous-directory): Fix up
276 various nil/dead-marker mismatches (bug#8014).
277 (compilation-directory-properties, compilation-error-properties):
278 Don't call it at a position past the one we're about to change.
279
280 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
281 Disable obsolescence warnings in the file that declares it.
282
283 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
284
285 * allout-widgets.el (allout-widgets-tally): Initialize
286 allout-widgets-tally as a hash table rather than nil to prevent
287 mode-line redisplay warnings.
288 Also, clarify the module description and fix a comment typo.
289
290 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
291
292 * help-fns.el (describe-variable): Don't complete keywords.
293 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
294
295 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
296
297 * emacs-lisp/package.el (package-version-join): Impose a standard
298 string representation for pre/alpha/beta version lists.
299 (package-unpack-single): Standardize the directory name by passing
300 it through package-version-join.
301 (package-strip-rcs-id): Accept any version string that does not
302 signal an error in version-to-list.
303
304 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
305
306 * simple.el (delete-trailing-whitespace): Return nil for the
307 benefit of `write-file-functions'.
308
309 2011-03-10 Glenn Morris <rgm@gnu.org>
310
311 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
312
313 * vc/vc-git.el (vc-git-program): New option.
314 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
315 (vc-git--call): Use it.
316
317 * eshell/esh-util.el (eshell-condition-case): Doc fix.
318
319 * cus-edit.el (Custom-newline): If no button at point, look
320 for a subgroup button at start-of-line. (Bug#2298)
321
322 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
323
324 2011-03-10 Julien Danjou <julien@danjou.info>
325
326 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
327 `cursor-type' is nil.
328
329 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
330
331 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
332
333 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
334
335 * allout.el Summary: Change so yank of distinctive-bullet items
336 preserves the existing header prefix, rebulleting it if necessary,
337 rather than replacing it. This is necessary for proper operation
338 of cooperative addons like allout-widgets.
339 (allout-make-topic-prefix, allout-rebullet-heading): Change
340 SOLICIT arg to INSTEAD, and interpret additionally a string value
341 as alternate bullet to be used, instead of prompting the user for
342 a bullet character.
343
344 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
345
346 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
347 not use `tramp-file-name-port', because this returns also
348 `tramp-default-port'.
349
350 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
351
352 * net/rcirc.el (rcirc-handler-001): Remove useless
353 with-rcirc-process-buffer.
354 (rcirc-check-auth-status): Swap arguments to string-match.
355
356 2011-03-09 Glenn Morris <rgm@gnu.org>
357
358 * shell.el (shell-mode):
359 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
360
361 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
362 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
363
364 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
365
366 * emacs-lisp/package.el (package-refresh-contents)
367 (package-menu-execute): Use condition-case-no-debug.
368
369 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
370
371 * simple.el (shell-command-to-string): Use `process-file'.
372
373 * emacs-lisp/package.el (package-tar-file-info): Handle also
374 remote files.
375
376 * emacs-lisp/package-x.el (package-upload-buffer-internal): Use
377 `equal' for upload base check.
378
379 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
380
381 * textmodes/texinfo.el (texinfo-environments):
382 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
383
384 2011-03-08 Glenn Morris <rgm@gnu.org>
385
386 * cus-start.el (cursor-in-non-selected-windows):
387 Fix :set quoting oddness. (Bug#8192)
388
389 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
390 in some setf expressions. (Bug#2159)
391
392 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
393
394 * custom.el (custom-available-themes): Return themes in
395 alphabetical order.
396
397 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
398
399 * progmodes/cc-cmds.el (c-beginning-of-statement): Fix incorrect
400 application of patch from Alan Mackenzie (Bug#7595).
401
402 2011-03-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
403
404 * net/rcirc.el (rcirc-connect): Fix PASS bug.
405
406 2011-03-07 Glenn Morris <rgm@gnu.org>
407
408 * vc/vc.el (vc-next-action): Add missing space to y-or-n-p prompt.
409 Give an explicit error if failed to make writable. (Bug#6146)
410
411 2011-03-07 Ed Reingold <reingold@emr.cs.iit.edu>
412
413 * calendar/cal-hebrew.el (diary-hebrew-yahrzeit):
414 Add optional `after-sunset' argument. (Bug#8190)
415
416 2011-03-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
417
418 * play/morse.el (nato-alphabet, nato-region, denato-region):
419 New variable and functions. (Bug#2288)
420 (morse-region, unmorse-region): Barf if read-only.
421
422 2011-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
423
424 * progmodes/gud.el (gdb-script-syntax-propertize-function):
425 Don't change the syntax of a \n that closes a comment (bug#8169).
426
427 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
428
429 * emacs-lisp/package-x.el (package-archive-upload-base): Make it a
430 defcustom.
431 (package--update-file): Doc fix. Accept relative file names.
432 (package--archive-contents-from-file): Remove the argument, since
433 it's necessarily always "archive-contents".
434 (package-maint-add-news-item): Pass relative file name args to
435 package--update-file.
436 (package-upload-buffer-internal): Prompt for a destination if
437 package-archive-upload-base is invalid. Create the directory if
438 it does not exist.
439 (package-upload-buffer, package-upload-file): Doc fix.
440
441 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
442
443 * isearch.el (isearch-mode-map): Bind C-y to isearch-yank-kill,
444 and move isearch-yank-line to M-s C-e (Bug#8183).
445
446 2011-03-06 Alan Mackenzie <acm@muc.de>
447
448 * progmodes/cc-engine.el (c-guess-basic-syntax): Reindent.
449 (c-guess-basic-syntax): Move CASE 19 to a different place,
450 correctly to process template-args-cont lines.
451
452 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
453
454 * calc/calc-ext.el (calc-init-extensions):
455 Rename calc-logunits-dblevel and calc-logunits-nplevel to calc-dblevel
456 and calc-nplevel, respectively. Add keybindings for calc-spn,
457 calc-midi and calc-freq. Add autoloads for calcFunc-spn,
458 calcFunc-midi, calcFunc-freq, calc-spn, calc-midi and calc-freq.
459
460 * calc/calc-units.el (calc-dblevel): Rename from
461 calc-logunits-dblevel.
462 (calc-nplevel): Rename from calc-logunits-nplevel.
463 (math-midi-round, math-freqp, math-midip, math-spnp)
464 (math-spn-to-midi, math-midi-to-spn, math-freq-to-spn)
465 (math-midi-to-freq, math-spn-to-freq, calcFunc-spn, calcFunc-midi)
466 (calcFunc-freq, calc-freq, calc-midi, calc-spn): New functions.
467 (math-notes): New variable.
468
469 * calc/calc.el (calc-note-threshold): New variable.
470
471 2011-03-06 Chong Yidong <cyd@stupidchicken.com>
472
473 * emacs-lisp/package.el (package-archives): Accept either ordinary
474 directory names, in addition to HTTP URLs.
475 (package--with-work-buffer): New macro. Handle normal directories.
476 (package-handle-response): Don't display the failing buffer.
477 (package-download-single, package-download-tar)
478 (package--download-one-archive): Use package--with-work-buffer.
479 (package-archive-base): Rename from package-archive-url.
480
481 2011-03-06 Glenn Morris <rgm@gnu.org>
482
483 * generic-x.el (generic-unix-modes): Add xmodmap-generic-mode.
484 (xmodmap-generic-mode): Respect generic-extras-enable-list.
485
486 2011-03-06 Daniel Clemente <dcl441-bugs@yahoo.com> (tiny change)
487
488 * generic-x.el (xmodmap-generic-mode): New. (Bug#2065)
489
490 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
491
492 * allout.el (allout-init, allout-prefixed-keybindings)
493 (allout-unprefixed-keybindings):
494 * progmodes/prolog.el (prolog-find-term):
495 Fix typos in docstrings.
496
497 2011-03-06 Nikolaj Schumacher <me@nschum.de> (tiny change)
498
499 * emacs-lisp/elp.el (elp-results): Fix off-by-one in header. (Bug#2746)
500
501 2011-03-06 Kevin Ryde <user42@zip.com.au>
502
503 * textmodes/sgml-mode.el (sgml-fill-nobreak): Give it a doc. (Bug#5326)
504
505 2011-03-06 Michael Shields <shields@msrl.com> (tiny change)
506
507 * window.el (one-window-p, walk-windows, display-buffer):
508 Doc fixes. (Bug#5567)
509
510 2011-03-06 Jay Belanger <jay.p.belanger@gmail.com>
511
512 * cus-edit.el (custom-prompt-variable): Use the `custom-get' property
513 of the variable if it exists.
514
515 2011-03-06 Juanma Barranquero <lekktu@gmail.com>
516
517 * bookmark.el:
518 * desktop.el:
519 * emacs-lock.el:
520 * ps-print.el:
521 * saveplace.el:
522 * net/tramp-cache.el:
523 * obsolete/fast-lock.el:
524 * textmodes/reftex.el:
525 Don't set `kill-emacs-hook' on noninteractive sessions (bug#8137).
526
527 2011-03-05 Antoine Levitt <antoine.levitt@gmail.com>
528
529 * files.el (delete-directory, copy-directory, list-directory):
530 Use read-directory-name.
531
532 * find-file.el (ff-find-the-other-file):
533 * net/ange-ftp.el (ange-ftp-make-directory):
534 * printing.el (pr-interactive-dir):
535 * progmodes/ada-prj.el (ada-prj-load-directory):
536 * progmodes/ebnf2ps.el (ebnf-print-directory)
537 (ebnf-spool-directory, ebnf-eps-directory)
538 (ebnf-syntax-directory):
539 * shell.el (shell):
540 * speedbar.el (speedbar-create-directory):
541 * vc/emerge.el (emerge-merge-directories):
542 * vc/vc-dir.el (vc-dir):
543 * vc/vc.el (vc-create-tag, vc-retrieve-tag): Likewise.
544
545 2011-03-05 Chong Yidong <cyd@stupidchicken.com>
546
547 * help-mode.el (help-buffer): If we are to return the current
548 buffer, signal an error if it's not in Help mode (Bug#8147).
549
550 2011-03-05 Reuben Thomas <rrt@sc3d.org>
551
552 * files.el (file-name-version-regexp): Handle backup files of the
553 form `foo.js.~HEAD~1~' (Bug#8159).
554
555 2011-03-05 Glenn Morris <rgm@gnu.org>
556
557 * eshell/esh-var.el: Don't require esh-test when compiling.
558 * eshell/em-banner.el, eshell/esh-cmd.el, eshell/esh-mode.el:
559 * eshell/esh-var.el, eshell/eshell.el: Move tests to esh-test.
560 * eshell/esh-test.el: Move to ../../test/eshell.el.
561
562 2011-03-05 David Engster <deng@randomsample.de>
563
564 * files.el (save-some-buffers): Report the names of buffers saved
565 automatically due to buffer-save-without-query (Bug#8134).
566
567 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
568
569 * net/rcirc.el: Add QuakeNet authentication support.
570 (rcirc-authinfo, rcirc-check-auth-status)
571 (rcirc-authenticate): Support QuakeNet.
572
573 2011-03-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
574
575 * net/rcirc.el: Add functionality to authenticate before
576 autojoining channels.
577 (rcirc-authenticate-before-join): New option.
578 (rcirc-authenticated-hook): New variable.
579 (rcirc-connect): Make local variable rcirc-user-authenticated.
580 (rcirc-handler-001): Respect rcirc-authenticate-before-join.
581 (rcirc-check-auth-status, rcirc-join-channels-post-auth):
582 New functions.
583 (rcirc-handler-PRIVMSG, rcirc-handler-NOTICE):
584 Call rcirc-check-auth-status.
585
586 2011-03-05 Alex Harsanyi <AlexHarsanyi@gmail.com>
587
588 * net/soap-client.el (soap-namespace-put-link): Check if the target
589 name is fully qualified -- use only the name part.
590 (soap-parse-complex-type, soap-parse-sequence): Recognize xsd:all
591 types, treated the same as xsd:sequence. (Bug#8166)
592
593 2011-03-05 Eli Zaretskii <eliz@gnu.org>
594
595 * files.el (find-file-noselect): Don't ask about re-visiting
596 non-literally if the file is already visited in image-mode.
597 (Bug#8177)
598
599 2011-03-05 Glenn Morris <rgm@gnu.org>
600
601 * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
602 (eshell-mode): Use eshell-kill-buffer-function.
603 Run the -initialize functions independently of the -load-hooks.
604 * eshell/esh-proc.el (eshell-kill-process-function): New function.
605 (eshell-gather-process-output, eshell-sentinel)
606 (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
607 Use eshell-kill-process-function.
608 * eshell/em-alias.el (eshell-alias-load-hook):
609 * eshell/em-banner.el (eshell-banner-load-hook):
610 * eshell/em-cmpl.el (eshell-cmpl-load-hook):
611 * eshell/em-dirs.el (eshell-dirs-load-hook):
612 * eshell/em-glob.el (eshell-glob-load-hook):
613 * eshell/em-hist.el (eshell-hist-load-hook):
614 * eshell/em-pred.el (eshell-pred-load-hook):
615 * eshell/em-prompt.el (eshell-prompt-load-hook):
616 * eshell/em-rebind.el (eshell-rebind-load-hook):
617 * eshell/em-script.el (eshell-script-load-hook):
618 * eshell/em-smart.el (eshell-smart-load-hook):
619 * eshell/em-term.el (eshell-term-load-hook):
620 * eshell/em-unix.el (eshell-unix-load-hook):
621 * eshell/esh-arg.el (eshell-arg-load-hook):
622 * eshell/esh-cmd.el (eshell-cmd-load-hook):
623 * eshell/esh-ext.el (eshell-ext-load-hook):
624 * eshell/esh-io.el (eshell-io-load-hook):
625 * eshell/esh-mode.el (eshell-exit-hook):
626 * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
627 * eshell/esh-var.el (eshell-var-load-hook):
628 Set default hook values to nil. (Bug#5375)
629
630 * eshell/esh-module.el (eshell-module-unload-hook)
631 (eshell-modules-list): Remove leading * from defcustom docs.
632
633 * eshell/esh-util.el (eshell-for): Make it obsolete.
634 * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
635 * eshell/em-dirs.el (eshell-save-some-last-dir):
636 * eshell/em-hist.el (eshell-save-some-history)
637 (eshell-hist-parse-modifier):
638 * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files)
639 (eshell-ls-entries):
640 * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
641 * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval)
642 (eshell/which):
643 * eshell/esh-ext.el (eshell-find-interpreter):
644 * eshell/esh-mode.el (eshell-mode):
645 * eshell/esh-module.el (eshell-unload-extension-modules):
646 * eshell/esh-proc.el (eshell-process-interact):
647 * eshell/esh-test.el (eshell-test):
648 * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
649 * eshell/esh-var.el (eshell/env, eshell-environment-variables)
650 (eshell-variables-list):
651 * eshell/eshell.el (eshell-unload-all-modules):
652 Replace eshell-for with dolist.
653
654 2011-03-04 Glenn Morris <rgm@gnu.org>
655
656 * vc/vc-bzr.el (vc-bzr-after-dir-status): Handle bzr 2.3.0. (Bug#8170)
657
658 2011-03-04 Tom Tromey <tromey@redhat.com>
659
660 * progmodes/gud.el (gdb-script-mode): Derive from prog-mode.
661
662 2011-03-04 Glenn Morris <rgm@gnu.org>
663
664 * outline.el (outline-regexp): No longer allow nil.
665 (outline-heading-end-regexp): Add safety predicate. (Bug#7619)
666
667 * net/browse-url.el (browse-url):
668 Handle deleted default-directory. (Bug#6077)
669
670 * recentf.el (recentf-include-p): In case of a buggy predicate,
671 err on the side of including, not excluding. (Bug#5843)
672
673 2011-03-04 Jay Belanger <jay.p.belanger@gmail.com>
674
675 * calc/calc-units.el (math-to-standard-rec): Don't treat subscripted
676 variables as units.
677
678 2011-03-04 Bob Rogers <rogers@rgrjr.dyndns.org>
679
680 * emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
681 if there is no node. (Bug#3261)
682
683 2011-03-04 Leo <sdl.web@gmail.com>
684
685 * vc/diff-mode.el (diff-mode): Fix whitespace-style. (Bug#8139)
686
687 * time.el (display-time-world-list): Fix typo. (Bug#7571)
688
689 2011-03-04 Zachary Kanfer <zkanfer@gmail.com> (tiny change)
690
691 * cus-edit.el (custom-buffer-create-internal):
692 Split search string before passing it to `customize-apropos' (bug#8136).
693
694 2011-03-04 Drew Adams <drew.adams@oracle.com>
695
696 * image-dired.el (image-dired-cmd-read-exif-data-options):
697 Fix typo in docstring (bug#8156).
698
699 2011-03-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
700
701 * net/rcirc.el (rcirc-cmd-join): Accept comma-separated input.
702
703 2011-03-03 Christian Ohler <ohler@gnu.org>
704
705 * emacs-lisp/ert.el (ert--explain-equal): New function.
706 (ert--explain-equal-rec): Renamed from `ert--explain-not-equal'.
707 All callers changed.
708 (ert--explain-equal-including-properties): Renamed from
709 `ert--explain-not-equal-including-properties'. All callers
710 changed.
711
712 2011-03-03 Christian Ohler <ohler@gnu.org>
713
714 * emacs-lisp/ert.el (ert--stats-set-test-and-result)
715 (ert-char-for-test-result, ert-string-for-test-result)
716 (ert-run-tests-batch, ert--print-test-for-ewoc):
717 Handle `ert-test-quit'.
718
719 2011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
720
721 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
722 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
723
724 2011-03-03 Glenn Morris <rgm@gnu.org>
725
726 * files.el (file-truename): Doc fix. (Bug#2341)
727
728 2011-03-03 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
729
730 * vc/vc-dir.el (vc-dir-mode-map): Bind vc-dir-find-file to e (Bug#7349).
731
732 2011-03-03 Vagn Johansen <gonz808@hotmail.com> (tiny change)
733
734 * vc/vc-svn.el (vc-svn-after-dir-status): Some MS Windows svn client
735 programs output backslashes. (Bug#7663)
736
737 2011-03-03 Glenn Morris <rgm@gnu.org>
738
739 * mail/sendmail.el (mail-mode-map): Remove mail-sent-via.
740 (mail-mode): Remove mail-sent-via from the doc.
741 (mail-sent-via): Make it obsolete. (Bug#1776)
742
743 * progmodes/grep.el (grep-highlight-matches): Doc fix.
744 (grep-process-setup): No highlighting without font-lock. (Bug#8084)
745
746 * vc/vc-bzr.el (vc-bzr-state-heuristic): Handle dirstate entries
747 with no parents. (Bug#8025)
748
749 2011-03-02 Teodor Zlatanov <tzz@lifelogs.com>
750
751 * password-cache.el (password-in-cache-p): Add autoload.
752
753 2011-03-02 Glenn Morris <rgm@gnu.org>
754
755 * man.el (Man-support-local-filenames): Also handle Red Hat's man.
756 * dired-x.el (Man-support-local-filenames): Autoload it.
757 (dired-guess-shell-alist-default): Also handle Red Hat's man.
758
759 * dired-x.el (dired-default-directory-alist, dired-default-directory):
760 Mark as obsolete.
761 (dired-smart-shell-command): Just call dired-current-directory.
762
763 * dired-x.el (dired-jump-other-window): Add autoload.
764 (dired-default-directory-alist, dired-default-directory): Doc fixes.
765 (dired-default-directory-alist): Mark as risky.
766
767 * dired-x.el (dired-omit-here-always): Make it obsolete.
768
769 2011-03-02 Chong Yidong <cyd@stupidchicken.com>
770
771 * textmodes/artist.el (artist-curr-go): Default to pen-line.
772 (artist-select-op-pen-line): New function.
773 (artist-menu-map): New variable.
774 (artist-mode-map): Add a menu to the menu-bar.
775
776 2011-03-02 Jay Belanger <jay.p.belanger@gmail.com>
777
778 * calc/calc-math.el (calcFunc-log10): Check for symbolic mode
779 when evaluating.
780
781 * calc/calc-units.el (math-conditional-apply, math-conditional-pow):
782 New function.
783 (math-logunits-add, math-logunits-mul, math-logunits-divide):
784 (math-logunits-quant, math-logunits-level):
785 Use `math-conditional-apply' and `math-conditional-pow' to evaluate
786 functions.
787 (math-logunits-level): Extract units from ratio.
788
789 2011-03-01 Juanma Barranquero <lekktu@gmail.com>
790
791 * emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.
792
793 2011-03-01 Glenn Morris <rgm@gnu.org>
794
795 * calendar/cal-hebrew.el (calendar-hebrew-birthday)
796 (diary-hebrew-birthday): Rename and rework functions added
797 in previous change.
798
799 2011-03-01 Ed Reingold <reingold@emr.cs.iit.edu>
800
801 * calendar/cal-hebrew.el (hebrew-calendar-birthday)
802 (diary-hebrew-birthday): New functions.
803
804 2011-03-01 Glenn Morris <rgm@gnu.org>
805
806 * dired.el (dired-safe-switches-p): Beef it up.
807 (dired-actual-switches): Use it for the safe-local prop. (Bug#3230)
808
809 2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * dired.el (dired-safe-switches-p): New function.
812
813 2011-03-01 Glenn Morris <rgm@gnu.org>
814
815 * files.el (dir-locals-collect-variables):
816 Add the ability to exclude subdirectories. (Bug#8100)
817
818 * dired-x.el (dired-omit-here-always): Add `(subdirs . nil)' to locals.
819
820 2011-02-28 Christoph Scholtes <cschol2112@googlemail.com>
821
822 * ido.el (ido-everywhere): Doc fix.
823 (ido-mode): Doc fix.
824
825 2011-02-28 Glenn Morris <rgm@gnu.org>
826
827 * dired-x.el (dired-guess-shell-alist-default): Use \\', not $.
828
829 2011-02-28 Michael Albinus <michael.albinus@gmx.de>
830
831 * net/tramp-cmds.el (tramp-append-tramp-buffers): Dump load-path
832 shadows.
833
834 2011-02-28 Antoine Levitt <antoine.levitt@gmail.com>
835
836 * dired-x.el (dired-guess-shell-alist-default): Add rar and 7z.
837
838 2011-02-28 Juanma Barranquero <lekktu@gmail.com>
839
840 * emacs-lisp/pcase.el (pcase, pcase--u1, pcase--q1):
841 Fix typos in docstrings.
842
843 2011-02-28 Stephen Berman <stephen.berman@gmx.net>
844
845 * dired-aux.el (dired-update-file-line):
846 Fix 2010-11-09 change. (Bug#8131)
847
848 2011-02-28 Eli Zaretskii <eliz@gnu.org>
849
850 * international/mule-cmds.el (set-default-coding-systems): Use the
851 -unix variant of encoding in default-keyboard-coding-system.
852 (Bug#8122)
853
854 2011-02-27 Chong Yidong <cyd@stupidchicken.com>
855
856 * facemenu.el (list-colors-display): Use with-help-window (Bug#8048).
857
858 2011-02-27 Prestoo Ten <prestooten@gmail.com> (tiny change)
859
860 * term/screen.el: New file (Bug#2650).
861
862 2011-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * emacs-lisp/pcase.el (pcase--if): Try to invert test to reduce depth.
865 (pcase-mutually-exclusive-predicates): New var.
866 (pcase--split-consp, pcase--split-pred): Use it.
867 (pcase--split-equal, pcase--split-member): When splitting against
868 a pure predicate, run it to know the outcome.
869 (pcase--u1): Mark vars that are actually used.
870 (pcase--q1): Avoid introducing unused vars.
871
872 2011-02-27 Jay Belanger <jay.p.belanger@gmail.com>
873
874 * calc/calc-ext.el (calc-init-extensions):
875 Autoload `calc-l-prefix-help' instead of `calc-ul-prefix-help'.
876
877 * calc/calc-math.el (calcFunc-log10): Don't signal an error in
878 symbolic mode.
879
880 * calc/calc-vec.el (calcFunc-subscr): Return nil if the first
881 argument is a variable.
882
883 2011-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * emacs-lisp/assoc.el: Remove misleading `sort' (bug#8126).
886 (aput, adelete, amake): Replace `eval' -> `symbol-value'.
887 Suggested by Michael Heerdegen <michael_heerdegen@web.de>.
888
889 2011-02-25 Teodor Zlatanov <tzz@lifelogs.com>
890
891 * password-cache.el (password-in-cache-p): Convenience function to
892 check if a key is in the cache, even if the value is nil.
893
894 2011-02-25 Jambunathan K <kjambunathan@gmail.com>
895
896 * emacs-lisp/package-x.el (package--archive-contents-from-url)
897 (package--archive-contents-from-file): New functions.
898 (package-update-news-on-upload): New var.
899 (package-upload-buffer-internal): Extract archive-contents from
900 package-archive-upload-base if it is not found at archive-url.
901 Obey package-update-news-on-upload.
902 (package-upload-buffer, package-upload-file): Doc fix.
903
904 2011-02-24 Glenn Morris <rgm@gnu.org>
905
906 * files-x.el (modify-dir-local-variable): Handle dir-locals from
907 the cache, and from non-file sources.
908
909 * help-fns.el (describe-variable): Return consistent results when a
910 dir-local from a file came from the cache or did not. (Bug#8095)
911 If a dir-local has no associated file, say it came from a "directory".
912
913 * files.el (hack-dir-local-variables): Fix setting of `dir-name'.
914 (hack-local-variables-confirm, hack-local-variables-filter): Doc fix.
915
916 * files.el (dir-locals-find-file): Doc fix.
917 Fix the check for cache elements that have no associated file,
918 and the mtime check for those that do. (Bug#8095)
919
920 * dired-x.el (dired-hack-local-variables):
921 Handle interrupts during hacking local variables. (Bug#5216)
922
923 * emacs-lisp/autoload.el (autoload-save-buffers)
924 (autoload-find-destination, update-directory-autoloads):
925 Avoid prompts when updating autoloads.
926
927 2011-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): Obsolete.
930
931 2011-02-23 Kenichi Handa <handa@m17n.org>
932
933 * mail/rmailmm.el (rmail-mime-process-multipart): Do not signal an
934 error when a multipart boundary in the nested multipart is found.
935
936 * mail/rmail.el (rmail-start-mail): Decode "encoded-words" of
937 header components.
938
939 2011-02-23 Glenn Morris <rgm@gnu.org>
940
941 * dired.el (dired-mode): Call hack-dir-local-variables-non-file-buffer.
942 * dired-x.el (dired-omit-mode): Safe if boolean.
943 (dired-enable-local-variables): Fix doc and custom type.
944 (dired-enable-local-variables, dired-local-variables-file)
945 (dired-hack-local-variables): Make obsolete.
946 (dired-omit-here-always): Use dir-locals.el instead.
947
948 * files.el (safe-local-eval-forms): Add the write-file-hooks version.
949
950 2011-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * help-fns.el (describe-function-1): Don't signal an error just because
953 the DOC file disappeared.
954
955 2011-02-22 Seppo Sade <sepposade1@gmail.com> (tiny change)
956
957 * eshell/esh-ext.el (eshell-external-command): Do not restrict
958 remote check to "ftp". (Bug#8089)
959
960 2011-02-21 Alan Mackenzie <acm@muc.de>
961
962 Fix bug #7930.
963 * progmodes/cc-engine.el (c-state-literal-at): Prevent positions
964 in macros finding their way into c-state-nonlit-pos-cache.
965 Strengthen the comments.
966 (c-state-dump): New commented out diagnostic routine.
967
968 2011-02-21 Michael Albinus <michael.albinus@gmx.de>
969
970 * net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use
971 `field' property of `rfn-eshadow-overlay'.
972
973 2011-02-21 Lars Ingebrigtsen <larsi@gnus.org>
974
975 * net/netrc.el (netrc-parse): Comment fix.
976
977 2011-02-21 Chong Yidong <cyd@stupidchicken.com>
978
979 * color.el (color-name-to-rgb): Rename from color-rgb->normalize.
980 Autoload. Add optional arg FRAME, and pass it to color-values.
981 (color-complement): Caller changed. Doc fix.
982 (color-gradient): Rewrite for better clarity and efficiency.
983
984 * faces.el (color-values): Use cond for clarity. Doc fix.
985
986 * facemenu.el (color-rgb-to-hsv): Delete; use the version in
987 color.el instead.
988 (list-colors-sort-key, list-colors-print):
989 Use color-normalized-values.
990
991 2011-02-20 Drew Adams <drew.adams@oracle.com>
992
993 * color.el: First part of merge from hexrgb.el.
994 (color-rgb-to-hex): Rename from color-rgb->hex.
995 (color-rgb-to-hsv): Rename from color-rgb->hsv. Force hue and
996 saturation to zero if the value is too small.
997 (color-rgb-to-hsl): Rename from color-rgb->hsl.
998 (color-srgb-to-xyz): Rename from color-srgb->xyz. Doc fix.
999 (color-xyz-to-srgb): Rename from color-xyz->srgb. Doc fix.
1000 (color-xyz-to-lab): Rename from color-xyz->lab. Doc fix.
1001 (color-lab-to-xyz): Rename from color-lab->xyz. Doc fix.
1002 (color-lab-to-srgb): Rename from color-lab->srgb. Doc fix.
1003 (color-cie-de2000): Doc fix.
1004
1005 2011-02-20 Alan Mackenzie <acm@muc.de>
1006
1007 * progmodes/cc-cmds.el (c-beginning-of-statement): Avoid loop in
1008 locating the beginning of a macro. (Bug#7595)
1009
1010 2011-02-20 Glenn Morris <rgm@gnu.org>
1011
1012 * edmacro.el (edmacro-eight-bits): Make it a defcustom.
1013 Don't autoload it.
1014
1015 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1016 (global-auto-revert-ignore-buffer): Remove leading "*" from docs.
1017
1018 2011-02-19 Dmitry Bolshakov <dmitry.bolshakov@bridge-quest.com>
1019 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
1020
1021 * progmodes/hideshow.el (hs-find-block-beginning)
1022 (hs-hide-level-recursive): Ignore comments when parsing braces
1023 (Bug#8036).
1024
1025 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1026
1027 * vc/vc-bzr.el (vc-bzr-bound-branch-p): New function.
1028 (vc-bzr-pull): Use it.
1029
1030 2011-02-19 Chong Yidong <cyd@stupidchicken.com>
1031
1032 * vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
1033 (vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
1034 but returning an alist. Ignore comments in bzr conffile.
1035 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
1036 (vc-bzr-error-regex-alist): New var.
1037 (vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.
1038
1039 * vc/vc-dispatcher.el (vc-do-async-command):
1040 Bind inhibit-read-only to t.
1041
1042 * progmodes/compile.el (compilation--flush-directory-cache):
1043 Handle the case where cdr of compilation--flush-directory-cache
1044 points to no buffer, which can occur if we previously switched to
1045 compilation-mode in a pregenerated buffer.
1046
1047 2011-02-19 Kenichi Handa <handa@m17n.org>
1048
1049 * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
1050 get the header copy into the temporary buffer.
1051 (rmail-mime-insert-decoded-text): Ignore us-ascii.
1052 (rmail-show-mime): When rmail-mime-coding-system is nil, set
1053 buffer-file-coding-system to undecided.
1054
1055 2011-02-19 Eli Zaretskii <eliz@gnu.org>
1056
1057 * international/mule-cmds.el (read-char-by-name, ucs-insert):
1058 Document completion with asterisk and a substring.
1059
1060 2011-02-19 Glenn Morris <rgm@gnu.org>
1061
1062 * files.el (find-file-literally): Doc fix.
1063
1064 * simple.el (rfc822-goto-eoh): Give it a doc-string.
1065
1066 * log-edit.el (log-edit-insert-changelog):
1067 Fix `log-edit-strip-single-file-name' functionality. (Bug#8057)
1068
1069 2011-02-19 Glenn Morris <rgm@gnu.org>
1070
1071 * dired-x.el: Don't require dired-aux.
1072 (dired-do-create-files, dired-mark-read-regexp)
1073 (dired-do-create-files-regexp): Autoload from dired-aux.
1074
1075 * dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.
1076 * dired.el (dired-find-buffer-nocreate): Merge dired-x version.
1077
1078 * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
1079 * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
1080
1081 * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
1082 * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
1083 (dired-clean-up-buffers-too): Declare.
1084
1085 * dired-x.el (dired-initial-position): Merge into dired.el's version.
1086 * dired.el (dired-initial-position): Merge dired-x's version here.
1087 (dired-find-subdir): Declare.
1088
1089 * dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.
1090 * dired-aux.el (dired-add-entry): Give it a doc-string.
1091 Merge dired-x's dired-omit handling here.
1092 (dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.
1093
1094 * international/mule-diag.el (list-input-methods-1):
1095 Indent all lines of multi-line doc-strings. (Bug#8066)
1096
1097 2011-02-18 Chong Yidong <cyd@stupidchicken.com>
1098
1099 Fix 2011-02-02 changes.
1100
1101 * apropos.el (apropos-print): Call apropos-mode before setting up
1102 buffer variables. Use inhibit-read-only.
1103
1104 * emacs-lisp/package.el (package--list-packages):
1105 Call package-menu-mode before setting up buffer variables.
1106
1107 * play/solitaire.el (solitaire): Call solitaire-mode before
1108 setting up buffer variables. Use inhibit-read-only.
1109
1110 2011-02-18 Lawrence Mitchell <wence@gmx.li>
1111
1112 * progmodes/sh-script.el (sh-syntax-propertize-here-doc): (bug#8053)
1113 Bind case-fold-search to nil when looking for end of here-doc.
1114
1115 2011-02-18 Eli Zaretskii <eliz@gnu.org>
1116
1117 * image-mode.el (image-toggle-display-image):
1118 Set find-file-literally non-nil in buffers visiting binary image
1119 files. (Bug#8047)
1120
1121 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * files.el (cd): Make completion obey cd-path (bug#7924).
1124
1125 2011-02-18 Glenn Morris <rgm@gnu.org>
1126
1127 * progmodes/prolog.el: Don't require compile when compiling.
1128 (compilation-shell-minor-mode, compilation-error-regexp-alist)
1129 (compilation-forget-errors, compilation-fake-loc)
1130 (compilation-parse-errors-function, compilation-error-list): Declare.
1131 (prolog-inferior-mode): Require 'compile.
1132
1133 * emulation/cua-base.el (pc-selection-mode): Declare.
1134
1135 * emacs-lisp/eieio-custom.el: Set generated-autoload-file.
1136 (customize-object): Add autoload cookie.
1137 * emacs-lisp/eieio-opt.el: Set generated-autoload-file.
1138 (eieio-browse, describe-class, eieio-describe-class)
1139 (eieio-describe-constructor, describe-generic, eieio-describe-generic)
1140 (eieio-help-mode-augmentation-maybee): Add autoload cookies.
1141 * emacs-lisp/eieio.el: Regenerate with automatic autoloads.
1142 * Makefile.in (autoloads): Make eieio.el writable.
1143
1144 * dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
1145 (dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
1146 (dired-hack-local-variables): Use inhibit-read-only.
1147 (dired-guess-default): Simplify.
1148 (dired-make-relative-symlink): Use dotimes.
1149 (dired-simultaneous-find-file): Use dolist.
1150 (dired-mark-sexp): Remove unneeded `if'. Use line-end-position.
1151 (dired-x-hands-off-my-keys): Doc fix.
1152 (dired-x-bind-find-file): Doc fix. Use remapping.
1153 (after-init-hook): No need to add dired-x-bind-find-file.
1154 (dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
1155 No need to call expand-file-name.
1156 (dired-filename-at-point): Remove unused locals `end', `filename'.
1157
1158 2011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
1159
1160 * emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
1161
1162 2011-02-18 Christian Ohler <ohler@gnu.org>
1163
1164 * emacs-lisp/ert.el (ert--setup-results-buffer)
1165 (ert-results-pop-to-backtrace-for-test-at-point)
1166 (ert-results-pop-to-messages-for-test-at-point)
1167 (ert-results-pop-to-should-forms-for-test-at-point)
1168 (ert-results-pop-to-timings): Revert parts of change 2011-02-02T17:59:44Z!sds@gnu.org that
1169 were incorrect and unnecessary. This should make `make check'
1170 pass again.
1171
1172 2011-02-17 Ken Manheimer <ken.manheimer@gmail.com>
1173
1174 * lisp/allout-widgets.el (allout-widgets-icons-light-subdir)
1175 (allout-widgets-icons-dark-subdir): Track relocations of icons.
1176 * lisp/allout.el: Remove commentary about remove encryption
1177 passphrase mnemonic support and verification.
1178 (allout-encrypt-string): Recognize epg failure to decrypt gpg2
1179 armored text using gpg1, and indicate that the gpg version *might*
1180 be the problem in the error message.
1181
1182 2011-02-17 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1183
1184 * net/rcirc.el (rcirc-float-time): New function.
1185 (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
1186 (rcirc-ctcp-sender-PING): Use it.
1187
1188 2011-02-17 Glenn Morris <rgm@gnu.org>
1189
1190 * speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
1191 (speedbar-update-flag, speedbar-fetch-etags-command)
1192 (speedbar-fetch-etags-arguments):
1193 * term.el (term-buffer-maximum-size, term-input-chunk-size)
1194 (term-completion-autolist, term-completion-addsuffix)
1195 (term-completion-recexact, term-completion-fignore):
1196 * term/sup-mouse.el (sup-mouse-fast-select-window):
1197 * term/x-win.el (x-select-request-type):
1198 Convert some defvars with "*" to defcustoms.
1199
1200 * shell.el (shell-delimiter-argument-list): Set it to nil. (Bug#8027)
1201
1202 * vc/vc.el (vc-default-previous-version):
1203 Remove alias that points nowhere. (Bug#4496)
1204
1205 * dired-x.el (dired-clean-up-after-deletion):
1206 kill-buffer does not need save-excursion.
1207 (dired-do-run-mail): Doc fix.
1208 (dired-filename-at-point): Doc fix.
1209 Use looking-at, and skip-chars rather than re search.
1210
1211 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
1212
1213 2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
1214
1215 * allout-widgets.el: New allout extension that shows allout
1216 outline structure with graphical widgets. 'allout-widgets'
1217 customize group is an 'allout' subgroup, for easy discovery.
1218
1219 * allout.el: Include PGP and GnuPG in Keywords, and other
1220 commentary refinements.
1221 (allout-abbreviate-flattened-numbering): Rename to
1222 allout-flattened-numbering-abbreviation, and
1223 define-obsolete-variable-alias the old name.
1224 (allout-flattened-numbering-abbreviation): Rename from
1225 allout-abbreviate-flattened-numbering.
1226 (allout-mode-p): Include among autoloads, for use by other modes
1227 with impunity.
1228 (allout-listify-exposed):
1229 Use allout-flattened-numbering-abbreviation.
1230 (allout-encrypt-string): Use set-buffer-multibyte directly.
1231 (allout-set-buffer-multibyte): Remove.
1232
1233 2011-02-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1234
1235 * simple.el (just-one-space): Remove useless `or' call.
1236
1237 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1238
1239 * net/soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
1240 (soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
1241 (soap-decoded-multi-refs, soap-current-wsdl)
1242 (soap-encoded-namespaces): Rename CL-style *...* variables.
1243
1244 2011-02-16 Michael Albinus <michael.albinus@gmx.de>
1245
1246 * net/soap-client.el: Add "comm" and "hypermedia" to the
1247 keywords. Reflow too long lines.
1248
1249 * net/soap-inspect.el: Ditto. Require 'cl.
1250
1251 2011-02-16 Bastien Guerry <bzg@altern.org>
1252
1253 * play/doctor.el (doctor-mode): Bugfix: escape the "," character
1254 in a `doctor-type' argument.
1255
1256 2011-02-16 Alex Harsanyi <AlexHarsanyi@gmail.com>
1257
1258 * net/soap-client.el:
1259 * net/soap-inspect.el: New files.
1260
1261 2011-02-16 Leo <sdl.web@gmail.com>
1262
1263 * dired-x.el (dired-mode-map, dired-extra-startup):
1264 Remove dired-copy-filename-as-kill since it's already in dired.el.
1265
1266 2011-02-16 Glenn Morris <rgm@gnu.org>
1267
1268 * dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
1269 Doc fixes. Add :set property, replacing top-level calls.
1270 (dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
1271 (dired-guess-shell-gnutar): Test tar version rather than system-type.
1272 (dired-extra-startup, dired-man, dired-info): Doc fixes.
1273 (dired-clean-up-after-deletion): Use when and dolist.
1274 (dired-jump): Use unless and when.
1275 (dired-virtual): Use line-end-position.
1276 (dired-default-directory-alist): Rename from default-directory-alist.
1277 (dired-default-directory): Update for above name change.
1278 (dired-vm): Drop VM < 5 and simplify.
1279 (dired-buffer-more-recently-used-p): Rewrite.
1280 (dired-filename-at-point): Use when and or.
1281 (dired-x-read-filename-at-point): Rename from read-filename-at-point.
1282 Update callers.
1283
1284 2011-02-15 Glenn Morris <rgm@gnu.org>
1285
1286 * dired-x.el: Use easymenu for menu items. Fix item capitalization.
1287
1288 2011-02-14 Chong Yidong <cyd@stupidchicken.com>
1289
1290 * vc/vc-git.el (vc-git-root-log-format): New option for
1291 customizing log format.
1292 (vc-git-print-log, vc-git-log-outgoing, vc-git-log-incoming)
1293 (vc-git-log-view-mode): Use it.
1294 (vc-git-expanded-log-entry): New function.
1295 (vc-git-log-view-mode): Use it. Truncate lines in root log.
1296
1297 * vc/vc-hg.el (vc-hg-root-log-template): New option for
1298 customizing log format.
1299 (vc-hg-print-log): Use it.
1300 (vc-hg-expanded-log-entry): New function.
1301 (vc-hg-log-view-mode): Use vc-hg-root-log-template and
1302 vc-hg-expanded-log-entry. Truncate lines in root log.
1303
1304 * vc/vc-bzr.el (vc-bzr-log-view-mode): Truncate lines in root log.
1305
1306 * vc/log-view.el (log-view-mode-menu):
1307 Add log-view-toggle-entry-display.
1308
1309 2011-02-14 Glenn Morris <rgm@gnu.org>
1310
1311 * dired-x.el: Don't require man when compiling.
1312 (dired-omit-extensions, dired-local-variables-file)
1313 (dired-x-hands-off-my-keys): Make them defcustoms.
1314 (Man-support-local-filenames, Man-getpage-in-background): Declare.
1315 (vm-visit-folder): Declare rather than defining.
1316 (dired-x-help-address, dired-x-variable-list): Remove.
1317 (dired-x-submit-report): Make it an obsolete alias.
1318
1319 2011-02-14 Juanma Barranquero <lekktu@gmail.com>
1320
1321 * makefile.w32-in (TRAMP_SRC): Remove tramp-imap.el.
1322
1323 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1324
1325 * net/imap.el: Bring it back.
1326
1327 2011-02-13 Alan Mackenzie <acm@muc.de>
1328
1329 * progmodes/cc-fonts.el (c-font-lock-declarations): Remove a
1330 narrow-to-region call that cuts context off the end (Bug#7722).
1331
1332 * progmodes/cc-engine.el (c-forward-<>-arglist-recur):
1333 Refactor nested if-forms with a simple cond.
1334 (c-forward-<>-arglist): Revert 2011-01-31 change.
1335
1336 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1337
1338 * vc/log-view.el: New command log-view-toggle-entry-display for
1339 toggling log entries between concise and detailed forms.
1340 (log-view-toggle-entry-display): New command.
1341 (log-view-mode-map): Bind RET to it.
1342 (log-view-expanded-log-entry-function): New variable.
1343 (log-view-current-entry, log-view-inside-comment-p)
1344 (log-view-current-tag): New functions.
1345 (log-view-toggle-mark-entry): Use log-view-current-entry and
1346 log-view-end-of-defun instead of searching directly with
1347 log-view-message-re.
1348 (log-view-end-of-defun): Likewise. Add optional ARG for
1349 compatibility with end-of-defun.
1350 (log-view-end-of-defun): Ignore comments and VC buttons.
1351
1352 * vc/vc-bzr.el (vc-bzr-expanded-log-entry): New function.
1353 (vc-bzr-log-view-mode): Use log-view-expanded-log-entry-function.
1354
1355 2011-02-13 Teodor Zlatanov <tzz@lifelogs.com>
1356
1357 * net/imap.el: Remove file. All the functionality is in nnimap.el.
1358
1359 * net/imap-hash.el: Remove file.
1360
1361 2011-02-13 Michael Albinus <michael.albinus@gmx.de>
1362
1363 * Makefile.in (TRAMP_SRC): Remove tramp-imap.el.
1364
1365 * net/tramp.el (tramp-read-passwd): Simplify `auth-source-search'
1366 call.
1367
1368 * net/tramp-imap.el: Remove file.
1369
1370 2011-02-13 Chong Yidong <cyd@stupidchicken.com>
1371
1372 * vc/vc.el (vc-print-log-setup-buttons): Instead of using the
1373 widget library for buttons, just use button.el.
1374
1375 * vc/log-view.el (log-view-mode-map): Don't inherit from
1376 widget-keymap.
1377
1378 2011-02-12 Glenn Morris <rgm@gnu.org>
1379
1380 * emacs-lisp/cl-seq.el (union, nunion, intersection)
1381 (nintersection, set-difference, nset-difference)
1382 (set-exclusive-or, nset-exclusive-or): Doc fix.
1383
1384 * ediff-ptch.el (ediff-fixup-patch-map): Doc fix.
1385
1386 * faces.el (face-attr-match-p): Handle the obsolete :bold and
1387 :italic props, so that frame-set-background-mode works. (Bug#7966)
1388
1389 * simple.el (next-error): Doc fix.
1390
1391 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1392
1393 * dired-aux.el (dired-create-files): Adapt destination name to
1394 match the new behavior of copy-directory.
1395
1396 2011-02-12 Chong Yidong <cyd@stupidchicken.com>
1397
1398 * mail/mail-utils.el (mail-dont-reply-to-names): New variable,
1399 from rmail-dont-reply-to-names. Callers changed.
1400 (mail-dont-reply-to): Rename from mail-dont-reply-to.
1401 (rmail-dont-reply-to): Make it an obsolete alias.
1402
1403 * mail/rmail.el (rmail-default-dont-reply-to-names): Default to
1404 nil, and make obsolete (Bug#7888).
1405 (rmail-dont-reply-to-names): Alias to mail-dont-reply-to-names.
1406
1407 * mail/rmailsum.el (rmail-summary-sort-by-correspondent): Doc fix.
1408
1409 * mail/rmailsort.el (rmail-sort-by-correspondent)
1410 (rmail-select-correspondent): Doc fix. Use mail-dont-reply-to.
1411
1412 * mail/rmail.el (rmail-reply): Use mail-dont-reply-to.
1413
1414 2011-02-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1415
1416 * files.el (copy-directory): New argument COPY-CONTENTS for
1417 copying directory contents into another existing directory.
1418
1419 2011-02-12 Tassilo Horn <tassilo@member.fsf.org>
1420
1421 * minibuffer.el (completion-table-case-fold): New function for
1422 creating a case-insensitive completion table.
1423
1424 2011-02-12 Teodor Zlatanov <tzz@lifelogs.com>
1425
1426 * net/tramp.el (tramp-default-method): Also check if
1427 `auth-source-search' is bound.
1428 (tramp-read-passwd): Use `auth-source-search' instead of
1429 `auto-source-user-or-password'.
1430
1431 * net/tramp-imap.el: Autoload `auto-source-search' instead of
1432 `auto-source-user-or-password.
1433 (tramp-imap-passphrase-callback-function): Use it.
1434
1435 * net/imap-hash.el: Autoload `auto-source-search' instead of
1436 `auto-source-user-or-password.
1437 (imap-hash-open-connection): Use it.
1438
1439 * mail/smtpmail.el: Autoload `auto-source-search' instead of
1440 `auto-source-user-or-password.
1441 (smtpmail-try-auth-methods): Use it.
1442
1443 2011-02-12 Phil Hagelberg <phil@hagelb.org>
1444
1445 * emacs-lisp/package.el: Allow packages to be reinstalled.
1446 (package--write-file-no-coding): Remove EXCL arg.
1447 (package-unpack-single): Don't use it.
1448
1449 2011-02-12 Karl Pflästerer <k@rl.pflaesterer.de> (tiny change)
1450
1451 * vc/vc-svn.el: Adapt to Subversion change, with no .svn directory
1452 in each sub directory.
1453 (vc-svn-registered): Use vc-svn-root.
1454 (vc-svn-root): New function. Make vc-svn-responsible-p an alias.
1455 (vc-svn-repository-hostname): Use "svn info".
1456
1457 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1458
1459 * simple.el (delete-trailing-whitespace): New optional buffer
1460 bound parameters.
1461
1462 2011-02-11 Bastien Guerry <bzg@altern.org>
1463
1464 * files.el (basic-save-buffer): save unmodified buffers when
1465 the file pointed by buffer-file-name doesn't exist.
1466
1467 2011-02-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1468
1469 * net/rcirc.el (rcirc-cmd-join): Accept multiple channels.
1470
1471 2011-02-11 Glenn Morris <rgm@gnu.org>
1472
1473 * emacs-lisp/cl-specs.el (multiple-value-bind): Fix debug spec.
1474
1475 2011-02-11 Juanma Barranquero <lekktu@gmail.com>
1476
1477 * net/rcirc.el (rcirc-send-ctcp): Remove spurious arg to `format'.
1478
1479 2011-02-10 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * server.el (server-process-filter): Use pcase.
1482
1483 * emacs-lisp/smie.el (smie-blink-matching-open): Don't use `pos' in two
1484 conflicting ways.
1485 (smie-indent--parent): Extend to "parent of arg".
1486 (smie-indent-inside-string): New function.
1487 (smie-indent-functions): Use it.
1488
1489 * vc/vc-dir.el (vc-dir-refresh): Reorder operations to try and avoid
1490 bzr locking race condition.
1491
1492 * emacs-lisp/edebug.el (edebug-instrument-function): Check a marker is
1493 still valid before using it.
1494
1495 * progmodes/grep.el (grep-mode-font-lock-keywords): Adjust to
1496 `message' -> `compilation-message' rename (bug#8004).
1497
1498 Move keymap initialization into declaration.
1499 * textmodes/enriched.el (enriched-mode-map):
1500 * textmodes/bib-mode.el (bib-mode-map):
1501 * term/lk201.el (lk201-function-map):
1502 * tar-mode.el (tar-mode-map):
1503 * replace.el (occur-mode-map):
1504 * progmodes/idlwave.el (idlwave-rinfo-mouse-map, idlwave-rinfo-map):
1505 * progmodes/idlw-help.el (idlwave-help-mode-map):
1506 * progmodes/gdb-mi.el (gdb-memory-format-menu, gdb-memory-unit-menu):
1507 * play/solitaire.el (solitaire-mode-map):
1508 * play/snake.el (snake-mode-map, snake-null-map):
1509 * play/pong.el (pong-mode-map):
1510 * play/handwrite.el (menu-bar-handwrite-map):
1511 * play/gametree.el (gametree-mode-map):
1512 * net/rcirc.el (rcirc-mode-map, rcirc-browse-url-map)
1513 (rcirc-multiline-minor-mode-map, rcirc-track-minor-mode-map):
1514 * net/newst-plainview.el (newsticker-menu, newsticker-mode-map)
1515 (newsticker--url-keymap):
1516 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
1517 * menu-bar.el (menu-bar-file-menu, menu-bar-i-search-menu)
1518 (menu-bar-search-menu, menu-bar-replace-menu, menu-bar-goto-menu)
1519 (menu-bar-edit-menu, menu-bar-custom-menu)
1520 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1521 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1522 (menu-bar-line-wrapping-menu, menu-bar-options-menu)
1523 (menu-bar-games-menu, menu-bar-encryption-decryption-menu)
1524 (menu-bar-tools-menu, menu-bar-describe-menu)
1525 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
1526 (menu-bar-help-menu):
1527 * mail/rmailsum.el (rmail-summary-mode-map):
1528 * kmacro.el (kmacro-step-edit-map):
1529 * ibuffer.el (ibuffer-mode-groups-popup, ibuffer-mode-map)
1530 (ibuffer-mode-operate-map):
1531 * hi-lock.el (hi-lock-menu, hi-lock-map):
1532 * emulation/vip.el (vip-mode-map):
1533 * emacs-lisp/re-builder.el (reb-lisp-mode-map):
1534 * bookmark.el (bookmark-bmenu-mode-map):
1535 * help-mode.el (help-mode-map): Move initialization into declaration.
1536
1537 2011-02-10 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1538
1539 * net/rcirc.el: Add PRIVMSG and CTCP functions.
1540 (rcirc-send-privmsg, rcirc-send-ctcp): New functions.
1541 (rcirc-keepalive, rcirc-cmd-ctcp, rcirc-ctcp-sender-PING)
1542 (rcirc-cmd-me, rcirc-authenticate): Use them.
1543
1544 2011-02-10 Ken Manheimer <ken.manheimer@gmail.com>
1545
1546 * allout.el: Synopsis: Change allout user configuration so
1547 auto-activation is controlled solely by customization
1548 `allout-auto-activation'.
1549
1550 (allout-auto-activation-helper, allout-setup): New autoloads
1551 implement new custom set procedure for allout-auto-activation.
1552 Also, explicitly invoke (allout-setup) after allout-auto-activation
1553 is custom-defined, to affect the settings in emacs sessions besides
1554 the few where allout-auto-activation customization is done.
1555 (allout-auto-activation): Use allout-auto-activation-helper to
1556 :set. Revise the docstring.
1557 (allout-init): Reduce functionality to just customizing
1558 allout-auto-activation, and mark obsolete.
1559 (allout-mode): Respect string values for allout-auto-activation.
1560 Run allout-after-copy-or-kill-hook without any args.
1561 (allout-mode, allout-layout, allout-default-layout)
1562 (outlineify-sticky): Adjust docstring for new scheme.
1563 (allout-after-copy-or-kill-hook): No arguments - hook implementers
1564 should concentrate on the kill ring.
1565
1566 2011-02-09 Teodor Zlatanov <tzz@lifelogs.com>
1567
1568 * password-cache.el (password-cache-remove): Accept secrets that are
1569 not strings.
1570
1571 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * progmodes/sh-script.el (sh-font-lock-open-heredoc): Fix case
1574 of here-doc that immediately follows a comment.
1575
1576 2011-02-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1577
1578 * net/rcirc.el (rcirc-ctcp-sender-PING): Simplifying.
1579
1580 * net/rcirc.el (rcirc-cmd-ctcp): Use dedicated function when
1581 available.
1582 (rcirc-ctcp-sender-PING): New function.
1583
1584 2011-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1585
1586 * obsolete/pc-select.el: Rename from emulation/pc-select.el (bug#7940).
1587 Remove the mark/nomark handling, and activate shift-select-mode instead.
1588
1589 * obsolete/pc-mode.el: Rename from emulation/pc-mode.el.
1590
1591 2011-02-07 Jay Belanger <jay.p.belanger@gmail.com>
1592
1593 * calc/calc-units.el (math-logunits-quant): Add support for
1594 non-logarithmic units.
1595
1596 2011-02-07 Ken Manheimer <ken.manheimer@gmail.com>
1597
1598 * allout.el (allout-after-copy-or-kill-hook): New hook for
1599 extension-specific processing of killed text.
1600 (allout-mode): Include new allout-after-copy-or-kill-hook among
1601 mentioned hooks.
1602 (allout-kill-line, allout-kill-topic): Ensure that processing
1603 after kill happens even if barf-if-buffer-read-only is raised.
1604 Include new allout-after-copy-or-kill-hook among that subsequent
1605 processing.
1606 (allout-deannotate-hidden): Actually remove the annotation text
1607 properties.
1608
1609 * allout.el (allout-listify-exposed): Copy text sans text properties.
1610
1611 2011-02-07 Michael Albinus <michael.albinus@gmx.de>
1612
1613 * net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
1614
1615 2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1616
1617 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
1618
1619 2011-02-06 Jay Belanger <jay.p.belanger@gmail.com>
1620
1621 * calc/calc.el (calc-logunits-field-reference): Rename from
1622 `calc-default-field-reference-level'.
1623 (calc-logunits-power-reference): Rename from
1624 `calc-default-power-reference-level'.
1625
1626 * calc/calc-units.el (math-logunits-quant): Rename from
1627 `math-logunits-level'
1628 (math-logunits-plus): Rename from math-logcombine.
1629 (calcFunc-luplus, calcFunc-luminus calc-luplus, calc-luminus): Remove.
1630 (calcFunc-lufieldadd, calcFunc-lupoweradd, calcFunc-lufieldsub)
1631 (calcFunc-lufieldsub, calc-logunits-add, calc-logunits-sub):
1632 New functions.
1633 (calcFunc-fieldquant): Rename from `calcFunc-fieldlevel'.
1634 (calcFunc-powerquant): Rename from `calcFunc-powerlevel'.
1635 (calc-logunits-quantity): Rename from `calc-level'.
1636 (calcFunc-dbfieldlevel, calcFunc-dbpowerlevel, calcFunc-npfieldlevel)
1637 (calcFunc-nppowerlevel, calc-logunits-dblevel, calc-logunits-nplevel)
1638 (math-logunits-mul, calcFunc-lufieldmul, calcFunc-lupowermul)
1639 (calc-logunits-mul, math-logunits-divide, calcFunc-lufielddiv)
1640 (calcFunc-lupowerdiv, calc-logunits-divide, math-logunits-level):
1641 New functions.
1642
1643 * calc/calc-help.el (calc-u-prefix-help): Remove "L" reference.
1644 (calc-ul-prefix-help): Remove.
1645 (calc-l-prefix-help): New function.
1646 (calc-full-help): Add reference to `calc-l-prefix-help'.
1647
1648 * calc/calc-ext.el (calc-init-extensions): Update autoloads.
1649
1650 * calc/README: Mention logarithmic units.
1651
1652 2011-02-06 Chong Yidong <cyd@stupidchicken.com>
1653
1654 * mail/emacsbug.el (report-emacs-bug-hook): Remove the check for
1655 non-ASCII characters (Bug#7925).
1656
1657 2011-02-05 Glenn Morris <rgm@gnu.org>
1658
1659 * emacs-lisp/cl-macs.el (return-from): Fix doc typo.
1660
1661 * calendar/diary-lib.el (diary-font-lock-keywords):
1662 Tweak diary-time-regexp match. (Bug#7891)
1663
1664 * progmodes/f90.el (f90-find-tag-default): New function. (Bug#7919)
1665 (f90-mode): Use it for mode's `find-tag-default-function' property.
1666
1667 * ibuf-ext.el (ibuffer-filter-disable): Make it work. (Bug#7969)
1668
1669 * faces.el (set-face-attribute): Doc fix. (Bug#2659)
1670
1671 2011-02-05 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1672
1673 * net/rcirc.el (rcirc-handler-JOIN): Reset mode-line-process
1674 (Bug#6386).
1675
1676 2011-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * progmodes/sh-script.el (sh-here-doc-open-re): Don't rely on the
1679 font-lock-syntax-table remappings.
1680 (sh-here-doc-markers, sh-here-doc-re): Remove.
1681 (sh-font-lock-close-heredoc): Remove.
1682 (sh-syntax-propertize-here-doc): New function.
1683 (sh-font-lock-open-heredoc): Set the sh-here-doc-marker property
1684 instead of the sh-here-doc-re.
1685 (sh-font-lock-paren): Don't do anything in comments or strings.
1686 Handle line continuations. Accept a few more chars.
1687 Don't rely on the font-lock-syntax-table remappings.
1688 `esac' is not a valid pattern.
1689 (sh-syntax-propertize-function): Handle here-docs differently, so we
1690 don't bother syntax-propertizing the insides.
1691
1692 * progmodes/sh-script.el (sh-font-lock-paren, sh-kw, sh-prev-thing):
1693 Handle new bashisms ";&" and ";;&" (bug#7947).
1694
1695 2011-02-05 Michael Albinus <michael.albinus@gmx.de>
1696
1697 * net/tramp-smb.el (tramp-smb-errors): Use `regexp-opt'.
1698 Add "NT_STATUS_IO_TIMEOUT" and "NT_STATUS_NO_SUCH_USER".
1699
1700 2011-02-05 Era Eriksson <era+tramp@iki.fi> (tiny change)
1701
1702 * net/tramp.el (tramp-postfix-method-format)
1703 (tramp-postfix-method-regexp, tramp-prefix-domain-format)
1704 (tramp-prefix-domain-regexp, tramp-postfix-user-format)
1705 (tramp-postfix-user-regexp, tramp-prefix-port-format)
1706 (tramp-prefix-port-regexp, tramp-postfix-host-format)
1707 (tramp-postfix-host-regexp, tramp-handle-substitute-in-file-name):
1708 Doc fix.
1709
1710 2011-02-04 Sam Steingold <sds@gnu.org>
1711
1712 * mouse.el (mouse-buffer-menu-mode-groups): Add a "GDB" group.
1713
1714 2011-02-04 Andreas Schwab <schwab@linux-m68k.org>
1715
1716 * international/mule-util.el (with-coding-priority): Doc fix.
1717
1718 2011-02-04 Eli Zaretskii <eliz@gnu.org>
1719
1720 * arc-mode.el (archive-mode-map): Fix a typo in last change.
1721
1722 2011-02-03 Sam Steingold <sds@gnu.org>
1723
1724 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1725 Do not error out when `func' is nil.
1726
1727 2011-02-03 Michael Albinus <michael.albinus@gmx.de>
1728
1729 * net/tramp-sh.el (tramp-remote-path): Add default settings for
1730 `tramp-default-remote-path' to the docstring.
1731 (tramp-get-remote-path): Suppress error message when `getconf
1732 PATH' fails.
1733
1734 * net/tramp-smb.el (tramp-smb-errors): Add "NT_STATUS_UNSUCCESSFUL".
1735
1736 2011-02-03 Glenn Morris <rgm@gnu.org>
1737
1738 * vc/vc-hg.el (vc-hg-command): Doc fix.
1739
1740 * term/w32-win.el (libpng-version): Declare for compiler.
1741
1742 * msb.el: No need to load dired while compiling.
1743
1744 * emacs-lisp/elint.el (elint-standard-variables):
1745 Remove a couple of built-ins that now have doc-strings.
1746
1747 * hi-lock.el, ps-bdf.el, ps-mule.el, ps-print.el, ps-samp.el:
1748 `require' is automatically `eval-and-compile'd.
1749
1750 * net/rcirc.el (rcirc-nick-completion-format): Add :version tag.
1751 (rcirc-log-directory, rcirc-log-flag): Move definitions before use.
1752
1753 * strokes.el (strokes-fill-current-buffer-with-whitespace):
1754 Move definition before use.
1755 (strokes-report-bug): Make it obsolete.
1756
1757 2011-02-02 Sam Steingold <sds@gnu.org>
1758
1759 * apropos.el (apropos-print): Now that `apropos-mode' inherits
1760 from `special-mode', entering it makes the buffer read-only, so
1761 call it only when everything has been already inserted.
1762 * emacs-lisp/ert.el (ert--setup-results-buffer)
1763 (ert-results-pop-to-backtrace-for-test-at-point)
1764 (ert-results-pop-to-messages-for-test-at-point)
1765 (ert-results-pop-to-timings): Ditto.
1766 * emacs-lisp/package.el (package--list-packages): Ditto.
1767 * play/solitaire.el (solitaire): Ditto.
1768
1769 2011-02-02 Chong Yidong <cyd@stupidchicken.com>
1770
1771 * progmodes/compile.el: Make all faces inherit.
1772 (compilation-warning): Inherit from font-lock-variable-name-face.
1773 (compilation-info): Inherit from font-lock-type-face.
1774 (compilation-line-number): Reassign to font-lock-keyword-face.
1775 (compilation-column-number): Reassign to font-lock-doc-face.
1776 (compilation-leave-directory-face): Reassign to
1777 font-lock-builtin-face.
1778
1779 2011-02-02 Eli Zaretskii <eliz@gnu.org>
1780
1781 * dired.el (dired-insert-directory): Don't invoke `ls' when
1782 ls-lisp.el is used to emulate it.
1783
1784 2011-02-01 Julien Danjou <julien@danjou.info>
1785
1786 * color.el (color-gradient): Add a color-gradient function.
1787
1788 2011-02-01 Sam Steingold <sds@gnu.org>
1789
1790 * simple.el (special-mode-map): Bind "h" to `describe-mode';
1791 bind "z" to `kill-this-buffer'.
1792 (completion-list-mode-map): Bind "z" to `kill-this-buffer'.
1793 * apropos.el (apropos-mode-map): Inherit from `special-mode-map'.
1794 (apropos-mode): Inherit from `special-mode'.
1795 * arc-mode.el (archive-mode-map): Inherit from `special-mode-map'.
1796 * bookmark.el (bookmark-bmenu-mode): Define using
1797 `define-derived-mode' inheriting from `special-mode'.
1798 * dired.el (dired-mode-map): Inherit from `special-mode-map'.
1799 * image-mode.el (image-mode-map): Ditto.
1800 * replace.el (occur-mode): Define using
1801 `define-derived-mode' inheriting from `special-mode'.
1802 * tar-mode.el (tar-mode): Inherit from `special-mode'.
1803 * calendar/diary-lib.el (diary-fancy-display-mode):
1804 Inherit from `special-mode-map'.
1805 * emacs-lisp/ert.el (ert-simple-view-mode, ert-results-mode):
1806 Inherit from `special-mode'.
1807 * emacs-lisp/package.el (package-menu-mode-map): Copy from
1808 `special-mode-map'.
1809 (package-menu-mode): Define using `define-derived-mode'
1810 inheriting from `special-mode'.
1811 * erc/erc-list.el (erc-list-menu-mode): Inherit from `special-mode'.
1812 * net/xesam.el (xesam-mode): Inherit from `special-mode'.
1813 (xesam-mode-map): Define separately.
1814 * play/solitaire.el (solitaire-mode): Inherit from `special-mode'.
1815 * progmodes/compile.el (compilation-minor-mode-map)
1816 (compilation-mode-map): Inherit from `special-mode-map'.
1817 * vc/diff-mode.el (diff-mode-shared-map):
1818 Inherit from `special-mode-map'.
1819 * vc/log-view.el (log-view-mode-map): Add a comment.
1820
1821 2011-02-01 Chong Yidong <cyd@stupidchicken.com>
1822
1823 * custom.el (load-theme): Define return value. Drop use of
1824 unsafep; call custom-theme-load-confirm for non-known-safe themes.
1825 (custom-theme-load-confirm): Scroll in the correct window.
1826 (custom-enabled-themes): Add custom-safe-themes to :set-after.
1827
1828 * cus-theme.el (custom-theme-checkbox-toggle): Don't activate the
1829 checkbox if load-theme fails.
1830
1831 2011-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
1832
1833 * progmodes/compile.el (compilation-next-error): Check there's
1834 a message before using it (bug#7941).
1835
1836 2011-02-01 Jay Belanger <jay.p.belanger@gmail.com>
1837
1838 * calc/calc-mtx.el (math-lud-pivot-check): New function.
1839 (math-do-matrix-lud): Use `math-lud-pivot-check' to check the size
1840 of potential pivots.
1841
1842 2011-01-31 Alan Mackenzie <acm@muc.de>
1843
1844 * progmodes/cc-cmds.el (c-forward-over-illiterals):
1845 Continue parsing if we encounter a naked # (Bug#7595).
1846 (c-beginning-of-statement): Avoid loop in locating the beginning
1847 of a macro. (Not actually committed until 2011-02-20, see above).
1848
1849 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1850
1851 * files.el (copy-directory): Fix arguments to recursive call.
1852
1853 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1854
1855 * files.el (copy-directory): If destination is an existing
1856 directory, copy into a subdirectory there.
1857
1858 2011-01-31 Andreas Schwab <schwab@linux-m68k.org>
1859
1860 * emacs-lisp/shadow.el (load-path-shadows-find): Ignore leim-list
1861 files.
1862
1863 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1864
1865 * image-dired.el (image-dired-mouse-display-image): No-op if no
1866 file is found (Bug#7817).
1867
1868 * mouse.el (mouse-menu-non-singleton): Doc fix (Bug#7801).
1869
1870 2011-01-31 Kenichi Handa <handa@m17n.org>
1871
1872 * international/quail.el (quail-keyboard-layout-alist):
1873 Remove superfluous SPC for "pc105-uk" (bug#7927).
1874
1875 2011-01-31 Glenn Morris <rgm@gnu.org>
1876
1877 * msb.el (msb-menu-bar-update-buffers): Update for changed
1878 argument handling of menu-bar-select-frame. (Bug#7902)
1879
1880 2011-01-31 Chong Yidong <cyd@stupidchicken.com>
1881
1882 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Set a limit
1883 to the recursion depth (Bug#7722).
1884
1885 2011-01-31 Roy Liu <carsomyr@gmail.com> (tiny change)
1886
1887 * term/ns-win.el (ns-find-file): Expand ns-input-file with
1888 command-line-default-directory (Bug#7872).
1889
1890 2011-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
1891
1892 * progmodes/compile.el (compilation--flush-directory-cache):
1893 New function, extracted from compilation--remove-properties.
1894 (compilation--remove-properties, compilation--parse-region): Use it.
1895 (compilation--previous-directory): Handle one more case.
1896 (compilation-enable-debug-messages): Remove.
1897 (compilation-parse-errors, compilation--flush-parse): Just remove the
1898 left over debug messages.
1899
1900 2011-01-31 Sam Steingold <sds@gnu.org>
1901
1902 * progmodes/compile.el (compilation-enable-debug-messages):
1903 Add a variable to make the parsing messages introduced in
1904 2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
1905 (compilation-parse-errors, compilation--flush-parse): Use it.
1906
1907 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1908
1909 * net/rcirc.el: New customizable nick completion format. (Bug#6314)
1910 (rcirc-nick-completion-format): New defcustom.
1911 (rcirc-complete): Use it.
1912
1913 2011-01-31 Deniz Dogan <deniz.a.m.dogan@gmail.com>
1914
1915 * net/rcirc.el: Clean log filenames (Bug#7933).
1916 (rcirc-log-write): Use convert-standard-filename.
1917 (rcirc-log-filename-function): Documentation updates.
1918
1919 2011-01-30 Jan Djärv <jan.h.d@swipnet.se>
1920
1921 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
1922 Check report-emacs-bug-can-use-osx-open and use that if t.
1923 (report-emacs-bug-can-use-osx-open): New function.
1924 (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
1925 Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
1926
1927 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1928
1929 * vc/vc-dispatcher.el (vc-set-async-update): New function for
1930 updating Dired or VC-dir buffers after async command completes.
1931
1932 * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
1933 (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
1934
1935 * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
1936 completions if it exists. Use vc-set-async-update.
1937 (vc-git-pull): Use vc-set-async-update.
1938
1939 * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
1940 read-shell-command. Use vc-set-async-update.
1941 (vc-hg-merge-branch): Use vc-set-async-update.
1942
1943 2011-01-29 Daiki Ueno <ueno@unixuser.org>
1944
1945 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
1946 Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
1947 (Bug#7931).
1948
1949 2011-01-29 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * progmodes/compile.el: Avoid an N² behavior in grep.
1952 (compilation--previous-directory): New fun.
1953 (compilation--previous-directory-cache): New var.
1954 (compilation--remove-properties): Flush it.
1955 (compilation-directory-properties, compilation-error-properties):
1956 Use the new fun to speed up looking for the current directory.
1957
1958 2011-01-29 Chong Yidong <cyd@stupidchicken.com>
1959
1960 * vc/vc-hg.el (vc-hg-history): New var.
1961 (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
1962 (vc-hg-merge-branch): New function.
1963
1964 * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
1965 the other way around.
1966
1967 * vc/vc-git.el (vc-git-branches, vc-git-pull)
1968 (vc-git-merge-branch): New functions.
1969 (vc-git-history): New var.
1970
1971 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1972
1973 * vc/vc-dispatcher.el (vc-do-async-command): New function.
1974
1975 * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
1976 vc-do-async-command.
1977
1978 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
1979 Callers changed.
1980
1981 2011-01-28 Leo <sdl.web@gmail.com>
1982
1983 * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
1984 highlighting to the "this function is advised" message.
1985
1986 * help-mode.el (help-mode-finish): Apply highlighting here, to
1987 avoid clobbering by substitute-command-keys (Bug#6304).
1988
1989 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
1990
1991 * woman.el (woman0-roff-buffer): Process roff escape sequences
1992 occurring prior to the first request (Bug#7843).
1993
1994 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * progmodes/compile.el: Don't use font-lock any more.
1997 (compilation-error-regexp-alist-alist): Change handling of makepp
1998 so it preserves the warning/error distinction on subsequent files.
1999 Simplify various rules.
2000 (compilation-directory-properties): Use font-lock-face.
2001 Add a compilation-message property.
2002 (compilation-internal-error-properties): Use font-lock-face.
2003 Don't set the compilation-debug property here.
2004 (compilation--put-prop, compilation--remove-properties)
2005 (compilation--parse-region, compilation--ensure-parse)
2006 (compilation--ensure-parse): New functions.
2007 (compilation-parse-errors): New function, largely inspired of
2008 compilation-mode-font-lock-keywords. Set compilation-debug here.
2009 (compilation--parsed): New var.
2010 (compilation--flush-parse): Use compilation--ensure-parse.
2011 (compilation-start): Don't call font-lock.
2012 (compilation-turn-on-font-lock): Remove.
2013 (compilation-setup): Don't set font-lock-extra-managed-props not change
2014 other font-lock settings, other than keywords.
2015 Don't activate font-lock-mode.
2016 Set change-major-mode-hook and before-change-functions.
2017 (compilation--unsetup): Remove properties and hooks.
2018 (compilation-next-single-property-change): New function.
2019 (compilation-next-error): Use it to parse when needed.
2020 (compile-goto-error): Parse buffer as needed.
2021 (compilation--compat-error-properties): Don't need a dummy `face'
2022 property any more.
2023
2024 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * progmodes/compile.el: Use accessors for clarity and fix omake hack.
2027 (compilation-process-setup-function): Fix docstring's false promises.
2028 (compilation-error-regexp-alist-alist): Catch omake's continuous
2029 recompilation message and avoid reuse of old markers.
2030 (compilation-parse-errors-function): Declare obsolete.
2031 (compilation-buffer-modtime): Remove.
2032 (compilation--make-cdrloc, compilation--loc->col)
2033 (compilation--loc->line, compilation--loc->file-struct)
2034 (compilation--loc->marker, compilation--loc->visited)
2035 (compilation--make-file-struct, compilation--file-struct->file-spec)
2036 (compilation--file-struct->formats)
2037 (compilation--file-struct->loc-tree): New macros. Use them.
2038 (compilation--message): New defstruct. Use them.
2039 (compilation-next-error-function): Don't mess with timestamps to try
2040 and guess when to reparse.
2041
2042 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
2045 (tex-old-error-file-name): New function,
2046 extracted from tex-compilation-parse-errors.
2047 (tex-compilation-parse-errors): Remove.
2048 (tex-error-regexp-alist): New var.
2049 (tex-shell): Use it to avoid compilation-parse-errors-function.
2050
2051 * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
2052 (grep-mode-font-lock-keywords): Remove regexp that seems like
2053 a left-over from before we used compile.el.
2054 (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
2055 modifying the buffer within with-silent-modifications.
2056
2057 * progmodes/compile.el: Cleanup text-properties namespace by using
2058 `compilation-message' instead of `message', `compilation-directory'
2059 instead of `directory', and `compilation-debug' instead of `debug'.
2060 (compilation-last-buffer, compilation-parsing-end)
2061 (compilation-error-list, compilation-old-error-list): Move to the
2062 compatibility part of the code.
2063 (compilation-error-properties): If `file' is a function, let it return
2064 a file name.
2065 (compilation-mode-font-lock-keywords): Be more conservative with the
2066 omake "^ *" pattern prefix, to try and minimize the risk of
2067 pathologically slow regexp matching.
2068 (compilation-start): Use inhibit-read-only.
2069 (compilation--unsetup): New function.
2070 (compilation-shell-minor-mode, compilation-minor-mode): Use it.
2071 (compilation-filter): Minor tweaks.
2072 (compilation-next-error-function): Try and avoid abusing variables.
2073 (compilation--flush-file-structure): New fun.
2074 (compilation-fake-loc): Use it to improve behavior when file is reused.
2075 (debug-ignored-errors): Add "Moved past last ...".
2076 (compilation--compat-error-properties)
2077 (compilation--compat-parse-errors): Rename by doubling the "-".
2078
2079 Port features from the previous prolog.el to the new one.
2080 * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
2081 (prolog-program-name, prolog-program-switches, prolog-consult-string)
2082 (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
2083 variable and use a function to compute the value dynamically.
2084 (prolog-prompt-regexp): Add regexp for GNU Prolog.
2085 (prolog-continued-prompt-regexp): Remove, unused.
2086 (prolog-find-value-by-system): Try and use the value of prolog-system
2087 in the *prolog* buffer if it helps.
2088 (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
2089 (prolog-zip-on): ..and check prolog-system and version here instead.
2090 (prolog-inferior-self-insert-command): New command.
2091 (prolog-inferior-mode-map): Use it.
2092 (prolog-inferior-error-regexp-alist): New var.
2093 (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
2094 (prolog-input-filter): Use derived-mode-p.
2095 (prolog-inferior-guess-flavor): New function.
2096 (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than
2097 make-comint to avoid running comint-mode twice.
2098 (prolog-inferior-buffer): New fun.
2099 (prolog-old-process-region, prolog-old-process-file):
2100 Don't call prolog-bsts here...
2101 (prolog-build-prolog-command): ...do it here instead.
2102 (prolog-old-process-region, prolog-old-process-file):
2103 Use compilation-fake-loc and compilation-forget-errors.
2104 (prolog-consult-compile-region): Use bolp.
2105
2106 2011-01-28 Chong Yidong <cyd@stupidchicken.com>
2107
2108 * image-mode.el (image-display-size): Doc fix (Bug#7820).
2109
2110 2011-01-27 Sam Steingold <sds@gnu.org>
2111
2112 * midnight.el (clean-buffer-list-kill-never-buffer-names):
2113 Remove "*server*" which is never created by emacs server.
2114
2115 2011-01-27 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2116
2117 * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
2118 there are some diff switches.
2119
2120 2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2121
2122 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2123 Copy change made to ruby-font-lock-syntactic-keywords.
2124
2125 * htmlfontify.el: Make it obey the font-lock-face text property.
2126 Miscellaneous cleanup such as:
2127 - Don't hide expressions after a closing paren.
2128 - Move initial setq into let.
2129 - Hoist common parts out of ifs.
2130 (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
2131 (hfy-face-at): Use get-text-property instead.
2132 (hfy-prop-invisible-p): Use invisible-p if available.
2133 (htmlfontify-manual): Use \\[...].
2134 (hfy-html-quote-regex): Use [...].
2135 (hfy-combined-face-spec): Simplify.
2136 (hfy-compile-face-map): Don't presume point-min==1.
2137 (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
2138 match end of string.
2139 (hfy-text-p): η-reduce.
2140 (hfy-tags-for-file): Receive cache-hash directly.
2141 (hfy-mark-tag-names): Adjust call.
2142
2143 2011-01-27 Glenn Morris <rgm@gnu.org>
2144
2145 * msb.el (msb-after-load-hooks): Make it an obsolete alias.
2146 (msb-after-load-hook): Remove eval-after-load wackiness.
2147
2148 2011-01-25 Sam Steingold <sds@gnu.org>
2149
2150 * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
2151 literal "diff" (important for windows-nt).
2152
2153 2011-01-25 Glenn Morris <rgm@gnu.org>
2154
2155 * emacs-lisp/copyright.el (copyright-at-end-flag)
2156 (copyright-names-regexp): Add safety properties.
2157 (copyright-year-ranges): New option.
2158 (copyright-find-end): New function, split from copyright-update-year.
2159 (copyright-update-year): Use copyright-find-end.
2160 (copyright-fix-years): Optionally, convert years to ranges.
2161 Handle years continued over comment lines.
2162 Do not mess with the fill-prefix.
2163 Do not call copyright-update.
2164 (copyright-update-directory): Optionally, fix years rather than update.
2165 Skip directories. Find files with only safe local vars.
2166
2167 2011-01-25 Stefan Monnier <monnier@iro.umontreal.ca>
2168
2169 * files.el (file-name-non-special): Only change buffer-file-name after
2170 insert-file-contents if it's `visit'ing the file (bug#7854).
2171
2172 2011-01-25 Chong Yidong <cyd@stupidchicken.com>
2173
2174 * dired.el (dired-revert): Doc fix (Bug#7758).
2175
2176 * simple.el (line-move-visual): Doc fix (Bug#7594).
2177
2178 2011-01-25 Nobuyoshi Nakada <nobu@ruby-lang.org>
2179
2180 * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
2181 here-doc which ends with an underscore.
2182 (ruby-mode-set-encoding): Skip shebang line always.
2183 (ruby-mode-map): Bind C-c C-c to comment-region.
2184 (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
2185 (ruby-forward-sexp): Stop after literal hash key labels.
2186 (ruby-font-lock-syntactic-keywords): Highlight regexp after open
2187 bracket.
2188
2189 2011-01-25 Keitaro Miyazaki <keitaro.miyazaki@gmail.com> (tiny change)
2190
2191 * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
2192 the correct buffer (Bug#7650).
2193
2194 2011-01-25 Glenn Morris <rgm@gnu.org>
2195
2196 * comint.el (comint-mode): Doc fix. (Bug#7897)
2197
2198 * simple.el (do-auto-fill): Give it a doc string.
2199
2200 * button.el (make-text-button): Doc fix. (See bug#7881)
2201
2202 2011-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2205 Don't move backward, so as not to fall in an inf-loop (bug#7736).
2206
2207 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
2208 Handle ?" and friends differently (e.g. don't use backrefs).
2209
2210 2011-01-24 Jay Belanger <jay.p.belanger@gmail.com>
2211
2212 * calc/calc.el (calc-default-power-reference-level)
2213 (calc-default-field-reference-level): New variables.
2214 * calc/calc-units.el (math-standard-units): Add dB and Np.
2215 (math-logunits): New variable.
2216 (math-extract-logunits, math-logcombine, calcFunc-luplus)
2217 (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
2218 (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
2219 New functions.
2220 (math-find-base-units-rec): Add entry for ln(10).
2221 * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
2222 (calc-ul-prefix-help): New function.
2223 * calc/calc-ext.el (calc-init-extensions): Autoload new units
2224 functions. Add keybindings for new units functions.
2225
2226 2011-01-22 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change)
2227
2228 * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
2229 rcirc buffers. (Bug#4940)
2230
2231 2011-01-22 Glenn Morris <rgm@gnu.org>
2232
2233 * emacs-lisp/copyright.el (copyright-find-copyright): New function,
2234 split out from copyright-update-year.
2235 (copyright-update): Don't mess with the GPL version if we don't own the
2236 copyright. Update license regexp, and remove no longer needed
2237 Esperanto stuff.
2238 (copyright-fix-years): Use copyright-find-copyright.
2239
2240 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2241
2242 * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
2243
2244 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2245
2246 * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
2247 (lm): Rename to landmark.
2248 (lm-test-run): Rename to landmark-test-run.
2249
2250 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2251
2252 * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
2253 "Case sensitive" menu item.
2254
2255 2011-01-22 Roland McGrath <roland@frob.com>
2256
2257 * comint.el (comint-replace-by-expanded-history-before-point): Fix
2258 expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
2259
2260 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
2263
2264 2011-01-22 Jari Aalto <jari.aalto@cante.net>
2265
2266 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
2267 Assume foo(bar) is a manpage reference rather than some unquoted
2268 symbol (bug#7705).
2269
2270 2011-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2271
2272 * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
2273 Suggested by Flo <sensorflo@gmail.com>.
2274
2275 2011-01-22 Glenn Morris <rgm@gnu.org>
2276
2277 * progmodes/compile.el (compilation-error-regexp-alist):
2278 Fix custom type. (Bug#7812)
2279
2280 2011-01-22 Ken Manheimer <ken.manheimer@gmail.com>
2281
2282 * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
2283 allout-number-siblings, in keeping with what obtained due to
2284 (now-defunct) allout-keybindings-list. Ditch repeat binding to
2285 (prefixed) ?i.
2286 (allout-before-change-handler): Better expose spots affected by
2287 undo.
2288
2289 2011-01-22 Chong Yidong <cyd@stupidchicken.com>
2290
2291 * man.el (Man-highlight-references0): Use make-button (Bug#7881).
2292
2293 2011-01-22 Phil Hagelberg <phil@evri.com>
2294
2295 * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
2296 (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
2297 (pcmpl-ssh-config-hosts): New function.
2298 (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
2299 pcmpl-ssh-known-hosts.
2300
2301 2011-01-21 Jay Belanger <jay.p.belanger@gmail.com>
2302
2303 * calc/calc-undo.el (calc-undo): Autoload it.
2304 * calc/calc-ext.el (calc-init-extensions): Remove keybindings
2305 and autoload for `calc-undo'.
2306 * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
2307 * calc/calc-prog.el:
2308 * calc/calc-graph.el:
2309 * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
2310
2311 2011-01-21 Štěpán Němec <stepnem@gmail.com> (tiny change)
2312
2313 * calc/calc-ext.el (calc-init-extensions): Map all `undo'
2314 keybindings to `calc-undo'.
2315
2316 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2317
2318 Don't mess with *temp*.
2319 * obsolete/spell.el: Move from textmodes/spell.el.
2320 (spell-string):
2321 * term.el (term-read-input-ring):
2322 * startup.el (display-startup-echo-area-message):
2323 * progmodes/antlr-mode.el (antlr-directory-dependencies):
2324 * comint.el (comint-read-input-ring): Use with-temp-buffer.
2325 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
2326 point-min==1.
2327
2328 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2329
2330 * allout.el (allout-institute-keymap): Use fset instead of
2331 reapplying defalias.
2332
2333 (allout-hotspot-key-handler): Check for non-control-modified
2334 bindings for hotspot characters if there are no control-modified
2335 versions.
2336
2337 * allout.el: Summary - migrate to defining allout mode using
2338 define-minor-mode instead of defun. Significantly clean-up
2339 internal keymap provisions, refactoring and, in the process,
2340 removing a lot of accumulated cruft.
2341
2342 allout-mode-map is now a keymap by virtue of being a defalias to
2343 allout-mode-map-value, which contains the actual keymap structure.
2344
2345 (allout-mode): Use define-minor-mode rather than defun.
2346 Remove now-unnecessary minor-mode setup activities from the body.
2347 Specify :keymap as allout-mode-map so the minor-mode-map-alist
2348 entry will be '(allout-mode . allout-mode-map) - see
2349 allout-mode-map-value, below. Adjust docstring to track changes.
2350 (allout-minor-mode): Remove this defalias, now that we're using
2351 define-minor-mode.
2352 (allout-mode-map): Set value to be 'allout-mode-map. The actual
2353 keymap is allout-mode-map-value, via defalias.
2354 (allout-mode-map-value): The variable holding the actual mode
2355 keymap structure, by virtue of defalias from allout-mode-map.
2356 (allout-compose-and-institute-keymap): Rename from
2357 allout-bind-keys, and including the binding-composition
2358 functionality of the former produce-allout-mode-map and
2359 allout-setup-mode-map.
2360 (allout-institute-keymap): Take over the "setup" part of the former
2361 allout-setup-mode-map. Reassign allout-mode-map-value value and
2362 update the defalias.
2363 (allout-command-prefix, allout-prefixed-keybindings)
2364 (allout-unprefixed-keybindings):
2365 Use allout-compose-and-institute-keymap to process the bindings.
2366 (allout-unprefixed-keybindings): Remove extraneous '?' question marks.
2367 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
2368 user can customize if they want to use that binding.
2369 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
2370 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
2371 elided that, previously, instead of the one for \C-h.)
2372 (allout-hotspot-key-handler): Remove attempt to resolve the key
2373 through the literal key-string lookup on allout-keybindings-list.
2374 That probably hasn't worked for a Long Time, and removal of
2375 allout-keybindings-list further simplifies the keybindings situation.
2376 (allout-pre-command-business): Use allout-mode-map-value instead
2377 of allout-mode-map.
2378 (allout-preempt-trailing-ctrl-h): Remove. The user can customize
2379 the bindings if they want to use a keybinding having a trailing
2380 \C-h. No deprecation needed since this feature was never in a release.
2381 (allout-keybindings-list): Remove. It's not been useful for a
2382 while. (See allout-hotspot-key-handler changes, above.)
2383 (produce-allout-mode-map): Remove. Consolidate into
2384 allout-compose-and-institute-keymap.
2385 (allout-mode-map-adjustments): Remove. No longer necessary with
2386 removal of allout-preempt-trailing-ctrl-h.
2387 (allout-setup-mode-map): Remove. Consolidate into
2388 allout-compose-and-institute-keymap and allout-institute-keymap.
2389
2390 2011-01-20 Glenn Morris <rgm@gnu.org>
2391
2392 * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
2393
2394 * simple.el (read-expression-history): Remove, it's in minibuf.c.
2395
2396 2011-01-20 Chong Yidong <cyd@stupidchicken.com>
2397
2398 * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
2399
2400 * files.el (find-alternate-file, basic-save-buffer)
2401 (basic-save-buffer-2, revert-buffer, recover-file)
2402 (kill-buffer-ask, abort-if-file-too-large)
2403 (set-visited-file-name, write-file, backup-buffer)
2404 (basic-save-buffer, save-some-buffers):
2405 * dired-aux.el (dired-compress-file): Callers changed.
2406
2407 2011-01-19 Glenn Morris <rgm@gnu.org>
2408
2409 * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
2410 Also check the property status. (Bug#7861)
2411
2412 2011-01-18 Michael Albinus <michael.albinus@gmx.de>
2413
2414 * net/tramp.el (tramp-debug-message): Extend function exclude
2415 list. Use `regexp-opt'.
2416
2417 2011-01-18 Stefan Monnier <monnier@iro.umontreal.ca>
2418
2419 * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
2420 highlighting doesn't spill over subsequent lines.
2421
2422 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
2423 keymap expression. Improve docstring.
2424
2425 * electric.el (electric-indent-post-self-insert-function):
2426 Don't auto-indent for indent-to-left-margin, it's too often
2427 counter-productive.
2428
2429 2011-01-16 Tassilo Horn <tassilo@member.fsf.org>
2430
2431 * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
2432 spaces if the frame was resized, so that the full visible buffer
2433 serves as canvas for strokes.
2434
2435 2011-01-16 Glenn Morris <rgm@gnu.org>
2436
2437 * info-xref.el (info-xref-docstrings): Replace cl function.
2438 Also skip directories.
2439
2440 2011-01-16 Kevin Ryde <user42@zip.com.au>
2441
2442 * info-xref.el: Version 3.
2443 (info-xref-check, info-xref-check-all): Move commentary details
2444 into docstrings for better visibility.
2445 Use compilation-mode for the results buffer.
2446 (info-xref-output, info-xref-output-error, info-xref-with-output)
2447 (info-xref-filename, info-xref-in-progress):
2448 New internals for this.
2449 (info-xref-check-list, info-xref-check-buffer)
2450 (info-xref-check-all-custom): Use those.
2451 (info-xref-output-buffer): Rename from info-xref-results-buffer.
2452 (info-xref-output-heading): Rename from info-xref-filename-heading.
2453 (info-xref-good, info-xref-bad, info-xref-xfile-alist)
2454 (info-xref-filename-heading): Move to output managing section.
2455 (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
2456 (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
2457 (info-xref-subfile-p): Move to generic section with those two.
2458 (info-xref-check-node): New function split from
2459 info-xref-check-buffer, shared by info-xref-docstrings.
2460 (info-xref-goto-node-p): Move to a checking section with that func.
2461 (info-xref-unavail): New counter.
2462 (info-xref-check-node): Use it.
2463 (info-xref-with-output): Show count of unavailables at end of output.
2464 (info-xref-all-info-files): Exclude ".*" dotfiles. Ignore broken
2465 symlinks. Exclude .texi files. Exclude Emacs backup files.
2466 (info-xref-check-all-custom): Fix quietening viper-mode and
2467 gnus-registry-install -- use setq not let so as not to unbind
2468 after load.
2469
2470 2011-01-16 Juri Linkov <juri@jurta.org>
2471
2472 * isearch.el (isearch-abort): Don't quit if search has
2473 an incomplete regexp (isearch-error is non-nil). (Bug#7534)
2474
2475 2011-01-15 Mark Diekhans <markd@soe.ucsc.edu>
2476
2477 * files.el (backup-buffer): Make last-resort backup file in
2478 .emacs.d (Bug#6953).
2479
2480 * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
2481 make it with permission 700.
2482
2483 2011-01-15 Kenichi Handa <handa@m17n.org>
2484
2485 * mail/rmailmm.el (rmail-mime-insert-header):
2486 Set rmail-mime-coding-system to a cons whose car is the last coding
2487 system used to decode the header.
2488 (rmail-mime-find-header-encoding): New function.
2489 (rmail-mime-insert-decoded-text):
2490 Override rmail-mime-coding-system if it is a cons.
2491 (rmail-show-mime): If only a header part was decoded, find the
2492 coding system while ignoring mm-charset-override-alist.
2493
2494 2011-01-15 Chong Yidong <cyd@stupidchicken.com>
2495
2496 * subr.el (event-start, event-end): Doc fix (Bug#7826).
2497
2498 2011-01-15 Kenichi Handa <handa@m17n.org>
2499
2500 * mail/rmailmm.el (rmail-mime-next-item)
2501 (rmail-mime-previous-item): Delete them.
2502 (rmail-mime-shown-mode): Recursively call for children.
2503 (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
2504 Callers changed.
2505 (rmail-mime-raw-mode): Recursively call for children.
2506 (rmail-mode-map): Change mapping of tab and backtab to
2507 forward-button and backward-button respectively.
2508 (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
2509 button.
2510 (rmail-mime-update-tagline): New function.
2511 (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
2512 body display is changed.
2513 (rmail-mime-toggle-button): Rename from rmail-mime-image.
2514 (rmail-mime-image): Delete this button type.
2515 (rmail-mime-toggle): New button type.
2516 (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
2517 body display is changed. Change the save button label to "Save".
2518 Don't process show/hide button here.
2519 (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
2520 the body display is changed. Unconditionally call
2521 rmail-mime-insert for children.
2522 (rmail-mime-handle): Update `display' vector of the just inserted
2523 entity.
2524 (rmail-mime-process): If mail-header-parse-content-type returns
2525 nil, use "text/plain" as the fallback type.
2526 (rmail-mime-insert): For raw-mode, recursively call
2527 rmail-mim-insert for children.
2528 (rmail-mime): Handle the case that the current buffer is not rmail
2529 buffer (e.g. in summary buffer).
2530
2531 2011-01-15 Kenichi Handa <handa@m17n.org>
2532
2533 * mail/rmailmm.el (rmail-mime-next-item)
2534 (rmail-mime-previous-item): Skip the body of a non-multipart
2535 entity if a tagline is shown.
2536
2537 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
2540 (tmm-prompt): Simplify.
2541 (tmm-add-prompt): Remove unused var `win'.
2542
2543 * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
2544 to minor mode which used nil accidentally to mean "turn off".
2545
2546 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2547
2548 * net/tramp-sh.el (tramp-find-inline-compress)
2549 (tramp-get-inline-coding): Quote command after pipe symbol for
2550 local calls under W32. (Bug#6784)
2551
2552 2011-01-15 Michael Albinus <michael.albinus@gmx.de>
2553
2554 * net/tramp.el (tramp-default-method): Initialize with pscp/plink
2555 only when running under W32.
2556
2557 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2558
2559 * progmodes/grep.el (grep-compute-defaults): Quote the program
2560 file name after the pipe symbol in Grep templates. (Bug#6784)
2561 * jka-compr.el (jka-compr-partial-uncompress): Likewise.
2562
2563 2011-01-15 Lennart Borgman <lennart.borgman@gmail.com>
2564
2565 * buff-menu.el (Buffer-menu-buffer-list): New var.
2566 (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
2567 restricted buffer list is not lost on revert (Bug#7749).
2568
2569 2011-01-15 Eric Hanchrow <eric.hanchrow@gmail.com>
2570
2571 * net/ldap.el (ldap-search-internal): Discard stderr output.
2572
2573 2011-01-15 Eli Zaretskii <eliz@gnu.org>
2574
2575 * files.el (directory-abbrev-alist): Doc fix. (Bug#7777)
2576
2577 2011-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
2580
2581 2011-01-15 Kenichi Handa <handa@m17n.org>
2582
2583 * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
2584 part as a plain text.
2585 (rmail-mime-process-multipart): Set the default content-type to
2586 nil for unknown multipart subtypes (bug#7651).
2587
2588 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2589
2590 * hexl.el (hexl-mode-old-*): Remove.
2591 (hexl-mode--old-var-vals): New var to replace them.
2592 (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
2593 (hexl-mode, hexl-follow-line, hexl-activate-ruler):
2594 Use them to set local vars (bug#7846).
2595 (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
2596 (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
2597 (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
2598
2599 * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
2600 (smerge-resolve--normalize-re): New var.
2601 (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
2602 (smerge-resolve): Use them.
2603 * newcomment.el (comment-only-p): New function.
2604 (comment-or-uncomment-region): Use it.
2605
2606 2011-01-14 Brent Goodrick <bgoodr@gmail.com> (tiny change)
2607
2608 * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
2609 table, get the value before switching to the output buffer. (Bug#7733)
2610
2611 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
2614
2615 2011-01-14 Kim F. Storm <storm@cua.dk>
2616
2617 * emulation/cua-base.el (cua--init-keymaps):
2618 Remap exchange-point-and-mark in cua-global-keymap.
2619
2620 2011-01-14 Tassilo Horn <tassilo@member.fsf.org>
2621
2622 * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
2623 loop keyword.
2624
2625 2011-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
2626
2627 * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
2628 Require CL.
2629 (easy-menu-create-menu, easy-menu-convert-item-1):
2630 Use :label rather than nil for labels. Use `case'.
2631 Add :enable as alias for :active.
2632 (easy-menu-binding): Obey :label.
2633
2634 2011-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2635
2636 Use run-mode-hooks for major mode hooks (bug#513).
2637 * textmodes/reftex-toc.el (reftex-toc-mode-map):
2638 Rename from reftex-toc-map.
2639 (reftex-toc-mode): Use define-derived-mode.
2640 * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
2641 (reftex-select-label-mode-map, reftex-select-bib-mode-map):
2642 Rename from reftex-select-(label|bib)-map. Move init into declaration.
2643 (reftex-select-label-mode, reftex-select-bib-mode):
2644 Use define-derived-mode.
2645 * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
2646 (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
2647 Move init into delcaration.
2648 (reftex-index-mode, reftex-index-phrases-mode):
2649 Use define-derived-mode.
2650 * speedbar.el (speedbar-mode-syntax-table): Renaqme from
2651 speedbar-syntax-table. Move init into declaration.
2652 (speedbar-mode-map): Rename from speedbar-key-map.
2653 Move init into declaration.
2654 (speedbar-file-key-map): Move init into declaration.
2655 (speedbar-mode): Use define-derived-mode.
2656 * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
2657 * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
2658 * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
2659 (chart-face-list): Move initialization into declaration.
2660 (chart-mode): Use define-derived-mode.
2661 * calculator.el (calculator-mode-map): Move init into declaration.
2662 (calculator-mode): Use define-derived-mode.
2663
2664 * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
2665 work for nested comments.
2666
2667 * progmodes/prolog.el: Use syntax-propertize. Further code cleanup.
2668 (prolog-use-prolog-tokenizer-flag): Change default when
2669 syntax-propertize can be used.
2670 (prolog-syntax-propertize-function): New var.
2671 (prolog-mode-variables): Move make-local-variable into `set'.
2672 Don't make comment-column local since we don't set it.
2673 Set comment-add (as it was in previous prolog.el). Use dolist.
2674 Set syntax-propertize-function.
2675 (prolog-mode, prolog-inferior-mode):
2676 Call prolog(-inferior)-menu directly, not through the mode-hook.
2677 (prolog-buffer-module, prolog-indent-level)
2678 (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
2679 (prolog-comment-limits, prolog-goto-comment-column):
2680 Use line-(end|beginning)-position.
2681 (prolog-build-prolog-command): Tighten up regexp.
2682 (prolog-consult-compile): Move make-local-variable into `set'.
2683 (prolog-consult-compile-filter, prolog-goto-next-paren)
2684 (prolog-help-on-predicate, prolog-clause-info)
2685 (prolog-mark-predicate): Don't let+setq.
2686 (prolog-indent-line): Use indent-line-to.
2687 Only call prolog-goto-comment-column if necessary.
2688 (prolog-indent-level): Use bobp.
2689 (prolog-first-pos-on-line): Remove, not used any more.
2690 (prolog-in-string-or-comment): Use syntax-ppss if available.
2691 (prolog-help-on-predicate): Use read-string.
2692 (prolog-goto-predicate-info): Simplify.
2693 (prolog-read-predicate): Use `default' rather than `initial'.
2694 (prolog-temporary-file): Use make-temp-file to close a security hole.
2695 (prolog-toggle-sicstus-sd): New command.
2696 (prolog-electric-underscore, prolog-variables-to-anonymous):
2697 Use dynamic-scoping as it was meant.
2698 (prolog-menu): Move menu definitions to top-level.
2699 Use a toggle-button for Sicstus's source debugger.
2700 Change "Code" to the more usual "Prolog", and hence change "Prolog"
2701 to "System".
2702 (prolog-inferior-menu): Reuse prolog-menu's help menu.
2703 Move other menu definition to top-level.
2704
2705 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2706
2707 * doc-view.el (doc-view-open-text): Use meaningful text buffer
2708 name. Keep original document's directory as default-directory
2709 (bug#6446).
2710 (doc-view-initiate-display): Fall back to normal mode when
2711 doc-view-mode cannot be enabled, also when extracting the document
2712 text into a separate buffer (bug#6446).
2713
2714 * simple.el (shell-command): Don't error out if shell command
2715 buffer contains text with non-nil read-only property when erasing
2716 the buffer.
2717
2718 2011-01-13 Kim F. Storm <storm@cua.dk>
2719
2720 * ido.el (ido-may-cache-directory): Move "too-big" check later.
2721 (ido-next-match, ido-prev-match): Fix stray reordering of matching
2722 items when cycling through the matches.
2723
2724 2011-01-13 Tassilo Horn <tassilo@member.fsf.org>
2725
2726 * dired-x.el (dired-omit-verbose): New defcustom that allows
2727 disabling the omit messages.
2728 (dired-omit-expunge): Use it.
2729
2730 2011-01-13 Christian Ohler <ohler@gnu.org>
2731
2732 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
2733
2734 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2735
2736 * font-lock.el (font-lock-verbose): Default to nil.
2737
2738 2011-01-13 Chong Yidong <cyd@stupidchicken.com>
2739
2740 * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
2741 (compose-mail): New arg RETURN-ACTION.
2742 (compose-mail-other-window, compose-mail-other-frame): Likewise.
2743
2744 * mail/sendmail.el (mail-return-action): New var.
2745 (mail-mode): Make it buffer-local.
2746 (mail-bury): Obey it. Move special Rmail window handling to
2747 rmail-mail-return.
2748 (mail, mail-setup): New arg RETURN-ACTION.
2749 (sendmail-user-agent-compose): Move from simple.el.
2750
2751 * mail/rmail.el (rmail-mail-return): New function.
2752 (rmail-start-mail): Pass it to compose-mail.
2753
2754 2011-01-12 Chong Yidong <cyd@stupidchicken.com>
2755
2756 * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
2757 menus. Add menu item for customize-themes.
2758
2759 * cus-theme.el (customize-themes):
2760 * emacs-lisp/package.el (package--list-packages):
2761 Use switch-to-buffer.
2762
2763 2011-01-11 Johan Bockgård <bojohan@gnu.org>
2764
2765 * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
2766
2767 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2768
2769 * progmodes/prolog.el: Fix up coding convention and such.
2770 (prolog-indent-width): Use the same default as in
2771 previous prolog.el rather than tab-width which depends on which buffer
2772 is current when the file is loaded.
2773 (prolog-electric-newline-flag): Only enable if electric-indent-mode
2774 is not available.
2775 (prolog-emacs): Remove. Use (featurep 'xemacs) instead.
2776 (prolog-known-systems): Remove.
2777 (prolog-mode-syntax-table, prolog-inferior-mode-map):
2778 Move initialization into declaration.
2779 (prolog-mode-map): Move initialization into declaration.
2780 Remove system-specific mode-map vars, since they referred to the same
2781 keymap anyway.
2782 (prolog-mode-variables): Obey the user's preference w.r.t
2783 adaptive-fill-mode. Prefer symbol-value to `eval'.
2784 (prolog-mode-keybindings-edit): Add compatibility bindings.
2785 (prolog-mode): Use define-derived-mode. Don't handle mercury here.
2786 (mercury-mode-map): New var.
2787 (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
2788 (prolog-ensure-process, prolog-process-insert-string)
2789 (prolog-consult-compile): Use with-current-buffer.
2790 (prolog-guess-fill-prefix): Simplify data flow.
2791 (prolog-replace-in-string): New function to use instead of
2792 replace-in-string.
2793 (prolog-enable-sicstus-sd): Don't abuse `eval'.
2794 (prolog-uncomment-region): Use `uncomment-region' when available.
2795 (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
2796 (prolog-int-to-char, prolog-char-to-int): New functions to use instead
2797 of int-to-char and char-to-int.
2798 (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
2799
2800 2011-01-11 Stefan Bruda <stefan@bruda.ca>
2801
2802 * progmodes/prolog.el: Replace by a whole new file.
2803
2804 2011-01-11 Stefan Monnier <monnier@iro.umontreal.ca>
2805
2806 * subr.el (eval-after-load): Fix timing for features (bug#7769).
2807 (declare-function, undefined, insert-for-yank)
2808 (replace-regexp-in-string): Follow checkdoc's recommendations.
2809
2810 2011-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2811
2812 * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
2813 refreshing the diary buffer.
2814
2815 2011-01-10 Ken Manheimer <ken.manheimer@gmail.com>
2816
2817 * allout.el: Add 2011 to the file copyright.
2818 (allout-encrypt-string): Prevent encryption from adding an extra
2819 newline at the end of the topic body.
2820 (allout-version): Increment to 2.3.
2821
2822 2011-01-10 Michael Albinus <michael.albinus@gmx.de>
2823
2824 * net/dbus.el (dbus-unregister-service): Complete doc.
2825 Fix call of dbus-error signal.
2826 (dbus-register-property): Use `dont-register' keyword.
2827
2828 2011-01-10 Jan Moringen <jan.moringen@uni-bielefeld.de>
2829
2830 * net/dbus.el (dbus-unregister-service): Translate returned
2831 integer into a symbol.
2832 (dbus-register-property): Use `dbus-register-service' to do the
2833 name registration.
2834
2835 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2836
2837 * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
2838 Suggested by Joakim Verona.
2839
2840 * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
2841
2842 * wid-edit.el (visibility): Replace :on-image and :off-image
2843 widget properties with :on-glyph and :off-glyph, for consistency
2844 with the `visibility' widget.
2845 (widget-toggle-value-create, widget-visibility-value-create):
2846 Merge into a single function `widget-toggle-value-create'.
2847
2848 * cus-edit.el (custom-variable-value-create, custom-visibility)
2849 (custom-face-edit-value-create, custom-face-value-create):
2850 Replace :on-image and :off-image widget properties with :on-glyph and
2851 :off-glyph, for consistency with the `visibility' widget.
2852
2853 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2854
2855 * net/ldap.el (ldap-search-internal): Don't use eval.
2856
2857 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2858
2859 * subr.el (read-char-choice): Use read-key.
2860
2861 * custom.el (custom-safe-themes): Rename from
2862 custom-safe-theme-files. Add :risky tag.
2863 (load-theme, custom-theme-load-confirm): Save sha1 hashes to
2864 custom-safe-themes, not filenames. Suggested by Stefan Monnier.
2865
2866 2011-01-09 Chong Yidong <cyd@stupidchicken.com>
2867
2868 * tool-bar.el (tool-bar-setup): Remove Help button. Remove label
2869 from Search and add a label to Undo.
2870
2871 * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
2872 inappropriate buttons and adding :vert-only tags.
2873
2874 * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
2875 removal of Help tool-bar button. Remove Undo button for space.
2876
2877 * info.el (info-tool-bar-map): Add :vert-only tags.
2878
2879 2011-01-08 Tassilo Horn <tassilo@member.fsf.org>
2880
2881 * doc-view.el (doc-view-mode-p): Check for png or imagemagick
2882 image backend support. Either of them is fine.
2883
2884 2011-01-08 Chong Yidong <cyd@stupidchicken.com>
2885
2886 * subr.el (y-or-n-p): Doc fix.
2887
2888 * custom.el (custom-safe-theme-files): New defcustom.
2889 (custom-theme-load-confirm): New function.
2890 (load-theme): Load theme using `load', confirming with
2891 custom-theme-load-confirm if necessary.
2892
2893 * subr.el (read-char-choice): New function, factored out from
2894 dired-query and hack-local-variables-confirm.
2895
2896 * dired-aux.el (dired-query):
2897 * files.el (hack-local-variables-confirm): Use it.
2898
2899 * dired-aux.el (dired-compress-file):
2900 * files.el (abort-if-file-too-large, find-alternate-file)
2901 (set-visited-file-name, write-file, backup-buffer)
2902 (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
2903 (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
2904 Use new format string args for y-or-n-p and yes-or-no-p.
2905
2906 2011-01-08 Andreas Schwab <schwab@linux-m68k.org>
2907
2908 * progmodes/compile.el (compilation-error-regexp-alist-alist)
2909 [gcc-include]: Tighten file name match, add match for column
2910 number. (Bug#7806)
2911 [gnu]: Remove unused group.
2912
2913 2011-01-08 Glenn Morris <rgm@gnu.org>
2914
2915 * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
2916
2917 * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
2918
2919 2011-01-07 Sam Steingold <sds@gnu.org>
2920
2921 * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
2922 the `explicit-shell-file-name' because that is the
2923 non-interactive shell.
2924
2925 2011-01-07 Chong Yidong <cyd@stupidchicken.com>
2926
2927 * subr.el (y-or-n-p): Accept format string args.
2928
2929 2011-01-07 Glenn Morris <rgm@gnu.org>
2930
2931 * Makefile.in (EMACSOPT): Add --no-site-lisp.
2932
2933 2011-01-06 Ken Manheimer <ken.manheimer@gmail.com>
2934
2935 * allout.el (allout-back-to-current-heading): Ensure return to
2936 the visible containing topic, rather than a collapsed one.
2937 (allout-view-change-hook): Remove hook that was deprecated long ago.
2938 (allout-exposure-change-hook): Remove documentation remarks
2939 concerning removed allout-view-change-hook.
2940 (allout-flag-region): Remove invocation of and documentation
2941 remarks concerning allout-view-change-hook.
2942
2943 2011-01-06 Glenn Morris <rgm@gnu.org>
2944
2945 * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
2946 (vc-bzr-annotate-extract-revision-at-line):
2947 Handle authors with embedded spaces. (Bug#7792)
2948
2949 2011-01-05 Tassilo Horn <tassilo@member.fsf.org>
2950
2951 * doc-view.el (doc-view-image-width): New variable.
2952 (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
2953 backend for PNG images, and do dynamic rescaling instead of
2954 reconverting the whole doc.
2955
2956 2011-01-05 Glenn Morris <rgm@gnu.org>
2957
2958 * emacs-lisp/rx.el (rx-repeat): Replace CL function.
2959
2960 2011-01-04 Ken Manheimer <ken.manheimer@gmail.com>
2961
2962 * allout.el: Reconcile with changes in line movement behavior for
2963 long text lines that cross more than a single physical window
2964 line, ie when truncate-lines is nil.
2965 (allout-next-visible-heading): Provide for change in line-move
2966 behavior on long lines when truncate-lines is nil. In that case,
2967 line-move can wind up on the same textual line when it moves to
2968 the next window line, and moving to the bullet position after the
2969 move yields zero advancement. Add logic to detect and compensate
2970 for the lack of progress.
2971 (allout-current-topic-collapsed-p): move-end-of-line respect for
2972 field boundaries is different when operating with body lines
2973 shorter than window width versus ones greater than window width,
2974 which can yield false negatives in this function. Avoid
2975 difference by applying move-end-of-line while field-text-motion is
2976 inhibited.
2977
2978 2011-01-04 Glenn Morris <rgm@gnu.org>
2979
2980 * textmodes/rst.el (rst-compile-toolsets):
2981 Add pdf and s5 to option alist.
2982
2983 2011-01-04 Jan Moringen <jan.moringen@uni-bielefeld.de>
2984
2985 * net/dbus.el (dbus-register-property): Add optional parameter
2986 dont-register-service. Updated docstring accordingly.
2987
2988 2011-01-04 Andreas Schwab <schwab@linux-m68k.org>
2989
2990 * textmodes/rst.el (rst-compile-pdf-preview)
2991 (rst-compile-slides-preview): Remove extra line.
2992
2993 2011-01-04 Glenn Morris <rgm@gnu.org>
2994
2995 * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
2996 Add `pdf' and `s5' entries. Use `prog.py' if found, otherwise
2997 default to `prog' without a .py extension.
2998 (rst-compile-pdf-preview, rst-compile-slides-preview):
2999 Use program names from rst-compile-toolsets, rather than hard-coding.
3000 (rst-portable-mark-active-p): Fix presumed typo.
3001
3002 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3003
3004 * term/w32-win.el (dynamic-library-alist): Set up correctly for
3005 libpng versions both before and after 1.4.0. (Bug#7716)
3006
3007 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3008
3009 * time.el (display-time-mode): Mention display-time-interval in
3010 the doc string. (Bug#7713)
3011
3012 2011-01-02 Kenichi Handa <handa@m17n.org>
3013
3014 * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
3015 condition-case and return an error message string if something
3016 goes wrong.
3017 (rmail-show-mime): Adjust for the above change. Insert the
3018 header by rmail-mime-insert-header.
3019
3020 2011-01-02 Kenichi Handa <handa@m17n.org>
3021
3022 * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
3023 rmail-mime-previous-item, and rmail-mime-toggle-hidden.
3024 (rmail-mime-mbox-buffer)
3025 (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
3026 (rmail-mime-entity): Argument changed. All codes handling an
3027 entity object are changed.
3028 (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
3029 the above change.
3030 (rmail-mime-entity-children, rmail-mime-entity-handler)
3031 (rmail-mime-entity-tagline): New functions.
3032 (rmail-mime-message-p): New function.
3033 (rmail-mime-save): Bind rmail-mime-mbox-buffer.
3034 (rmail-mime-entity-segment, rmail-mime-next-item)
3035 (rmail-mime-previous-item, rmail-mime-shown-mode)
3036 (rmail-mime-hidden-mode, rmail-mime-raw-mode)
3037 (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
3038 (rmail-mime-insert-tagline, rmail-mime-insert-header):
3039 New functions.
3040 (rmail-mime-text-handler): Call rmail-mime-insert-text.
3041 (rmail-mime-insert-decoded-text): New function.
3042 (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
3043 (rmail-mime-insert-image): Argument changed. Caller changed.
3044 (rmail-mime-image): Call rmail-mime-toggle-hidden.
3045 (rmail-mime-set-bulk-data): New function.
3046 (rmail-mime-insert-bulk): Argument changed.
3047 (rmail-mime-multipart-handler): Return t.
3048 (rmail-mime-process-multipart): Argument changed.
3049 Handle "multipart/alternative" here.
3050 (rmail-mime-process): Argument changed.
3051 (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
3052 (rmail-mime-insert): Argument changed. Handle raw display mode.
3053 (rmail-mime): Argument changed. Handle toggling of raw display
3054 mode.
3055 (rmail-show-mime): Bind rmail-mime-mbox-buffer and
3056 rmail-mime-view-buffer.
3057 (rmail-insert-mime-forwarded-message): Likewise.
3058 (rmail-search-mime-message): Likewise. Don't bind rmail-buffer.
3059
3060 * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
3061 non-nil, handle the header in rmail-show-mime-function.
3062
3063 2011-01-02 Leo <sdl.web@gmail.com>
3064
3065 * help-fns.el (describe-variable): Fix previous change.
3066
3067 2011-01-02 Juri Linkov <juri@jurta.org>
3068
3069 * isearch.el (isearch-lazy-highlight-error): New variable.
3070 (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
3071 `isearch-lazy-highlight-error'. Set `isearch-lazy-highlight-error'
3072 to the current value of `isearch-error' (Bug#7468).
3073
3074 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3075
3076 * help-fns.el (describe-variable): Don't emit trailing whitespace
3077 (Bug#7511).
3078
3079 2011-01-02 Chong Yidong <cyd@stupidchicken.com>
3080
3081 * textmodes/rst.el (rst-compile-pdf-preview)
3082 (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
3083
3084 2011-01-02 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3085
3086 * emulation/edt-mapper.el: Override mapping of function keys so
3087 that the later call to read-key-sequence works.
3088
3089 2011-01-02 Eli Zaretskii <eliz@gnu.org>
3090
3091 * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
3092 Unix EOLs. (Bug#7589)
3093
3094 2011-01-02 Leo <sdl.web@gmail.com>
3095
3096 * eshell/em-hist.el (eshell-previous-matching-input): Signal error
3097 if point is not behind eshell-last-output-end (Bug#7585).
3098
3099 2011-01-02 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * files.el (file-local-variables-alist):
3102 Make permanent-local (bug#7767).
3103
3104 2011-01-02 Glenn Morris <rgm@gnu.org>
3105
3106 * version.el (emacs-copyright): Set short copyright year to 2011.
3107
3108 2011-01-02 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
3109
3110 * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
3111 an existing temp buffer. (Bug#7746)
3112
3113 2011-01-02 Glenn Morris <rgm@gnu.org>
3114
3115 * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
3116 multiple addresses. (Bug#7760)
3117
3118 2011-01-01 Ken Manheimer <ken.manheimer@gmail.com>
3119
3120 * allout.el (allout-auto-fill): Do not infinitely recurse - use
3121 do-auto-fill if everything points back to allout-auto-fill.
3122 (allout-mode-deactivate-hook): Declare obsolete, in favor of
3123 standard-formed minor-mode deactivate hook, allout-mode-off-hook.
3124
3125 2010-12-31 Michael Albinus <michael.albinus@gmx.de>
3126
3127 * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
3128 and "scpx".
3129
3130 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3131
3132 * doc-view.el (doc-view-set-doc-type): New function refactored
3133 from doc-view-mode.
3134 (doc-view-fallback-mode): New function.
3135 (doc-view-mode): Use it.
3136 (doc-view-mode-maybe): New function that checks if doc-view-mode
3137 can be used and falls back to the next best mode otherwise.
3138
3139 * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
3140 DVI, OpenDocument, and MS Office files.
3141
3142 2010-12-30 Andreas Schwab <schwab@linux-m68k.org>
3143
3144 * emacs-lisp/rx.el (rx-syntax): Fix typo.
3145
3146 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3147
3148 * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
3149 on a copy of auto-mode-alist, because that deletes with side
3150 effects.
3151
3152 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3153
3154 * doc-view.el (doc-view-mode, doc-view-toggle-display):
3155 Use normal-mode without doc-view-mode bindings in auto-mode-alist as
3156 fallback instead of hard coding fundamental mode.
3157
3158 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3159
3160 * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
3161 Office) files also for searching.
3162
3163 2010-12-30 Tassilo Horn <tassilo@member.fsf.org>
3164
3165 * doc-view.el: Implement viewing of OpenDocument (and Microsoft
3166 Office) files. Not yet enabled via auto-mode-list.
3167 (doc-view-unoconv-program): New custom variable.
3168 (doc-view-mode-p): Handle new odf document type.
3169 (doc-view-odf->pdf): New conversion function.
3170 (doc-view-convert-current-doc): Call it for odf files.
3171 (doc-view-mode): Recognize newly supported file extensions.
3172
3173 2010-12-30 Michael Albinus <michael.albinus@gmx.de>
3174
3175 * net/tramp.el (tramp-default-method-alist)
3176 (tramp-default-user-alist)
3177 (tramp-local-host-regexp, tramp-prefix-domain-format)
3178 (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
3179
3180 * net/tramp-ftp.el:
3181 * net/tramp-gvfs.el:
3182 * net/tramp-gw.el:
3183 * net/tramp-imap.el:
3184 * net/tramp-sh.el:
3185 * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
3186 code of `tramp-default-method-alist' and `tramp-default-user-alist'.
3187
3188 2010-12-29 Karl Fogel <kfogel@red-bean.com>
3189
3190 * saveplace.el (save-place-alist-to-file): Save list sorted and
3191 pretty-printed, so that it is mergeable by line-based text merging,
3192 as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
3193
3194 2010-12-28 Ken Manheimer <ken.manheimer@gmail.com>
3195
3196 * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
3197 (allout-mode): Argument "toggle" => "force".
3198 Refine the docstring.
3199 Remove special provisions for reactivation, besides the 'force'
3200 argument.
3201 Consolidate layout provisions coce directly into the activation
3202 condition branch, now that we've removed those provisions.
3203 (allout-unload-function): Explicitly activate the mode before
3204 deactivating, if it's initially deactivated.
3205 (allout-set-buffer-multibyte): Properly prevent byte-compiler
3206 warnings for version of function used only where
3207 set-buffer-multibyte is unavailable.
3208
3209 2010-12-28 Chong Yidong <cyd@stupidchicken.com>
3210
3211 * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
3212 are handled by the menu-bar entries. As before, don't use
3213 :visibile to avoid changing the tool-bar.
3214
3215 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3216
3217 * net/secrets.el (secrets-delete-alias): New defun.
3218
3219 2010-12-27 Michael Albinus <michael.albinus@gmx.de>
3220
3221 * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
3222 methods, otherwise ~/.ssh/config would be ignored.
3223
3224 2010-12-26 Stefan Monnier <monnier@iro.umontreal.ca>
3225
3226 * emacs-lisp/rx.el: Make it a superset of sregex.
3227 (rx-constituents): Add `any => "."', mark `repeat' as taking any number
3228 of args, add `regex' alias.
3229 (rx-info): Add arg to distinguish head and standalone forms.
3230 (rx-check, rx-form): Pass the corresponding arg.
3231 (rx-**): Simplify.
3232 (rx-repeat): Make it work for any number of args.
3233 (rx-syntax): Make it accept syntax chars as is.
3234 * obsolete/sregex.el: Move from emacs-lisp/.
3235 * emacs-lisp/re-builder.el: Remove sregex support.
3236 * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
3237
3238 2010-12-25 Eli Zaretskii <eliz@gnu.org>
3239
3240 * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
3241 PRIMARY first, then the clipboard. (Bug#7699)
3242
3243 2010-12-22 Stefan Monnier <monnier@iro.umontreal.ca>
3244
3245 * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
3246 print-number-table.
3247
3248 2010-12-21 Chong Yidong <cyd@stupidchicken.com>
3249
3250 * help-fns.el (find-lisp-object-file-name): Locate .emacs from
3251 .emacs.elc (Bug#7530).
3252
3253 * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
3254 image spec (Bug#7480).
3255
3256 2010-12-21 Daiki Ueno <ueno@unixuser.org>
3257
3258 * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
3259 * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
3260 Move from lisp/.
3261
3262 2010-12-20 Leo <sdl.web@gmail.com>
3263
3264 * dnd.el (dnd-get-local-file-name): Unhex of file name shall
3265 always be performed (Bug#7680).
3266
3267 2010-12-20 Chong Yidong <cyd@stupidchicken.com>
3268
3269 * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
3270 (menu-bar-edit-menu): Bind "Copy" to kill-ring-save. Don't use
3271 mouse-region-match.
3272
3273 * color.el: Move from gnus/.
3274
3275 * vc/diff.el (diff-better-file-name): Function deleted.
3276 abbreviating file names causes problems with shell-quote-argument.
3277 (diff-no-select): Just use expand-file-name.
3278
3279 * tool-bar.el (tool-bar--image-expression): New function.
3280 (tool-bar-local-item, tool-bar--image-exp): Use it.
3281 (tool-bar-setup): Initialize tool-bar-separator-image-expression.
3282 Use :enable instead of :visible to avoid changing the tool-bar
3283 configuration unnecessarily.
3284
3285 * info.el (info-tool-bar-map): Add separators.
3286
3287 2010-12-17 Ken Brown <kbrown@cornell.edu>
3288
3289 * loadup.el: Use version numbers in Cygwin build.
3290
3291 2010-12-17 Ryan Twitchell <metatheorem@gmail.com> (tiny change)
3292
3293 * ido.el (ido-file-internal): Ask for confirmation before
3294 overwriting an existing file (Bug#1238).
3295
3296 2010-12-16 Chong Yidong <cyd@stupidchicken.com>
3297
3298 * tool-bar.el (tool-bar-setup): Add separators.
3299
3300 * menu-bar.el (featurep): Use menu-bar-separator.
3301
3302 2010-12-16 Ken Manheimer <ken.manheimer@gmail.com>
3303
3304 Migrate allout encryption provisions from pgg to epg.
3305
3306 * allout.el (allout-toggle-current-subtree-encryption)
3307 (allout-toggle-subtree-encryption): Adjust docstrings to reflect
3308 defaulting policy and other changes. Change fetch-pass to keymode-cue,
3309 for simpler universal argument interpretation.
3310 (allout-toggle-subtree-encryption): Adjust docstring to describe
3311 changed encryption provisions. Change fetch-pass to keymode-cue, for
3312 simpler universal argument interpretation. Remove provisions for
3313 handling key type and identity - they'll all be within
3314 allout-encrypt-string or epg/epg or even contained all the way in gpg.
3315 (allout-encrypt-string): Include keymode-cue, for optionally prompting
3316 for keypair recipients (universal argument > 1) and, in addition,
3317 associating the specified recipients with the outline (universal
3318 argument > 4) using a file local variable setting for
3319 'epa-file-encrypt-to'.
3320 Require epa, for recipients handling.
3321 Change how regexp filtering elements are named.
3322 Describe the problem with caching of incorrect symmetric-decryption
3323 keys.
3324 Use the epa-passphrase-callback-function, in case the user is using
3325 GnuPG v1.
3326 Support saving of the selected keypair recipients when invoked with a
3327 keymode-cue > 4.
3328 Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
3329 Require 'epa.
3330 Establish epg-context with armoring and default epg-protocol.
3331 Remove all passphrase cache, verification, and hinting code.
3332 (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
3333 No longer used, delete.
3334 (allout-mode): Adjust docstring to describe changed encryption
3335 provisions. Describe the problem with caching of incorrect
3336 symmetric-decryption keys.
3337 (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
3338 (allout-make-passphrase-state, allout-passphrase-state-passphrase)
3339 (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
3340 (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
3341 Obsolete, remove.
3342
3343 2010-12-16 Daiki Ueno <ueno@unixuser.org>
3344
3345 * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
3346 key selection prompt; make 'silent as default (Bug#7487).
3347
3348 2010-12-16 Leo <sdl.web@gmail.com>
3349
3350 * eshell/eshell.el (eshell-directory-name):
3351 Use locate-user-emacs-file (Bug#7578).
3352
3353 2010-12-15 Glenn Morris <rgm@gnu.org>
3354
3355 * loadup.el (symbol-file-load-history-loaded): Remove; unused.
3356
3357 2010-12-15 Jari Aalto <jari.aalto@cante.net>
3358 Scott Evans <gse@antisleep.com>
3359
3360 * rect.el (rectange--default-line-number-format)
3361 (rectangle-number-line-callback): New functions.
3362 (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
3363
3364 2010-12-15 Chong Yidong <cyd@stupidchicken.com>
3365
3366 * rect.el (operate-on-rectangle-lines, string-rectangle-string):
3367 Delete unused variables.
3368 (move-to-column-force): Remove function obsolete since 21.2.
3369
3370 2010-12-14 Michael Albinus <michael.albinus@gmx.de>
3371
3372 * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
3373 (tramp-handle-insert-file-contents): Do not set permanent-local
3374 property.
3375
3376 * net/tramp-cache.el (tramp-persistency-file-name):
3377 Use `locate-user-emacs-file' if fboundp.
3378
3379 * net/tramp-sh.el (tramp-methods): Add "ksu".
3380 (tramp-default-user-alist): Add "ksu". Use `regexp-opt' for
3381 method list.
3382
3383 2010-12-14 Glenn Morris <rgm@gnu.org>
3384
3385 * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
3386 (find-tag-marker-ring): Declare.
3387 (js-find-symbol): Require etags.
3388
3389 * mail/sendmail.el: Don't require rmail or mailalias when compiling.
3390 Require mail-utils.
3391 (mail-alias-file): Don't autoload. Doc fix.
3392 (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
3393 (mail-mailer-swallows-blank-line): Default to nil. Doc fix.
3394 Mark as obsolete, and risky.
3395 (mail-setup): Simplify.
3396
3397 * mail/mailalias.el (build-mail-aliases): Make it interactive.
3398 * mail/sendmail.el (build-mail-aliases): Update autoload.
3399
3400 * dired.el (dired-trivial-filenames, dired-chown-program)
3401 (dired-auto-revert-buffer): Remove autoload cookies.
3402 * mail/sendmail.el (mail-recover-1): Require 'dired.
3403
3404 * dired.el (dired-subdir-switches, dired-chown-program)
3405 (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
3406 Make into defcustoms.
3407 (dired-chown-program): Simplify initialization.
3408
3409 * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
3410
3411 2010-12-13 Romain Francoise <romain@orebokech.com>
3412
3413 * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
3414
3415 2010-12-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3416
3417 * net/netrc.el (netrc-point-at-eol): Remove the unused
3418 netrc-point-at-old and netrc-bound-and-true-p bindings.
3419 (netrc-parse): Cache the netrc contents.
3420
3421 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3422
3423 * subr.el (posn-col-row): Evaluate header-line-format in the
3424 context of the POSITION window's buffer.
3425
3426 2010-12-13 Glenn Morris <rgm@gnu.org>
3427
3428 * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
3429 (with-silent-modifications): Doc fixes.
3430
3431 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3432
3433 * net/tramp.el (tramp-action-password, tramp-process-actions):
3434 Revert previous from. Use `save-restriction'.
3435
3436 2010-12-13 Stephen Berman <stephen.berman@gmx.net>
3437
3438 * calendar/diary-lib.el (diary-list-sexp-entries):
3439 Handle case of no newline at end of file. (Bug#7536)
3440
3441 2010-12-13 Glenn Morris <rgm@gnu.org>
3442
3443 * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
3444
3445 2010-12-13 Michael Albinus <michael.albinus@gmx.de>
3446
3447 * net/tramp.el (tramp-action-password): Delete region, do not narrow.
3448 (tramp-process-actions): Do not widen.
3449
3450 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3451 Protect buffer-modified value. (Bug#7557)
3452
3453 2010-12-13 Jan Moringen <jmoringe@techfak.uni-bielefeld.de>
3454
3455 * log-edit.el (log-edit-changelog-entries):
3456 Regexp quote filename. (Bug#7505)
3457
3458 2010-12-13 Tom Breton <tehom@panix.com>
3459
3460 * cus-edit.el (custom-save-all):
3461 Bind print-length and print-level to nil. (Bug#7581)
3462
3463 2010-12-13 Glenn Morris <rgm@gnu.org>
3464
3465 * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
3466 Run hooks to update menu contents. (Bug#7586)
3467
3468 * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
3469 file names, for the sake of MS Windows. (Bug#7588)
3470
3471 2010-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3472
3473 * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
3474 empty lines without a leading space.
3475
3476 2010-12-13 Leo <sdl.web@gmail.com>
3477
3478 * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
3479 while mapping over marks (Bug#6810).
3480
3481 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3482
3483 * image-dired.el (image-dired-db-file)
3484 (image-dired-temp-image-file, image-dired-gallery-dir)
3485 (image-dired-temp-rotate-image-file): Set default values relative
3486 to image-dired-dir (Bug#7518).
3487
3488 2010-12-13 Lawrence Mitchell <wence@gmx.li>
3489
3490 * format.el (format-decode-run-method): Pass args FROM and TO, not
3491 point-min and point-max, to shell-command-on-region (Bug#7488).
3492
3493 2010-12-13 Jan Djärv <jan.h.d@swipnet.se>
3494
3495 * frame.el (blink-cursor-mode): Make default t for ns.
3496
3497 2010-12-13 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3498
3499 * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3500
3501 2010-12-13 Chong Yidong <cyd@stupidchicken.com>
3502
3503 * comint.el (comint-dynamic-list-input-ring)
3504 (comint-dynamic-complete-filename)
3505 (comint-replace-by-expanded-filename)
3506 (comint-dynamic-simple-complete)
3507 (comint-dynamic-list-filename-completions)
3508 (comint-dynamic-list-completions): Doc fix (Bug#7499).
3509
3510 * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
3511 Doc fix (Bug#7471).
3512
3513 2010-12-13 Martin Rudalics <rudalics@gmx.at>
3514
3515 * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
3516 (Bug#7533).
3517
3518 2010-12-13 W. Martin Borgert <debacle@debian.org> (tiny change)
3519
3520 * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
3521 (Bug#7491).
3522
3523 2010-12-13 Eli Zaretskii <eliz@gnu.org>
3524
3525 * files.el (file-relative-name): Handle UNC file names on
3526 DOS/Windows. (Bug#4674)
3527
3528 2010-12-13 Daiki Ueno <ueno@unixuser.org>
3529
3530 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3531 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3532 (epg-context-set-passphrase-callback): Mention that the callback
3533 is not called when used with GnuPG 2.x.
3534
3535 2010-12-13 Glenn Morris <rgm@gnu.org>
3536
3537 * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
3538 Ensure ps-footer-font-size-internal is initialized.
3539 Call ps-get-page-dimensions before trying to use ps-font-for-text.
3540
3541 2010-12-13 Kenichi Handa <handa@m17n.org>
3542
3543 * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
3544 within condition-case.
3545 (rmail-show-mime): Don't use condition-case.
3546 (rmail-search-mime-message): New function.
3547 (rmail-search-mime-message-function): Set to
3548 rmail-search-mime-message.
3549
3550 2010-12-13 Leo <sdl.web@gmail.com>
3551
3552 * ido.el (ido-common-initialization): New function. (bug#3274)
3553 (ido-mode): Use it.
3554 (ido-completing-read): Call it.
3555
3556 2010-12-12 Karl Fogel <kfogel@red-bean.com>
3557
3558 * bookmark.el (bookmark-name-from-full-record): Rename back to
3559 this original name from `bookmark-name-from-record' reverting part
3560 of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
3561 As Drew Adams pointed out, there was no reason to cause churn for
3562 third-party callers. (Bug#7609)
3563
3564 2010-12-12 Alan Mackenzie <acm@muc.de>
3565
3566 * progmodes/cc-engine.el (c-forward-type): Before scanning a
3567 template arglist, check that the current language supports this.
3568
3569 2010-12-11 Glenn Morris <rgm@gnu.org>
3570
3571 * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
3572 state of the file matches. (Bug#7544)
3573 (vc-bzr-register, vc-bzr-checkin)
3574 (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
3575 (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
3576
3577 * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
3578
3579 2010-12-11 Karel Klíč <kklic@redhat.com>
3580
3581 * files.el (auto-mode-alist): Use html-mode for *.xhtml. (Bug#7606)
3582
3583 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3584
3585 Derive from prog-mode, use derived-mode-p, and fix up various
3586 minor style issues in lisp/progmodes.
3587
3588 * progmodes/vhdl-mode.el (vhdl-mode):
3589 * progmodes/verilog-mode.el (verilog-mode):
3590 * progmodes/vera-mode.el (vera-mode):
3591 * progmodes/sql.el (sql-mode):
3592 * progmodes/scheme.el (scheme-mode):
3593 * progmodes/perl-mode.el (perl-mode):
3594 * progmodes/octave-inf.el (inferior-octave-mode):
3595 * progmodes/autoconf.el (autoconf-mode):
3596 * progmodes/m4-mode.el (m4-mode):
3597 * progmodes/inf-lisp.el (inferior-lisp-mode):
3598 * progmodes/idlwave.el (idlwave-mode):
3599 * progmodes/icon.el (icon-mode):
3600 * progmodes/idlw-help.el (idlwave-help-mode):
3601 * progmodes/dcl-mode.el (dcl-mode):
3602 * progmodes/idlw-shell.el (idlwave-shell-mode):
3603 * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
3604 (ebrowse-member-mode, ebrowse-electric-position-mode):
3605 Use define-derived-mode.
3606
3607 * progmodes/xscheme.el (exit-scheme-interaction-mode)
3608 (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
3609 (xscheme-debugger-mode-p, xscheme-send-string-1):
3610 * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
3611 (tcl-load-file, tcl-restart-with-file):
3612 * progmodes/ps-mode.el (ps-run-running):
3613 * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
3614 * progmodes/js.el (js--get-all-known-symbols):
3615 * progmodes/inf-lisp.el (inferior-lisp-proc):
3616 * progmodes/idlwave.el (idlwave-beginning-of-statement)
3617 (idlwave-template, idlwave-update-buffer-routine-info)
3618 (idlwave-update-current-buffer-info)
3619 (idlwave-get-routine-info-from-buffers, idlwave-choose)
3620 (idlwave-scan-class-info, idlwave-fix-keywords)
3621 (idlwave-list-buffer-load-path-shadows):
3622 * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
3623 (idlwave-toolbar-remove):
3624 * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
3625 (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
3626 (idlwave-shell-menu-def):
3627 * progmodes/idlw-complete-structtag.el
3628 (idlwave-prepare-structure-tag-completion):
3629 * progmodes/gud.el (gud-set-buffer):
3630 * progmodes/f90.el (f90-backslash-not-special):
3631 * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
3632
3633 * progmodes/xscheme.el (xscheme-start)
3634 (local-set-scheme-interaction-buffer, scheme-interaction-mode):
3635 * progmodes/which-func.el (which-function):
3636 * progmodes/vhdl-mode.el (vhdl-set-style):
3637 * progmodes/verilog-mode.el (verilog-set-compile-command)
3638 (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
3639 (verilog-set-define, verilog-auto-reeval-locals):
3640 * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
3641 * progmodes/simula.el (simula-mode):
3642 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
3643 * progmodes/python.el (python-check, python-mode):
3644 * progmodes/prolog.el (prolog-mode-variables):
3645 * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
3646 * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
3647 * progmodes/delphi.el (delphi-mode):
3648 * progmodes/cc-styles.el (c-setup-paragraph-variables):
3649 * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
3650 (c-font-lock-init): Move make-local-variable to their setq.
3651
3652 * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
3653 (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
3654 make-local-hook.
3655 * progmodes/sh-script.el (sh-require-final-newline): Remove.
3656 (sh-set-shell): Don't set require-final-newline since it's already done
3657 by prog-mode.
3658 * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
3659 since we never set it.
3660 * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
3661 Use read-string and standard prompt.
3662 * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
3663 * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
3664 (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
3665 (meta-common-mode-map): Rename from meta-mode-map.
3666 Remove C-m binding, which is a user preference, not mode specific.
3667 (meta-common-mode): New major mode; replace meta-common-initialization.
3668 * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
3669 around with font-lock.
3670 * progmodes/etags.el (select-tags-table-mode):
3671 Derive from special-mode.
3672 * progmodes/octave-mod.el (octave-mode):
3673 * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
3674 (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
3675 (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
3676 Let define-derived-mode do its job.
3677 * progmodes/cpp.el (cpp-edit-mode-map):
3678 Move initialization into declaration.
3679 (cpp-edit-mode): Use define-derived-mode.
3680 (cpp-edit-load): Use derived-mode-p.
3681 * progmodes/mixal-mode.el (mixal-mode):
3682 * progmodes/f90.el (f90-mode):
3683 * progmodes/cfengine.el (cfengine-mode): Don't bother setting
3684 require-final-newline since prog-mode does it already.
3685 * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
3686 * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
3687 * progmodes/antlr-mode.el: Require cc-mode upfront.
3688 (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
3689 the declaration.
3690 (antlr-directory-dependencies, antlr-show-makefile-rules):
3691 Use derived-mode-p.
3692 (antlr-language-option): Don't assume point-min==1.
3693 (antlr-mode): Use define-derived-mode.
3694 * progmodes/ada-mode.el: Use derived-mode-p.
3695 (ada-mode): Use define-derived-mode.
3696 Use hack-local-variables-hook.
3697
3698 2010-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
3701 (texinfo-mode): Don't disable adaptive-fill-mode.
3702 (texinfo-insert-block): Adjust cursor placement for blocks with arg.
3703 (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
3704 (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
3705 (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
3706 (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
3707 (texinfo-insert-@quotation, texinfo-insert-@samp)
3708 (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
3709 (texinfo-insert-@uref): Use define-skeleton.
3710 (texinfo-insert-@-with-arg): Delete.
3711
3712 2010-12-10 Eli Zaretskii <eliz@gnu.org>
3713
3714 * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
3715 nil, do quote archive member names. (Bug#6144)
3716
3717 2010-12-10 Glenn Morris <rgm@gnu.org>
3718
3719 * files.el (diff-no-select): Declare.
3720
3721 * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
3722 (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
3723
3724 * comint.el (comint-input-ring-file-name): Doc fix.
3725
3726 2010-12-09 Eli Zaretskii <eliz@gnu.org>
3727
3728 * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
3729 New functions.
3730 (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
3731 Use them instead of `nil' and `>', respectively.
3732 (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
3733 instead of `nil'.
3734 (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
3735 and menu-bar-positive-p instead of `nil' and `>', respectively.
3736 (Bug#1077)
3737
3738 2010-12-09 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3739
3740 * whitespace.el (whitespace-newline-mode): Code fix.
3741
3742 2010-12-09 Glenn Morris <rgm@gnu.org>
3743
3744 * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
3745 Rename functions without commas, update callers.
3746
3747 2010-12-08 Jeff Dairiki <dairiki@dairiki.org> (tiny change)
3748
3749 * whitespace.el (whitespace-cleanup-region):
3750 Clean up spaces before tabs. (Bug#7582)
3751
3752 2010-12-08 Karl Fogel <kfogel@red-bean.com>
3753
3754 * bookmark.el: Adjust parameter names and doc strings to resolve
3755 confusion over whether "bookmark" meant a bookmark name or a
3756 bookmark record. Along the way, shorten one function's name for
3757 similar reasons. (Issue #7548)
3758 (bookmark-name-from-record): New name for
3759 `bookmark-name-from-full-record'. All callers changed.
3760 (bookmark-get-bookmark, bookmark-get-bookmark-record)
3761 (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
3762 (bookmark-get-annotation, bookmark-set-annotation)
3763 (bookmark-get-filename, bookmark-set-filename)
3764 (bookmark-get-position, bookmark-set-position)
3765 (bookmark-get-front-context-string, bookmark-set-front-context-string)
3766 (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
3767 (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
3768 (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
3769 Rename `bookmark' parameter to `bookmark-name-or-record', to
3770 clearly show its role, and shorten or adjust doc strings accordingly.
3771 (bookmark-set-name): Same, and pass the parameter directly to
3772 `bookmark-get-bookmark' instead of redundantly doing the callee's work.
3773 (bookmark-default-annotation-text, bookmark-send-edited-annotation)
3774 (bookmark-relocate, bookmark-insert-location, bookmark-insert)
3775 (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
3776 and in some cases shorten doc string accordingly.
3777 (bookmark-rename): Change `old' and `new' parameters to `old-name'
3778 and `new-name', and adjust an internal variable to avoid confusion.
3779 (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
3780 parameter in doc string.
3781
3782 2010-12-08 Glenn Morris <rgm@gnu.org>
3783
3784 * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
3785 from gdb's history file. (Bug#7575)
3786
3787 * mail/emacsbug.el (report-emacs-bug):
3788 Try to handle some other mail clients.
3789
3790 2010-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * files.el (dir-locals-collect-variables): Don't let errors stop us.
3793 Use string-prefix-p.
3794 (file-name-version-regexp): New var.
3795 (file-name-sans-versions):
3796 * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
3797 (jka-compr-get-compression-info): Use dolist.
3798 (jka-compr-compression-info-list): Don't bother specifying
3799 version/backup regexps.
3800
3801 2010-12-07 Tassilo Horn <tassilo@member.fsf.org>
3802
3803 * simple.el (just-one-space): Make argument n default to 1 if
3804 omitted.
3805
3806 2010-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * electric.el (electric-indent-post-self-insert-function):
3809 Delete trailing newlines even if we don't reindent.
3810
3811 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * minibuffer.el (completion-at-point): Remove the `arg'.
3814 * bindings.el (complete-symbol): Move back from minibuffer.el.
3815
3816 2010-12-06 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3817
3818 * simple.el (just-one-space): Delete newlines for negative arg.
3819
3820 2010-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3821
3822 * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
3823 (ansi-color-filter-apply): Simplify.
3824 (ansi-color-apply): Use `font-lock-face' rather than `face'.
3825
3826 2010-12-05 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
3827
3828 * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
3829
3830 2010-12-04 Chong Yidong <cyd@stupidchicken.com>
3831
3832 * dired.el (dired-use-ls-dired): Set default to a special
3833 "unspecified" value.
3834 (dired-insert-directory): When called the first time, check
3835 whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
3836
3837 2010-12-04 Tak Ota <Takaaki.Ota@am.sony.com>
3838
3839 * replace.el: Add "collect" feature to occur.
3840 (occur-collect-regexp-history): New var.
3841 (occur-read-primary-args): Return a replace string for nlines,
3842 if needed.
3843 (occur): Extend the meaning of nlines.
3844
3845 2010-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3846
3847 * progmodes/which-func.el (which-func-ff-hook): Log the error message.
3848 (which-func-update-1): Distinguish symbols from strings.
3849 (which-function): Stay within 80 columns.
3850
3851 2010-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
3852
3853 * subr.el (with-demoted-errors): Distinguish symbols from strings.
3854
3855 * newcomment.el (comment-styles): Add docs to each style (bug#7509).
3856 Improve docstring.
3857 (comment-style): Use comment-styles's docs to describe values.
3858
3859 2010-12-03 Jan Djärv <jan.h.d@swipnet.se>
3860
3861 * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
3862 and ns-show-prefs (Bug#7535).
3863
3864 * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
3865 bindings (Bug#7535).
3866
3867 2010-12-03 Glenn Morris <rgm@gnu.org>
3868
3869 * nxml/nxml-mode.el: Require rng-nxml.
3870 (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
3871 Remove declarations.
3872
3873 * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
3874 * nxml/rng-nxml.el, nxml/rng-valid.el:
3875 Remove leading `*' from defcustom docs.
3876
3877 * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
3878 (normal-top-level-add-to-load-path, tty-handle-args):
3879 Convert comments to basic doc-strings.
3880
3881 * net/browse-url.el (browse-url-url-at-point)
3882 (browse-url-default-browser): Remove autoload cookies.
3883
3884 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
3885 Remove more undefined cl functions.
3886
3887 * vc/diff.el (diff-sentinel): Make new arguments optional.
3888 * ibuf-ext.el (diff-sentinel): Update declaration.
3889
3890 2010-12-03 Daiki Ueno <ueno@unixuser.org>
3891
3892 * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
3893 "RIPEMD160" (Bug#7490). Reported by Daniel Kahn Gillmor.
3894 (epg-context-set-passphrase-callback): Mention that the callback
3895 is not called when used with GnuPG 2.x.
3896
3897 2010-12-02 Michael Albinus <michael.albinus@gmx.de>
3898
3899 * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
3900 (tramp-file-name-port): Check also for `tramp-default-port'.
3901 (tramp-get-connection-name): New defun.
3902 (tramp-get-connection-process): Use it.
3903 (tramp-debug-message): Extend function exclude list.
3904 (tramp-drop-volume-letter): Fix doc string.
3905
3906 * net/tramp-cmds.el: Remove solved todo item.
3907
3908 * net/tramp-ftp.el:
3909 * net/tramp-gvfs.el:
3910 * net/tramp-gw.el:
3911 * net/tramp-imap.el:
3912 * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
3913 and `tramp-default-user-alist', respectively.
3914
3915 * net/tramp-gw.el (tramp-gw-open-connection):
3916 Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
3917
3918 * net/tramp-imap.el (tramp-imap-make-iht): Use just
3919 `tramp-file-name-port'.
3920
3921 * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
3922 and "psftp". Exchange "%k" marker with options.
3923 (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
3924 Compute size of link target.
3925 (tramp-do-copy-or-rename-file-out-of-band): Move setting of
3926 `tramp-current-*' up due to gateway methods. Optimize computing of
3927 copy arguments. Use `tramp-get-connection-name' and
3928 `tramp-get-connection-buffer'. Improve debug messages.
3929 (tramp-compute-multi-hops): Remove port determination.
3930 (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
3931
3932 * net/trampver.el: Update release number.
3933
3934 2010-12-02 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3937 Avoid infinite loop over windows. (Bug#7492)
3938
3939 * progmodes/flymake.el (flymake-check-file-limit):
3940 Allow nil to mean "no limit".
3941 (flymake-check-patch-master-file-buffer): Update for above change.
3942 Allow a .tex file-name extension to be optional.
3943 (flymake-master-tex-init): Also match \include statements.
3944
3945 2010-11-30 Sam Steingold <sds@gnu.org>
3946
3947 * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
3948 (nxml-parent-document-set): A function to set `nxml-parent-document'.
3949 (nxml-mode): Define using `define-derived-mode' instead of `defun'.
3950 (nxml-mode-hook): Remove `defcustom' (auto-defined by
3951 define-derived-mode').
3952 * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
3953 users who want to call `nxml-parent-document-set'.
3954
3955 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
3956
3957 * log-edit.el (log-edit-font-lock-keywords): Don't try matching
3958 stand-alone lines, since that is handled by log-edit-match-to-eoh
3959 (Bug#6465).
3960
3961 2010-11-27 Eduard Wiebe <usenet@pusto.de>
3962
3963 * dired.el (dired-get-filename): Replace backslashes with slashes
3964 in file names on MS-Windows, needed by `locate'. (Bug#7308)
3965 * locate.el (locate-default-make-command-line): Don't consider
3966 drive letter and root directory part of
3967 `directory-listing-before-filename-regexp'. (Bug#7308)
3968 (locate-post-command-hook, locate-post-command-hook): New defcustoms.
3969
3970 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
3971
3972 * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
3973 of :smie-open/close-alist.
3974 (smie-next-sexp): Make it accept a "start token" as argument.
3975 (smie-indent-keyword): Be careful not to misidentify tokens that span
3976 more than one line, as empty lines. Add argument `token'.
3977
3978 2010-11-27 Kenichi Handa <handa@m17n.org>
3979
3980 * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
3981 multipart subtypes, insert all as usual.
3982
3983 * mail/rmail.el: Require rfc2047.
3984
3985 2010-11-27 Kenichi Handa <handa@m17n.org>
3986
3987 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
3988 (rmail-mime-entity-disposition)
3989 (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
3990 (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
3991 (rmail-mime-save): Handle the case that the button's `data' is a
3992 MIME entity.
3993 (rmail-mime-insert-text): New function.
3994 (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
3995 (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
3996 (rmail-mime-insert-bulk): New function mostly copied from the old
3997 rmail-mime-bulk-handler.
3998 (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
3999 (rmail-mime-process-multipart): New function mostly copied from
4000 the old rmail-mime-multipart-handler.
4001 (rmail-mime-show): Just call rmail-mime-process.
4002 (rmail-mime-process): New function mostly copied from the old
4003 rmail-mime-show.
4004 (rmail-mime-insert-multipart, rmail-mime-parse)
4005 (rmail-mime-insert, rmail-show-mime)
4006 (rmail-insert-mime-forwarded-message)
4007 (rmail-insert-mime-resent-message): New functions.
4008 (rmail-insert-mime-forwarded-message-function): Set to
4009 rmail-insert-mime-forwarded-message.
4010 (rmail-insert-mime-resent-message-function): Set to
4011 rmail-insert-mime-resent-message.
4012
4013 * mail/rmailsum.el: Require rfc2047.
4014 (rmail-header-summary): Handle multiline Subject: field.
4015 (rmail-summary-line-decoder): Change the default to
4016 rfc2047-decode-string.
4017
4018 * mail/rmail.el (rmail-enable-mime): Change the default to t.
4019 (rmail-mime-feature): Change the default to `rmailmm'.
4020 (rmail-quit): Delete the specifal code for rmail-enable-mime.
4021 (rmail-display-labels): Likewise.
4022 (rmail-show-message-1): Check rmail-enable-mime, and use
4023 rmail-show-mime-function for a MIME message. Decode the headers
4024 according to RFC2047.
4025
4026 2010-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * progmodes/which-func.el (which-func-imenu-joiner-function):
4029 Return a string, as expected.
4030 (which-function-mode): Make sure we stop any previous timer before
4031 starting a new one.
4032
4033 2010-11-27 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp.el (tramp-default-method-alist)
4036 (tramp-default-user-alist, tramp-default-proxies-alist):
4037 Adapt custom options type. (Bug#7445)
4038
4039 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4040
4041 * progmodes/python.el: Add Ipython support (Bug#5390).
4042 (python-shell-prompt-alist)
4043 (python-shell-continuation-prompt-alist): New options.
4044 (python--set-prompt-regexp): New function.
4045 (inferior-python-mode, run-python, python-shell):
4046 Require ansi-color. Use python--set-prompt-regexp to set the comint
4047 prompt based on the Python interpreter.
4048 (python--prompt-regexp): New var.
4049 (python-check-comint-prompt)
4050 (python-comint-output-filter-function): Use it.
4051 (run-python): Use a pipe (Bug#5694).
4052
4053 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4054
4055 * progmodes/python.el (run-python): Doc fix.
4056 (python-keep-current-directory-in-path): New var (Bug#7454).
4057
4058 2010-11-27 Chong Yidong <cyd@stupidchicken.com>
4059
4060 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4061 Prompt user before actually printing.
4062
4063 2010-11-27 Glenn Morris <rgm@gnu.org>
4064
4065 * startup.el (package-enable-at-startup, package-initialize):
4066 Remove unnecessary declarations.
4067
4068 2010-11-27 Eli Zaretskii <eliz@gnu.org>
4069
4070 * international/characters.el (glyphless-char-display-control):
4071 Exclude newline and TAB from the c0-control group.
4072
4073 2010-11-27 Glenn Morris <rgm@gnu.org>
4074
4075 * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
4076 (expand-mail-aliases): Remove unnecessary autoload.
4077
4078 * allout.el (allout-command-prefix, allout-mode-map): Declare.
4079
4080 * shell.el (shell-dir-cookie-re): Move definition before use.
4081
4082 * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
4083 Replace undefined CL functions.
4084
4085 2010-11-26 Eli Zaretskii <eliz@gnu.org>
4086
4087 * simple.el (prog-mode): Set bidi-paragraph-direction to
4088 left-to-right.
4089
4090 * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
4091
4092 2010-11-26 Glenn Morris <rgm@gnu.org>
4093
4094 * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
4095 diary-outlook-formats can be sensitive to calendar-date-style.
4096 (diary-outlook-formats): Simplify the default setting.
4097 (diary-from-outlook-internal): Pass subject and body as arguments.
4098 Use dolist rather than dotimes. Don't save the diary buffer.
4099 (diary-from-outlook-gnus, diary-from-outlook-rmail):
4100 Pass subject and body as explicit arguments to the -internal function.
4101
4102 2010-11-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4103
4104 * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
4105 parsing them. This makes mailto:...?subject=foo\nbar work.
4106
4107 2010-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4108
4109 * vc/diff.el (diff): Fix last change.
4110
4111 2010-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4112
4113 * emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
4114 (pcase--dontcare-upats): New var.
4115 (pcase-let, pcase-let*): Generate better code.
4116 Accept the same bodies as `let'.
4117 (pcase-dolist): New macro.
4118 (pcase--trivial-upat-p): New helper function.
4119 (pcase--expand): Strip leading "(let nil" if any.
4120
4121 2010-11-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4122
4123 * mail/mailclient.el (browse-url): Require.
4124 (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
4125 use the external browser function to send the mail (bug#7469).
4126
4127 * net/browse-url.el (browse-url-browser-function): Revert the
4128 default back to the previous value, since the new value broke
4129 mailclient.el.
4130 (browse-url-mailto-function): New variable for mailto: URLs.
4131 (browse-url): Use the new variable for mailto: URLs.
4132
4133 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4134
4135 * eshell/esh-cmd.el (eshell-parse-command):
4136 * eshell/esh-arg.el (eshell-parse-arguments):
4137 * eshell/em-script.el (eshell-source-file):
4138 Use with-silent-modifications.
4139
4140 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4141
4142 * vc/vc.el (vc-merge): Remove optional arg PROMPT. Always prompt
4143 for a merge location.
4144
4145 * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
4146 (vc-bzr-merge-branch): Always prompt.
4147 (vc-bzr-async-command): Use the full branch filename.
4148
4149 2010-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4150
4151 * shell.el (shell): Use current-buffer by default if it's already
4152 a shell mode buffer and its process is dead.
4153 Suggested by Jose E. Marchesi <jemarch@gnu.org>.
4154
4155 2010-11-23 Tassilo Horn <tassilo@member.fsf.org>
4156
4157 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4158 Mention that the keywords should be comma separated.
4159
4160 2010-11-23 Chong Yidong <cyd@stupidchicken.com>
4161
4162 * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
4163 Accept optional prefix arg meaning to prompt for a command.
4164 (vc-update): Use vc-BACKEND-pull if available. Accept optional
4165 prefix arg meaning to prompt for a command.
4166 (vc-pull): Alias for vc-update.
4167
4168 * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
4169 (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
4170 (vc-bzr-merge-branch): New functions, implementing merge-branch
4171 and pull operations.
4172
4173 2010-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * Makefile.in: Fix up last merge.
4176
4177 * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
4178 (diff-sentinel): Get them as arguments instead.
4179 (diff-old-file, diff-new-file, diff-extra-args): Remove.
4180 (diff-file-local-copy, diff-better-file-name): New funs.
4181 (diff-no-select): Rename from diff-into-buffer.
4182 Support buffers additionally to files. Move `buf' arg. Don't display buf.
4183 Prefer closures to buffer-local variables.
4184 (diff): Adjust accordingly.
4185 (diff-buffer-with-file): Move from files.el.
4186 * files.el (diff-buffer-with-file): Move to vc/diff.el.
4187 (diff-buffer-internal): Remove.
4188 (diff-buffer-buffer): Remove.
4189 (save-some-buffers-action-alist): Use diff-no-select so as not to guess
4190 the buffer name used, and so as not to mess up windows and frames.
4191
4192 2010-11-22 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
4193
4194 * files.el: Make revert work with diff-buffer-with-file (bug#7277).
4195 (diff-buffer-internal): New function extracted from diff-buffer-with-file
4196 (diff-buffer-with-file): Use it.
4197 * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
4198 (diff): Use it.
4199
4200 2010-11-22 Tassilo Horn <tassilo@member.fsf.org>
4201
4202 * textmodes/reftex-ref.el (reftex-goto-label): Use the current
4203 \ref's or \pageref's value as default instead of initial input.
4204
4205 2010-11-21 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * files.el (backup-by-copying-when-mismatch): The default value is
4208 now t.
4209
4210 * startup.el (normal-top-level):
4211 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4212 `backup-by-copying-when-mismatch'.
4213
4214 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4215
4216 * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
4217
4218 2010-11-21 Deniz Dogan <deniz.a.m.dogan@gmail.com>
4219
4220 * progmodes/python.el (python-font-lock-keywords):
4221 Highlight top-level augmented assignments (Bug#6445).
4222
4223 2010-11-21 Jan Djärv <jan.h.d@swipnet.se>
4224
4225 * term/ns-win.el (ns-right-control-modifier)
4226 (ns-right-command-modifier): Defvar them.
4227
4228 * cus-start.el (all): Add ns-right-control-modifier and
4229 ns-right-command-modifier (Bug#7458).
4230
4231 2010-11-20 Glenn Morris <rgm@gnu.org>
4232
4233 * emacs-lisp/authors.el (authors-ignored-files)
4234 (authors-valid-file-names, authors-renamed-files-alist): Add entries.
4235
4236 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4237
4238 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
4239 (report-emacs-bug-parse-query-results)
4240 (report-emacs-bug-create-existing-bugs-buffer): Pass through
4241 keywords used for querying the bug database to show them in the
4242 existing bugs buffer.
4243
4244 2010-11-20 Jan Djärv <jan.h.d@swipnet.se>
4245
4246 * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
4247
4248 * info.el (info-tool-bar-map): Add some :vert-only keywords.
4249
4250 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4251
4252 * international/characters.el (glyphless-char-display-control):
4253 Make it a defcustom, with update-glyphless-char-display as its
4254 :set attribute.
4255 (top level): Don't call update-glyphless-char-display.
4256
4257 2010-11-20 Michael Albinus <michael.albinus@gmx.de>
4258
4259 Sync with Tramp 2.2.0.
4260
4261 * net/tramp.el (tramp-handle-insert-file-contents): Don't use
4262 `file-remote-p' (due to compatibility).
4263
4264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
4265 (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
4266
4267 * net/trampver.el: Update release number.
4268
4269 2010-11-20 Eli Zaretskii <eliz@gnu.org>
4270
4271 * faces.el (glyphless-char): Define value for `pc'.
4272
4273 2010-11-20 Tassilo Horn <tassilo@member.fsf.org>
4274
4275 Implemented a bug querying mechanism.
4276 * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
4277 (report-emacs-bug-create-existing-bugs-buffer)
4278 (report-emacs-bug-parse-query-results)
4279 (report-emacs-bug-query-existing-bugs): New functions.
4280
4281 2010-11-19 Tassilo Horn <tassilo@member.fsf.org>
4282
4283 * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
4284 a \ref{} or \pageref{} macro, then use its value as initial input.
4285
4286 2010-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4287
4288 * calc/calc-units.el (math-build-units-table-buffer):
4289 calc/README: Mention that the TeX specific units won't use the
4290 `tex' prefix in TeX mode.
4291 calc/calc-lang.el (math-variable-table): Don't use the `tex'
4292 prefix for units in TeX mode.
4293
4294 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4295
4296 * simple.el (kill-new, kill-append, kill-region):
4297 * comint.el (comint-kill-region): Make the yank-handler argument
4298 obsolete.
4299
4300 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
4303 that are both openers (resp. closers) and something else.
4304 (smie-grammar): Loosen definition of valid values.
4305 (smie-next-sexp, smie-down-list, smie-blink-matching-open)
4306 (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
4307 (smie-indent-after-keyword): Adjust users.
4308 (smie-indent-keyword): Don't indent empty lines.
4309
4310 * vc-hg.el (vc-hg-program): New var.
4311 Suggested by Norman Gray <norman@astro.gla.ac.uk>.
4312 (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
4313
4314 2010-11-18 Glenn Morris <rgm@gnu.org>
4315
4316 * emacs-lisp/autoload.el (autoload-find-destination): The function
4317 coding-system-eol-type may return non-numeric values. (Bug#7414)
4318
4319 2010-11-18 Ulrich Mueller <ulm@gentoo.org>
4320
4321 * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
4322
4323 2010-11-18 Eli Zaretskii <eliz@gnu.org>
4324
4325 * subr.el (posn-col-row): Pay attention to header line. (Bug#7390)
4326
4327 2010-11-18 Chong Yidong <cyd@stupidchicken.com>
4328
4329 * textmodes/picture.el (picture-mouse-set-point): Don't use
4330 posn-col-row; explicitly compute the motion based on the posn at
4331 the window-start (Bug#7390).
4332
4333 2010-11-18 Glenn Morris <rgm@gnu.org>
4334
4335 * novice.el (disabled-command-function):
4336 Fix 2009-11-15 change. (Bug#7384)
4337
4338 2010-11-18 Glenn Morris <rgm@gnu.org>
4339
4340 * calendar/calendar.el (diary-iso-date-forms): Make elements
4341 mutually exclusive. (Bug#7377)
4342
4343 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4344
4345 * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
4346 when filling the remaining "unconstrained" values.
4347
4348 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4349
4350 * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
4351 safety predicate.
4352
4353 * files.el (safe-local-variable-p): Gracefully handle errors.
4354
4355 * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
4356 Use smie-indent-virtual when indenting relative to an opener.
4357 (smie-rule-separator): Use smie-rule-parent.
4358 (smie-indent-keyword): Consult rules, even for openers at bol.
4359 (smie-indent-comment-close): Try to align closer's content.
4360
4361 2010-11-18 Glenn Morris <rgm@gnu.org>
4362
4363 * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
4364
4365 2010-11-18 Glenn Morris <rgm@gnu.org>
4366
4367 * printing.el (pr-menu-bind): Doc fix.
4368
4369 * speedbar.el (speedbar-toggle-images): Doc fix.
4370
4371 * progmodes/python.el (python-shell): Doc fix.
4372
4373 * wid-edit.el (widget-field-use-before-change)
4374 (widget-use-overlay-change): Doc fixes.
4375
4376 2010-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
4377
4378 Minor cleanup to improve style.
4379 * textmodes/rst.el (rst-update-section): Use point-marker.
4380 (rst-get-decoration): Eliminate unneeded assignment.
4381 (rst-promote-region, rst-straighten-decorations)
4382 (rst-section-tree, rst-adjust): Use point-marker.
4383 (rst-toc-mode-mouse-goto): Avoid setq.
4384 (rst-shift-region-guts, rst-shift-region-left)
4385 (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
4386 (rst-convert-bullets-to-enumeration): Use copy-marker.
4387
4388 * minibuffer.el (completion-fail-discreetly): New var.
4389 (completion--do-completion): Use it.
4390
4391 * electric.el (electric-pair-pairs): New var.
4392 (electric-pair-post-self-insert-function): Use it.
4393 (electric-layout-post-self-insert-function): Don't insert a before
4394 newline unless it's actually needed.
4395
4396 2010-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * progmodes/python.el (run-python): Explain why we remove the current
4399 directory from sys.path. Suggested by Eric Hanchrow <erich@cozi.com>.
4400
4401 * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
4402
4403 2010-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * progmodes/octave-mod.el: Rely on elecric-*-modes.
4406 (octave-mode-map): Don't bind ;, SPC, and LF.
4407 (octave-auto-indent, octave-auto-newline): Remove.
4408 (electric-layout-rules): Declare.
4409 (octave-mode): Set electric-layout-rules.
4410 (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
4411 (octave-reindent-then-newline-and-indent, octave-electric-semi)
4412 (octave-electric-space): Remove.
4413
4414 * electric.el (electric-layout-mode): New minor mode.
4415 (electric--after-char-pos): New function.
4416 (electric-indent-post-self-insert-function): Use it.
4417 (electric-layout-rules): New var.
4418 (electric-layout-post-self-insert-function): New function.
4419 (electric-indent-mode): Make them interact better.
4420
4421 2010-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
4424 (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
4425 (checkdoc-proper-noun-region-engine): Use with-syntax-table.
4426
4427 2010-11-15 Agustín Martín <agustin.martin@hispalinux.es>
4428
4429 * textmodes/flyspell.el (flyspell-generic-progmode-verify):
4430 Make sure to check inside the word (Bug#6761).
4431
4432 2010-11-14 Chong Yidong <cyd@stupidchicken.com>
4433
4434 * startup.el (command-line): If the cursorColor resource is set,
4435 change the cursor face-spec (Bug#7392).
4436
4437 2010-11-13 Ken Manheimer <ken.manheimer@gmail.com>
4438
4439 The main features of the following allout.el changes are:
4440 - implement user customization for the allout key bindings
4441 - add a customization control by which the user can inhibit use of
4442 a trailing Ctrl-H, so by default it's reserved for use with
4443 describe-prefix-bindings
4444 - adapt to new version of called-interactively-p, while
4445 maintaining backwards compatibility with old version
4446 - fix hotspot navigation so i works properly with meta-modified keys.
4447
4448 * allout.el (allout-keybindings, allout-bind-keys)
4449 (allout-keybindings-binding, allout-prefixed-keybindings)
4450 (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
4451 (allout-keybindings-list, allout-mode-map-adjustments)
4452 (allout-setup-mode-map): Establish allout-mode keymaps as user
4453 customizable settings, and also establish a customizable setting which
4454 regulates whether or not a trailing control-h is reserved for use with
4455 describe-prefix-bindings - and inhibit it by default, so that control-h
4456 *is* reserved for describe-prefix-bindings unless the user changes it.
4457
4458 * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
4459 and accurately between modified and unmodified events, and handle
4460 modified events more comprehensively.
4461
4462 * allout.el (allout-substring-no-properties):
4463 Alias to use or provide version of `substring-no-properties'.
4464 (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
4465
4466 * allout.el (allout-next-single-char-property-change):
4467 Alias to use or provide version of `next-single-char-property-change'.
4468 (allout-annotate-hidden, allout-hide-by-annotation):
4469 Use `allout-next-single-char-property-change'.
4470
4471 * allout.el (allout-select-safe-coding-system):
4472 Alias to use or provide version of `select-safe-coding-system'.
4473 (allout-toggle-subtree-encryption):
4474 Use `allout-select-safe-coding-system'.
4475
4476 * allout.el (allout-set-buffer-multibyte):
4477 Alias to use or provide version of `set-buffer-multibyte'.
4478 (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
4479
4480 * allout.el (allout-called-interactively-p): Macro for using the
4481 different versions of called-interactively-p identically, depending on
4482 the subroutine's argument signature.
4483 (allout-back-to-current-heading, allout-beginning-of-current-entry):
4484 Use `(interactive "p")' instead of `(called-interactively-p)'.
4485
4486 * allout.el (allout-init, allout-ascend, allout-end-of-level)
4487 (allout-previous-visible-heading, allout-forward-current-level)
4488 (allout-backward-current-level, allout-show-children):
4489 Use `allout-called-interactively-p' instead of `called-interactively-p'.
4490
4491 * allout.el (allout-before-change-handler):
4492 Exempt edits to the (overlaid) character after the allout outline
4493 bullet from edit confirmation prompt.
4494
4495 * allout.el (allout-add-resumptions):
4496 Ensure that it respects correct buffer for keybindings.
4497
4498 * allout.el (allout-beginning-of-line):
4499 Use `allout-previous-single-char-property-change' alias for the sake of
4500 diverse compatibility.
4501
4502 * allout.el (allout-end-of-line):
4503 Use `allout-mark-active-p' to encapsulate respect for mark activity.
4504
4505 2010-11-13 Chong Yidong <cyd@stupidchicken.com>
4506
4507 * frame.el (frame-notice-user-settings): Don't clobber other
4508 user-set parameters when calling face-set-after-frame-default in
4509 response to background-color parameter (Bug#7373).
4510
4511 2010-11-13 Eli Zaretskii <eliz@gnu.org>
4512
4513 * international/characters.el (glyphless-char-display-control):
4514 Rename from glyphless-char-control; all users changed. Doc fix.
4515 Signal an error if display method is not one of the recognized
4516 symbols.
4517
4518 2010-11-13 Michael Albinus <michael.albinus@gmx.de>
4519
4520 * net/tramp-compat.el (tramp-compat-line-beginning-position)
4521 (tramp-compat-line-end-position): Remove them.
4522
4523 * net/tramp.el (tramp-parse-rhosts-group)
4524 (tramp-parse-shosts-group, tramp-parse-sconfig-group)
4525 (tramp-parse-hosts-group, tramp-parse-passwd-group)
4526 (tramp-parse-netrc-group, tramp-parse-putty-group)
4527 * net/tramp-cmds.el (tramp-append-tramp-buffers)
4528 * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
4529 (tramp-sh-handle-file-selinux-context)
4530 (tramp-sh-handle-file-name-all-completions)
4531 (tramp-sh-handle-insert-directory)
4532 (tramp-sh-handle-expand-file-name, tramp-find-executable)
4533 (tramp-wait-for-output, tramp-send-command-and-read)
4534 * net/tramp-smb.el (tramp-smb-read-file-entry)
4535 (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
4536
4537 * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
4538 `point-at-bol'.
4539 (tramp-remote-coding-commands): Add an alternative using "base64
4540 -d -i". This is needed for older base64 versions from GNU
4541 coreutils. Reported by Klaus Reichl
4542 <Klaus.Reichl@thalesgroup.com>.
4543
4544 2010-11-13 Hrvoje Niksic <hniksic@xemacs.org>
4545
4546 * simple.el (count-words-region): New function.
4547
4548 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * shell.el (shell-dir-cookie-re): New custom variable.
4551 (shell-dir-cookie-watcher): New function.
4552
4553 * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
4554 and compilation-mode (bug#7350).
4555
4556 * vc/smerge-mode.el (smerge-refine): Choose better default part to
4557 highlight when one of them is empty.
4558
4559 * skeleton.el (skeleton-read): Don't use `newline' since it may strip
4560 trailing space.
4561 (skeleton-newline): New function.
4562 (skeleton-internal-1): Use it.
4563
4564 * simple.el (open-line): `newline' may strip trailing space.
4565
4566 2010-11-12 Kevin Ryde <user42@zip.com.au>
4567
4568 * international/mule-cmds.el (princ-list): Use mapc.
4569
4570 2010-11-12 Glenn Morris <rgm@gnu.org>
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
4573 Use it to replace all instances of "*Compile-Log*".
4574
4575 2010-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
4578 indentation specs.
4579
4580 2010-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * progmodes/modula2.el: Use SMIE and skeleton.
4583 (m2-mode-syntax-table): (*..*) can be nested.
4584 Add //...\n. Fix paren syntax.
4585 (m2-mode-map): Remove LF and TAB bindings.
4586 (m2-indent): Add safety property.
4587 (m2-smie-grammar): New var.
4588 (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
4589 (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
4590 (m2-mode): Use define-derived-mode.
4591 (m2-newline, m2-tab): Remove.
4592 (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
4593 (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
4594 (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
4595 (m2-import): Use define-skeleton.
4596
4597 2010-11-11 Glenn Morris <rgm@gnu.org>
4598
4599 * obsolete/lucid.el: Don't warn about any CL functions in this file.
4600
4601 * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
4602 (ls-lisp-verbosity): Add custom :set-after property.
4603 (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
4604 (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
4605 (ls-lisp-insert-directory): Update caller.
4606 (ls-lisp-set-options): New function.
4607 (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
4608 Doc fix.
4609
4610 * play/landmark.el (lm-prompt-for-move):
4611 * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
4612
4613 * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
4614
4615 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
4616 (idlwave-study-twins): Prefix dynamic local variable `name'.
4617 (idlwave-routine-twin-compare): Update for above change.
4618
4619 * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
4620 Prefix dynamic local variables `name', `kwd', and `link'.
4621 * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
4622 * progmodes/idlw-complete-structtag.el
4623 (idlwave-complete-structure-tag-help):
4624 * progmodes/idlwave.el (idlwave-complete-sysvar-help)
4625 (idlwave-complete-sysvar-tag-help)
4626 (idlwave-complete-class-structure-tag-help):
4627 Update for above name changes.
4628
4629 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
4630
4631 * net/browse-url.el (browse-url-browser-function): Change the
4632 default to use `browse-url-mail' on mailto: URLs.
4633
4634 2010-11-10 Chong Yidong <cyd@stupidchicken.com>
4635
4636 * emacs-lisp/package.el (package-read-all-archive-contents):
4637 Reset package-archive-contents to nil before re-reading.
4638
4639 2010-11-10 Brandon Craig Rhodes <brandon@rhodesmill.org> (tiny change)
4640
4641 * textmodes/flyspell.el (flyspell-word): Do not re-check words
4642 already found as misspellings by (flyspell-large-region), just
4643 do highlighting (bug#7322).
4644
4645 2010-11-10 Glenn Morris <rgm@gnu.org>
4646
4647 * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
4648
4649 * emulation/edt.el (edt-with-position): New macro.
4650 (edt-find-forward, edt-find-backward, edt-find-next-forward)
4651 (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
4652 (edt-paragraph-forward, edt-paragraph-backward): Use it.
4653
4654 * emulation/tpu-extras.el (tpu-with-position): New macro.
4655 (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
4656
4657 * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
4658
4659 * textmodes/texnfo-upd.el (texinfo-all-menus-update)
4660 (texinfo-menu-copy-old-description, texinfo-start-menu-description)
4661 (texinfo-master-menu, texinfo-insert-node-lines)
4662 (texinfo-multiple-files-update):
4663 * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
4664 Use line-beginning-position.
4665
4666 * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
4667 No recent Emacs supports system-type `emx'.
4668
4669 * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
4670 (ada-command-separator, ada-default-prj-properties)
4671 (ada-find-any-references): Update for above name change.
4672
4673 * dirtrack.el (dirtrack-directory-function)
4674 (dirtrack-canonicalize-function):
4675 * filecache.el (file-cache-completion-ignore-case)
4676 (file-cache-case-fold-search, file-cache-ignore-case):
4677 * term.el (serial-port-is-file-p): Cosmetic change.
4678
4679 * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
4680 Remove non-existent `windows-95' system-type.
4681 * dired.el (dired-chown-program): Remove non-existent `linux'
4682 system-type.
4683
4684 * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
4685 (ping-program-options): Remove non-existent `linux' system-type.
4686
4687 * startup.el (package-initialize): Update declaration.
4688
4689 * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
4690 (ls-lisp-handle-switches): Use time-less-p.
4691 (ls-lisp-format-time): Use float-time.
4692
4693 * textmodes/remember.el (remember-time-to-seconds): Remove.
4694 (remember-store-in-mailbox): Use float-time.
4695
4696 * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
4697
4698 * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
4699 never a real function.
4700 (with-no-warnings): Remove compat stub, now unused.
4701 (time-less-p): Doc fix.
4702 (time-to-number-of-days): Simplify.
4703
4704 * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
4705 Remove.
4706 (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
4707 * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
4708 * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
4709 * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
4710 * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
4711
4712 * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
4713 (eshell-shuffle-files, eshell-shorthand-tar-command)
4714 (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
4715 Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
4716 * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
4717 Prefix dynamic local variable `matches'.
4718
4719 * skeleton.el (skeleton-internal-list, skeleton-internal-1):
4720 Prefix dynamic local variable `skeleton'.
4721
4722 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org>
4723
4724 * net/browse-url.el (browse-url-mail): Insert body part of mailto url
4725 in mail buffer; make yank-action always a command that yanks original
4726 buffer.
4727
4728 2010-11-09 Glenn Morris <rgm@gnu.org>
4729
4730 * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
4731
4732 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * minibuffer.el (minibuffer-completion-help): Specify the end of the
4735 completion field (bug#7211).
4736
4737 * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
4738 Fix handling of backslash escapes.
4739 (python-quote-syntax): Adjust accordingly.
4740
4741 2010-11-09 Richard Levitte <richard@levitte.org> (tiny change)
4742
4743 * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
4744 (vc-mtn-workfile-branch): Adjust to new output format.
4745
4746 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4747
4748 * international/mule-cmds.el (princ-list): Mark as obsolete.
4749
4750 2010-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4751
4752 * emacs-lisp/smie.el: New package.
4753
4754 2010-11-09 Michael Albinus <michael.albinus@gmx.de>
4755
4756 * files.el (backup-by-copying-when-mismatch):
4757 Set `permanent-local' property.
4758
4759 * net/tramp.el (tramp-handle-insert-file-contents): Do not set
4760 `permanent-local' property for `backup-by-copying-when-mismatch'.
4761
4762 2010-11-09 Eli Zaretskii <eliz@gnu.org>
4763
4764 * ls-lisp.el (insert-directory): Doc fix. (bug#7285)
4765
4766 2010-11-09 Wilson Snyder <wsnyder@wsnyder.org>
4767
4768 * progmodes/verilog-mode.el (verilog-insert-one-definition)
4769 (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
4770 AUTOINOUT for SV style multidimensional arrays, bug294.
4771 Reported by Eric Mastromarchi.
4772 (verilog-preprocess): Use with-current-buffer and
4773 font-lock-fontify-buffer to cleanup style issues.
4774
4775 2010-11-09 Glenn Morris <rgm@gnu.org>
4776
4777 * locate.el (locate, locate-mode): Doc fixes.
4778
4779 2010-11-09 Chong Yidong <cyd@stupidchicken.com>
4780
4781 * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
4782 user for confirmation.
4783 (server-force-stop): Use it.
4784 (server-start): Use server-force-stop for kill-emacs-hook, to
4785 avoid user interaction while killing Emacs.
4786
4787 2010-11-09 Glenn Morris <rgm@gnu.org>
4788
4789 * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
4790 (meta-indent-line): Simplify.
4791
4792 * vc/emerge.el (emerge-line-number-in-buf):
4793 * textmodes/ispell.el (ispell-region):
4794 * textmodes/fill.el (current-fill-column):
4795 * progmodes/xscheme.el (xscheme-send-current-line):
4796 * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
4797 * progmodes/tcl.el (tcl-hairy-scan-for-comment):
4798 * progmodes/sh-script.el (sh-handle-prev-do):
4799 * progmodes/meta-mode.el (meta-indent-line):
4800 * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
4801 (idlwave-in-quote):
4802 * progmodes/idlw-shell.el (idlwave-shell-current-frame)
4803 (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
4804 * progmodes/fortran.el (fortran-looking-at-if-then):
4805 * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
4806 * progmodes/cperl-mode.el (cperl-sniff-for-indent)
4807 (cperl-find-pods-heres):
4808 * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
4809 * net/quickurl.el (quickurl-list-insert):
4810 * net/ldap.el (ldap-search-internal):
4811 * net/eudc.el (eudc-expand-inline):
4812 * mail/sendmail.el (sendmail-send-it):
4813 * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
4814 * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
4815 (viper-brac-function):
4816 * calc/calc-yank.el (calc-do-grab-region):
4817 * calc/calc-keypd.el (calc-keypad-press):
4818 * term.el (term-move-columns, term-insert-spaces):
4819 * speedbar.el (speedbar-highlight-one-tag-line):
4820 * simple.el (current-word):
4821 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
4822 * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
4823 (Info-scroll-down):
4824 * hippie-exp.el (he-line-beg):
4825 * epa.el (epa--marked-keys):
4826 * dired-aux.el (dired-kill-line, dired-do-kill-lines)
4827 (dired-update-file-line, dired-add-entry, dired-remove-entry)
4828 (dired-relist-entry):
4829 * buff-menu.el (Buffer-menu-buffer):
4830 * array.el (current-line):
4831 * allout.el (allout-resolve-xref)
4832 (allout-latex-verbatim-quote-curr-line):
4833 Replace yet more uses of end-of-line etc with line-end-position, etc.
4834
4835 2010-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4836
4837 * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
4838 (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
4839 (checkdoc-syntax-table): Initialize in the declaration.
4840 (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
4841 the mode on unconditionally.
4842
4843 * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
4844 (extent-end-position, extent-start-position): Remove setf method for
4845 non-existing functions (bug#7319).
4846
4847 2010-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4848
4849 * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
4850 (smie-precs->prec2): Rename from smie-precs-precedence-table.
4851 (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
4852 (smie-prec2->grammar): Rename from smie-prec2-levels.
4853 (smie-grammar): Rename from smie-op-levels.
4854 (smie-indent--hanging-p): Rename from smie-hanging-p.
4855 (smie-rule-hanging-p): New alias.
4856 (smie-indent--bolp): Rename from smie-bolp.
4857 (smie-indent--hanging-p): New alias.
4858 (smie--token): New dynamically bound variable.
4859 (smie-indent--parent): New function.
4860 (smie-rule-parent-p): Use it; rename from smie-parent-p.
4861 (smie-rule-next-p): Rename from smie-next-p.
4862 (smie-rule-prev-p): Rename from smie-prev-p.
4863 (smie-rule-sibling-p, smie-rule-parent)
4864 (smie-indent--separator-outdent, smie-rule-separator): New functions.
4865 (smie-rule-separator-outdent): New var.
4866 (smie-indent--rule): Merge with smie-indent--column.
4867 (smie-indent-forward-token, smie-indent-backward-token):
4868 Also recognize close parens.
4869 (smie-indent-keyword): Don't use smie-indent--column any more.
4870 (smie-indent-after-keyword): Ignore closers by default.
4871 (smie-indent-line): Use with-demoted-errors.
4872 * progmodes/octave-mod.el (octave-smie-grammar):
4873 Rename from octave-smie-op-levels.
4874 (octave-smie-rules): Adjust to new behavior.
4875 * progmodes/prolog.el (prolog-smie-grammar):
4876 Rename from prolog-smie-op-levels.
4877
4878 2010-11-07 Glenn Morris <rgm@gnu.org>
4879
4880 * eshell/esh-util.el (subst-char-in-string)
4881 (directory-files-and-attributes): These compatibility definitions are
4882 not needed on any version of Emacs since at least 21.4.
4883
4884 * progmodes/verilog-mode.el (verilog-get-beg-of-line)
4885 (verilog-get-end-of-line): Remove.
4886 (verilog-within-string, verilog-re-search-forward-substr)
4887 (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
4888 (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
4889 Use point-at-bol, point-at-eol.
4890 * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
4891 Remove.
4892 (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
4893 (electric-pascal-terminate-line, pascal-set-auto-comments)
4894 (pascal-indent-paramlist, pascal-indent-declaration)
4895 (pascal-get-lineup-indent, pascal-func-completion)
4896 (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
4897 Use point-at-bol, point-at-eol.
4898 * progmodes/flymake.el (flymake-line-beginning-position)
4899 (flymake-line-end-position): Remove.
4900 (flymake-highlight-line): Use point-at-bol, point-at-eol.
4901 * eshell/esh-util.el (line-end-position, line-beginning-position):
4902 Remove compat definitions.
4903
4904 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
4905 Use end-of-line N.
4906 (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
4907 Use line-end-position.
4908
4909 * emacs-lisp/chart.el (chart-zap-chars):
4910 * play/decipher.el (decipher-set-map):
4911 * progmodes/ada-mode.el (ada-get-current-indent)
4912 (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
4913 * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
4914 * progmodes/ada-xref.el (ada-initialize-runtime-library)
4915 (ada-get-all-references):
4916 * progmodes/cperl-mode.el (cperl-electric-paren)
4917 (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
4918 (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
4919 (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
4920 (cperl-word-at-point-hard):
4921 * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
4922 (idlwave-shell-filename-string, idlwave-shell-batch-command)
4923 (idlwave-shell-display-line):
4924 * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
4925 (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
4926 * progmodes/js.el (js--re-search-forward-inner)
4927 (js--re-search-backward-inner):
4928 * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
4929 (vhdl-fix-clause, vhdl-compose-configuration-architecture):
4930 * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
4931 * textmodes/flyspell.el (flyspell-process-localwords):
4932 * textmodes/ispell.el (ispell-buffer-local-parsing)
4933 (ispell-buffer-local-dict, ispell-buffer-local-words):
4934 Use point-at-bol and point-at-eol.
4935
4936 * speedbar.el (speedbar-generic-item-info)
4937 (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
4938 (speedbar-add-indicator, speedbar-check-vc-this-line)
4939 (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
4940 (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
4941 Replace more uses of end-of-line etc with line-end-position.
4942
4943 2010-11-06 Glenn Morris <rgm@gnu.org>
4944
4945 * textmodes/texnfo-upd.el (texinfo-start-menu-description)
4946 (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
4947 (texinfo-delete-existing-pointers, texinfo-find-pointer)
4948 (texinfo-clean-up-node-line, texinfo-insert-node-lines)
4949 (texinfo-multiple-files-update):
4950 * textmodes/table.el (table--probe-cell-left-up)
4951 (table--probe-cell-right-bottom):
4952 * textmodes/picture.el (picture-tab-search):
4953 * textmodes/page-ext.el (pages-copy-header-and-position)
4954 (pages-directory-for-addresses):
4955 * progmodes/vera-mode.el (vera-get-offset):
4956 * progmodes/simula.el (simula-calculate-indent):
4957 * progmodes/python.el (python-pdbtrack-overlay-arrow):
4958 * progmodes/prolog.el (end-of-prolog-clause):
4959 * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
4960 * progmodes/icon.el (indent-icon-exp):
4961 * progmodes/etags.el (tag-re-match-p):
4962 * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
4963 * progmodes/ebnf2ps.el (ebnf-begin-file):
4964 * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
4965 (dcl-save-local-variable):
4966 * play/life.el (life-setup):
4967 * play/gametree.el (gametree-looking-at-ply):
4968 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
4969 * mail/sendmail.el (mail-mode-auto-fill):
4970 * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
4971 * emacs-lisp/edebug.el (edebug-overlay-arrow):
4972 * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
4973 * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
4974 (woman-tab-to-tab-stop, WoMan-warn-ignored):
4975 * type-break.el (type-break-file-keystroke-count):
4976 * term.el (term-replace-by-expanded-history-before-point)
4977 (term-skip-prompt, term-extract-string):
4978 * speedbar.el (speedbar-edit-line, speedbar-expand-line)
4979 (speedbar-contract-line, speedbar-toggle-line-expansion)
4980 (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
4981 (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
4982 * sort.el (sort-skip-fields):
4983 * skeleton.el (skeleton-internal-list):
4984 * simple.el (line-move-finish, line-move-to-column):
4985 * shell.el (shell-forward-command):
4986 * misc.el (copy-from-above-command):
4987 * makesum.el (double-column):
4988 * ebuff-menu.el (electric-buffer-update-highlight):
4989 * dired.el (dired-move-to-end-of-filename):
4990 * dframe.el (dframe-popup-kludge):
4991 * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
4992 * arc-mode.el (archive-get-lineno):
4993 Use line-end-position and line-beginning-position.
4994
4995 * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
4996 (idlwave-study-twins): Prefix dynamic local `class'.
4997 (idlwave-routine-twin-compare): Update for above name change.
4998
4999 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
5000 Use boundp tests to silence compiler. Update for changed name of
5001 bytecomp-filename variable.
5002
5003 * emulation/viper-cmd.el (viper-read-string-with-history):
5004 Prefix dynamic local `initial'.
5005 (viper-minibuffer-standard-hook): Update for above name change.
5006
5007 * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
5008 (elint-init-form): Update for above name change.
5009
5010 * mail/mail-extr.el (mail-extract-address-components): Give dynamic
5011 local variables `cbeg' and `cend' a prefix.
5012 (mail-extr-voodoo): Update for above name change.
5013
5014 * textmodes/reftex-toc.el (reftex-toc-do-promote)
5015 (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
5016 (reftex-toc-promote-action): Doc fix.
5017
5018 * textmodes/reftex-sel.el (reftex-select-item): Give local variables
5019 `prompt', `data' a prefix.
5020 (reftex-select-post-command-hook, reftex-select-callback)
5021 (reftex-select-mouse-accept, reftex-select-read-cite):
5022 Update for above name changes.
5023
5024 * textmodes/reftex-ref.el (reftex-reference): Rename local variable
5025 `refstyle' to reftex-refstyle.
5026 (reftex-offer-label-menu): Update for above name change.
5027 * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
5028 `refstyle' name change.
5029
5030 * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
5031 with with-current-buffer.
5032 (diff, template): Give dynamic local variables a prefix.
5033 (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
5034 (emerge-line-number-in-buf): Update for above name change.
5035 (emerge-combine-versions-internal): Rename local `template' to
5036 emerge-combine-template.
5037 (emerge-combine-versions-edit): Update for above name change.
5038
5039 2010-11-06 Ralf Angeli <angeli@caeruleus.net>
5040
5041 * textmodes/reftex-cite.el
5042 (reftex-extract-bib-entries-from-thebibliography): Match bibitem
5043 entries with whitespace after \bibitem.
5044 (reftex-create-bibtex-file): Match entries containing numbers and
5045 symbol constituents. Make sure that entries with whitespace at
5046 various places are found.
5047
5048 2010-11-05 Christian Millour <cm@abtela.com> (tiny change)
5049
5050 * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
5051
5052 2010-11-05 Jan Djärv <jan.h.d@swipnet.se>
5053
5054 * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
5055
5056 2010-11-05 Glenn Morris <rgm@gnu.org>
5057
5058 * woman.el (woman0-roff-buffer, woman1-roff-buffer)
5059 (woman2-roff-buffer): Give local variable `request' a prefix.
5060 (woman0-macro): Rename argument `request' in the same way.
5061 (woman-request): New name for `request' dynamic variable.
5062 (woman-unquote, woman-forward-arg): Update for above name change.
5063 (woman1-roff-buffer): Give local variable `unquote' a prefix.
5064 (woman1-unquote): New name for `unquote' dynamic variable.
5065 (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
5066 (woman-translations): Rename from `translations'. No longer global.
5067 (woman2-tr, woman-translate): Update for above name change.
5068 (woman-translate): Check for bound variable.
5069 (woman2-roff-buffer): Give local variable `translations' a prefix.
5070
5071 * play/doctor.el: Give all local variables a prefix. Update callers.
5072 (doc$, doctor-put-meaning): Use backquote.
5073
5074 * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
5075 (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
5076
5077 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
5078 variables bytes, ptr, op a prefix.
5079 (disassemble-offset): Update for above change.
5080
5081 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5082
5083 * emacs-lisp/package.el (package-unpack): Remove no-op.
5084 (package--builtins, package--dir): Doc fix.
5085 (package-activate-1, package-activate, package-install)
5086 (package-compute-transaction): Fix error message.
5087 (package-delete): Use delete-directory. Omit system packages.
5088 (package-initialize): Set package-alist to nil first.
5089 (package-menu-mark-delete, package-menu-mark-install): Don't add
5090 symbols that are inconsistent with the package state.
5091 (package-menu-execute): Perform deletions and installations as
5092 single batch operations.
5093
5094 2010-11-03 Glenn Morris <rgm@gnu.org>
5095
5096 * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
5097 (props): Remove unnecessary declaration.
5098
5099 * textmodes/ispell.el (ispell-init-process): On Emacs, always use
5100 set-process-query-on-exit-flag.
5101
5102 * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
5103 (reftex-toc-do-promote): Remove unused local `mpos'.
5104 (reftex-toc-restore-region): Make `mpos' local to this function.
5105
5106 * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
5107
5108 * play/landmark.el (lm-losing-threshold): Correct spelling.
5109 (lm-human-plays): Use new name.
5110
5111 * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
5112 (gomoku-human-plays): Use new name.
5113
5114 * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
5115 (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
5116 (gomoku-score-trans-table, gomoku-winning-threshold)
5117 (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
5118
5119 2010-11-03 Chong Yidong <cyd@stupidchicken.com>
5120
5121 * emacs-lisp/package.el: Don't put built-in packages in
5122 package-alist, to avoid loading inefficiencies.
5123 (package-built-in-p): Make VERSION optional, and treat it as a
5124 minimum acceptable version.
5125 (package-activate): Search separately for built-in packages.
5126 Emit a warning if a dependency fails.
5127 (define-package): Handle most common case, where there is no
5128 obsolete package, first.
5129 (package-compute-transaction): Print required version in error.
5130 (package--initialized): New variable.
5131 (list-packages): Use it.
5132 (package-initialize): Optional arg NO-ACTIVATE. Don't put
5133 built-in packages in packages-alist; keep it separate.
5134 Set package--initialized.
5135 (describe-package): Avoid activating packages as a side-effect.
5136 Search separately for built-in packages.
5137 (describe-package-1): Handle the case where an elpa package is
5138 simultaneously built-in and available/installed.
5139 (package-installed-p, package--generate-package-list):
5140 Search separately for built-in packages.
5141 (package-load-descriptor): Doc fix.
5142
5143 2010-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
5144
5145 * progmodes/perl-mode.el (perl-syntax-propertize-function):
5146 Handle __DATA__ and __END__.
5147
5148 2010-11-02 Noah Friedman <friedman@splode.com>
5149
5150 * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
5151 nil, do not ask to recompile files that are not already compiled,
5152 and do not recompile them.
5153
5154 2010-11-02 Chong Yidong <cyd@stupidchicken.com>
5155
5156 * emacs-lisp/package.el (package-initialize): Ensure that
5157 obsoleted built-in packages are not in package-activated-list
5158 during activation.
5159 (describe-package-1): Make the "installed" status override
5160 "built-in".
5161
5162 2010-11-01 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5163
5164 * subr.el (version-separator, version-regexp-alist): Remove '*'
5165 from docstring.
5166 (version-list-<=, version<=, version=): Doc fix.
5167
5168 2010-11-01 Kenichi Handa <handa@m17n.org>
5169
5170 * faces.el (glyphless-char): Inherit underline for tty.
5171
5172 2010-11-01 Kenichi Handa <handa@m17n.org>
5173
5174 Implement various display methods for glyphless characters.
5175
5176 * international/characters.el (char-acronym-table): New variable.
5177 (glyphless-char-control): New variable.
5178 (update-glyphless-char-display): New function.
5179
5180 * faces.el (glyphless-char): New face.
5181
5182 2010-11-01 Glenn Morris <rgm@gnu.org>
5183
5184 * calendar/holidays.el (general-holidays, oriental-holidays)
5185 (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
5186 (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
5187 the definitions of their targets.
5188
5189 * emacs-lisp/smie.el (smie): New custom group.
5190 (smie-blink-matching-inners, smie-indent-basic): Add :group.
5191
5192 * faces.el (xw-defined-colors, x-setup-function-keys):
5193 * mouse-sel.el (x-select-text):
5194 * term/w32console.el (x-setup-function-keys): Update declarations.
5195
5196 * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
5197
5198 * textmodes/ispell.el (comment-add): Declare.
5199
5200 * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
5201 Declare.
5202
5203 * info.el (finder-keywords-hash, package-alist): Declare.
5204
5205 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5206
5207 * finder.el (finder-compile-keywords): Don't use intern-soft,
5208 since package names may not yet exist in the obarray.
5209
5210 2010-11-01 Chong Yidong <cyd@stupidchicken.com>
5211
5212 * vc/vc-arch.el (vc-arch-checkin):
5213 * vc/vc-cvs.el (vc-cvs-checkin):
5214 * vc/vc-mtn.el (vc-mtn-checkin):
5215 * vc/vc-rcs.el (vc-rcs-checkin):
5216 * vc/vc-sccs.el (vc-sccs-checkin):
5217 * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
5218 since 2010-04-21 commit by Stefan Monnier.
5219
5220 2010-11-01 Glenn Morris <rgm@gnu.org>
5221
5222 * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
5223
5224 * startup.el (package-enable-at-startup, package-initialize):
5225 Silence compiler.
5226
5227 * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
5228 Silence compiler.
5229
5230 2010-10-31 Julien Danjou <julien@danjou.info>
5231
5232 * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
5233 (byte-recompile-directory):
5234 * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
5235 Use `byte-recompile-file'.
5236
5237 2010-10-31 Glenn Morris <rgm@gnu.org>
5238
5239 * cus-start.el: Handle standard values via a keyword.
5240 Only set version property if specified.
5241 (cursor-in-non-selected-windows, menu-bar-mode)
5242 (tool-bar-mode, show-trailing-whitespace):
5243 Do not specify standard values.
5244 (transient-mark-mode, temporary-file-directory): Use :standard.
5245
5246 2010-10-31 Jan Djärv <jan.h.d@swipnet.se>
5247
5248 * term/x-win.el (x-get-selection-value): New function that gets
5249 PRIMARY with type as specified in x-select-request-type. (Bug#6802)
5250
5251 2010-10-31 Michael Albinus <michael.albinus@gmx.de>
5252
5253 * net/tramp.el (tramp-handle-insert-file-contents): For root,
5254 preserve owner and group when editing files. (Bug#7289)
5255
5256 2010-10-31 Glenn Morris <rgm@gnu.org>
5257
5258 * speedbar.el (speedbar-mode):
5259 * play/fortune.el (fortune-in-buffer, fortune):
5260 * play/gomoku.el (gomoku-mode):
5261 * play/landmark.el (lm-mode):
5262 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
5263 Replace inappropriate uses of toggle-read-only. (Bug#7292)
5264
5265 * select.el (x-selection): Mark it as an obsolete alias.
5266
5267 2010-10-31 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5268
5269 * vc/add-log.el (find-change-log): Use derived-mode-p rather than
5270 major-mode (bug#7284).
5271
5272 2010-10-31 Glenn Morris <rgm@gnu.org>
5273
5274 * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
5275 rather than just an unused variable that inherits from the real one.
5276
5277 2010-10-31 Alan Mackenzie <acm@muc.de>
5278
5279 * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
5280 This fixes bug #7185.
5281
5282 2010-10-30 Chong Yidong <cyd@stupidchicken.com>
5283
5284 * startup.el (command-line): Search for package directories, and
5285 don't load package.el if none are found.
5286
5287 * emacs-lisp/package.el (describe-package, list-packages):
5288 Call package-initialize if it has not been called yet.
5289
5290 2010-10-30 Alan Mackenzie <acm@muc.de>
5291
5292 * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
5293 which fontifies the tail of an enum.
5294 (c-basic-matchers-after): Insert a call to the above new function.
5295 This fixes bug #7264.
5296
5297 2010-10-30 Glenn Morris <rgm@gnu.org>
5298
5299 * cus-start.el: Add :set properties for minor modes menu-bar-mode,
5300 tool-bar-mode, transient-mark-mode. (Bug#7306)
5301 Include the :set property in the dumped Emacs.
5302
5303 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5304
5305 SMIE: change indent rules format, improve smie-setup.
5306 * emacs-lisp/smie.el (smie-precs-precedence-table)
5307 (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
5308 Mark them pure so the tables gets built at compile time.
5309 (smie-bnf-precedence-table): Store the closer-alist in the table.
5310 (smie-prec2-levels): Preserve the closer-alist.
5311 (smie-blink-matching-open): Be more forgiving in case of indentation.
5312 (smie-hanging-p): Rename from smie-indent--hanging-p.
5313 (smie-bolp): Rename from smie-indent--bolp.
5314 (smie--parent, smie--after): New dynamic vars.
5315 (smie-parent-p, smie-next-p, smie-prev-p): New funs.
5316 (smie-indent-rules): Remove.
5317 (smie-indent--offset-rule): Remove fun.
5318 (smie-rules-function): New var.
5319 (smie-indent--rule): New fun.
5320 (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
5321 (smie-indent-exps): Use it.
5322 (smie-setup): Setup paren blinking; add keyword args for token
5323 functions; extract closer-alist from op-levels.
5324 (smie-indent-debug-log): Remove var.
5325 (smie-indent-debug): Remove fun.
5326 * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
5327 (prolog-smie-rules): New fun to replace it.
5328 (prolog-mode-variables): Simplify.
5329 * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
5330 it's setup automatically.
5331 (octave-smie-indent-rules): Remove.
5332 (octave-smie-rules): New fun to replace it.
5333 (octave-mode): Simplify.
5334
5335 2010-10-29 Glenn Morris <rgm@gnu.org>
5336
5337 * files.el (temporary-file-directory): Remove (already defined in C).
5338 * cus-start.el: Add temporary-file-directory.
5339
5340 * abbrev.el (abbrev-mode):
5341 * composite.el (auto-composition-mode):
5342 * menu-bar.el (menu-bar-mode):
5343 * simple.el (transient-mark-mode):
5344 * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
5345 that they do not define the associated variables twice.
5346 * simple.el (transient-mark-mode): Remove defvar.
5347 * composite.el (auto-composition-mode): Make variable auto-buffer-local.
5348 * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
5349 Handle multiple groups, and also custom-delayed-init-variables.
5350 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5351
5352 2010-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5353
5354 * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
5355 (pcase-if): Add one minor optimization.
5356 (pcase-split-equal): Rename from pcase-split-eq.
5357 (pcase-split-member): Rename from pcase-split-memq.
5358 (pcase-u1): Add strings to the member optimization.
5359 Add `guard' variant of predicates.
5360 (pcase-q1): Add string patterns.
5361
5362 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
5365
5366 2010-10-28 Glenn Morris <rgm@gnu.org>
5367
5368 * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5369 Move menu-bar related settings to ../menu-bar.el.
5370 * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
5371 Move ns-specific settings here from term/ns-win.el.
5372
5373 * simple.el (x-selection-owner-p): Remove unused declaration.
5374
5375 2010-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5376
5377 * minibuffer.el (completion-cycling): New var (bug#7266).
5378 (minibuffer-complete, completion--do-completion):
5379 Use completion--flush-all-sorted-completions.
5380 (minibuffer-complete): Only cycle if completion-cycling is set.
5381 (completion--flush-all-sorted-completions): Unset completion-cycling.
5382 (minibuffer-force-complete): Set completion-cycling.
5383 (completion-all-sorted-completions): Move declaration before first use.
5384
5385 2010-10-28 Leo <sdl.web@gmail.com>
5386
5387 * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
5388 which changes the order of matches seen by users (bug#7231).
5389
5390 2010-10-28 Jes Bodi Klinke <jes@bodi-klinke.dk> (tiny change)
5391
5392 * progmodes/compile.el (compilation-mode-font-lock-keywords):
5393 Don't confuse -omega as "-o mega".
5394
5395 2010-10-27 Stefan Monnier <monnier@iro.umontreal.ca>
5396
5397 * vc/log-edit.el (log-edit-rewrite-fixes): New var.
5398 (log-edit-author): New dynamic var.
5399 (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
5400 to return the author if different from committer.
5401 (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
5402
5403 * play/landmark.el: Adjust commenting convention.
5404 (lm-nil-score): Rename from nil-score.
5405 (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
5406 (OOOOscore): Move into a let in lm-score-trans-table.
5407 (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
5408
5409 * electric.el (electric-indent-chars): Autoload.
5410 * progmodes/octave-mod.el (octave-mode):
5411 * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
5412 (ruby-mode-abbrev-table): Merge initialization and declaration.
5413
5414 2010-10-27 Glenn Morris <rgm@gnu.org>
5415
5416 * abbrev.el (abbrev-mode): Remove one of the three definitions of this
5417 variable.
5418
5419 * server.el (server-host, server-port, server-auth-dir): Autoload risky.
5420
5421 * term/ns-win.el: Restore require of cl when compiling.
5422 (menu-bar-final-items): Remove non-existent `windows' menu.
5423 (ns-handle-nxopen): Optionally handle the temp-case.
5424 (ns-handle-nxopentemp): Just call ns-handle-nxopen.
5425 (ns-insert-file, ns-find-file): Use `pop'.
5426
5427 2010-10-26 Glenn Morris <rgm@gnu.org>
5428
5429 * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
5430
5431 2010-10-26 Adrian Robert <Adrian.B.Robert@gmail.com>
5432
5433 * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
5434 global map.
5435 * term/common-win.el (x-setup-function-keys): Remove most of the
5436 keymappings. Comment on the remaining ones.
5437
5438 2010-10-26 Peter Oliver <p.d.oliver@mavit.org.uk> (tiny change)
5439
5440 * server.el (server-port): New option. (Bug#854)
5441 (server-start): Use server-port.
5442
5443 2010-10-26 Glenn Morris <rgm@gnu.org>
5444
5445 * term/ns-win.el (ns-version-string): Remove unused declaration.
5446 (ns-invocation-args): Change to x-invocation-args.
5447 (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
5448 (ns-handle-name-switch, ns-ignore-2-arg): Remove.
5449 (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
5450 Use x-invocation-args instead of ns-invocation-args.
5451 (ns-initialize-window-system, handle-args-function-alist):
5452 Use x-handle-args instead of ns-handle-args.
5453 * term/common-win.el (x-handle-args): Also handle nextstep arguments.
5454 * startup.el (command-line-ns-option-alist): Replace
5455 ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
5456 ns-handle-iconic with the x- equivalents.
5457
5458 * term/common-win.el (x-select-enable-clipboard):
5459 * term/pc-win.el (x-select-enable-clipboard): Doc fix.
5460
5461 * term/ns-win.el: No need to require cl when compiling.
5462 (x-display-name, x-setup-function-keys, x-select-text, x-colors)
5463 (xw-defined-colors): Use the common-win definitions.
5464 (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
5465 (ns-handle-iconic): Make it an alias for x-handle-iconic.
5466 * term/common-win.el (x-select-text, x-alternatives-map)
5467 (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
5468 * loadup.el [ns]: Load common-win.
5469
5470 2010-10-26 Daiki Ueno <ueno@unixuser.org>
5471
5472 * epa-mail.el (epa-mail-encrypt): Handle local-part only
5473 recipients; expand mail aliases (Bug#7280).
5474
5475 2010-10-25 Glenn Morris <rgm@gnu.org>
5476
5477 * term/common-win.el (x-handle-switch): Simplify with pop.
5478 Optionally handle numeric switches.
5479 (x-handle-numeric-switch): Just call x-handle-switch.
5480 (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
5481 (x-handle-name-switch, x-handle-display, x-handle-args):
5482 Simplify with pop.
5483
5484 * term/ns-win.el: Do not require easymenu.
5485 (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
5486 <spell>: Move adjustments to menu-bar.el.
5487 * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
5488 <separator-undo, spell>: Move ns-win's adjustments here.
5489 * loadup.el [ns]: Do not load easymenu.
5490
5491 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5492
5493 * image.el (image-checkbox-checked, image-checkbox-unchecked):
5494 Delete (Bug#7222).
5495
5496 * startup.el (fancy-startup-tail): Instead of using inline images,
5497 refer to image files from etc/.
5498
5499 * wid-edit.el (checkbox): Likewise.
5500 (widget-image-find): Center image specs.
5501
5502 2010-10-24 Glenn Morris <rgm@gnu.org>
5503
5504 * term/ns-win.el (x-select-text): Doc fix.
5505 * w32-fns.el (x-alternatives-map, x-setup-function-keys)
5506 (x-select-text): Move to term/common-win.
5507 * term/w32-win.el (xw-defined-colors): Move to common-win.
5508 * term/x-win.el (xw-defined-colors, x-alternatives-map)
5509 (x-setup-function-keys, x-select-text): Move to common-win.
5510 * term/common-win.el (x-select-text, x-alternatives-map)
5511 (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
5512 definitions here.
5513
5514 2010-10-24 T.V. Raman <tv.raman.tv@gmail.com> (tiny change)
5515
5516 * net/mairix.el (mairix-searches-mode-map):
5517 * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
5518
5519 2010-10-24 Michael McNamara <mac@mail.brushroad.com>
5520
5521 * progmodes/verilog-mode.el (verilog-directive-re): Make this variable
5522 auto-built for efficiency of execution and updating.
5523 (verilog-extended-complete-re): Support 'pure' fucntion & task
5524 declarations (these have no bodies).
5525 (verilog-beg-of-statement): General cleanup to enable support of
5526 'pure' fucntion & task declarations (these have no bodies).
5527 These efforts together fix Verilog bug210 from veripool; which was also
5528 noticed by Steve Pearlmutter.
5529 (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
5530 (verilog-directive-nest-re, verilog-set-auto-endcomments):
5531 Support `elsif. Reported by Shankar Giri.
5532 (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
5533 attribute handling for lining up declarations and assignments.
5534 (verilog-beg-of-statement-1): Fix issue where continued declaration
5535 is indented differently if it is after a begin..end clock.
5536 (verilog-in-attribute-p, verilog-skip-backward-comments)
5537 (verilog-skip-forward-comment-p): Support proper treatment of
5538 attributes by indent code. Reported by Jeff Steele.
5539 (verilog-in-directive-p): Fix comment to correctly describe function.
5540 (verilog-backward-up-list, verilog-in-struct-region-p)
5541 (verilog-backward-token, verilog-in-struct-p)
5542 (verilog-in-coverage-p, verilog-do-indent)
5543 (verilog-pretty-declarations): Use verilog-backward-up-list as
5544 wrapper around backward-up-list inorder to properly skip comments.
5545 Reported by David Rogoff.
5546 (verilog-property-re, verilog-endcomment-reason-re)
5547 (verilog-beg-of-statement, verilog-set-auto-endcomments)
5548 (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
5549 of if). Reported by Max Bjurling and
5550 (verilog-calc-1): Fix for clocking block in modport
5551 declaration. Reported by Brian Hunter.
5552
5553 2010-10-24 Wilson Snyder <wsnyder@wsnyder.org>
5554
5555 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
5556 (verilog-gate-keywords, verilog-read-sub-decls)
5557 (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
5558 (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
5559 AUTOINST for gate primitives, bug284. Reported by Mark Johnson.
5560 (verilog-read-decls): Fix spaces in V2K module parameters causing
5561 mis-identification as interfaces, bug287.
5562 (verilog-read-decls): Fix not treating "parameter string" as a
5563 parameter in AUTOINSTPARAM.
5564 (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
5565 treating `elsif similar to `endif inside AUTOSENSE.
5566 (verilog-do-indent): Implement correct automatic or static task or
5567 function end comment highlight. Reported by Steve Pearlmutter.
5568 (verilog-font-lock-keywords-2): Fix highlighting of single
5569 character pins, bug264. Reported by Michael Laajanen.
5570 (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
5571 (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
5572 (verilog-subdecls-get-interfaced, verilog-subdecls-new):
5573 Support interfaces with AUTOINST, bug270. Reported by Luis Gutierrez.
5574 (verilog-pretty-expr): Fix interactive arguments, bug272.
5575 Reported by Mark Johnson.
5576 (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
5577 Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
5578 bug269. Suggested by Gary Delp.
5579 (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
5580 (verilog-preprocessor, verilog-set-compile-command):
5581 Create verilog-preprocess and verilog-preprocessor to show
5582 preprocessed output.
5583 (verilog-get-beg-of-line, verilog-get-end-of-line)
5584 (verilog-modi-file-or-buffer, verilog-modi-name)
5585 (verilog-modi-point, verilog-within-string): Move defmacro's
5586 before first use to avoid warning. Reported by Steve Pearlmutter.
5587 (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
5588 (verilog-colorize-region, verilog-highlight-buffer)
5589 (verilog-highlight-includes, verilog-highlight-modules)
5590 (verilog-highlight-region, verilog-mode): Rename colorize to
5591 highlight to match other packages. Disable module highlighting,
5592 as received speed complaints, reenable for experimentation only
5593 using new verilog-highlight-modules.
5594 (verilog-read-decls): Fix regexp stack overflow in very large
5595 AUTO_TEMPLATEs, bug250.
5596 (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
5597 (verilog-scan): Create verilog-save-buffer-state to standardize
5598 making insignificant changes that shouldn't call hooks.
5599 (verilog-save-no-change-functions, verilog-save-scan-cache)
5600 (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
5601 Create verilog-save-no-change-functions to wrap verilog-scan
5602 preservation, and fix to work with nested preserved calls.
5603 (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
5604 port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
5605 generate .name with AUTOINST, bug245. Suggested by David Rogoff.
5606 (verilog-submit-bug-report): Update variable list to be complete.
5607 (verilog-auto, verilog-colorize-region): Fix AUTO expansion
5608 breaking on-the-fly font-locking.
5609 (verilog-colorize-buffer, verilog-colorize-include-files)
5610 (verilog-colorize-include-files-buffer, verilog-colorize-region)
5611 (verilog-load-file-at-mouse, verilog-load-file-at-point)
5612 (verilog-mode, verilog-read-inst-module-matcher): With point on a
5613 AUTOINST cell instance name, middle mouse button now finds-file on
5614 it. Suggested by Brad Dobbie.
5615 (verilog-alw-get-temps, verilog-auto-reset)
5616 (verilog-auto-sense-sigs, verilog-read-always-signals)
5617 (verilog-read-always-signals-recurse): Fix loop indexes being
5618 AUTORESET. AUTORESET now assumes any variables in the
5619 initialization section of a for() should be ignored.
5620 Reported by Dan Dever.
5621 (verilog-error-font-lock-keywords)
5622 (verilog-error-regexp-emacs-alist)
5623 (verilog-error-regexp-xemacs-alist): Fix error detection of
5624 Cadence HAL, reported by David Asher. Repair drift between the
5625 three similar error variables.
5626 (verilog-modi-lookup, verilog-modi-lookup-cache)
5627 (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
5628 (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
5629 Fix slow verilog-auto expansion on very large files.
5630 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
5631 Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
5632 "{1*2{...". Broke in last revision.
5633 (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
5634 submodule connections with replications "{#{a},#{b}}".
5635
5636 2010-10-24 Juanma Barranquero <lekktu@gmail.com>
5637
5638 * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
5639 Fix typo in docstring.
5640
5641 2010-10-24 Kenichi Handa <handa@m17n.org>
5642
5643 * face-remap.el (text-scale-adjust): Call read-event with a proper
5644 prompt.
5645
5646 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5647
5648 * emacs-lisp/unsafep.el: Don't mark functions that display
5649 messages as safe. Suggested by Johan Bockgård.
5650
5651 2010-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
5654 Turn comments into docstrings.
5655
5656 * minibuffer.el (completion--replace): Move point where it belongs
5657 when there's a common suffix (bug#7215).
5658
5659 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5660
5661 Merge read-color and facemenu-read-color (Bug#7242).
5662
5663 * faces.el (read-color): Use the completion code from
5664 facemenu-read-color. Require match in completion. Doc fix.
5665
5666 * facemenu.el (facemenu-read-color): Alias for read-color.
5667 (facemenu-set-foreground, facemenu-set-background):
5668 Use read-color.
5669
5670 * frame.el (set-background-color, set-foreground-color)
5671 (set-cursor-color, set-mouse-color, set-border-color):
5672 Use read-color.
5673
5674 2010-10-24 Leo <sdl.web@gmail.com>
5675
5676 * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
5677 argument of delete-file and delete-directory (Bug#7011).
5678
5679 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5680
5681 * emacs-lisp/package.el (package-menu-mode-map): Inherit from
5682 button-buffer-map.
5683
5684 2010-10-24 Ralf Angeli <angeli@caeruleus.net>
5685
5686 * emacs-lisp/package.el (package--generate-package-list): Make the
5687 *Packages* buffer read-only.
5688
5689 2010-10-24 Alan Mackenzie <acm@muc.de>
5690
5691 * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
5692 result of `c-beginning-of-decl-1' between invocations of a lambda
5693 function (Bug #7265).
5694
5695 2010-10-24 Daiki Ueno <ueno@unixuser.org>
5696
5697 * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
5698 executable is not available on the system (Bug#7268).
5699
5700 2010-10-24 Glenn Morris <rgm@gnu.org>
5701
5702 * select.el (selection-coding-system, next-selection-coding-system):
5703 Sync doc with C versions.
5704
5705 * w32-vars.el (x-select-enable-clipboard):
5706 * term/x-win.el (x-select-enable-clipboard): Move to common-win.
5707 * term/common-win.el (x-select-enable-clipboard): Move here.
5708
5709 * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
5710 definition of C variable.
5711
5712 * frame.el (show-trailing-whitespace, auto-hscroll-mode)
5713 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5714 Don't redefine things that are defined in C.
5715 * cus-start.el: Also handle :risky, :safe, :set, and :tag.
5716 (show-trailing-whitespace, auto-hscroll-mode)
5717 (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
5718 Set up the appropriate custom properties.
5719
5720 2010-10-24 Chong Yidong <cyd@stupidchicken.com>
5721
5722 Bind "C-c ]" to ...
5723 * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
5724 * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
5725 * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
5726 * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
5727
5728 2010-10-23 Glenn Morris <rgm@gnu.org>
5729
5730 * textmodes/flyspell.el (flyspell-mode): If there was an error,
5731 say what it was.
5732
5733 * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
5734 Sync docs with C version.
5735
5736 * term/ns-win.el (xw-defined-colors):
5737 * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
5738
5739 * term/pc-win.el (x-select-enable-clipboard):
5740 * term/x-win.el (x-select-enable-clipboard):
5741 * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
5742
5743 * comint.el (comint-password-prompt-regexp): Make it less vague.
5744 Bump version.
5745
5746 * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
5747
5748 * help.el (finder-by-keyword): Remove unnecessary autoload.
5749
5750 2010-10-22 Glenn Morris <rgm@gnu.org>
5751
5752 * loadup.el: Unconditionally load float-sup.
5753 * paren.el (show-paren-delay):
5754 * emacs-lisp/float-sup.el:
5755 * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
5756 * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
5757 (lazy-lock-stealth-verbose): Assume float support.
5758 * ps-print.el: Assume float support on Emacs.
5759 * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
5760 Remove non-float branch.
5761
5762 * emacs-lisp/autoload.el (batch-update-autoloads): Update for
5763 src/Makefile no longer being pre-processed.
5764
5765 2010-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * emacs-lisp/find-func.el (find-library): Use test-completion.
5768
5769 2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770
5771 * newcomment.el (comment-dwim): Fix the intentation in the doc string.
5772
5773 2010-10-21 Michael Albinus <michael.albinus@gmx.de>
5774
5775 * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
5776 space in stat format string.
5777 (tramp-send-command): Unset $PS1 when using here documents, in
5778 order not to get several prompts.
5779 (tramp-get-inline-coding): Return `nil' in case of errors.
5780
5781 2010-10-21 Daiki Ueno <ueno@unixuser.org>
5782
5783 * hexl.el (hexl-mode, hexl-mode-exit):
5784 Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
5785 (hexl-revert-buffer-function): New function.
5786 (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
5787
5788 2010-10-19 Alan Mackenzie <acm@muc.de>
5789
5790 * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
5791 Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
5792 that these keywords aren't wrongly matched as identifiers.
5793
5794 * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
5795 setting of c-new-BEG and c-new-END from c-before-change to
5796 c-after-change. (Bug#7181)
5797
5798 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5799
5800 * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
5801 Don't mark as safe.
5802
5803 * custom.el (custom-theme-set-variables): Likewise.
5804 (load-theme): Add custom-theme-set-faces and
5805 custom-theme-set-variables to safe-functions while loading.
5806 (custom-enabled-themes): Mark as risky.
5807
5808 2010-10-18 Julien Danjou <julien@danjou.info>
5809
5810 * bindings.el: Remove end dashes in default mode-line-format.
5811
5812 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5813
5814 * bindings.el (global-map): Bind C-d to delete-char and deletechar
5815 to delete-forward-char.
5816
5817 * simple.el (normal-erase-is-backspace-mode): Remap delete to
5818 deletechar, and hence delete-forward-char.
5819
5820 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * repeat.el (repeat): Use read-key (bug#6256).
5823
5824 2010-10-19 Chong Yidong <cyd@stupidchicken.com>
5825
5826 * emacs-lisp/unsafep.el: Don't mark functions that display
5827 messages as safe. Suggested by Johan Bockgård.
5828
5829 2010-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5830
5831 * minibuffer.el (completion--replace): Move point where it belongs
5832 when there's a common suffix (bug#7215).
5833
5834 2010-10-19 Kenichi Handa <handa@m17n.org>
5835
5836 * international/characters.el: Add category '|' (word breakable)
5837 to fullwidth characters.
5838
5839 2010-10-19 Michael Albinus <michael.albinus@gmx.de>
5840
5841 * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
5842 (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
5843 order to make stat results a float. Patch by Andreas Schwab
5844 <schwab@linux-m68k.org>.
5845
5846 2010-10-18 Julien Danjou <julien@danjou.info>
5847
5848 * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
5849 hidden by `make-pointer-invisible'.
5850
5851 2010-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * files.el (locate-file-completion-table): Strip non-matching elements
5854 before checking length of list (bug#7238).
5855
5856 2010-10-18 Chong Yidong <cyd@stupidchicken.com>
5857
5858 * custom.el (custom-theme-set-variables): Mark as a safe function.
5859 (load-theme): Check forms using unsafep.
5860
5861 * cus-face.el (custom-theme-set-faces): Mark as a safe function.
5862
5863 2010-10-17 Agustín Martín <agustin.martin@hispalinux.es>
5864
5865 * textmodes/ispell.el (ispell-aspell-find-dictionary):
5866 Fix aspell data file searching (bug#7230).
5867
5868 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5869
5870 * cus-theme.el (custom-theme--migrate-settings): New var.
5871 (customize-create-theme): Allow editing the `user' theme.
5872 (custom-theme-add-variable, custom-theme-add-var-1)
5873 (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
5874 to the front of each variable or face widget.
5875 (custom-theme-write): Save theme settings in the correct order.
5876 Optionally, remove saved settings from user customizations.
5877 (custom-theme-write-variables, custom-theme-write-faces):
5878 Save only the checked widgets.
5879 (customize-themes): Add a link for migrating custom settings.
5880
5881 * custom.el (custom-declare-theme, provide-theme):
5882 Use custom-theme-name-valid-p.
5883 (custom-theme-name-valid-p): Remove checks that are now
5884 unnecessary since themes no longer obey load-path.
5885
5886 * cus-edit.el (custom-variable-value-create): For the simple
5887 style, hide documentation string when hidden.
5888
5889 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5890
5891 * cus-edit.el (custom-variable, custom-face): Combine the
5892 :inhibit-magic and :display-style properties into a single
5893 :custom-style property.
5894 (custom-toggle-hide-variable, custom-toggle-hide-face):
5895 New functions. If hiding an edited value, save it to :shown-value.
5896 (custom-variable-value-create, custom-face-value-create): Use them.
5897 (custom-magic-reset): Allow magic property to be unset.
5898
5899 * custom.el: Custom themes no longer use load-path.
5900 (custom-theme-load-path): New option. Change built-in theme
5901 directory to etc/.
5902 (custom-enabled-themes): Add custom-theme-load-path dependency.
5903 (custom-theme--load-path): New function.
5904 (load-theme, custom-available-themes): Use it.
5905
5906 * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
5907 (customize-themes): Link to custom-theme-load-path variable.
5908 (custom-theme-add-var-1, custom-theme-add-face-1): Use the
5909 :custom-style property.
5910
5911 * themes/*.el: Moved to etc/.
5912
5913 2010-10-16 Ralf Angeli <angeli@caeruleus.net>
5914
5915 * textmodes/reftex-cite.el
5916 (reftex-extract-bib-entries-from-thebibliography): Do not move
5917 point when searching for \bibitem entries. Match entries with
5918 spaces or tabs in front of arguments.
5919
5920 2010-10-16 Chong Yidong <cyd@stupidchicken.com>
5921
5922 * cus-theme.el (customize-create-theme): Delete overlays after
5923 erasing. If given a THEME arg, display only the faces of that arg
5924 instead of custom-theme--listed-faces.
5925 (custom-theme-variable-menu, custom-theme-variable-action)
5926 (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
5927 (custom-theme-add-variable, custom-theme-add-face): Apply value
5928 from the theme settings, instead of the current value.
5929 (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
5930 (custom-theme-visit-theme): Allow calling outside theme buffers.
5931 (custom-theme-merge-theme): Don't enable the theme when merging.
5932 (custom-theme-write-variables, custom-theme-write-faces): Use the
5933 :shown-value properties to save buffer values, not global ones.
5934 (customize-themes): Display a warning about user customizations.
5935
5936 * cus-edit.el (custom-variable-value-create)
5937 (custom-face-value-create): Obey new special properties
5938 :shown-value and :inhibit-magic.
5939
5940 2010-10-15 Michael Albinus <michael.albinus@gmx.de>
5941
5942 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
5943 Suppress expansion of tabs to spaces. Reported by Dale Sedivec
5944 <dale@codefu.org>.
5945
5946 2010-10-14 Kenichi Handa <handa@m17n.org>
5947
5948 * mail/rmail.el (rmail-show-message-1): Catch an error of
5949 base64-decode-region and just show an error message (bug#7165).
5950
5951 * ps-mule.el (ps-mule-font-spec-list): Delete it. Not used anymore.
5952 (ps-mule-begin-job): Fix for the case that only ENCODING is set in
5953 a font-spec (bug#7197).
5954
5955 2010-10-14 Glenn Morris <rgm@gnu.org>
5956
5957 * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
5958
5959 2010-10-14 Juanma Barranquero <lekktu@gmail.com>
5960
5961 * international/mule.el (define-coding-system):
5962 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
5963 * composite.el (compose-region): Fix typo in docstring.
5964
5965 2010-10-14 Chong Yidong <cyd@stupidchicken.com>
5966
5967 * cus-face.el (custom-theme-set-faces): Call custom-push-theme
5968 only after checking the theme-face property.
5969
5970 * faces.el (face-spec-reset-face): Reset all attributes in one
5971 single call to set-face-attribute.
5972 (face-spec-match-p): Make it a defsubst.
5973 (frame-set-background-mode): New arg KEEP-FACE-SPECS.
5974 (x-create-frame-with-faces, tty-create-frame-with-faces)
5975 (tty-set-up-initial-frame-faces): Don't recompute face specs in
5976 frame-set-background-mode, since they are recomputed immediately
5977 afterwards in face-set-after-frame-default.
5978 (face-set-after-frame-default): Minor optimization.
5979 (cursor): Provide non-trivial defface spec.
5980
5981 * custom.el (custom-theme-recalc-face): Simplify.
5982
5983 2010-10-14 Jay Belanger <jay.p.belanger@gmail.com>
5984
5985 * calc/calc-alg.el (math-var): Rename from `var'.
5986 (math-is-polynomial, math-is-poly-rec): Replace `var'
5987 with `math-var'.
5988
5989 * calc/calcalg2.el (math-var): Rename from `var'.
5990 (calcFunc-table, math-scan-for-limits): Replace `var'
5991 with `math-var'.
5992
5993 2010-10-13 Glenn Morris <rgm@gnu.org>
5994
5995 * subr.el (last): Deal with dotted lists (reported in bug#7174).
5996
5997 2010-10-13 Stephen Berman <stephen.berman@gmx.net>
5998
5999 * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
6000
6001 2010-10-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6002
6003 * net/tls.el (tls-program): Remove spurious %s from openssl.
6004 (tls-starttls-switches): Remove starttls hack.
6005 (open-tls-stream): Ditto.
6006 (tls-find-starttls-argument): Ditto.
6007
6008 2010-10-13 Juanma Barranquero <lekktu@gmail.com>
6009
6010 * image.el (image-library-alist): Declare as obsolete alias.
6011 (image-type-available-p): Use `dynamic-library-alist'.
6012
6013 * term/w32-win.el (dynamic-library-alist):
6014 Use instead of `image-library-alist'.
6015
6016 2010-10-13 IRIE Shinsuke <irieshinsuke@yahoo.co.jp> (tiny change)
6017
6018 * subr.el (last): Make it faster. (Bug#7174)
6019
6020 2010-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> (tiny change)
6021
6022 * Makefile.in (compile-clean): Use `` instead of $(). (Bug#7178)
6023
6024 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6025
6026 * cus-theme.el (custom-theme--listed-faces): Add cursor face.
6027 (describe-theme-1): Extract doc from unloaded themes.
6028
6029 * custom.el (custom-theme-name-valid-p): Don't list color-themes.
6030
6031 * themes/tango-theme.el:
6032 * themes/tango-dark-theme.el:
6033 * themes/wheatgrass-theme.el: New files.
6034
6035 2010-10-12 Chong Yidong <cyd@stupidchicken.com>
6036
6037 * cus-theme.el (describe-theme, customize-themes)
6038 (custom-theme-save): New commands.
6039 (custom-new-theme-mode-map): Bind C-x C-s.
6040 (custom-new-theme-mode): Use custom--initialize-widget-variables.
6041 (customize-create-theme): New optional arg THEME.
6042 (custom-theme-revert): Use it.
6043 (custom-theme-visit-theme): Remove dead code.
6044 (custom-theme-merge-theme): Use custom-available-themes.
6045 (custom-theme-write): Make interactive.
6046 (custom-theme-write): Use custom-theme-name-valid-p.
6047 (describe-theme-1, custom-theme-choose-revert)
6048 (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
6049 New funs.
6050 (custom-theme-allow-multiple-selections): New option.
6051 (custom-theme-choose-mode): New major mode.
6052
6053 * custom.el (custom-theme-set-variables): Remove dead code.
6054 Obey custom--inhibit-theme-enable.
6055 (custom--inhibit-theme-enable): New var.
6056 (provide-theme): Obey it.
6057 (load-theme): Replace load with manual read/eval, in order to
6058 check for correctness. Use custom-theme-name-valid-p.
6059 (custom-theme-name-valid-p): New function.
6060 (custom-available-themes): Use it.
6061
6062 * cus-edit.el (custom--initialize-widget-variables): New function.
6063 (Custom-mode): Use it.
6064
6065 * cus-face.el (custom-theme-set-faces): Remove dead code.
6066 Obey custom--inhibit-theme-enable.
6067
6068 * help-mode.el (help-theme-def, help-theme-edit): New buttons.
6069
6070 2010-10-12 Juanma Barranquero <lekktu@gmail.com>
6071
6072 * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
6073
6074 2010-10-12 Jan Djärv <jan.h.d@swipnet.se>
6075
6076 * term/ns-win.el (ns-right-alternate-modifier): New defvar.
6077 (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
6078 (mac-right-option-modifier): New alias for ns-right-option-modifier.
6079
6080 * cus-start.el (all): ns-right-alternate-modifier is new.
6081
6082 2010-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6083
6084 * emacs-lisp/lisp.el (lisp-completion-at-point):
6085 Use emacs-lisp-mode-syntax-table for the whole function.
6086
6087 2010-10-12 David Koppelman <koppel@ece.lsu.edu>
6088
6089 * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
6090 instead of font-lock-mode before adding keywords.
6091 Remove hi-lock-mode off code. Remove inhibit hack.
6092 (hi-lock-set-pattern): Only add keywords if font-lock-fontified
6093 non-nil; removed hook inhibit hack.
6094
6095 2010-10-12 Glenn Morris <rgm@gnu.org>
6096
6097 * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
6098 (load-path-shadows-find): ... to this.
6099 (list-load-path-shadows): Update for above change.
6100
6101 * mail/mail-utils.el (mail-mbox-from): Also try return-path.
6102
6103 2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
6104
6105 * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
6106 Fix comment for declare-function.
6107
6108 2010-10-11 Chong Yidong <cyd@stupidchicken.com>
6109
6110 * custom.el (custom-fix-face-spec): New function; code moved from
6111 custom-face-edit-fix-value.
6112 (custom-push-theme): Use it when checking if a face has been
6113 changed outside customize.
6114 (custom-available-themes): New function.
6115 (load-theme): Use it.
6116
6117 * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
6118
6119 * custom.el (custom-push-theme): Cleanup (use cond).
6120 (disable-theme): Recompute the saved-face property.
6121 (custom-theme-recalc-face): Follow face alias before setting prop.
6122
6123 * image.el (image-checkbox-checked, image-checkbox-unchecked):
6124 New variables, containing checkbox images.
6125
6126 * startup.el (fancy-startup-tail):
6127 * wid-edit.el (checkbox): Use them.
6128
6129 2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
6130
6131 * shell.el (shell-mode-map):
6132 * progmodes/modula2.el (m2-mode-map):
6133 * progmodes/inf-lisp.el (inferior-lisp-mode-map):
6134 * play/mpuz.el (mpuz-mode-map):
6135 * play/landmark.el (lm-mode-map):
6136 * play/decipher.el (decipher-mode-map):
6137 * play/5x5.el (5x5-mode-map):
6138 * net/telnet.el (telnet-mode-map):
6139 * net/quickurl.el (quickurl-list-mode-map):
6140 * net/mairix.el (mairix-searches-mode-map):
6141 * net/eudc-hotlist.el (eudc-hotlist-mode-map):
6142 * net/dig.el (dig-mode-map):
6143 * mail/mspools.el (mspools-mode-map):
6144 * hexl.el (hexl-mode-map):
6145 * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
6146 (wordstar-C-o-map, wordstar-C-q-map):
6147 * emacs-lisp/edebug.el (edebug-eval-mode-map):
6148 * emacs-lisp/chart.el (chart-map):
6149 * edmacro.el (edmacro-mode-map):
6150 * erc/erc-list.el (erc-list-menu-mode-map):
6151 * array.el (array-mode-map): Declare and define in one step.
6152
6153 * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
6154
6155 2010-10-10 Daiki Ueno <ueno@unixuser.org>
6156
6157 * epa.el (epa-passphrase-callback-function): Display filename
6158 passed as the 3rd arg.
6159 * epa-file.el (epa-file-passphrase-callback-function):
6160 Pass filename to epa-passphrase-callback-function.
6161
6162 2010-10-09 Chong Yidong <cyd@stupidchicken.com>
6163
6164 * cus-edit.el (custom-face-widget-to-spec)
6165 (custom-face-get-current-spec, custom-face-state): New functions.
6166 (custom-face-set, custom-face-mark-to-save)
6167 (custom-face-value-create, custom-face-state-set): Use them.
6168
6169 * cus-theme.el (custom-theme--listed-faces): New var.
6170 (customize-create-theme): Use *Custom Theme* as the buffer name.
6171 Set revert-buffer-function. Optional arg BUFFER. Insert all
6172 faces listed in custom-theme--listed-faces.
6173 (custom-theme-revert): New function.
6174 (custom-theme-add-variable, custom-theme-add-face): Insert at the
6175 bottom of the list.
6176 (custom-theme-write): Prompt for theme name if empty.
6177 (custom-theme-write-variables): Use dolist.
6178 (custom-theme-write-faces): Handle hidden (collapsed) widgets.
6179
6180 2010-10-09 Alan Mackenzie <acm@muc.de>
6181
6182 Enhance fontification of declarators to take account of the
6183 presence/absence of "typedef".
6184
6185 * cc-engine.el (c-forward-type): New &optional param
6186 "brace-block-too".
6187 (c-forward-decl-or-cast-1): cdr of return value now indicates the
6188 presence of either or both of a "struct"-like keyword and "typedef".
6189
6190 * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
6191 fontification of declarators which follow a "}".
6192 (c-font-lock-declarations): Fontify declarators according to the
6193 presence/absence of "typedef".
6194
6195 * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
6196 for "typedef".
6197 (c-typedef-decl-key): New lang variable built from
6198 c-typedef-decl-kwds.
6199
6200 2010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
6201
6202 * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
6203 since that's too annoying. Move the filter groups commands to
6204 TAB/backtab.
6205
6206 * epa.el (epa-passphrase-callback-function): Say what we're
6207 querying the password for.
6208
6209 * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
6210 behaviour, don't bury the ibuffer buffer when visiting other buffers.
6211
6212 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6213
6214 * cus-edit.el (custom-commands, custom-buffer-create-internal)
6215 (custom-magic-value-create): Pad button tags with spaces.
6216 (custom-face-edit): New variable.
6217 (custom-face-value-create): Determine whether to use the usual
6218 face editor here, instead of using custom-face-selected.
6219 Pass face defaults to custom-face-edit widget.
6220 (custom-face-selected, custom-display-unselected): Delete widgets.
6221 (custom-display-unselected-match): Function removed.
6222 (custom-face-set, custom-face-mark-to-save):
6223 Accept custom-face-edit widgets as the direct widget child.
6224
6225 * wid-edit.el (widget--completing-widget): New var.
6226 (widget-default-complete): Bind it when doing completion.
6227 (widget-string-complete, widget-file-complete): Use it.
6228
6229 2010-10-09 Glenn Morris <rgm@gnu.org>
6230
6231 * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
6232 (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
6233 (holiday-hebrew-misc): Small simplifications.
6234
6235 * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
6236
6237 * net/browse-url.el: Don't require thingatpt, term, dired,
6238 executable, or w3-auto when compiling.
6239 (dired-get-filename, term-char-mode, term-send-down, term-send-string):
6240 Declare.
6241 (browse-url-text-emacs): Require term.
6242
6243 2010-10-08 Andreas Schwab <schwab@linux-m68k.org>
6244
6245 * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
6246
6247 2010-10-08 Glenn Morris <rgm@gnu.org>
6248
6249 * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
6250
6251 * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
6252 (shadows-compare-text-p): Make it an obsolete alias for...
6253 (load-path-shadows-compare-text): ... new name.
6254 (find-emacs-lisp-shadows): Update for above name change.
6255 (load-path-shadows-same-file-or-nonexistent): New name for the old
6256 shadow-same-file-or-nonexistent.
6257
6258 2010-10-08 Chong Yidong <cyd@stupidchicken.com>
6259
6260 * minibuffer.el (completion--some, completion--do-completion)
6261 (minibuffer-complete-and-exit, minibuffer-completion-help)
6262 (completion-basic-try-completion)
6263 (completion-basic-all-completions)
6264 (completion-pcm--find-all-completions): Use lexical-let to
6265 avoid some false matches in variable completion (Bug#7056)
6266
6267 2010-10-08 Olof Ohlsson Sax <olof.ohlsson.sax@gmail.com> (tiny change)
6268
6269 * vc-svn.el (vc-svn-merge-news): Use --non-interactive. (Bug#7152)
6270
6271 2010-10-08 Leo <sdl.web@gmail.com>
6272
6273 * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
6274 return non-nil if the file exists (Bug#7090).
6275
6276 2010-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * minibuffer.el (completion--replace):
6279 Better preserve markers (bug#7138).
6280
6281 2010-10-08 Juanma Barranquero <lekktu@gmail.com>
6282
6283 * server.el (server-process-filter): Doc fix.
6284
6285 2010-10-08 Drew Adams <drew.adams@oracle.com>
6286
6287 * dired.el (dired-save-positions): Doc fix. (Bug#7119)
6288
6289 2010-10-08 Glenn Morris <rgm@gnu.org>
6290
6291 * vc/ediff-wind.el (ediff-setup-control-frame):
6292 * vc/ediff-ptch.el (ediff-default-backup-extension):
6293 * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
6294 (ediff-exec-process): Remove system-types emx, windows-95.
6295
6296 * net/browse-url.el (browse-url-xdg-open): Shell-quote url. (Bug#7166)
6297
6298 2010-10-07 Chong Yidong <cyd@stupidchicken.com>
6299
6300 * cus-edit.el (custom-variable, custom-face): Doc fix.
6301 (custom-face-edit): Add value-create attribute.
6302 (custom-face-edit-value-create)
6303 (custom-face-edit-value-visibility-action): New functions.
6304 Hide unused face attributes by default, and add a visibility toggle.
6305 (custom-face-edit-deactivate): Show empty values with shadow face.
6306 (custom-face-selected): Only use this for face specs with default
6307 attributes.
6308 (custom-face-value-create): Cleanup.
6309
6310 * wid-edit.el (widget-checklist-value-create): Use dolist.
6311 (widget-checklist-match-find): Make second arg optional.
6312
6313 2010-10-07 Glenn Morris <rgm@gnu.org>
6314
6315 * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
6316 Prefix things.
6317
6318 * emacs-lisp/shadow.el (shadow-font-lock-keywords)
6319 (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
6320 load-path-shadows-mode, update references.
6321 (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
6322 Rename variable and button.
6323 (list-load-path-shadows): Update button caller.
6324
6325 2010-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6326
6327 * emacs-lisp/smie.el (smie-bnf-classify): New function.
6328 (smie-bnf-precedence-table): Use it to remember the closers/openers.
6329 (smie-merge-prec2s): Handle those new entries.
6330 (smie-prec2-levels): Only set precedence to nil for actual
6331 openers/closers.
6332 * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
6333 that is now unnecessary.
6334
6335 2010-10-07 Miles Bader <miles@gnu.org>
6336
6337 * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
6338
6339 2010-10-07 Glenn Morris <rgm@gnu.org>
6340
6341 * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
6342 (mail-position-on-field): Remove declarations.
6343 (mail-position-on-field): Autoload it.
6344 (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
6345 and mail-header-end. Don't require sendmail.
6346
6347 * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
6348 (shadow-mode): New mode.
6349 (shadow-find-file): New button.
6350 (list-load-path-shadows): Use shadow-mode and buttons.
6351
6352 * iimage.el (iimage-version): Remove.
6353 (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
6354 Turn into defcustoms.
6355 (iimage-mode-map): Give it a doc string.
6356
6357 * calendar/appt.el (appt-activate): Give a warning rather than an error
6358 if there is no diary-file.
6359
6360 2010-10-06 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6363 Use `tramp-handle-find-backup-file-name'.
6364
6365 2010-10-06 Glenn Morris <rgm@gnu.org>
6366
6367 * font-core.el (font-lock-defaults-alist): Remove variable.
6368 (font-lock-mode): Doc fix.
6369 (font-lock-default-function): Do not consult font-lock-defaults-alist.
6370 * font-lock.el (font-lock-refresh-defaults): Doc fix.
6371 (font-lock-set-defaults): Doc fix.
6372 Do not consult font-lock-defaults-alist.
6373
6374 * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
6375
6376 * emacs-lisp/cl.el: No longer provide cl-19.
6377
6378 2010-10-05 Michael Albinus <michael.albinus@gmx.de>
6379
6380 * net/tramp.el (tramp-handle-directory-files-and-attributes)
6381 (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
6382 New defuns, taken from tramp-smb.el.
6383 (tramp-coding-system-change-eol-conversion)
6384 (tramp-set-process-query-on-exit-flag): Remove.
6385
6386 * net/tramp-compat.el (top): Do not check for byte-compiler objects.
6387 (tramp-compat-coding-system-change-eol-conversion)
6388 (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
6389 from tramp.el.
6390
6391 * net/tramp-gvfs.el:
6392 * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
6393 by `tramp-compat-set-process-query-on-exit-flag'.
6394
6395 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6396 Use `tramp-handle-directory-files-and-attributes',
6397 `tramp-handle-file-exists-p' and
6398 `tramp-handle-file-newer-than-file-p'.
6399 (tramp-imap-handle-file-exists-p)
6400 (tramp-imap-handle-file-executable-p)
6401 (tramp-imap-handle-file-readable-p)
6402 (tramp-imap-handle-directory-files-and-attributes)
6403 (tramp-imap-handle-file-newer-than-file-p): Remove.
6404
6405 * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
6406 by `tramp-compat-set-process-query-on-exit-flag' and
6407 `tramp-coding-system-change-eol-conversion' by
6408 `tramp-compat-coding-system-change-eol-conversion'.
6409
6410 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6411 Use `tramp-handle-directory-files-and-attributes',
6412 `tramp-handle-file-exists-p' and
6413 `tramp-handle-file-newer-than-file-p'.
6414 (tramp-smb-handle-directory-files-and-attributes)
6415 (tramp-smb-handle-file-exists-p)
6416 (tramp-smb-handle-file-newer-than-file-p): Remove.
6417 (tramp-smb-maybe-open-connection):
6418 Replace `tramp-set-process-query-on-exit-flag' by
6419 `tramp-compat-set-process-query-on-exit-flag'.
6420
6421 2010-10-05 Glenn Morris <rgm@gnu.org>
6422
6423 * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
6424
6425 2010-10-04 Michael Albinus <michael.albinus@gmx.de>
6426
6427 Continue reorganization of load dependencies. (Bug#7156)
6428
6429 * net/tramp.el (tramp-handle-file-local-copy-hook)
6430 (tramp-delete-temp-file-function): Move down.
6431 (tramp-exists-file-name-handler): Move up.
6432 (tramp-register-file-name-handlers): Simplify autoload.
6433 (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
6434 (tramp-handle-directory-files, tramp-handle-dired-uncache)
6435 (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
6436 (tramp-handle-file-name-completion)
6437 (tramp-handle-file-name-directory)
6438 (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
6439 (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
6440 (tramp-handle-find-backup-file-name)
6441 (tramp-handle-insert-file-contents, tramp-handle-load)
6442 (tramp-handle-substitute-in-file-name)
6443 (tramp-handle-unhandled-file-name-directory)
6444 (tramp-mode-string-to-int, tramp-local-host-p)
6445 (tramp-make-tramp-temp-file): Move from tramp-sh.el.
6446
6447 * net/tramp-gvfs.el (top):
6448 * net/tramp-smb.el (top): Do not require 'tramp-sh.
6449
6450 * net/tramp-sh.el (all): Move several objects to tramp.el, see
6451 there. Rename `tramp-handle-*' to `tramp-sh-handle-*'.
6452
6453 2010-10-04 Glenn Morris <rgm@gnu.org>
6454
6455 * calendar/appt.el (appt-add): Ensure reminders are enabled.
6456 (appt-activate): Give status messages.
6457
6458 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6459
6460 * net/gnutls.el: Improve docs. Remove starttls and ssl emulation.
6461 Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
6462 `gnutls-negotiate' (formerly `starttls-negotiate').
6463 Remove trivial wrapper `starttls-open-stream'.
6464
6465 2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
6466
6467 Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
6468 log-outgoing commands.
6469 * vc/vc.el (vc-log-internal-common): Add a new argument and use it
6470 to create a buffer local revert-buffer-function variable.
6471 (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
6472 revert-buffer-function lambda.
6473
6474 2010-10-03 Teodor Zlatanov <tzz@lifelogs.com>
6475
6476 * net/gnutls.el (starttls-negotiate): Use the plist interface to
6477 `gnutls-boot'. Make TYPE the only required parameter.
6478 Allow TRUSTFILES and KEYFILES to be lists.
6479 (open-ssl-stream): Use it.
6480
6481 2010-10-03 Glenn Morris <rgm@gnu.org>
6482
6483 * subr.el (directory-sep-char): Remove obsolete variable.
6484 * net/tramp-compat.el: Don't mess about with the byte-compiler unless
6485 it is "necessary".
6486
6487 * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
6488 * vc/vc.el (vc-static-header-alist): Doc fix.
6489 * vc/vc-cvs.el (vc-cvs-header):
6490 * vc/vc-rcs.el (vc-rcs-header):
6491 * vc/vc-sccs.el (vc-sccs-header):
6492 * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
6493 * obsolete/vc-mcvs.el (vc-mcvs-header):
6494 * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
6495 on XEmacs.
6496
6497 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6498
6499 * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
6500 Remove obsolete use of binary-overwrite-mode (Bug#7001).
6501
6502 2010-10-03 Glenn Morris <rgm@gnu.org>
6503
6504 * obsolete/x-menu.el: Remove file, obsolete since 21.1.
6505
6506 * textmodes/rst.el (rst-font-lock-keywords-function):
6507 Drop Emacs 20 code.
6508
6509 * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
6510
6511 * printing.el: Drop Emacs 20 code.
6512
6513 * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
6514 without having used appt.el already).
6515
6516 * subr.el (make-local-hook): Remove function obsolete since 21.1.
6517 * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
6518 (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
6519 XEmacs.
6520 * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
6521 (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
6522
6523 * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
6524 (charset-width, find-charset-region, chars-in-region, forward-point)
6525 (encode-coding-string, coding-system-p, ccl-execute-on-string)
6526 (define-ccl-program, multibyte-string-p, string-make-multibyte):
6527 Remove compatibility cruft (none of these are used by ps*.el).
6528
6529 2010-10-03 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6530
6531 * subr.el (booleanp): Return t instead of a list (Bug#7086).
6532
6533 2010-10-03 Chong Yidong <cyd@stupidchicken.com>
6534
6535 * server.el (server-process-filter, server-return-error):
6536 Give emacsclient time to shut down after receiving an error string.
6537
6538 2010-10-02 Michael Albinus <michael.albinus@gmx.de>
6539
6540 * files.el (remote-file-name-inhibit-cache): New defcustom.
6541
6542 * time.el (display-time-file-nonempty-p):
6543 Use `remote-file-name-inhibit-cache'.
6544
6545 * net/tramp.el (tramp-completion-reread-directory-timeout):
6546 Fix docstring.
6547
6548 * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
6549 (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
6550 `remote-file-name-inhibit-cache'. Check also for an integer
6551 value. Add/increase counter when `tramp-verbose' >= 10.
6552 (tramp-set-file-property): Add/increase counter when
6553 `tramp-verbose' >= 10.
6554
6555 * net/tramp-cmds.el (tramp-cleanup-all-connections)
6556 (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
6557 (tramp-bug): Set tramp-autoload cookie. Report all interned
6558 tramp-* variables. Report also `remote-file-name-inhibit-cache'.
6559 (tramp-reporter-dump-variable): Fix docstring. Mask non-7bit
6560 characters only in strings.
6561
6562 * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
6563 to backward compatibility.
6564
6565 * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
6566 (tramp-handle-file-name-all-completions)
6567 (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
6568 (tramp-open-connection-setup-interactive-shell):
6569 Call `tramp-cleanup-connection' directly.
6570
6571 2010-10-02 Glenn Morris <rgm@gnu.org>
6572
6573 * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
6574
6575 * subr.el (char-bytes): Remove obsolete function.
6576
6577 * isearch.el (isearch-return-char): Remove obsolete function.
6578
6579 * mouse.el: No longer provide mldrag.
6580 (mldrag-drag-mode-line, mldrag-drag-vertical-line):
6581 Remove obsolete aliases.
6582
6583 * comint.el (comint-kill-output): Remove obsolete alias.
6584
6585 * composite.el (decompose-composite-char): Remove obsolete function.
6586 * ps-def.el (decompose-composite-char): Remove unused function.
6587
6588 * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
6589
6590 * outline.el (outline-visible): Remove obsolete function.
6591
6592 * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
6593 * faces.el (internal-find-face, internal-get-face)
6594 (frame-update-faces, frame-update-face-colors)
6595 (x-frob-font-weight, x-frob-font-slant)
6596 (internal-frob-font-weight, internal-frob-font-slant)
6597 (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
6598 (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
6599 (x-make-font-bold-italic): Remove functions and aliases, obsolete
6600 since Emacs 21.1.
6601 * emulation/viper-util.el (viper-get-face):
6602 * obsolete/lucid.el (find-face, get-face): Use facep.
6603 * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
6604 Remove unused functions.
6605 * vc/ediff-util.el (ediff-submit-report): Doc fix.
6606
6607 * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
6608 delete tempfile if interrupted during compilation.
6609
6610 2010-10-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6611
6612 * net/tls.el (tls-starttls-switches): Give up on using starttls with
6613 gnutls-cli.
6614 (tls-program): Add --insecure to be consistent with the defaults from
6615 openssl s_client. Now all three commands are insecure.
6616
6617 2010-10-01 Eli Zaretskii <eliz@gnu.org>
6618
6619 * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
6620 (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
6621 (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
6622
6623 2010-10-01 Glenn Morris <rgm@gnu.org>
6624
6625 * obsolete/sc.el: Remove file.
6626
6627 * files.el (temporary-file-directory): On darwin, also try
6628 DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
6629
6630 2010-10-01 Juanma Barranquero <lekktu@gmail.com>
6631
6632 * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
6633 Let's not break compatibility gratuitously, shall we?
6634
6635 2010-09-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6636
6637 * net/tls.el (tls-starttls-switches): New variable.
6638 (tls-find-starttls-argument): Use it.
6639 (open-tls-stream): Ditto.
6640
6641 * net/netrc.el (netrc-credentials): Return the value of the "default"
6642 entry.
6643 (netrc-machine): Ditto.
6644
6645 2010-09-30 Eli Zaretskii <eliz@gnu.org>
6646
6647 * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
6648
6649 2010-09-30 Juanma Barranquero <lekktu@gmail.com>
6650
6651 * server.el (server-start): Don't write pid to the authentication file.
6652 (server-create-tty-frame): Don't send pid.
6653 (server-process-filter): Send pid at the start of every connection.
6654
6655 2010-09-30 Glenn Morris <rgm@gnu.org>
6656
6657 * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
6658 (show-all-diary-entries): Remove obsolete function aliases.
6659
6660 * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
6661 Remove options, obsolete since 22.1.
6662 (appt-display-format, appt-display-message):
6663 Remove backwards-compatibility code.
6664 (appt-check): No longer check appt-issue-message.
6665 (appt-make-list): No longer autoload it. Doc fix. No longer
6666 activate the package.
6667
6668 2010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
6669
6670 * net/gnutls.el (starttls-negotiate): Loop a lot longer.
6671 (starttls-negotiate): Just call boot, and let the handshake be
6672 triggered from the read loop.
6673
6674 2010-09-29 Glenn Morris <rgm@gnu.org>
6675
6676 * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
6677 not displaying the diary.
6678 (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
6679 * calendar/appt.el (appt-check): No longer need to kill diary.
6680
6681 * calendar/diary-lib.el (diary-list-entries): Move the
6682 "Preparing..." message entirely here.
6683 (diary-simple-display, diary-fancy-display): Move "Preparing..."
6684 messages to diary-list-entries.
6685 (diary-include-other-diary-files): Use LIST-ONLY rather than setting
6686 diary-display-function.
6687
6688 * calendar/diary-lib.el (diary-include-other-diary-files):
6689 Trap some recursive includes.
6690
6691 * calendar/appt.el (appt-activate): Check diary file.
6692
6693 2010-09-29 Katsumi Yamaoka <yamaoka@jpl.org>
6694
6695 * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
6696 construction.
6697
6698 * calendar/time-date.el: No need to require cl for Emacs 21.
6699
6700 2010-09-28 Glenn Morris <rgm@gnu.org>
6701
6702 * calendar/appt.el (appt-check): Minor simplification.
6703
6704 2010-09-28 Katsumi Yamaoka <yamaoka@jpl.org>
6705
6706 * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
6707 citation prefix.
6708
6709 2010-09-27 Andreas Schwab <schwab@linux-m68k.org>
6710
6711 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
6712 Avoid infinite recursion on erroneous lambda form. (Bug#7114)
6713
6714 2010-09-27 Kenichi Handa <handa@m17n.org>
6715
6716 * tar-mode.el (tar-header-block-tokenize): Decode filenames in
6717 "ustar" format.
6718
6719 2010-09-27 Kenichi Handa <handa@m17n.org>
6720
6721 * international/mule.el (define-coding-system): Docstring fixed.
6722
6723 * international/mule-diag.el (describe-character-set): Use princ
6724 with proper print-length and print-level instead of insert.
6725
6726 2010-09-27 Juanma Barranquero <lekktu@gmail.com>
6727
6728 * window.el (walk-windows): Doc fix (bug#7105).
6729
6730 2010-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6731
6732 * emacs-lisp/float-sup.el (e): Remove.
6733
6734 2010-09-27 Teodor Zlatanov <tzz@lifelogs.com>
6735
6736 * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
6737 variable.
6738 (starttls-negotiate): Use it.
6739
6740 2010-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6741
6742 * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
6743 back.
6744
6745 2010-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
6748
6749 2010-09-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750
6751 * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
6752
6753 * net/netrc.el (netrc-store-data): New function.
6754
6755 2010-09-26 Teodor Zlatanov <tzz@lifelogs.com>
6756
6757 * net/gnutls.el: GnuTLS glue code to set up a connection.
6758
6759 2010-09-25 Julien Danjou <julien@danjou.info>
6760
6761 * notifications.el: Call dbus-register-signal only if it is bound.
6762
6763 2010-09-25 Glenn Morris <rgm@gnu.org>
6764
6765 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6766 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6767 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6768 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6769 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6770 * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
6771 * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
6772 * eshell/esh-util.el, eshell/esh-var.el:
6773 Remove leading `*' from docs of faces and defcustoms.
6774
6775 2010-09-25 Ulrich Mueller <ulm@gentoo.org>
6776
6777 * eshell/em-ls.el (eshell-ls-archive-regexp):
6778 * eshell/esh-util.el (eshell-tar-regexp):
6779 * ibuffer.el (ibuffer-compressed-file-name-regexp):
6780 * info.el (Info-suffix-list):
6781 * international/mule.el (auto-coding-alist):
6782 * woman.el (woman-file-regexp, woman-file-compression-regexp):
6783 * progmodes/etags.el (tags-compression-info-list):
6784 Support xz compression.
6785
6786 2010-09-25 Chong Yidong <cyd@stupidchicken.com>
6787
6788 * files.el (get-free-disk-space): Don't assume the "df" output
6789 columns line up (Bug#6995).
6790
6791 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6792
6793 * finder.el (finder-unknown-keywords):
6794 * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
6795 * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
6796
6797 2010-09-25 Juanma Barranquero <lekktu@gmail.com>
6798
6799 * server.el (server-start): Revert part of 2010-08-08 change. Using
6800 address 127.0.0.1 for local host is now done in Fmake_network_process.
6801
6802 2010-09-24 Glenn Morris <rgm@gnu.org>
6803
6804 * image-mode.el, progmodes/compile.el, progmodes/gud.el:
6805 * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
6806 * textmodes/css-mode.el, textmodes/dns-mode.el:
6807 Move autoloaded auto-mode-alist entries to files.el.
6808 * files.el (auto-mode-alist): Move entries here.
6809
6810 2010-09-23 Glenn Morris <rgm@gnu.org>
6811
6812 * isearch.el (isearch-lazy-highlight-cleanup)
6813 (isearch-lazy-highlight-initial-delay)
6814 (isearch-lazy-highlight-interval)
6815 (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
6816 * net/net-utils.el (ipconfig-program-options):
6817 Move aliases to options before the associated definitions.
6818
6819 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6820
6821 * newcomment.el (comment-normalize-vars): Better test validity of
6822 comment-end-skip.
6823
6824 2010-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
6827 (float-e): New name for `e'.
6828 (degrees-to-radians, radians-to-degrees):
6829 * calendar/solar.el (solar-longitude):
6830 * calculator.el (calculator-registers, calculator-funcall):
6831 * textmodes/artist.el (artist-spray-random-points):
6832 * play/bubbles.el (bubbles--initialize-images): Use new names.
6833
6834 2010-09-23 Eric M. Ludlam <zappo@gnu.org>
6835
6836 Update to CEDET 1.0's version of EIEIO.
6837
6838 * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
6839 New function.
6840 (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
6841 (eieio-default-eval-maybe): Eval val instead of unquoting only.
6842 (class-precedence-list): If class is nil, return nil.
6843 (eieio-generic-call): If class of first input arg is nil, don't
6844 look up static methods, and do check for primary methods.
6845 (initialize-instance): See if the default needs to be evaluated
6846 during the constructor.
6847 (eieio-perform-slot-validation-for-default): Don't do the check
6848 for values that will eventually be evaluated.
6849 (eieio-eval-default-p): New function.
6850 (eieio-default-eval-maybe): Use it.
6851
6852 2010-09-23 Jan Moringen <jan.moringen@uni-bielefeld.de>
6853
6854 * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
6855 method-invocation-order.
6856 (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
6857 (eieio-class-precedence-dfs): Compute class precedence list using
6858 dfs algorithm.
6859 (eieio-class-precedence-bfs): Compute class precedence list using
6860 bfs algorithm.
6861 (eieio-class-precedence-c3): Compute class precedence list using
6862 c3 algorithm.
6863 (class-precedence-list): New function.
6864 (eieiomt-method-list, eieiomt-sym-optimize): Use it.
6865 (inconsistent-class-hierarchy): New error symbol.
6866 (call-next-method): Stow the replacement argument list for future
6867 call-next-method invocations.
6868
6869 2010-09-23 Glenn Morris <rgm@gnu.org>
6870
6871 * calendar/appt.el (appt-check): If not displaying the diary,
6872 use (diary 1) to only get the entries we need.
6873 (appt-make-list): Sort diary-list-entries, if we cannot guarantee
6874 that it is in day order. (Bug#7019)
6875
6876 * calendar/appt.el (appt-check): Rather than showing the diary,
6877 just turn off invisible display, and only if needed.
6878
6879 * calendar/diary-lib.el (diary-list-entries): Doc fix. (Bug#7019)
6880
6881 2010-09-23 Glenn Morris <rgm@gnu.org>
6882
6883 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6884 (byte-compile-defvar, byte-compile-cl-warn):
6885 Start warnings with lower-case, like the majority.
6886
6887 * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
6888
6889 * files.el (auto-mode-alist): Prefer C-mode for .xs. (Bug#7071)
6890
6891 * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
6892 * files.el (auto-mode-alist): Move ld-script entries here, further down
6893 the list.
6894
6895 * vc/add-log.el: Don't require timezone when compiling.
6896 (timezone-make-date-sortable): Autoload it.
6897 (change-log-sortable-date-at): Don't require timezone.
6898 Use `ignore-errors'.
6899
6900 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6901 Move alias before definition, so it does not need autoloading.
6902
6903 * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
6904 * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
6905 * international/kkc.el, international/ogonek.el, mail/feedmail.el:
6906 * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
6907 * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
6908 * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
6909 * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
6910 * textmodes/tex-mode.el, textmodes/two-column.el:
6911 Remove leading `*' from docs of defcustoms etc.
6912
6913 2010-09-23 Teodor Zlatanov <tzz@lifelogs.com>
6914
6915 * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
6916
6917 2010-09-22 Dan Christensen <jdc@uwo.ca>
6918
6919 * calendar/time-date.el (date-to-time): Try using parse-time-string
6920 first before using the slower timezone-make-date-arpa-standard.
6921
6922 2010-09-22 Katsumi Yamaoka <yamaoka@jpl.org>
6923
6924 * calendar/time-date.el (format-seconds): Comment fix.
6925
6926 2010-09-22 Glenn Morris <rgm@gnu.org>
6927
6928 * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
6929 is not automatically buffer-local.
6930
6931 2010-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
6934 (smie-indent-comment): Be more careful with comment-start-skip.
6935 (smie-indent-comment-close, smie-indent-comment-inside): New funs.
6936 (smie-indent-functions): Use them.
6937
6938 2010-09-21 Michael Albinus <michael.albinus@gmx.de>
6939
6940 * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
6941
6942 2010-09-21 Jan Djärv <jan.h.d@swipnet.se>
6943
6944 * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
6945 tool-bar-position. Don't modify frame parameters here.
6946 (menu-bar-options-save): Add tool-bar-position.
6947
6948 * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
6949
6950 2010-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6951
6952 * textmodes/reftex-parse.el (reftex-what-macro)
6953 (reftex-context-substring): Let-bind forward-sexp-function to nil
6954 since we don't need/want to treat \begin...\end as a block (bug#7053).
6955
6956 * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
6957
6958 * simple.el (blink-matching-open): Use syntax-class.
6959
6960 * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
6961 Set invisibility spec for pascal's outline mode.
6962 (pascal-outline-change): Clean up calling convention.
6963 (pascal-show-all, pascal-hide-other-defuns): Update callers.
6964
6965 * progmodes/prolog.el (prolog-smie-forward-token)
6966 (prolog-smie-backward-token): New functions.
6967 (prolog-mode-variables): Use them to parse "!," correctly.
6968 Set up smie-blink-matching for ".".
6969
6970 * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
6971 and `end'.
6972 (ispell-region, ispell-process-line): Update users.
6973
6974 * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
6975 point-min==1.
6976
6977 * textmodes/ispell.el: Fix commenting convention.
6978 (ispell-parse-output): Simplify, use push.
6979 (ispell-region): Use match-string-no-properties.
6980 (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
6981 (ispell-minor-mode): Use define-minor-mode.
6982 (ispell-message): Remove unused var `skip-regexp'.
6983 (ispell-add-per-file-word-list): Use dynamic let-binding.
6984 Try and use the proper comment marker.
6985
6986 * mail/sendmail.el: Fix commenting convention.
6987 (sendmail-send-it): Use line-beginning-position.
6988
6989 * help-fns.el (describe-variable): Add original value, if applicable.
6990
6991 2010-09-20 Juanma Barranquero <lekktu@gmail.com>
6992
6993 * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
6994
6995 * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
6996
6997 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6998
6999 * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
7000 (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
7001 (smie-prec2-levels): Use them to better diagnose precedence cycles.
7002 (smie-blink-matching-check): Don't signal a mismatch if car is t.
7003 (smie-blink-matching-open): Rewrite to remove assumptions, so that
7004 something like "." can also be a closer.
7005 (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
7006 (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
7007 Rename internal functions to use "--". Update callers.
7008
7009 * frame.el (make-frame-names-alist): Don't list frames on other displays.
7010
7011 * fringe.el (fringe-styles): New var.
7012 (fringe-mode, fringe-query-style): Use it.
7013
7014 2010-09-18 Michael R. Mauger <mmaug@yahoo.com>
7015
7016 * progmodes/sql.el: Version 2.8
7017 (sql-login-params): Update widget structure; changes still needed.
7018 (sql-product-alist): Add :list-all and :list-table features for
7019 SQLite, Postgres and MySQL products.
7020 (sql-redirect): Handle default value.
7021 (sql-execute, sql-execute-feature): New functions.
7022 (sql-read-table-name): New function.
7023 (sql-list-all, sql-list-table): New functions. User API.
7024 (sql-mode-map, sql-interactive-mode-map): Add key definitions
7025 for above functions.
7026 (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
7027 for above functions.
7028 (sql-postgres-login-params): Add user and database defaults.
7029 (sql-buffer-live-p): Bug fix.
7030 (sql-product-history): New variable.
7031 (sql-read-product): New function. Use it.
7032 (sql-set-product, sql-product-interactive): Use it.
7033 (sql-connection-history): New variable.
7034 (sql-read-connection): New function. Use it.
7035 (sql-connect): New function.
7036 (sql-for-each-login): Redesign function interface.
7037 (sql-make-alternate-buffer-name, sql-save-connection): Use it.
7038 (sql-get-login-ext, sql-get-login): Use it. Handle default values.
7039 (sql-comint): Check for program. Existing live buffer.
7040 (sql-comint-postgres): Add port parameter.
7041
7042 2010-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * emacs-lisp/warnings.el: Fix commenting convention.
7045 (display-warning): Use special mode and make the buffer read-only.
7046
7047 2010-09-18 Jay Belanger <jay.p.belanger@gmail.com>
7048
7049 * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
7050 empty string when it follows a repeated or optional pattern.
7051
7052 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7053
7054 * indent.el (indent-according-to-mode): Apply syntax-propertize.
7055 (indent-region): Use indent-according-to-mode.
7056
7057 2010-09-18 Eli Zaretskii <eliz@gnu.org>
7058
7059 * fringe.el (fringe-mode): Doc fix.
7060
7061 2010-09-14 Kan-Ru Chen <kanru@kanru.info> (tiny change)
7062
7063 * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
7064 refreshing the preview buffer.
7065
7066 2010-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * textmodes/tex-mode.el (tex-syntax-propertize-rules)
7069 (latex-syntax-propertize-rules): New consts; replace
7070 tex-font-lock-syntactic-keywords.
7071 (tex-env-mark, latex-env-before-change): New functions.
7072 (latex-electric-env-pair-mode): New minor mode.
7073 (tex-font-lock-verb): Change arguments; do move point.
7074 (tex-font-lock-syntactic-face-function): Adjust to new verbatim
7075 representation as a form of comment.
7076 (tex-font-lock-keywords-1): Remove workaround, now unneeded.
7077 (doctex-syntax-propertize-rules): New const; replaces
7078 doctex-font-lock-syntactic-keywords.
7079 (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
7080
7081 * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
7082 (fortran-make-syntax-propertize-function): New function; replaces
7083 fortran-font-lock-syntactic-keywords.
7084 (fortran-mode): Use it.
7085 (fortran-line-length): Use it. Improve interactive spec.
7086
7087 * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
7088 (syntax-propertize-rules): Add var-ref case. Fix offset computation
7089 when adding surrounding \(..\).
7090
7091 * progmodes/js.el (js-mode): Fix last change (bug#7054).
7092
7093 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7094
7095 * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
7096 Use with-current-buffer.
7097
7098 * isearch.el (isearch-face): Rename from `isearch'.
7099 (isearch-highlight): Use new name.
7100
7101 2010-09-17 Eli Zaretskii <eliz@gnu.org>
7102
7103 * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
7104 5, for `half' width fringes. (Bug#6933)
7105
7106 2010-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
7109 (byte-compile-defvar): "foo/bar" does not lack a prefix.
7110
7111 * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
7112
7113 2010-09-17 Stephen Berman <stephen.berman@gmx.net>
7114
7115 * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
7116 in calculating new frame position. Add more space between new and
7117 parent on the left (Bug#7048).
7118
7119 2010-09-17 Michael Albinus <michael.albinus@gmx.de>
7120
7121 * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
7122 defmacro.
7123
7124 2010-09-16 Chong Yidong <cyd@stupidchicken.com>
7125
7126 * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
7127
7128 * term/x-win.el (x-cut-buffer-or-selection-value): Define as
7129 obsolete alias for x-selection-value.
7130
7131 * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
7132
7133 2010-09-16 Michael Albinus <michael.albinus@gmx.de>
7134
7135 * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
7136 cookie.
7137
7138 2010-09-15 Michael Albinus <michael.albinus@gmx.de>
7139
7140 * net/tramp-compat.el (tramp-compat-with-temp-message)
7141 (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
7142 (tramp-compat-process-put): New defuns.
7143
7144 * net/tramp.el (top):
7145 * net/tramp-gvfs.el (top):
7146 * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
7147
7148 * net/tramp.el (tramp-progress-reporter-update):
7149 Use `tramp-compat-funcall'.
7150
7151 * net/tramp.el (tramp-process-actions):
7152 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
7153 * net/tramp-sh.el (tramp-handle-vc-registered)
7154 (tramp-get-remote-stat, tramp-get-remote-readlink):
7155 Use `tramp-compat-with-temp-message'.
7156
7157 * net/tramp-sh.el (top): Require 'cl.
7158 (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
7159 (tramp-open-connection-setup-interactive-shell):
7160 Use `tramp-compat-process-put'.
7161
7162 2010-09-15 Alan Mackenzie <acm@muc.de>
7163
7164 * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
7165 indentation.
7166 (c-forward-<>-arglist-recur): Fix an infinite recursion.
7167
7168 2010-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
7169
7170 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
7171 `lexical' for warnings related to lexical scoping.
7172 (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
7173 global vars which don't have a prefix and could hence affect lexical
7174 scoping in unrelated files.
7175
7176 2010-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7177
7178 * net/imap.el: Revert back to version
7179 cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
7180 seem problematic.
7181
7182 2010-09-14 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * obsolete/old-whitespace.el (whitespace-unload-function):
7185 Explicitly pass `obarray' to `unintern' to avoid a warning.
7186
7187 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7188
7189 * emacs-lisp/byte-run.el (set-advertised-calling-convention):
7190 Add `when' argument. Update callers.
7191
7192 * subr.el (unintern): Declare the obarray arg mandatory.
7193
7194 2010-09-14 Glenn Morris <rgm@gnu.org>
7195
7196 * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
7197 Doc fixes.
7198
7199 * calendar/diary-lib.el (diary-included-files): New variable.
7200 (diary-list-entries): Maybe initialize diary-included-files.
7201 (diary-include-other-diary-files): Append to diary-included-files.
7202 * calendar/appt.el (appt-update-list): Also check the members of
7203 diary-included-files. (Bug#6999)
7204 (appt-check): Doc fix.
7205
7206 2010-09-14 David Reitter <david.reitter@gmail.com>
7207
7208 * simple.el (line-move-visual): Do not truncate goal column to
7209 integer size. (Bug#7020)
7210
7211 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * repeat.el (repeat): Allow repeating when the last event is a click.
7214 Suggested by Drew Adams (bug#6256).
7215
7216 2010-09-14 Sascha Wilde <wilde@sha-bang.de>
7217
7218 * vc/vc-hg.el (vc-hg-state, vc-hg-working-revision):
7219 Replace setting HGRCPATH to "" by some less invasive --config options.
7220
7221 2010-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7222
7223 * font-lock.el (font-lock-beginning-of-syntax-function):
7224 Mark as obsolete.
7225
7226 2010-09-14 Glenn Morris <rgm@gnu.org>
7227
7228 * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
7229 and tool-bar modes. (Bug#6211)
7230 (menu-bar-mode): Move setting of standard-value after the
7231 minor-mode definition, otherwise it seems to have no effect.
7232
7233 2010-09-14 Masatake YAMATO <yamato@redhat.com>
7234
7235 * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
7236 Fix typo. (Bug#6976)
7237
7238 2010-09-14 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7239
7240 * whitespace.el: Allow cleaning up blanks without blank
7241 visualization (Bug#6651). Adjust help window for
7242 whitespace-toggle-options (Bug#6479). Allow to use fill-column
7243 instead of whitespace-line-column (from EmacsWiki). New version 13.1.
7244 (whitespace-style): Add new value 'face. Adjust docstring.
7245 (whitespace-space, whitespace-hspace, whitespace-tab):
7246 Adjust foreground property face.
7247 (whitespace-line-column): Adjust docstring and type declaration.
7248 (whitespace-style-value-list, whitespace-toggle-option-alist)
7249 (whitespace-help-text): Adjust const initialization.
7250 (whitespace-toggle-options, global-whitespace-toggle-options):
7251 Adjust docstring.
7252 (whitespace-display-window, whitespace-interactive-char)
7253 (whitespace-style-face-p, whitespace-color-on): Adjust code.
7254 (whitespace-help-scroll): New fun.
7255
7256 2010-09-14 Katsumi Yamaoka <yamaoka@jpl.org>
7257
7258 * calendar/time-date.el (format-seconds): Comment fix.
7259
7260 2010-09-13 Michael R. Mauger <mmaug@yahoo.com>
7261
7262 * progmodes/sql.el: Version 2.7.
7263 (sql-buffer-live-p): Improve detection.
7264 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7265 (sql-set-sqli-buffer): Use it.
7266 (sql-product-interactive): Run `sql-set-sqli-hook'.
7267 (sql-rename-buffer): Code cleanup.
7268 (sql-redirect, sql-redirect-value): New functions. More to come.
7269
7270 2010-09-13 Juanma Barranquero <lekktu@gmail.com>
7271
7272 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.
7273 * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7274 (TRAMP_SRC): New macro.
7275 ($(lisp)/net/tramp-loaddefs.el): New target.
7276
7277 2010-09-13 Michael Albinus <michael.albinus@gmx.de>
7278
7279 Major code cleanup. Split tramp.el into tramp.el and tramp-sh.el.
7280
7281 * Makefile.in (TRAMP_SRC): Remove tramp-fish.el. Add tramp-sh.el.
7282
7283 * net/tramp.el (top): Don't show loading message. Require just
7284 'tramp-compat, everything else is required there.
7285 Use `ignore-errors' where appropriate.
7286 (tramp-inline-compress-start-size, tramp-copy-size-limit)
7287 (tramp-terminal-type, tramp-end-of-output)
7288 (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
7289 (tramp-completion-function-alist-ssh)
7290 (tramp-completion-function-alist-telnet)
7291 (tramp-completion-function-alist-su)
7292 (tramp-completion-function-alist-putty, tramp-remote-path)
7293 (tramp-remote-process-environment, tramp-sh-extra-args)
7294 (tramp-actions-before-shell, tramp-uudecode)
7295 (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
7296 (tramp-perl-file-attributes)
7297 (tramp-perl-directory-files-and-attributes)
7298 (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
7299 (tramp-perl-encode, tramp-perl-decode)
7300 (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
7301 (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
7302 (tramp-handle-make-symbolic-link, tramp-handle-load)
7303 (tramp-handle-file-name-as-directory)
7304 (tramp-handle-file-name-directory)
7305 (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
7306 (tramp-handle-file-exists-p, tramp-handle-file-attributes)
7307 (tramp-do-file-attributes-with-ls)
7308 (tramp-do-file-attributes-with-perl)
7309 (tramp-do-file-attributes-with-stat)
7310 (tramp-handle-set-visited-file-modtime)
7311 (tramp-handle-verify-visited-file-modtime)
7312 (tramp-handle-set-file-modes, tramp-handle-set-file-times)
7313 (tramp-set-file-uid-gid, tramp-remote-selinux-p)
7314 (tramp-handle-file-selinux-context)
7315 (tramp-handle-set-file-selinux-context)
7316 (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
7317 (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
7318 (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
7319 (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
7320 (tramp-handle-file-ownership-preserved-p)
7321 (tramp-handle-directory-file-name, tramp-handle-directory-files)
7322 (tramp-handle-directory-files-and-attributes)
7323 (tramp-do-directory-files-and-attributes-with-perl)
7324 (tramp-do-directory-files-and-attributes-with-stat)
7325 (tramp-handle-file-name-all-completions)
7326 (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
7327 (tramp-handle-copy-file, tramp-handle-copy-directory)
7328 (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
7329 (tramp-do-copy-or-rename-file-via-buffer)
7330 (tramp-do-copy-or-rename-file-directly)
7331 (tramp-do-copy-or-rename-file-out-of-band)
7332 (tramp-handle-make-directory, tramp-handle-delete-directory)
7333 (tramp-handle-delete-file)
7334 (tramp-handle-dired-recursive-delete-directory)
7335 (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
7336 (tramp-handle-insert-directory)
7337 (tramp-handle-unhandled-file-name-directory)
7338 (tramp-handle-expand-file-name)
7339 (tramp-handle-substitute-in-file-name)
7340 (tramp-handle-executable-find, tramp-process-sentinel)
7341 (tramp-handle-start-file-process, tramp-handle-process-file)
7342 (tramp-handle-call-process-region, tramp-handle-shell-command)
7343 (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
7344 (tramp-handle-insert-file-contents)
7345 (tramp-handle-insert-file-contents-literally)
7346 (tramp-handle-find-backup-file-name)
7347 (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
7348 (tramp-vc-registered-file-names, tramp-handle-vc-registered)
7349 (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
7350 (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
7351 (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
7352 (tramp-find-file-exists-command, tramp-open-shell)
7353 (tramp-find-shell, tramp-barf-if-no-shell-prompt)
7354 (tramp-open-connection-setup-interactive-shell)
7355 (tramp-local-coding-commands, tramp-remote-coding-commands)
7356 (tramp-find-inline-encoding, tramp-call-local-coding-command)
7357 (tramp-inline-compress-commands, tramp-find-inline-compress)
7358 (tramp-compute-multi-hops, tramp-maybe-open-connection)
7359 (tramp-send-command, tramp-wait-for-output)
7360 (tramp-send-command-and-check, tramp-barf-unless-okay)
7361 (tramp-send-command-and-read, tramp-mode-string-to-int)
7362 (tramp-convert-file-attributes, tramp-check-cached-permissions)
7363 (tramp-file-mode-from-int, tramp-file-mode-permissions)
7364 (tramp-shell-case-fold, tramp-make-copy-program-file-name)
7365 (tramp-method-out-of-band-p, tramp-local-host-p)
7366 (tramp-get-remote-path, tramp-get-remote-tmpdir)
7367 (tramp-get-ls-command, tramp-get-ls-command-with-dired)
7368 (tramp-get-test-command, tramp-get-test-nt-command)
7369 (tramp-get-file-exists-command, tramp-get-remote-ln)
7370 (tramp-get-remote-perl, tramp-get-remote-stat)
7371 (tramp-get-remote-readlink, tramp-get-remote-trash)
7372 (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
7373 (tramp-get-local-uid, tramp-get-local-gid)
7374 (tramp-get-inline-compress, tramp-get-inline-coding): Move to
7375 tramp-sh.el.
7376 (tramp-methods, tramp-default-method-alist)
7377 (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
7378 Move initialization to tramp-sh.el.
7379 (tramp-temp-name-prefix): Make it a defconst.
7380 (tramp-dissect-file-name): Don't check anymore for multi-hop
7381 methods.
7382 (tramp-debug-outline-regexp): Add a docstring.
7383 (tramp-debug-outline-level): Rename from `tramp-outline-level'.
7384 (tramp-get-debug-buffer): Use it.
7385
7386 * net/tramp-cache.el (top): Set tramp-autoload cookie for
7387 initialization forms.
7388 (tramp-set-connection-property): Don't protect `tramp-message'
7389 call, it isn't necessary any longer.
7390 (tramp-dump-connection-properties): Use `ignore-errors'.
7391
7392 * net/tramp-compat.el (top): Require 'advice, 'format-spec,
7393 'password-cache and 'auth-source.
7394
7395 * net/tramp-gvfs.el (top):
7396 * net/tramp-smb.el (top): Require 'tramp-sh.
7397
7398 * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
7399
7400 * net/tramp-sh.el: New file, derived from tramp.el.
7401 (top): Initialize `tramp-methods', `tramp-default-method-alist',
7402 `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
7403 Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
7404 Use `ignore-errors' where appropriate.
7405 (tramp-sh-file-name-handler-alist): Rename from
7406 `tramp-file-name-handler-alist'.
7407 (tramp-send-command-and-check): Return t or nil. Remove all
7408 `zerop' checks, where called.
7409 (tramp-handle-set-file-modes)
7410 (tramp-do-copy-or-rename-file-directly)
7411 (tramp-handle-delete-directory, tramp-handle-delete-file)
7412 (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
7413 (tramp-sh-file-name-handler, tramp-send-command-and-check)
7414 (tramp-get-remote-ln): Set tramp-autoload cookie.
7415
7416 * net/tramp-fish.el: Remove file.
7417
7418 2010-09-13 Daiki Ueno <ueno@unixuser.org>
7419
7420 * epa-file.el (epa-file-insert-file-contents): If visiting, bind
7421 buffer-file-name to avoid file-locking. (Bug#7026)
7422
7423 2010-09-13 Julien Danjou <julien@danjou.info>
7424
7425 * notifications.el (notifications-notify): Add support for
7426 image-path and sound-name.
7427 (notifications-specification-version): Add this variable.
7428
7429 2010-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7430
7431 * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
7432
7433 2010-09-12 Leo <sdl.web@gmail.com>
7434
7435 * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
7436 (rcirc-completion-start): New variables.
7437 (rcirc-nick-completions): Rename to rcirc-completions.
7438 (rcirc-nick-completion-start-offset): Delete.
7439 (rcirc-completion-at-point): New function for constructing
7440 completion data for both nicks and irc commands. Add to
7441 completion-at-point-functions in rcirc mode.
7442 (rcirc-complete): Rename from rcirc-nick-complete; use
7443 rcirc-completion-at-point.
7444 (defun-rcirc-command): Update rcirc-client-commands.
7445
7446 2010-09-11 Glenn Morris <rgm@gnu.org>
7447
7448 * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
7449 atomically, to avoid parallel build errors. (Bug#4196)
7450
7451 2010-09-11 Michael R. Mauger <mmaug@yahoo.com>
7452
7453 * progmodes/sql.el: Version 2.6
7454 (sql-dialect): Synonym for "sql-product".
7455 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7456 (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
7457 Set "sql-buffer" to buffer name not buffer object so multiple sql
7458 interactive buffers work properly. Reverts misguided changes in
7459 earlier work.
7460 (sql-comint): Make sure different buffer name is used if "*SQL*"
7461 buffer is for a different product.
7462 (sql-make-alternate-buffer-name): Fix bug with "sql-database"
7463 login param.
7464 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7465 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7466 (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
7467 Accept new buffer name or prompt for one.
7468 (sql-port): Default to zero.
7469 (sql-comint-mysql): Handle "sql-port" as a numeric.
7470 (sql-port-history): Delete unused variable.
7471 (sql-get-login): Default "sql-port" to a number.
7472 (sql-product-alist): Correct Postgres prompt and terminator regexp.
7473 (sql-sqlite-program): Dynamically detect presence of "sqlite" or
7474 "sqlite3" executables.
7475 (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
7476 (sql-buffer-live-p): New function.
7477 (sql-mode-menu, sql-send-string): Use it.
7478 (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
7479 syntax pattern.
7480 (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
7481 (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
7482
7483 2010-09-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
7484
7485 * net/netrc.el (netrc-credentials): New convenience function.
7486
7487 2010-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7488
7489 * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
7490 to replace texinfo-font-lock-syntactic-keywords.
7491 (texinfo-mode): Use it.
7492
7493 * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
7494 Use syntax-propertize-function.
7495
7496 * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
7497 replace sgml-font-lock-syntactic-keywords.
7498 (sgml-mode): Use it.
7499
7500 * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
7501 since we don't use it.
7502
7503 * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
7504
7505 * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
7506 if available.
7507 (vhdl-fontify-buffer): Adjust.
7508
7509 * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
7510 replace tcl-font-lock-syntactic-keywords.
7511 (tcl-mode): Use it.
7512
7513 * progmodes/simula.el (simula-syntax-propertize-function): New var to
7514 replace simula-font-lock-syntactic-keywords.
7515 (simula-mode): Use it.
7516
7517 * progmodes/sh-script.el (sh-st-symbol): Remove.
7518 (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
7519 (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
7520 (sh-font-lock-quoted-subshell): Assume we've already matched $(.
7521 (sh-font-lock-paren): Set syntax-multiline.
7522 (sh-font-lock-syntactic-keywords): Remove.
7523 (sh-syntax-propertize-function): New function to replace it.
7524 (sh-mode): Use it.
7525
7526 * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
7527 Define while compiling.
7528 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7529 (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
7530 (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
7531 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7532 (ruby-here-doc-end-syntax): Only define when
7533 syntax-propertize is not available.
7534 (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
7535 New functions.
7536 (ruby-in-ppss-context-p): Update to new syntax of heredocs.
7537 (electric-indent-chars): Silence bytecompiler.
7538 (ruby-mode): Use prog-mode, syntax-propertize-function, and
7539 electric-indent-chars.
7540
7541 * progmodes/python.el (python-syntax-propertize-function): New var to
7542 replace python-font-lock-syntactic-keywords.
7543 (python-mode): Use it.
7544 (python-quote-syntax): Simplify and adjust to new use.
7545
7546 * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
7547 replace perl-font-lock-syntactic-keywords.
7548 (perl-syntax-propertize-special-constructs): New fun to replace
7549 perl-font-lock-special-syntactic-constructs.
7550 (perl-font-lock-syntactic-face-function): New fun.
7551 (perl-mode): Use it.
7552
7553 * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
7554 to replace octave-font-lock-close-quotes.
7555 (octave-syntax-propertize-function): New function to replace
7556 octave-font-lock-syntactic-keywords.
7557 (octave-mode): Use it.
7558
7559 * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
7560 replaces mixal-font-lock-syntactic-keywords.
7561 (mixal-mode): Use it.
7562
7563 * progmodes/make-mode.el (makefile-syntax-propertize-function):
7564 New var; replaces makefile-font-lock-syntactic-keywords.
7565 (makefile-mode): Use it.
7566 (makefile-imake-mode): Adjust.
7567
7568 * progmodes/js.el (js--regexp-literal): Define while compiling.
7569 (js-syntax-propertize-function): New var; replaces
7570 js-font-lock-syntactic-keywords.
7571 (js-mode): Use it.
7572
7573 * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
7574 replaces gdb-script-font-lock-syntactic-keywords.
7575 (gdb-script-mode): Use it.
7576
7577 * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
7578 (fortran--font-lock-syntactic-keywords): New var.
7579 (fortran-line-length): Update syntax-propertize-function and
7580 fortran--font-lock-syntactic-keywords.
7581
7582 * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
7583
7584 * progmodes/cfengine.el (cfengine-mode):
7585 Use syntax-propertize-function.
7586 (cfengine-font-lock-syntactic-keywords): Remove.
7587
7588 * progmodes/autoconf.el (autoconf-mode):
7589 Use syntax-propertize-function.
7590 (autoconf-font-lock-syntactic-keywords): Remove.
7591
7592 * progmodes/ada-mode.el (ada-set-syntax-table-properties)
7593 (ada-after-change-function, ada-initialize-syntax-table-properties)
7594 (ada-handle-syntax-table-properties): Only define when
7595 syntax-propertize is not available.
7596 (ada-mode): Use syntax-propertize-function.
7597
7598 * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
7599 (font-lock-fontify-syntactic-keywords-region): Move handling of
7600 font-lock-syntactically-fontified to...
7601 (font-lock-default-fontify-region): ...here.
7602 Let syntax-propertize-function take precedence.
7603 (font-lock-fontify-syntactically-region): Cal syntax-propertize.
7604
7605 * emacs-lisp/syntax.el (syntax-propertize-function)
7606 (syntax-propertize-chunk-size, syntax-propertize--done)
7607 (syntax-propertize-extend-region-functions): New vars.
7608 (syntax-propertize-wholelines, syntax-propertize-multiline)
7609 (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
7610 (syntax-propertize): New functions.
7611 (syntax-propertize-rules): New macro.
7612 (syntax-ppss-flush-cache): Set syntax-propertize--done.
7613 (syntax-ppss): Call syntax-propertize.
7614
7615 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
7616
7617 2010-09-10 Agustín Martín <agustin.martin@hispalinux.es>
7618
7619 * textmodes/ispell.el (ispell-init-process): Improve comments.
7620 XEmacs compatibility changes regarding (add-hook) 'local option
7621 and (set-process-query-on-exit-flag).
7622
7623 2010-09-09 Michael Albinus <michael.albinus@gmx.de>
7624
7625 * net/tramp-cache.el (tramp-parse-connection-properties):
7626 Set tramp-autoload cookie.
7627
7628 2010-09-09 Glenn Morris <rgm@gnu.org>
7629
7630 * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
7631 (imagemagick-register-types): Doc fix.
7632
7633 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
7636
7637 * progmodes/js.el (require): Require is already "eval-and-compile".
7638 (js--re-search-forward): Avoid `eval'. Preserve the error data.
7639 (js--re-search-backward): Use js--re-search-forward.
7640
7641 * progmodes/fortran.el (fortran-line-length): Don't recompute
7642 syntactic keywords redundantly a second time.
7643
7644 * progmodes/ada-mode.el: Replace "(set '" with setq.
7645 (ada-mode): Simplify.
7646 (ada-create-case-exception, ada-adjust-case-interactive)
7647 (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
7648 (ada-search-ignore-string-comment, ada-move-to-start)
7649 (ada-move-to-end): Use with-syntax-table.
7650
7651 * font-lock.el (save-buffer-state): Remove `varlist' arg.
7652 (font-lock-unfontify-region, font-lock-default-fontify-region):
7653 Update usage correspondingly.
7654 (font-lock-fontify-syntactic-keywords-region):
7655 Set parse-sexp-lookup-properties buffer-locally here.
7656 (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
7657
7658 * simple.el (blink-matching-open): Don't burp if we can't find a match.
7659
7660 2010-09-08 Glenn Morris <rgm@gnu.org>
7661
7662 * emacs-lisp/bytecomp.el (byte-compile-report-ops):
7663 Error if not compiled with -DBYTE_CODE_METER.
7664
7665 * emacs-lisp/bytecomp.el (byte-recompile-directory):
7666 Ignore dir-locals-file.
7667
7668 2010-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7669
7670 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7671 Not a const.
7672 (compilation-error-regexp-alist-alist): Rule out ": " in file names
7673 for the `gnu' messages.
7674 (compilation-set-skip-threshold): New command.
7675 (compilation-start): Use \' rather than $.
7676 (compilation-forget-errors): Use clrhash.
7677
7678 2010-09-08 Agustín Martín <agustin.martin@hispalinux.es>
7679
7680 * textmodes/ispell.el (ispell-valid-dictionary-list):
7681 Simplify logic.
7682
7683 2010-09-08 Michael Albinus <michael.albinus@gmx.de>
7684
7685 Migrate to Tramp 2.2. Rearrange load dependencies.
7686 (Bug#1529, Bug#5448, Bug#5705)
7687
7688 * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
7689 ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
7690 (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
7691
7692 * net/tramp.el (top): Remove all other tramp-* loads except
7693 tramp-compat.el. Remove all changes to tramp-unload-hook for
7694 other tramp-* packages. Rearrange defun order. Change calls of
7695 `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
7696 `tramp-compat-octal-to-decimal' to new function names.
7697 (tramp-terminal-type, tramp-initial-end-of-output)
7698 (tramp-methods, tramp-foreign-file-name-handler-alist)
7699 (tramp-tramp-file-p, tramp-completion-mode-p)
7700 (tramp-send-command-and-check, tramp-get-remote-path)
7701 (tramp-get-remote-tmpdir, tramp-get-remote-ln)
7702 (tramp-shell-quote-argument): Set tramp-autoload cookie.
7703 (with-file-property, with-connection-property): Move to
7704 tramp-cache.el.
7705 (tramp-local-call-process, tramp-decimal-to-octal)
7706 (tramp-octal-to-decimal): Move to tramp-compat.el.
7707 (tramp-handle-shell-command): Do not require 'shell.
7708 (tramp-compute-multi-hops): No special handling for tramp-gw-*
7709 symbols.
7710 (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
7711
7712 * net/tramp-cache.el (top): Require 'tramp. Add to
7713 `tramp-unload-hook'.
7714 (tramp-cache-data, tramp-get-file-property)
7715 (tramp-set-file-property, tramp-flush-file-property)
7716 (tramp-flush-directory-property, tramp-get-connection-property)
7717 (tramp-set-connection-property, tramp-flush-connection-property)
7718 (tramp-cache-print, tramp-list-connections): Set tramp-autoload
7719 cookie.
7720 (with-file-property, with-connection-property): New defuns, moved
7721 from tramp.el.
7722 (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
7723 macro.
7724
7725 * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
7726 (tramp-version): Set tramp-autoload cookie.
7727
7728 * net/tramp-compat.el (top): Require 'tramp-loaddefs. Remove all
7729 changes to tramp-unload-hook for other tramp-* packages. Add to
7730 `tramp-unload-hook'.
7731 (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
7732 (tramp-compat-call-process): New defuns, moved from tramp.el.
7733
7734 * net/tramp-fish.el (top) Require just 'tramp. Add objects to
7735 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7736 Add to `tramp-unload-hook'. Change call of
7737 `tramp-compat-decimal-to-octal' to new function name.
7738 (tramp-fish-method): Make it a defconst.
7739 (tramp-fish-file-name-p): Make it a defsubst.
7740 (tramp-fish-method, tramp-fish-file-name-handler)
7741 (tramp-fish-file-name-p): Set tramp-autoload cookie.
7742
7743 * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
7744 `tramp-foreign-file-name-handler-alist'. Add to
7745 `tramp-unload-hook'.
7746 (tramp-ftp-method): Make it a defconst.
7747 (tramp-ftp-file-name-p): Make it a defsubst.
7748 (tramp-ftp-method, tramp-ftp-file-name-handler)
7749 (tramp-ftp-file-name-p): Set tramp-autoload cookie.
7750
7751 * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
7752 `tramp-foreign-file-name-handler-alist'. Add to
7753 `tramp-unload-hook'. Change checks, whether package can be
7754 loaded.
7755 (tramp-gvfs-file-name-p): Make it a defsubst.
7756 (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
7757 (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
7758 (tramp-gvfs-handle-file-directory-p): New defun.
7759 (tramp-gvfs-file-name-handler-alist): Use it.
7760
7761 * net/tramp-gw.el (top) Add objects to `tramp-methods' and
7762 `tramp-foreign-file-name-handler-alist'. Add to
7763 `tramp-unload-hook'.
7764 (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
7765 (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
7766 defconst.
7767 (tramp-gw-tunnel-method, tramp-gw-socks-method)
7768 (tramp-gw-open-connection): Set tramp-autoload cookie.
7769
7770 * net/tramp-imap.el (top) Require just 'tramp. Add objects to
7771 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7772 Add to `tramp-unload-hook'. Change checks, whether package can be
7773 loaded.
7774 (tramp-imap-file-name-p): Make it a defsubst.
7775 (tramp-imap-method, tramp-imaps-method)
7776 (tramp-imap-file-name-handler)
7777 (tramp-imap-file-name-p): Set tramp-autoload cookie.
7778
7779 * net/tramp-smb.el (top) Require just 'tramp. Add objects to
7780 `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
7781 Add to `tramp-unload-hook'. Change checks, whether package can be
7782 loaded. Change call of `tramp-compat-decimal-to-octal' to new
7783 function name.
7784 (tramp-smb-tunnel-method): Make it a defconst.
7785 (tramp-smb-file-name-p): Make it a defsubst.
7786 (tramp-smb-method, tramp-smb-file-name-handler)
7787 (tramp-smb-file-name-p): Set tramp-autoload cookie.
7788
7789 * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
7790 (tramp-uuencode-region): Set tramp-autoload cookie.
7791
7792 * net/trampver.el (top) Add to `tramp-unload-hook'.
7793 (tramp-version, tramp-bug-report-address): Set tramp-autoload
7794 cookie. Update release number.
7795
7796 2010-09-07 Agustín Martín <agustin.martin@hispalinux.es>
7797
7798 * textmodes/ispell.el (ispell-start-process): Make sure original
7799 arg list is properly initialized (Bug#6993, Bug#6994).
7800
7801 2010-09-06 Alexander Klimov <alserkli@inbox.ru> (tiny change)
7802
7803 * files.el (directory-abbrev-alist): Use \` as default regexp.
7804
7805 * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
7806 chars like - or ] (bug#6984).
7807 (rx-any-condense-range): Explode 2-char ranges.
7808
7809 2010-09-06 Glenn Morris <rgm@gnu.org>
7810
7811 * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
7812
7813 2010-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * textmodes/bibtex.el:
7816 * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
7817
7818 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7819
7820 * net/imap.el (imap-message-map): Remove optional buffer parameter,
7821 since no callers use it.
7822 (imap-message-get): Ditto.
7823 (imap-message-put): Ditto.
7824 (imap-mailbox-map): Ditto.
7825 (imap-mailbox-put): Ditto.
7826 (imap-mailbox-get): Ditto.
7827 (imap-mailbox-get): Revert last change for this function.
7828
7829 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7830
7831 * net/imap.el (imap-fetch-safe): Remove function, and alter all
7832 callers to use `imap-fetch' instead. According to the comments, this
7833 should be safe, since all other IMAP clients use the 1:* syntax.
7834 (imap-enable-exchange-bug-workaround): Remove.
7835 (imap-debug): Remove -- doesn't seem very useful.
7836
7837 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
7838
7839 * net/imap.el (imap-log): New convenience function used throughout
7840 instead of repeating the same code all over the place.
7841
7842 2010-09-05 David De La Harpe Golden <david@harpegolden.net>
7843
7844 * mouse.el (mouse-save-then-kill): Save region to kill-ring
7845 when mouse-drag-copy-region is non-nil (Bug#6956).
7846
7847 2010-09-05 Chong Yidong <cyd@stupidchicken.com>
7848
7849 * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
7850 Improve regexps (Bug#6987).
7851 (dired-sort-toggle): Search more robustly for -t flag.
7852
7853 * files.el (get-free-disk-space): Search more robustly for
7854 "available" column. Suggested by Ehud Karni
7855 <ehud@unix.mvs.co.il>.
7856
7857 2010-09-05 Juanma Barranquero <lekktu@gmail.com>
7858
7859 * international/uni-bidi.el:
7860 * international/uni-category.el:
7861 * international/uni-combining.el:
7862 * international/uni-decimal.el:
7863 * international/uni-mirrored.el:
7864 * international/uni-name.el: Regenerate.
7865
7866 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * electric.el (electric-indent-post-self-insert-function):
7869 Don't reindent with a sloppy indentation function.
7870
7871 * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
7872 border case in change-log-mode.
7873
7874 2010-09-04 Chong Yidong <cyd@stupidchicken.com>
7875
7876 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7877 Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
7878 Recognize leading tab in gcc-include regexp. Ignore names with
7879 leading "from" or "in" in gnu regexp (Bug#6937).
7880
7881 2010-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7882
7883 Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
7884 * textmodes/ispell.el (ispell-process-buffer-name): Remove.
7885 (ispell-start-process): Avoid setq and simplify logic.
7886 (ispell-init-process): Setup kill-buffer-hook locally when needed.
7887 (kill-buffer-hook): Don't use it globally with code that uses
7888 expand-file-name since that may call kill-buffer via
7889 code_conversion_restore.
7890
7891 2010-09-04 Noorul Islam K M <noorul@noorul.com> (tiny change)
7892
7893 * emacs-lisp/package.el (package-directory-list): Only call
7894 file-name-nondirectory on a string.
7895
7896 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7897
7898 * emacs-lisp/package.el (package--download-one-archive):
7899 Ensure that archive-contents is valid before saving it.
7900 (package-activate-1, package-mark-obsolete, define-package)
7901 (package-compute-transaction, package-list-maybe-add): Use push.
7902
7903 2010-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
7904
7905 Use SMIE's blink-paren for octave-mode.
7906 * progmodes/octave-mod.el (octave-font-lock-close-quotes):
7907 Backslashes do not escape single-quotes, single-quotes do.
7908 (octave-block-else-regexp, octave-block-end-regexp)
7909 (octave-block-match-alist): Remove.
7910 (octave-smie-bnf-table): New var, with old content.
7911 (octave-smie-op-levels): Use it.
7912 (octave-smie-closer-alist): New var.
7913 (octave-mode): Use it. Setup smie-blink-matching and electric-indent.
7914 (octave-blink-matching-block-open): Remove.
7915 (octave-reindent-then-newline-and-indent, octave-electric-semi)
7916 (octave-electric-space): Let self-insert-command run expand-abbrev and
7917 blink parens.
7918
7919 * electric.el (electricity): New group.
7920 (electric-indent-chars): New var.
7921 (electric-indent-post-self-insert-function): New fun.
7922 (electric-indent-mode): New minor mode.
7923 (electric-pair-skip-self): New custom.
7924 (electric-pair-post-self-insert-function): New function.
7925 (electric-pair-mode): New minor mode.
7926
7927 * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
7928 calcAlg-blink-matching-open.
7929 (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
7930 (calc-do-alg-entry): Only touch the part of the keymap that varies.
7931 Use the new blink-matching-check-function.
7932
7933 Provide blink-matching support to SMIE.
7934 * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
7935 (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
7936 (smie-blink-matching-check, smie-blink-matching-open): New functions.
7937
7938 * simple.el (newline): Fix last change to properly remove itself from
7939 the hook.
7940
7941 2010-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7942
7943 * simple.el (newline): Eliminate optimization.
7944 Use post-self-insert-hook to set hard-newline and things before
7945 running post-self-insert-hook.
7946 (blink-matching-check-mismatch): New function.
7947 (blink-matching-check-function): New variable.
7948 (blink-matching-open): Use them.
7949 Skip back forward over prefix chars skipped by forward-sexp.
7950 Don't check if the parens are backslash escaped.
7951 (blink-paren-post-self-insert-function): Check backslash escaping here.
7952
7953 2010-09-02 Chong Yidong <cyd@stupidchicken.com>
7954
7955 * emacs-lisp/package.el (package-menu-mode-map):
7956 Change package-menu-revert bindings to revert-buffer.
7957 (package-menu-mode): Set revert-buffer-function.
7958 (package-menu-revert): Doc fix.
7959
7960 2010-09-02 Agustín Martín <agustin.martin@hispalinux.es>
7961
7962 * textmodes/ispell.el (ispell-init-process): Use "~/" as
7963 `default-directory' unless using Ispell per-directory personal
7964 dictionaries and not in a mini-buffer under XEmacs.
7965 (kill-buffer-hook): Do not kill ispell process on exit when
7966 `ispell-process-directory' is "~/". (Bug#6143)
7967
7968 2010-09-02 Jan Djärv <jan.h.d@swipnet.se>
7969
7970 * simple.el (kill-new): Call interprogram-cut-function with only
7971 one argument.
7972
7973 * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
7974 Remove cut buffer from error message.
7975
7976 * term/x-win.el (x-select-text):
7977 * term/pc-win.el (x-selection-value):
7978 * term/ns-win.el (x-selection-value):
7979 * eshell/em-term.el:
7980 * w32-fns.el (x-get-selection-value):
7981 * mouse-sel.el (mouse-sel-set-selection-function):
7982 * frame.el (display-selections-p): Remove cut-buffer in documentation.
7983
7984 * term/x-win.el: Update documentation for x-last-selected-text-*.
7985 (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
7986 (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
7987 (x-select-text): Remove argument PUSH, update documentation.
7988 Remove cut-buffer code.
7989 (x-selection-value-internal): Was previously x-selection-value.
7990 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
7991 Update documentation, remove cut-buffer code.
7992 Call x-selection-value-internal.
7993 (x-clipboard-yank): Call x-selection-value-internal.
7994 (x-initialize-window-system): Remove setting of x-cut-buffer-max.
7995
7996 * term/pc-win.el (x-last-selected-text):
7997 x-cut-buffer-or-selection-value renamed to x-selection-value
7998 (x-select-text): Remove argument PUSH, update documentation.
7999
8000 * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
8001 x-cut-buffer-or-selection-value renamed to x-selection-value
8002 (x-selection-value): Rename from x-cut-buffer-or-selection-value.
8003 (x-select-text): Remove argument PUSH, update documentation.
8004
8005 * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
8006
8007 * w32-fns.el (x-last-selected-text):
8008 x-cut-buffer-or-selection-value renamed to x-selection-value.
8009 (x-cut-buffer-max): Remove.
8010 (x-select-text): Remove argument PUSH, update documentation.
8011
8012 * simple.el (interprogram-cut-function): Remove mention of PUSH.
8013
8014 * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
8015
8016 * mouse-sel.el (mouse-sel-get-selection-function):
8017 x-cut-buffer-or-selection-value renamed to x-selection-value.
8018 (x-select-text): Remove optional push.
8019
8020 2010-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8021
8022 * simple.el (blink-paren-function): Move from C to here.
8023 (blink-paren-post-self-insert-function): New function.
8024 (post-self-insert-hook): Use it.
8025
8026 * emacs-lisp/pcase.el (pcase-split-memq):
8027 Fix overenthusiastic optimisation.
8028 (pcase-u1): Handle the case of a lambda pred.
8029
8030 2010-08-31 Kenichi Handa <handa@m17n.org>
8031
8032 * international/mule-cmds.el (standard-display-european-internal):
8033 Setup standard-display-table for 8-bit characters by storing 8-bit
8034 characters in the element vector.
8035
8036 * disp-table.el (standard-display-8bit):
8037 Setup standard-display-table for 8-bit characters by storing 8-bit
8038 characters in the element vector.
8039 (standard-display-european): Likewise.
8040
8041 2010-08-31 Masatake YAMATO <yamato@redhat.com>
8042
8043 * textmodes/nroff-mode.el (nroff-view): New command.
8044 (nroff-mode-map): Bind it to C-c C-c.
8045
8046 2010-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
8047
8048 * emacs-lisp/smie.el (smie-down-list): New command.
8049
8050 Remove old indentation and navigation code on octave-mode.
8051 * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
8052 smie-down-list rather than add a binding for octave-down-block.
8053 (octave-mark-block, octave-blink-matching-block-open):
8054 Rely on forward-sexp-function.
8055 (octave-fill-paragraph): Don't narrow, so you can use
8056 indent-according-to-mode.
8057 (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
8058 (octave-in-block-p, octave-re-search-forward-kw)
8059 (octave-re-search-backward-kw, octave-indent-calculate)
8060 (octave-end-as-array-index-p, octave-block-end-offset)
8061 (octave-scan-blocks, octave-forward-block, octave-backward-block)
8062 (octave-down-block, octave-backward-up-block, octave-up-block)
8063 (octave-before-magic-comment-p, octave-indent-line): Remove.
8064
8065 2010-08-31 Chong Yidong <cyd@stupidchicken.com>
8066
8067 * emacs-lisp/package.el (package--read-archive-file): Just use
8068 `read', to avoid copying an additional string.
8069 (package-menu-mode): Set header-line-format here.
8070 (package-menu-refresh, package-menu-revert): Signal an error if
8071 not in the Package Menu.
8072 (package-menu-package-list): New var.
8073 (package--generate-package-list): Operate on the current buffer;
8074 don't assume that it is *Packages*, since the user may rename it.
8075 Allow persistent package listings and sort keys using
8076 package-menu-package-list and package-menu-package-sort-key.
8077 (package-menu--version-predicate): Fix version calculation.
8078 (package-menu-sort-by-column): Don't select the window.
8079 (package--list-packages): Create the *Packages* buffer.
8080 Set package-menu-package-list-key.
8081 (list-packages): Sorting by status is now the default.
8082 (package-buffer-info): Use match-string-no-properties.
8083 (define-package): Add a &rest argument for future proofing, but
8084 don't use it yet.
8085 (package-install-from-buffer, package-install-buffer-internal):
8086 Merge into a single function, package-install-from-buffer.
8087 (package-install-file): Change caller.
8088
8089 * finder.el: Load finder-inf using `require'.
8090 (finder-list-matches): Sorting by status is now the default.
8091 (finder-compile-keywords): Simpify printing.
8092
8093 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8094
8095 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8096 (octave-mode-map): Remove special bindings for forward/backward-block
8097 and octave-backward-up-block. Use smie-close-block.
8098 (octave-continuation-marker-regexp): New var.
8099 (octave-continuation-regexp): Use it.
8100 (octave-operator-table, octave-smie-op-levels)
8101 (octave-operator-regexp, octave-smie-indent-rules): New vars.
8102 (octave-smie-backward-token, octave-smie-forward-token): New funs.
8103 (octave-mode): Use SMIE.
8104 (octave-close-block): Delete.
8105
8106 2010-08-30 Eli Zaretskii <eliz@gnu.org>
8107
8108 * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
8109 CLIPBOARD, not in PRIMARY. (Bug#6944)
8110
8111 2010-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8112
8113 * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
8114 a list of parents.
8115 (smie-indent-column): Allow indirection through variables.
8116
8117 * composite.el (save-buffer-state): Delete, unused.
8118 * font-lock.el (save-buffer-state): Use with-silent-modifications.
8119 (font-lock-default-fontify-region): Use with-syntax-table.
8120 * jit-lock.el (with-buffer-unmodified): Remove.
8121 (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
8122
8123 Use `declare' in defmacros.
8124 * window.el (save-selected-window):
8125 * subr.el (with-temp-file, with-temp-message, with-syntax-table):
8126 * progmodes/python.el (def-python-skeleton):
8127 * net/dbus.el (dbus-ignore-errors):
8128 * jka-cmpr-hook.el (with-auto-compression-mode):
8129 * international/mule.el (with-category-table):
8130 * emacs-lisp/timer.el (with-timeout):
8131 * emacs-lisp/lisp-mnt.el (lm-with-file):
8132 * emacs-lisp/eieio.el (with-slots):
8133 * emacs-lisp/easymenu.el (easy-menu-define):
8134 * emacs-lisp/debug.el (debugger-env-macro):
8135 * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
8136 (Multiple-value-call, Multiple-value-prog1):
8137 * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
8138 (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
8139 edebug rule to definition.
8140 * emacs-lisp/lisp-mode.el (save-selected-window)
8141 (with-current-buffer, combine-after-change-calls)
8142 (with-output-to-string, with-temp-file, with-temp-buffer)
8143 (with-temp-message, with-syntax-table, read-if, eval-after-load)
8144 (dolist, dotimes, when, unless):
8145 * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
8146
8147 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8148
8149 * finder.el: Require `package'.
8150 (finder-known-keywords): Tweak descriptions. Retire `oop' keyword.
8151 (finder-package-info): Var deleted.
8152 (finder-keywords-hash, finder--builtins-alist): New vars.
8153 (finder-compile-keywords): Compute package--builtins and
8154 finder-keywords-hash instead of finder-keywords-hash, respecting
8155 the "Package" header.
8156 (finder-unknown-keywords, finder-list-matches):
8157 Use finder-keywords-hash and package--list-packages.
8158 (finder-mode): Don't set font-lock-defaults.
8159 (finder-exit): We don't use "*Finder-package*" and "*Finder
8160 Category*" buffers anymore.
8161
8162 * emacs-lisp/package.el (package--builtins-base): Var deleted.
8163 (package--builtins): Set default value to nil.
8164 (package-initialize): Load precomputed value of package--builtins
8165 from finder-inf.el.
8166 (package-alist, package-compute-transaction)
8167 (package-download-transaction): Improve docstring.
8168 (package-read-all-archive-contents): Do not change
8169 package--builtins here.
8170 (list-packages): Make package-list-packages an alias for this.
8171 Sort by status by default.
8172 (package--list-packages): Add optional PACKAGES arg.
8173 (describe-package-1): Use font-lock-face property. For built-in
8174 packages, insert file commentary.
8175 (package--generate-package-list): Rename from
8176 package-list-packages-internal; all callers changed. Add optional
8177 PACKAGES arg. Add alphabetical sort fallbacks.
8178 (package-menu--version-predicate, package-menu--status-predicate)
8179 (package-menu--description-predicate)
8180 (package-menu--name-predicate): New functions.
8181
8182 * info.el (Info-finder-find-node): Search package-alist instead of
8183 finder-package-info.
8184
8185 2010-08-29 Chong Yidong <cyd@stupidchicken.com>
8186
8187 * subr.el (version-regexp-alist): Don't use "a" and "b" for
8188 "alpha" and "beta".
8189 (version-to-list): Handle versions like "10.3d".
8190
8191 2010-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8192
8193 * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
8194 (macroexp-accumulate): Use `declare'.
8195
8196 2010-08-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8197
8198 * whitespace.el (whitespace-style): Adjust type declaration.
8199
8200 2010-08-26 Łukasz Stelmach <lukasz.stelmach@iem.pw.edu.pl> (tiny change)
8201
8202 * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
8203
8204 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8205
8206 * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
8207 (Bug#6907).
8208
8209 2010-08-26 Nathan Weizenbaum <nweiz@cressida.sea.corp.google.com> (tiny change)
8210
8211 * progmodes/js.el: Make indentation more customizable (Bug#6914).
8212 (js-paren-indent-offset, js-square-indent-offset)
8213 (js-curly-indent-offset): New options.
8214 (js--proper-indentation): Use them.
8215
8216 2010-08-26 Daniel Colascione <dan.colascione@gmail.com>
8217
8218 * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
8219 instead of inspecting font-lock properties (Bug#6916).
8220
8221 2010-08-26 David Reitter <david.reitter@gmail.com>
8222
8223 * server.el (server-visit-files): Run pre-command-hook and
8224 post-command-hook for each buffer while it is current (Bug#6910).
8225 (server-execute): Do not run hooks here.
8226
8227 2010-08-26 Michael Albinus <michael.albinus@gmx.de>
8228
8229 Sync with Tramp 2.1.19.
8230
8231 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Protect
8232 deleting tmpfile.
8233 (tramp-gvfs-maybe-open-connection): Use `tramp-compat-funcall'.
8234
8235 * net/tramp.el (tramp-handle-expand-file-name)
8236 (tramp-completion-handle-file-name-all-completions)
8237 (tramp-completion-handle-file-name-completion):
8238 Use `tramp-connectable-p'.
8239
8240 * net/trampver.el: Update release number.
8241
8242 2010-08-26 Chong Yidong <cyd@stupidchicken.com>
8243
8244 * help.el (help-map): Bind `C-h P' to describe-package.
8245
8246 * menu-bar.el (menu-bar-describe-menu): Add describe-package.
8247
8248 * emacs-lisp/package.el (package-refresh-contents): Catch errors
8249 when downloading archives.
8250 (describe-package-1): Add package commentary.
8251 (package-install-button-action): New function.
8252 (package-menu-mode-map): Bind ? to package-menu-describe-package.
8253 (package-menu-view-commentary): Function removed.
8254 (package-list-packages-internal): Hide the `package' package too.
8255
8256 2010-08-25 Kenichi Handa <handa@m17n.org>
8257
8258 * language/misc-lang.el ("Arabic"): New language environment.
8259 Setup composition-function-table for Arabic characters.
8260
8261 * international/fontset.el (setup-default-fontset): Fix typo for
8262 arabic OTF spec (fini->fina).
8263
8264 2010-08-25 Jan Djärv <jan.h.d@swipnet.se>
8265
8266 * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
8267 on all frames.
8268
8269 2010-08-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8270
8271 * whitespace.el: Allow cleaning up blanks without blank
8272 visualization (Bug#6651). Adjust help window for
8273 whitespace-toggle-options (Bug#6479). Allow to use fill-column
8274 instead of whitespace-line-column (from EmacsWiki). New version
8275 13.1.
8276 (whitespace-style): Add new value 'face. Adjust docstring.
8277 (whitespace-space, whitespace-hspace, whitespace-tab):
8278 Adjust foreground property face.
8279 (whitespace-line-column): Adjust docstring and type declaration.
8280 (whitespace-style-value-list, whitespace-toggle-option-alist)
8281 (whitespace-help-text): Adjust const initialization.
8282 (whitespace-toggle-options, global-whitespace-toggle-options):
8283 Adjust docstring.
8284 (whitespace-display-window, whitespace-interactive-char)
8285 (whitespace-style-face-p, whitespace-color-on): Adjust code.
8286 (whitespace-help-scroll): New fun.
8287
8288 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8289
8290 * emacs-lisp/package.el (list-packages): Alias for
8291 package-list-packages.
8292
8293 2010-08-24 Kevin Ryde <user42@zip.com.au>
8294
8295 * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
8296 (Bug#5651).
8297
8298 * progmodes/ruby-mode.el (ruby): Add defgroup.
8299
8300 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8301
8302 * progmodes/python.el: Add Ipython support (Bug#5390).
8303 (python-shell-prompt-alist)
8304 (python-shell-continuation-prompt-alist): New options.
8305 (python--set-prompt-regexp): New function.
8306 (inferior-python-mode, run-python, python-shell):
8307 Require ansi-color. Use python--set-prompt-regexp to set the comint
8308 prompt based on the Python interpreter.
8309 (python--prompt-regexp): New var.
8310 (python-check-comint-prompt)
8311 (python-comint-output-filter-function): Use it.
8312 (run-python): Use a pipe (Bug#5694).
8313
8314 2010-08-24 Fabian Ezequiel Gallina <galli.87@gmail.com> (tiny change)
8315
8316 * progmodes/python.el (python-send-region): Send a different
8317 Python command if Ipython is in use.
8318 (python-check-version): Use a Python command to find the version.
8319
8320 2010-08-24 Chong Yidong <cyd@stupidchicken.com>
8321
8322 * mouse.el (mouse-yank-primary): Avoid setting primary when
8323 deactivating the mark (Bug#6872).
8324
8325 2010-08-23 Chris Foote <chris@foote.com.au> (tiny change)
8326
8327 * progmodes/python.el (python-block-pairs): Allow use of "finally"
8328 with "else" (Bug#3991).
8329
8330 2010-08-23 Michael Albinus <michael.albinus@gmx.de>
8331
8332 * net/dbus.el: Accept UNIX domain sockets as bus address.
8333 (top): Don't initialize `dbus-registered-objects-table' anymore,
8334 this is done in dbusbind.c.
8335 (dbus-check-event): Adapt test for bus.
8336 (dbus-return-values-table, dbus-unregister-service)
8337 (dbus-event-bus-name, dbus-introspect, dbus-register-property):
8338 Adapt doc string.
8339
8340 2010-08-23 Juanma Barranquero <lekktu@gmail.com>
8341
8342 * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
8343
8344 2010-08-22 Juri Linkov <juri@jurta.org>
8345
8346 * simple.el (read-extended-command): New function with the logic
8347 for `completing-read' moved to Elisp from `execute-extended-command'.
8348 Use `function-called-at-point' in `minibuffer-default-add-function'
8349 to get a command name for M-n (bug#5364, bug#5214).
8350
8351 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8352
8353 * startup.el (command-line-1): Issue warning for ignored arguments
8354 --unibyte, etc (Bug#6886).
8355
8356 2010-08-22 Leo <sdl.web@gmail.com>
8357
8358 * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
8359 (ignore, bright, dim, keyword): Split list of nicknames before
8360 passing to rcirc-add-or-remove (Bug#6894).
8361
8362 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8363
8364 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
8365
8366 2010-08-22 Leo <sdl.web@gmail.com>
8367
8368 Fix buffer-list rename&refresh after killing a buffer in ido.
8369 * ido.el: Revert Óscar's.
8370 (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
8371 Remember the buffers at head, rather than their name.
8372 * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
8373
8374 2010-08-22 Kirk Kelsey <kirk.kelsey@0x4b.net> (tiny change)
8375 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
8378 extra backslash added to each line (bug#6890).
8379
8380 2010-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * subr.el (read-key): Don't echo keystrokes (bug#6883).
8383
8384 2010-08-22 Glenn Morris <rgm@gnu.org>
8385
8386 * menu-bar.el (menu-bar-games-menu): Add landmark.
8387
8388 2010-08-22 Glenn Morris <rgm@gnu.org>
8389
8390 * align.el (align-regexp): Make group and spacing arguments
8391 use the interactive defaults when non-interactive. (Bug#6698)
8392
8393 * mail/rmail.el (rmail-forward): Replace mail-text-start with its
8394 expansion, so as not to need sendmail.
8395 (mail-text-start): Remove declaration.
8396 (rmail-retry-failure): Require sendmail.
8397
8398 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8399
8400 * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
8401
8402 2010-08-22 Michael Albinus <michael.albinus@gmx.de>
8403
8404 * progmodes/flymake.el (flymake-start-syntax-check-process):
8405 Use `start-file-process' in order to let it run also on remote hosts.
8406
8407 2010-08-22 Kenichi Handa <handa@m17n.org>
8408
8409 * files.el: Add `word-wrap' as safe local variable.
8410
8411 2010-08-22 Glenn Morris <rgm@gnu.org>
8412
8413 * woman.el (woman-translate): Case matters. (Bug#6849)
8414
8415 2010-08-22 Chong Yidong <cyd@stupidchicken.com>
8416
8417 * simple.el (kill-region): Doc fix (Bug#6787).
8418
8419 2010-08-22 Glenn Morris <rgm@gnu.org>
8420
8421 * calendar/diary-lib.el (diary-header-line-format):
8422 Fit it to the window, not the frame.
8423
8424 2010-08-22 Andreas Schwab <schwab@linux-m68k.org>
8425
8426 * subr.el (ignore-errors): Add debug declaration.
8427
8428 2010-08-22 Geoff Gole <geoffgole@gmail.com> (tiny change)
8429
8430 * whitespace.el (whitespace-color-off): Remove post-command-hook
8431 locally.
8432
8433 2010-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8434
8435 * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
8436
8437 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8438
8439 * cus-edit.el (custom-group-value-create): Add extra newline
8440 before end line (Bug#6876).
8441
8442 2010-08-21 Chong Yidong <cyd@stupidchicken.com>
8443
8444 * mouse.el (mouse-save-then-kill): Don't save region to kill ring
8445 when extending it. Before killing on the second click, check if
8446 the buffer is the correct one. Doc fix.
8447 (mouse-secondary-save-then-kill): Allow usage without first
8448 calling mouse-start-secondary, by defaulting to point. Don't save
8449 an empty secondary selection. Doc fix.
8450
8451 2010-08-21 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8452
8453 * whitespace.el: Fix slow cursor movement (Bug#6172). Reported by
8454 Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
8455 New version 13.0.
8456 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8457 Adjust initialization.
8458 (whitespace-bob-marker, whitespace-eob-marker)
8459 (whitespace-buffer-changed): New vars.
8460 (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
8461 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
8462 (whitespace-post-command-hook, whitespace-display-char-on):
8463 Adjust code.
8464 (whitespace-looking-back, whitespace-buffer-changed): New funs.
8465 (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
8466
8467 2010-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8468
8469 * files.el (locate-file-completion-table): Only list the .el and .elc
8470 extensions if there's no other choice (bug#5955).
8471
8472 * facemenu.el (facemenu-self-insert-data): New var.
8473 (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
8474 New functions.
8475 (facemenu-add-face): Use them.
8476
8477 * simple.el (blink-matching-open): Obey forward-sexp-function.
8478
8479 2010-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * simple.el (prog-mode-map): New var.
8482 (prog-indent-sexp): New command.
8483
8484 * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
8485
8486 * progmodes/prolog.el (smie): Require.
8487
8488 * emacs-lisp/smie.el (smie-default-backward-token)
8489 (smie-default-forward-token): Strip properties.
8490 (smie-next-sexp): Be more careful with associative operators.
8491 (smie-forward-sexp-command): Generalize.
8492 (smie-backward-sexp-command): Simplify.
8493 (smie-closer-alist): New var.
8494 (smie-close-block): New command.
8495 (smie-indent-debug-log): New var.
8496 (smie-indent-offset-rule): Add a few more cases.
8497 (smie-indent-column): New function.
8498 (smie-indent-after-keyword): Use it.
8499 (smie-indent-keyword): Use it.
8500 Fix up the opener code's point position.
8501 (smie-indent-comment): Only applies at BOL.
8502 (smie-indent-debug): New command.
8503
8504 * emacs-lisp/autoload.el (make-autoload): Preload the macros's
8505 declarations that are useful before running the macro.
8506
8507 2010-08-18 Joakim Verona <joakim@verona.se>
8508
8509 * image.el (imagemagick-types-inhibit): New variable.
8510 (imagemagick-register-types): New function.
8511 * image-mode.el (image-transform-properties): New function.
8512 (image-transform-set-scale, image-transform-fit-to-height)
8513 (image-transform-set-rotation, image-transform-set-resize)
8514 (image-transform-fit-to-width, image-transform-fit-to-height):
8515 New functions.
8516 (image-toggle-display-image): Support image transforms.
8517
8518 2010-08-18 Katsumi Yamaoka <yamaoka@jpl.org>
8519
8520 * image.el (create-animated-image): Don't add heuristic mask to image
8521 (Bug#6839).
8522
8523 2010-08-18 Jan Djärv <jan.h.d@swipnet.se>
8524
8525 * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
8526 Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
8527
8528 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
8531
8532 Font-lock '...' strings, plus various simplifications and fixes.
8533 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
8534 (octave-font-lock-close-quotes): New function.
8535 (octave-font-lock-syntactic-keywords): New var.
8536 (octave-mode): Use it. Set beginning-of-defun-function.
8537 (octave-mode-map): Don't override the <foo>-defun commands.
8538 (octave-mode-menu): Pass it directly to easy-menu-define;
8539 remove (now generic) <foo>-defun commands; use info-lookup-symbol.
8540 (octave-block-match-alist): Fix up last change so that
8541 octave-close-block uses the more specific keyword.
8542 (info-lookup-mode): Silence byte-compiler.
8543 (octave-beginning-of-defun): Not interactive any more.
8544 Optimize slightly.
8545 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
8546 (octave-indent-defun, octave-send-defun): Use mark-defun instead.
8547 (octave-completion-at-point-function): Make sure point is within
8548 beg..end.
8549 (octave-reindent-then-newline-and-indent):
8550 Use reindent-then-newline-and-indent.
8551 (octave-add-octave-menu): Remove.
8552
8553 2010-08-17 Jan Djärv <jan.h.d@swipnet.se>
8554
8555 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
8556 (report-emacs-bug-can-use-xdg-email): New functions.
8557 (report-emacs-bug): Set can-xdg-email to result of
8558 report-emacs-bug-can-use-xdg-email. If can-xdg-email bind
8559 \C-cm to report-emacs-bug-insert-to-mailer and add help text
8560 about it.
8561
8562 * net/browse-url.el (browse-url-default-browser): Add cond
8563 for browse-url-xdg-open.
8564 (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
8565
8566 2010-08-17 Glenn Morris <rgm@gnu.org>
8567
8568 * progmodes/cc-engine.el (c-new-BEG, c-new-END)
8569 (c-fontify-recorded-types-and-refs): Define for compiler.
8570 * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
8571 before use.
8572
8573 * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
8574 Fix format call.
8575
8576 2010-08-17 Michael Albinus <michael.albinus@gmx.de>
8577
8578 * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
8579 properties.
8580 (tramp-handle-process-file): Call the program in a subshell, in
8581 order to preserve working directory.
8582 (tramp-action-password): Hide password prompt before next run.
8583 (tramp-process-actions): Widen connection buffer for the trace.
8584
8585 2010-08-16 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8586
8587 * net/rcirc.el (rcirc-log-process-buffers): New option.
8588 (rcirc-print): Use it.
8589 (rcirc-generate-log-filename): New function.
8590 (rcirc-log-filename-function): Change default to
8591 rcirc-generate-log-filename (Bug#6828).
8592
8593 2010-08-16 Chong Yidong <cyd@stupidchicken.com>
8594
8595 * simple.el (deactivate-mark): If select-active-regions is `only',
8596 only set selection for temporarily active regions.
8597
8598 * cus-start.el: Change defcustom for select-active-regions.
8599
8600 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8601
8602 * mouse.el (mouse--drag-set-mark-and-point): New function.
8603 (mouse-drag-track): Use LOCATION arg to push-mark.
8604 Use mouse--drag-set-mark-and-point to take click-count into
8605 consideration when updating point and mark (Bug#6840).
8606
8607 2010-08-15 Chong Yidong <cyd@stupidchicken.com>
8608
8609 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8610 Give the Ruby rule a lower priority than Gnu (Bug#6778).
8611
8612 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change)
8613
8614 * font-lock.el (lisp-font-lock-keywords-2):
8615 Add combine-after-change-calls, condition-case-no-debug,
8616 with-demoted-errors, and with-silent-modifications (Bug#6025).
8617
8618 2010-08-14 Kevin Ryde <user42@zip.com.au>
8619
8620 * emacs-lisp/copyright.el (copyright-update-year)
8621 (copyright-update): Temporary switch-to-buffer to ensure the
8622 buffer change being queried is visible (Bug#5394).
8623
8624 2010-08-14 Tom Tromey <tromey@redhat.com>
8625
8626 * progmodes/etags.el (tags-file-name): Mark safe if stringp
8627 (Bug#6733).
8628
8629 2010-08-14 Eli Zaretskii <eliz@gnu.org>
8630
8631 * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
8632 MS-DOS. (Bug#6689)
8633
8634 2010-08-13 Jan Djärv <jan.h.d@swipnet.se>
8635
8636 * menu-bar.el (menu-bar-set-tool-bar-position): New function.
8637 (menu-bar-showhide-tool-bar-menu-customize-enable-left)
8638 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
8639 (menu-bar-showhide-tool-bar-menu-customize-enable-top)
8640 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
8641 Call menu-bar-set-tool-bar-position.
8642
8643 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8644
8645 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
8646 comment style (bug#6834).
8647 * progmodes/scheme.el (scheme-mode-syntax-table):
8648 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
8649 "b" flag in "' 14b" syntax.
8650
8651 * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
8652 for (un)commenting the region and performing completion.
8653 (octave-mode-menu): Use standard commands for help and completion.
8654 (octave-mode-syntax-table): Support %{..%} comments (sort of).
8655 (octave-mode): Use define-derived-mode.
8656 Set completion-at-point-functions and don't set columns.
8657 Don't disable adaptive-fill-regexp.
8658 (octave-describe-major-mode, octave-comment-region)
8659 (octave-uncomment-region, octave-comment-indent)
8660 (octave-indent-for-comment): Remove.
8661 (octave-indent-calculate): Rename from calculate-octave-indent.
8662 (octave-indent-line, octave-fill-paragraph): Update caller.
8663 (octave-initialize-completions): No need to make an alist.
8664 (octave-completion-at-point-function): New function.
8665 (octave-complete-symbol): Use it.
8666 (octave-insert-defun): Use define-skeleton.
8667
8668 * progmodes/octave-mod.el (octave-mode): Set comment-add.
8669 (octave-mode-map): Use comment-dwim (bug#6829).
8670
8671 2010-08-12 Antoine Levitt <antoine.levitt@gmail.com>
8672
8673 * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
8674 indentation of inserted comment.
8675
8676 2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
8677
8678 * faces.el (region): Add type gtk that uses gtk colors.
8679
8680 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
8681 Handle theme-name change.
8682
8683 2010-08-10 Michael R. Mauger <mmaug@yahoo.com>
8684
8685 * progmodes/sql.el: Version 2.5
8686 (sql-product-alist): Add :prompt-cont-regexp property for several
8687 database products.
8688 (sql-prompt-cont-regexp): New variable.
8689 (sql-output-newline-count, sql-output-by-send):
8690 New variables. Record number of newlines in input text.
8691 (sql-send-string): Handle multiple filters and count newlines.
8692 (sql-send-magic-terminator): Count terminator newline.
8693 (sql-interactive-remove-continuation-prompt): Filters output to
8694 remove continuation prompts; one for each newline.
8695 (sql-interactive-mode): Set up new variables, prompt regexp and
8696 output filter.
8697 (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
8698 (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
8699
8700 2010-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * emacs-lisp/pcase.el: New file.
8703
8704 2010-08-10 Michael Albinus <michael.albinus@gmx.de>
8705
8706 * net/tramp.el (tramp-vc-registered-read-file-names): Read input
8707 as here-document, otherwise the command could exceed maximum
8708 length of command line.
8709 (tramp-handle-vc-registered): Call script accordingly.
8710 Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
8711
8712 2010-08-10 Kenichi Handa <handa@m17n.org>
8713
8714 * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
8715 composable pattern.
8716
8717 2010-08-09 Chong Yidong <cyd@stupidchicken.com>
8718
8719 * emacs-lisp/package.el (package-version-split)
8720 (package--version-first-nonzero, package-version-compare):
8721 Functions removed.
8722 (package-directory-list, package-load-all-descriptors)
8723 (package--built-in, package-activate, define-package)
8724 (package-installed-p, package-compute-transaction)
8725 (package-read-all-archive-contents)
8726 (package--add-to-archive-contents, package-buffer-info)
8727 (package-tar-file-info, package-list-packages-internal):
8728 Use version-to-list and version-list-*.
8729
8730 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8731 Use version-to-list.
8732 (package-upload-buffer-internal): Use version-list-<=.
8733
8734 2010-08-09 Kenichi Handa <handa@m17n.org>
8735
8736 * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
8737 composable pattern.
8738
8739 2010-08-08 Chong Yidong <cyd@stupidchicken.com>
8740
8741 * tutorial.el (tutorial--default-keys): C-d is now bound to
8742 delete-forward-char (Bug#6826).
8743
8744 * mouse.el (mouse-drag-track): Remove accidentally-removed check
8745 for `double' value of mouse-1-click-follows-link (Bug#6807).
8746
8747 2010-08-08 Johan Bockgård <bojohan@gnu.org>
8748
8749 * replace.el (replace-highlight): Bind isearch-forward and
8750 isearch-error, ensuring that highlighting is updated if the user
8751 switches the search direction (Bug#6808).
8752
8753 * isearch.el (isearch-lazy-highlight-forward): New var.
8754 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
8755 (isearch-lazy-highlight-update): Use it.
8756
8757 2010-08-08 Kenichi Handa <handa@m17n.org>
8758
8759 * international/mule.el (define-charset): Store NAME as :base property.
8760 (ctext-non-standard-encodings-table): Pay attention to charset aliases.
8761 (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
8762 current priority. Force using the designation of the specific
8763 charset by adding `charset' text property. Improve the whole algorithm.
8764
8765 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8766
8767 * emulation/pc-select.el (pc-selection-mode-hook)
8768 (copy-region-as-kill-nomark, beginning-of-buffer-mark)
8769 (pc-selection-mode): Fix typos in docstrings.
8770
8771 2010-08-08 Kenichi Handa <handa@m17n.org>
8772
8773 * language/cyrillic.el: Don't add "microsoft-cp1251" to
8774 ctext-non-standard-encodings-alist here.
8775
8776 * international/mule.el (ctext-non-standard-encodings-alist):
8777 Add "koi8-r" and "microsoft-cp1251".
8778 (ctext-standard-encodings): New variable.
8779 (ctext-non-standard-encodings-table): List only elements for
8780 non-standard encodings.
8781 (ctext-pre-write-conversion): Adjust for the above change.
8782 Check ctext-standard-encodings.
8783
8784 * international/mule-conf.el (compound-text): Doc fix.
8785 (ctext-no-compositions): Doc fix.
8786 (compound-text-with-extensions): Doc fix.
8787
8788 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8789
8790 * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
8791
8792 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8793
8794 * progmodes/which-func.el (which-func-format): Split help-echo text
8795 into lines, like other mode-line tooltips.
8796
8797 * server.el (server-start): When using TCP sockets, force IPv4
8798 and use a literal 127.0.0.1 for localhost. (Related to bug#6781.)
8799
8800 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * bindings.el (complete-symbol): Run completion-at-point as a fallback.
8803
8804 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * term.el (term-delimiter-argument-list): Reflow docstring.
8807 (term-read-input-ring, term-write-input-ring, term-send-input)
8808 (term-bol, term-erase-in-display, serial-supported-or-barf):
8809 Fix typos in docstrings.
8810
8811 2010-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * bindings.el (function-key-map): Add a S-tab => backtab fallback.
8814
8815 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8816
8817 * dabbrev.el (dabbrev-completion): Fix typo in docstring.
8818
8819 2010-08-08 MON KEY <monkey@sandpframing.com> (tiny change)
8820
8821 * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
8822 Fix typo in docstring (bug#6747).
8823
8824 2010-08-08 Leo <sdl.web@gmail.com>
8825
8826 * eshell/esh-io.el (eshell-get-target): Better detection of
8827 read-only file (Bug#6762).
8828
8829 2010-08-08 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * align.el (align-default-spacing): Doc fix.
8832 (align-region-heuristic, align-regexp): Fix typos in docstrings.
8833
8834 2010-08-08 Stephen Peters <speters@itasoftware.com>
8835
8836 * calendar/icalendar.el
8837 (icalendar--split-value): Fix splitting regexp. (Bug#6766)
8838 (icalendar--get-weekday-numbers): New.
8839 (icalendar--convert-recurring-to-diary): Handle multiple byday
8840 values in weekly rules. (Bug#6766)
8841
8842 2010-08-08 Ulf Jasper <ulf.jasper@web.de>
8843
8844 * calendar/icalendar.el (icalendar-uid-format): Doc fix.
8845 (icalendar--create-uid, icalendar-export-region)
8846 (icalendar--parse-summary-and-rest): Code formatting.
8847
8848 2010-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8849
8850 * calc/calc.el (calc-trail-mode, calc-refresh): Use `face' property
8851 to italicize headers.
8852 (calc-highlight-selections-with-faces): New variable.
8853 (calc-selected-face, calc-nonselected-face): New faces.
8854
8855 * calc/calccomp.el (math-comp-highlight-string): Use
8856 `calc-highlight-selections-with-faces' to determine how to highlight
8857 sub-formulas.
8858
8859 * calc/calc-sel.el (calc-show-selections): Change message to when
8860 using faces to highlight selections.
8861
8862 2010-08-07 Michael R. Mauger <mmaug@yahoo.com>
8863
8864 * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
8865 Add SQLite 3 keywords, functions and datatypes.
8866 (sql-interactive-mode): Remove `comint-process-echoes' set to t
8867 (Bug#6686).
8868
8869 2010-08-07 Chong Yidong <cyd@stupidchicken.com>
8870
8871 * simple.el (select-active-regions): Move to keyboard.c.
8872 (deactivate-mark): Used saved-region-selection.
8873 (select-active-region): Function removed.
8874 (activate-mark, set-mark, push-mark-command)
8875 (handle-shift-selection): Don't call it.
8876 (keyboard-quit): Avoid adding the region to the window selection.
8877
8878 * mouse.el (mouse-drag-track): Remove hacks to deal with old
8879 select-active-regions implementation.
8880 (mouse-yank-at-click): Doc fix.
8881
8882 * cus-start.el: Add custom declaration for select-active-regions.
8883
8884 2010-08-07 Eli Zaretskii <eliz@gnu.org>
8885
8886 * simple.el (delete-forward-char): Doc fix.
8887
8888 * tutorial.el (help-with-tutorial): Hack safe file-local variables
8889 after reading the tutorial.
8890
8891 2010-08-06 Alan Mackenzie <bug-cc-mode@gnu.org>
8892
8893 * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
8894 Fix for the case that a C style comment has its delimiters alone on
8895 their respective lines. (Bug#193)
8896
8897 2010-08-06 Michael Albinus <michael.albinus@gmx.de>
8898
8899 * net/tramp.el (tramp-handle-start-file-process): Set connection
8900 property "vec".
8901 (tramp-process-sentinel): Use it for flushing the cache.
8902 We cannot do it via the process buffer, the buffer could be deleted
8903 already when running the sentinel.
8904
8905 2010-08-06 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
8906
8907 * comint.el (comint-mode): Make directory tracking functions
8908 functional on remote files. (Bug#6764)
8909
8910 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
8911
8912 * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
8913
8914 2010-08-05 Eli Zaretskii <eliz@gnu.org>
8915
8916 * emacs-lisp/find-gc.el (find-gc-source-files):
8917 Rename unexec.c => unexcoff.c.
8918
8919 * emacs-lisp/authors.el (authors-fixed-entries):
8920 Rename unexec.c => unexcoff.c.
8921
8922 2010-08-05 Michael Albinus <michael.albinus@gmx.de>
8923
8924 * net/tramp.el (tramp-handle-dired-uncache): Flush directory
8925 cache, not only file cache.
8926 (tramp-process-sentinel): New defun.
8927 (tramp-handle-start-file-process): Use it, in order to invalidate
8928 file caches.
8929
8930 2010-08-03 Leo <sdl.web@gmail.com>
8931
8932 * server.el (server-start): Simplify loop.
8933
8934 2010-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8935
8936 * frame.el (screen-height, screen-width, set-screen-width)
8937 (set-screen-height): Remove ancient compatibility aliases.
8938
8939 * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
8940 when justifying. It seems useless and harmful for ncols=1 (bug#6738).
8941
8942 * emacs-lisp/timer.el (timer-event-handler): Protect against timers
8943 that change current buffer.
8944
8945 2010-08-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8946
8947 * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
8948 beginning of the string. Use `string-match-p'. (Bug#6765)
8949
8950 2010-08-01 Jan Djärv <jan.h.d@swipnet.se>
8951
8952 * cus-start.el (x-gtk-use-system-tooltips): New variable.
8953
8954 2010-08-01 Chong Yidong <cyd@stupidchicken.com>
8955
8956 * emacs-lisp/package.el (package--list-packages): Fix column alignment.
8957 (package--builtins): Tweak descriptions.
8958 (package-print-package): Upcase descriptions if necessary.
8959 Show all built-in packages in font-lock-builtin-face.
8960 (package-list-packages-internal): Omit "emacs" package.
8961 Show status of built-in packages as "built-in".
8962
8963 2010-07-31 Chong Yidong <cyd@stupidchicken.com>
8964
8965 * mouse.el (mouse-save-then-kill): Doc fix. Deactivate mark
8966 before killing to preserve the primary selection (Bug#6701).
8967
8968 * term/x-win.el (x-select-text): Doc fix.
8969
8970 2010-07-31 Nathaniel Flath <flat0103@gmail.com>
8971
8972 * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
8973 (objc-font-lock-extra-types):
8974 * progmodes/cc-mode.el (c-basic-common-init):
8975 * progmodes/cc-langs.el (c-make-mode-syntax-table)
8976 (c++-make-template-syntax-table)
8977 (c-identifier-syntax-modifications, c-symbol-start, c-operators)
8978 (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
8979 (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
8980 (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
8981 * progmodes/cc-fonts.el (c-make-inverse-face)
8982 (c-basic-matchers-after):
8983 * progmodes/cc-engine.el (c-forward-keyword-clause)
8984 (c-forward-<>-arglist, c-forward-<>-arglist-recur)
8985 (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
8986 (c-guess-continued-construct, c-guess-basic-syntax):
8987 Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
8988 The above functions were modified or created.
8989
8990 2010-07-31 Jan Djärv <jan.h.d@swipnet.se>
8991
8992 * faces.el (face-all-attributes): Improve documentation (Bug#6767).
8993
8994 2010-07-31 Eli Zaretskii <eliz@gnu.org>
8995
8996 * files.el (bidi-paragraph-direction): Define safe local values.
8997
8998 * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
8999 language-info-alist. Remove outdated FIXME in a comment.
9000
9001 2010-07-31 Alan Mackenzie <acm@muc.de>
9002
9003 * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
9004 Auto-fill broken in C/C++ modes.
9005
9006 2010-07-29 Jan Djärv <jan.h.d@swipnet.se>
9007
9008 * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
9009 (menu-bar-showhide-tool-bar-menu-customize-disable)
9010 (menu-bar-showhide-tool-bar-menu-customize-enable-right)
9011 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
9012 (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
9013 (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
9014 make a menu for Options => toolbar that can move it.
9015
9016 2010-07-29 Chong Yidong <cyd@stupidchicken.com>
9017
9018 * emacs-lisp/package-x.el (package--make-rss-entry):
9019 (package-maint-add-news-item, package--update-news)
9020 (package-upload-buffer-internal): New arg ARCHIVE-URL.
9021
9022 * emacs-lisp/package.el (package-archive-url): Rename from
9023 package-archive-id.
9024 (package-install): Doc fix.
9025 (package-download-single, package-download-tar, package-install)
9026 (package-menu-view-commentary): Callers changed.
9027
9028 2010-07-29 Michael Albinus <michael.albinus@gmx.de>
9029
9030 * net/tramp.el (tramp-handle-start-file-process): Check only for
9031 `remote-tty' process property.
9032 (tramp-open-shell): Don't check for tty.
9033 (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
9034 process property.
9035
9036 * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
9037 host.
9038
9039 2010-07-28 Chong Yidong <cyd@stupidchicken.com>
9040
9041 * emacs-lisp/package.el (package-load-list, package-archives)
9042 (package-archive-contents, package-user-dir)
9043 (package-directory-list, package--builtins, package-alist)
9044 (package-activated-list, package-obsolete-alist): Mark as risky.
9045
9046 2010-07-28 Phil Hagelberg <phil@evri.com>
9047
9048 Add support for non-default package repositories.
9049 * emacs-lisp/package.el (package-archive-base): Var deleted.
9050 (package-archives): New variable.
9051 (package-archive-contents): Doc fix.
9052 (package-load-descriptor): Do nothing if descriptor file is missing.
9053 (package--write-file-no-coding): New function.
9054 (package-unpack-single): Use it.
9055 (package-archive-id): New function.
9056 (package-download-single, package-download-tar)
9057 (package-menu-view-commentary): Use it.
9058 (package-installed-p): Make second argument optional.
9059 (package-read-all-archive-contents): New function.
9060 (package-initialize): Use it.
9061 (package-read-archive-contents): Add ARCHIVE argument.
9062 (package--add-to-archive-contents): New function.
9063 (package-install): Don't call package-read-archive-contents.
9064 (package--download-one-archive): Store archive file in a
9065 subdirectory of package-user-dir.
9066 (package-menu-execute): Remove spurious line movement.
9067
9068 2010-07-28 Jan Djärv <jan.h.d@swipnet.se>
9069
9070 * cus-start.el (tool-bar-style): Add text-image-horiz.
9071
9072 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9073
9074 * progmodes/gud.el (gud-common-init): Check for remoteness of
9075 `file', and not of `default-directory'.
9076
9077 2010-07-28 Michael Albinus <michael.albinus@gmx.de>
9078
9079 * net/tramp.el (tramp-methods): Move hostname to the end in all
9080 ssh `tramp-login-args'.
9081 (tramp-verbose): Describe verbose level 9.
9082 (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
9083 (tramp-open-connection-setup-interactive-shell): Trace stty
9084 settings if `tramp-verbose' >= 9.
9085 (tramp-handle-start-file-process): Implement tty setting.
9086 (Bug#4604, Bug#6360)
9087
9088 * net/tramp-cmds.el (tramp-bug): Recommend setting of
9089 `tramp-verbose' to 9.
9090
9091 2010-07-27 Aaron S. Hawley <ashawley@burlingtontelecom.net>
9092
9093 * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
9094 (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
9095 Remove references to package `lisp-re' (bug#4369).
9096
9097 2010-07-27 Tom Tromey <tromey@redhat.com>
9098
9099 * progmodes/js.el (js-mode):
9100 * progmodes/make-mode.el (makefile-mode):
9101 * progmodes/simula.el (simula-mode):
9102 * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
9103
9104 2010-07-27 Juanma Barranquero <lekktu@gmail.com>
9105
9106 * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
9107
9108 * time.el (display-time-day-and-date): Remove spurious * in docstring.
9109 (display-time-world-buffer-name, display-time-world-mode-map):
9110 Fix typos in docstrings.
9111
9112 2010-07-27 Shyam Karanatt <shyam@swathanthran.in> (tiny change)
9113
9114 * image-mode.el (image-display-size): New function.
9115 (image-forward-hscroll, image-next-line, image-eol, image-eob)
9116 (image-mode-fit-frame): Use it (Bug#6639).
9117
9118 2010-07-27 Chong Yidong <cyd@stupidchicken.com>
9119
9120 * dired.el (dired-buffers-for-dir): Handle list values of
9121 dired-directory (Bug#6636).
9122
9123 2010-07-26 Sam Steingold <sds@gnu.org>
9124
9125 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
9126 Do not call `x-get-selection' the second time, reuse the value.
9127
9128 2010-07-26 Daiki Ueno <ueno@unixuser.org>
9129
9130 * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
9131 which consist of control chars only. Suggested by Richard Stallman.
9132
9133 2010-07-25 Daiki Ueno <ueno@unixuser.org>
9134
9135 * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
9136 exists before passing an error to find-file-not-found-functions
9137 (bug#6723).
9138
9139 2010-07-23 Lukas Huonker <l.huonker@gmail.com>
9140
9141 * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
9142 Remove leading nil element, adjust values.
9143 (tetris-shapes, tetris-shape-scores):
9144 Change representation of shapes and remove some redundancy.
9145 (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
9146 (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
9147 Adjust for working with new representation of shapes.
9148 (tetris-shape-rotations): New function.
9149 (tetris-move-bottom, tetris-move-left, tetris-move-right)
9150 (tetris-rotate-prev, tetris-rotate-next):
9151 Adjust for working with the new version of tetris-test-shape.
9152
9153 2010-07-23 Markus Triska <markus.triska@gmx.at>
9154
9155 * progmodes/ps-mode.el: Use comint (bug#5954).
9156 (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
9157 (ps-mode-other-newline): Simplify.
9158 (ps-run-mode): Derive from comint-mode instead of
9159 fundamental-mode, yielding input history etc.
9160 (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
9161 (ps-run-send-string): Adapt for comint-mode.
9162 (ps-run-newline): Remove now unneeded function.
9163
9164 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9165
9166 * net/tramp.el (tramp-methods): Move hostname to the end in all
9167 plink `tramp-login-args'.
9168
9169 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9170
9171 * net/tramp.el (tramp-open-shell): New defun.
9172 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9173 Use it.
9174
9175 2010-07-23 Michael Albinus <michael.albinus@gmx.de>
9176
9177 * net/tramp.el (tramp-file-name-regexp-unified)
9178 (tramp-completion-file-name-regexp-unified): On W32 systems, do
9179 not regard the volume letter as remote filename. (Bug#5447)
9180
9181 2010-07-23 Juanma Barranquero <lekktu@gmail.com>
9182
9183 * custom.el (custom-declare-variable): Give a clearer error message
9184 when the docstring is missing (bug#6476).
9185
9186 2010-07-22 Michael R. Mauger <mmaug@yahoo.com>
9187
9188 * progmodes/sql.el: Version 2.4. Improved Login prompting.
9189 (sql-login-params): New widget definition.
9190 (sql-oracle-login-params, sql-mysql-login-params)
9191 (sql-solid-login-params, sql-sybase-login-params)
9192 (sql-informix-login-params, sql-ingres-login-params)
9193 (sql-ms-login-params, sql-postgres-login-params)
9194 (sql-interbase-login-params, sql-db2-login-params)
9195 (sql-linter-login-params): Use it.
9196 (sql-sqlite-login-params): Use it; Define "database" parameter as
9197 a file name.
9198 (sql-sqlite-program): Change to "sqlite3".
9199 (sql-comint-sqlite): Make sure database name is complete.
9200 (sql-for-each-login): New function.
9201 (sql-connect, sql-save-connection): Use it.
9202 (sql-get-login-ext): New function.
9203 (sql-get-login): Use it.
9204 (sql-make-alternate-buffer-name): Handle :file parameters.
9205
9206 2010-07-22 Juanma Barranquero <lekktu@gmail.com>
9207
9208 * dired.el (dired-no-confirm): Document value t and fix defcustom to
9209 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
9210
9211 2010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
9212
9213 * dired.el (dired-mode-map): Use command remapping (bug#6632).
9214
9215 2010-07-22 Lawrence Mitchell <wence@gmx.li>
9216
9217 * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
9218
9219 2010-07-21 Michael Albinus <michael.albinus@gmx.de>
9220
9221 * net/tramp.el (tramp-get-ls-command)
9222 (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
9223 instead of "/".
9224
9225 2010-07-20 Michael R. Mauger <mmaug@yahoo.com>
9226
9227 * progmodes/sql.el: Version 2.3.
9228 (sql-connection-alist): Change keys from symbols to strings;
9229 enhanced the widget definition.
9230 (sql-mode-menu): Add submenu to select connections.
9231 (sql-interactive-mode-menu): Add "Save Connection" item.
9232 (sql-add-product): Fix menu item.
9233 (sql-get-product-feature): Improved error handling.
9234 (sql--alt-buffer-part, sql--alt-if-not-empty): Remove.
9235 (sql-make-alternate-buffer-name): Simplified.
9236 (sql-product-interactive): Handle missing product.
9237 (sql-connect): Support string keys, minor improvements.
9238 (sql-save-connection): New function.
9239 (sql-connection-menu-filter): New function.
9240
9241 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9242
9243 * net/tramp.el (tramp-file-name-handler): Trace 'quit.
9244 (tramp-open-connection-setup-interactive-shell):
9245 Apply workaround for IRIX64 bug. Move argument of last
9246 `tramp-send-command' where it belongs to.
9247
9248 2010-07-20 Michael Albinus <michael.albinus@gmx.de>
9249
9250 * net/tramp.el (tramp-perl-file-attributes)
9251 (tramp-perl-directory-files-and-attributes): Don't pass "$3".
9252 (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
9253 front of `login-args'.
9254
9255 2010-07-19 Juanma Barranquero <lekktu@gmail.com>
9256
9257 * time.el (display-time-world-mode): Define with `define-derived-mode'.
9258 Set `show-trailing-whitespace' to nil.
9259 (display-time-world-display): Simplify.
9260
9261 2010-07-18 Alan Mackenzie <acm@muc.de>
9262
9263 Enhance `c-file-style' in file/directory local variables.
9264 * progmodes/cc-mode.el (c-count-cfss): New function.
9265 (c-before-hack-hook): Call `c-set-style' differently according to
9266 whether c-file-style was set in file or directory local
9267 variables.
9268
9269 2010-07-18 Michael R. Mauger <mmaug@yahoo.com>
9270
9271 * progmodes/sql.el: Version 2.2.
9272 (sql-product, sql-user, sql-database, sql-server, sql-port):
9273 Use defcustom :safe keyword rather than putting safe-local-variable
9274 property.
9275 (sql-password): Use defcustom :risky keyword rather than putting
9276 risky-local-variable property.
9277 (sql-oracle-login-params, sql-sqlite-login-params)
9278 (sql-solid-login-params, sql-sybase-login-params)
9279 (sql-informix-login-params, sql-ingres-login-params)
9280 (sql-ms-login-params, sql-postgres-login-params)
9281 (sql-interbase-login-params, sql-db2-login-params)
9282 (sql-linter-login-params): Add `port' option.
9283 (sql-get-product-feature): Add NO-INDIRECT parameter.
9284 (sql-comint-oracle, sql-comint-sybase)
9285 (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
9286 (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
9287 (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
9288 (sql-comint-linter): Rename sql-connect-* functions to
9289 sql-comint-*.
9290 (sql-product-alist, sql-mode-menu): Rename as above and
9291 :sqli-connect-func to :sqli-comint-func.
9292 (sql-connection): New variable.
9293 (sql-interactive-mode): Set it.
9294 (sql-connection-alist): New variable.
9295 (sql-connect): New function.
9296 (sql--alt-buffer-part, sql--alt-if-not-empty)
9297 (sql-make-alternate-buffer-name): Improved alternative buffer name.
9298
9299 2010-07-17 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9300
9301 * image-mode.el (image-bookmark-make-record): Do not set context
9302 in an image (Bug#6650).
9303
9304 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9305
9306 * simple.el (select-active-region): New function.
9307 (push-mark-command, set-mark, activate-mark)
9308 (handle-shift-selection): Use it.
9309 (deactivate-mark): Don't check for size of region.
9310
9311 * mouse.el (mouse-drag-track): Use select-active-region.
9312
9313 2010-07-17 Michael Albinus <michael.albinus@gmx.de>
9314
9315 * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
9316 "--dired" stronger.
9317
9318 2010-07-17 Chong Yidong <cyd@stupidchicken.com>
9319
9320 * term/x-win.el (x-select-enable-primary): Change default to nil.
9321 (x-select-enable-clipboard): Add :version keyword.
9322
9323 * mouse.el (mouse-drag-copy-region):
9324 * simple.el (select-active-regions): Likewise.
9325
9326 2010-07-16 Reiner Steib <Reiner.Steib@gmx.de>
9327
9328 * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
9329 (vc-coding-system-for-diff): Use it to decide whether to inherit
9330 from the file the EOL format for reading the diffs of that file.
9331 (Bug#4451)
9332
9333 2010-07-16 Eli Zaretskii <eliz@gnu.org>
9334
9335 * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
9336 unibyte, so compressed attachments are not compressed again.
9337
9338 2010-07-16 Michael Albinus <michael.albinus@gmx.de>
9339
9340 * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
9341 "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
9342 (tramp-find-shell): Simplify setting connection property.
9343 (tramp-get-ls-command): Make test for "--color=never" stronger.
9344
9345 2010-07-15 Simon South <ssouth@member.fsf.org>
9346
9347 * progmodes/delphi.el (delphi-previous-indent-of): Indent case
9348 blocks within record declarations (i.e. variant parts) correctly.
9349
9350 2010-07-15 Simon South <ssouth@member.fsf.org>
9351
9352 * progmodes/delphi.el (delphi-token-at): Give newlines precedence
9353 over literal tokens when parsing so newlines aren't "absorbed" by
9354 single-line comments. Corrects the indentation of case blocks
9355 that have a comment on the first line.
9356
9357 2010-07-14 Karl Fogel <kfogel@red-bean.com>
9358
9359 * bookmark.el (bookmark-load-hook): Fix doc string as suggested
9360 by Drew Adams (Bug#5504).
9361
9362 2010-07-14 Jan Djärv <jan.h.d@swipnet.se>
9363
9364 * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
9365 now that Unicode is used (Bug#6594).
9366
9367 2010-07-14 Chong Yidong <cyd@stupidchicken.com>
9368
9369 * term/x-win.el (x-select-enable-clipboard): Default to t.
9370 (x-initialize-window-system): Don't overwrite Paste menu item.
9371
9372 * simple.el (select-active-regions): Default to t.
9373 (push-mark-command): Don't overwrite primary with empty string.
9374
9375 * mouse.el: Bind mouse-2 to mouse-yank-primary.
9376 (mouse-drag-copy-region): Default to nil.
9377
9378 * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
9379 Cut/Copy/Paste menu bar items.
9380
9381 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9382
9383 Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
9384 Patch applied by Karl Fogel.
9385
9386 * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
9387 and `bookmark-current-buffer' if they have been already set in
9388 another buffer (e.g gnus-art).
9389
9390 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9391 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9392
9393 Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
9394
9395 * bookmark.el (bookmark-make-record-default): Allow unneeded
9396 information to be omitted from the record.
9397
9398 Adjust declarations and calls:
9399
9400 * info.el (bookmark-make-record-default): Adjust declaration.
9401 (Info-bookmark-make-record): Adjust call.
9402
9403 * woman.el (bookmark-make-record-default): Adjust declaration.
9404 (woman-bookmark-make-record): Adjust call.
9405
9406 * man.el (bookmark-make-record-default): Adjust declaration.
9407 (Man-bookmark-make-record): Adjust call.
9408
9409 * image-mode.el (bookmark-make-record-default): Adjust declaration.
9410
9411 * doc-view.el (bookmark-make-record-default): Adjust declaration.
9412
9413 2010-07-13 Karl Fogel <kfogel@red-bean.com>
9414
9415 * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
9416 This is also from Thierry Volpiatto's patch in bug #6444. However,
9417 because it was extraneous to the functional change in that patch,
9418 and causes a re-indendation, I am committing it separately.
9419
9420 2010-07-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9421
9422 * bookmark.el (bookmark-show-annotation): Ensure annotations show,
9423 e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
9424 Patch applied by Karl Fogel (Bug#6444).
9425
9426 2010-07-13 Chong Yidong <cyd@stupidchicken.com>
9427
9428 * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
9429
9430 2010-07-13 Adrian Robert <Adrian.B.Robert@gmail.com>
9431
9432 * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
9433 Dempsky; bug#5084). Remove incorrect binding for S-tab.
9434 (ns-alternatives-map): Change S-tab binding to backtab
9435 (bug#6616).
9436
9437 * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
9438 under ns.
9439
9440 2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
9441
9442 * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
9443 (Bug#5806)
9444
9445 * language/tv-util.el (tai-viet-re): Remove format.
9446
9447 2010-07-12 Kenichi Handa <handa@m17n.org>
9448
9449 * language/hebrew.el: Remove no-byte-compile declaration.
9450 Change coding: tag to utf-8. Register hebrew-shape-gstring in
9451 composition-function-table for 3-character looking back.
9452 (hebrew-font-get-precomposed): New function.
9453 (hebrew-shape-gstring): Utilize precomposed glyphs if available.
9454
9455 2010-07-11 Chong Yidong <cyd@stupidchicken.com>
9456
9457 * mouse.el (mouse-drag-track): Handle select-active-regions
9458 (Bug#6612).
9459
9460 2010-07-11 Magnus Henoch <magnus.henoch@gmail.com>
9461
9462 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
9463 empty argument to gvfs-copy.
9464
9465 2010-07-10 Glenn Morris <rgm@gnu.org>
9466
9467 * calendar/calendar.el (calendar-week-end-day): New function.
9468 * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
9469 Respect calendar-week-start-day. (Bug#6606)
9470 (cal-tex-insert-day-names, cal-tex-insert-blank-days)
9471 (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
9472 (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
9473 respect calendar-week-start-day.
9474
9475 2010-07-10 Chong Yidong <cyd@stupidchicken.com>
9476
9477 * simple.el (use-region-p): Doc fix (Bug#6607).
9478
9479 2010-07-10 Aleksei Gusev <aleksei.gusev@gmail.com> (tiny change)
9480
9481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9482 Add regexps for cucumber and ruby.
9483
9484 2010-07-08 Daiki Ueno <ueno@unixuser.org>
9485
9486 * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
9487 (epa-file-insert-file-contents): Hack to prevent
9488 find-file from opening empty buffer when decryption failed
9489 (bug#6568).
9490
9491 2010-07-07 Agustín Martín <agustin.martin@hispalinux.es>
9492
9493 * textmodes/ispell.el (ispell-alternate-dictionary):
9494 Use file-readable-p.
9495 Return nil if no word-list is found at default locations.
9496 (ispell-complete-word-dict): Default to nil.
9497 (ispell-command-loop): Use 'word-list' when using lookup-words.
9498 (lookup-words): Use ispell-complete-word-dict or
9499 ispell-alternate-dictionary. Check for word-list availability
9500 and handle errors if needed with better messages (Bug#6539).
9501 (ispell-complete-word): Use ispell-complete-word-dict or
9502 ispell-alternate-dictionary.
9503
9504 2010-07-07 Christoph Scholtes <cschol2112@gmail.com>
9505
9506 * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
9507 builtins (BufferError, BytesWarning, WindowsError; callables
9508 bin, bytearray, bytes, format, memoryview, next, print; __package__).
9509
9510 2010-07-07 Glenn Morris <rgm@gnu.org>
9511
9512 * play/zone.el (top-level): Do not require timer, tabify, or cl.
9513 (zone-shift-left): Ignore intangibility, and any errors from
9514 forward-char.
9515 (zone-shift-right): Remove no-op end-of-line. Ignore intangibility.
9516 (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
9517 deleting, and copying text properties.
9518 (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
9519 (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
9520 to point-max is hard.
9521 (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
9522 (zone-fill-out-screen): Ignore intangibility.
9523
9524 2010-07-05 Chong Yidong <cyd@stupidchicken.com>
9525
9526 * menu-bar.el (menu-bar-mode):
9527 * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
9528 if it has been set.
9529
9530 * mouse.el (mouse-drag-track): Call mouse-start-end to handle
9531 word/line selection (Bug#6565).
9532
9533 2010-07-04 Juanma Barranquero <lekktu@gmail.com>
9534
9535 * net/dbus.el (dbus-send-signal): Declare function.
9536
9537 2010-07-04 Michael Albinus <michael.albinus@gmx.de>
9538
9539 * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
9540 (dbus-register-property): New optional argument EMITS-SIGNAL.
9541 (dbus-property-handler): Send signal "PropertiesChanged" if requested.
9542
9543 2010-07-03 Chong Yidong <cyd@stupidchicken.com>
9544
9545 * mouse.el (mouse-drag-overlay): Variable deleted.
9546 (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
9547 (mouse--remap-link-click-p): New function.
9548 (mouse-drag-track): Handle dragging by using temporary Transient
9549 Mark mode, instead of a special overlay.
9550 (mouse-kill-ring-save, mouse-save-then-kill): Don't call
9551 mouse-show-mark.
9552
9553 * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
9554 deleted.
9555
9556 2010-07-02 Juri Linkov <juri@jurta.org>
9557
9558 * autoinsert.el (auto-insert-alist): Fix readability
9559 by using dotted pair notation for lambda.
9560
9561 2010-07-02 Juri Linkov <juri@jurta.org>
9562
9563 * faces.el (read-face-name): Rename arg `string-describing-default'
9564 to `default'. Doc fix. Display the default value in quotes
9565 in the prompt. With empty input, return the `default' arg,
9566 unless the default value is a string (in which case return nil).
9567 (describe-face): Replace the string `default' arg of `read-face-name'
9568 with the symbol `default'.
9569
9570 2010-07-02 Chong Yidong <cyd@stupidchicken.com>
9571
9572 * emulation/viper-cmd.el (viper-delete-backward-char)
9573 (viper-del-backward-char-in-insert)
9574 (viper-del-backward-char-in-replace, viper-change)
9575 (viper-backward-indent): Replace delete-backward-char with
9576 delete-char (Bug#6552).
9577
9578 2010-07-01 Chong Yidong <cyd@stupidchicken.com>
9579
9580 * ruler-mode.el (ruler--save-header-line-format): Fix typos.
9581
9582 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9583
9584 * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
9585 argument passed to frame-creation-function (Bug#5378).
9586
9587 * faces.el (x-handle-named-frame-geometry)
9588 (x-handle-reverse-video, x-create-frame-with-faces)
9589 (face-set-after-frame-default, tty-create-frame-with-faces):
9590 Don't separately consult default-frame-alist. It is now passed as the
9591 PARAMETER argument.
9592
9593 2010-06-30 Andreas Schwab <schwab@linux-m68k.org>
9594
9595 * startup.el (command-line): Don't call tool-bar-setup in a
9596 tty-only build.
9597
9598 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9599
9600 * ruler-mode.el (ruler--save-header-line-format): New fun.
9601 (ruler-mode): Use it as a setter function, so as not to overwrite
9602 ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
9603
9604 2010-06-29 Chong Yidong <cyd@stupidchicken.com>
9605
9606 * vc/vc.el (vc-deduce-backend): New fun. Handle diff buffers.
9607 (vc-root-diff, vc-print-root-log, vc-log-incoming)
9608 (vc-log-outgoing): Use it.
9609 (vc-diff-internal): Set diff-vc-backend.
9610
9611 * vc/diff-mode.el (diff-vc-backend): New var.
9612
9613 2010-06-28 Jan Djärv <jan.h.d@swipnet.se>
9614
9615 * dynamic-setting.el (font-setting-change-default-font):
9616 Remove call to message.
9617
9618 2010-06-28 Kenichi Handa <handa@m17n.org>
9619
9620 * international/quail.el (quail-insert-kbd-layout): Fix the
9621 showing of untranslated characters.
9622
9623 2010-06-28 Chong Yidong <cyd@stupidchicken.com>
9624
9625 * simple.el (delete-active-region): New option.
9626 (delete-backward-char): Implement in Lisp.
9627 (delete-forward-char): New command.
9628
9629 * mouse.el (mouse-region-delete-keys): Delete.
9630 (mouse-show-mark): Simplify.
9631
9632 * bindings.el (global-map): Bind delete and DEL, the former to
9633 delete-forward-char.
9634
9635 2010-06-27 Lennart Borgman <lennart.borgman@gmail.com>
9636
9637 * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
9638 (ruby-mode): Bind indent-line-function (Bug#5119).
9639
9640 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9641
9642 * startup.el (command-line): Recognize "0" X resource value.
9643
9644 2010-06-27 Chong Yidong <cyd@stupidchicken.com>
9645
9646 * startup.el (command-line): Use X resources to set the value of
9647 menu-bar-mode and tool-bar-mode, before calling frame-initialize.
9648
9649 * menu-bar.el (menu-bar-mode):
9650 * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
9651 Set init-value to t.
9652
9653 * frame.el (frame-notice-user-settings): Don't change
9654 default-frame-alist based on menu-bar-mode and tool-bar-mode, or
9655 vice versa (Bug#2249).
9656
9657 2010-06-26 Eli Zaretskii <eliz@gnu.org>
9658
9659 * w32-fns.el (w32-convert-standard-filename): Doc fix.
9660
9661 2010-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9662
9663 * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
9664 Make sure `flyspell-word' re-checks word after function run (Bug#6504).
9665
9666 * textmodes/ispell.el (ispell-init-process): Make sure ispell and
9667 default directories are expanded (Bug#6143).
9668
9669 2010-06-24 Juri Linkov <juri@jurta.org>
9670
9671 * minibuffer.el (completions-format): Change default from nil to
9672 `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459)
9673
9674 2010-06-24 Juri Linkov <juri@jurta.org>
9675
9676 * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
9677 buffer-locally to lambda that re-runs the vc diff command.
9678 (Bug#6447)
9679
9680 2010-06-24 Chong Yidong <cyd@stupidchicken.com>
9681
9682 * kmacro.el (kmacro-call-macro): Don't issue hint message if the
9683 echo area is in use (Bug#3412).
9684
9685 2010-06-22 Glenn Morris <rgm@gnu.org>
9686
9687 * textmodes/texinfmt.el (texinfo-format-region)
9688 (texinfo-raise-lower-sections, texinfo-format-separate-node)
9689 (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
9690 (texinfo-format-option, texinfo-noindent):
9691 Use line-beginning-position and line-end-position.
9692
9693 * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
9694 * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
9695 * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
9696 utf-8 characters.
9697
9698 2010-06-21 Karl Fogel <kfogel@red-bean.com>
9699
9700 * play/zone.el (zone-fall-through-ws): Fix next-line ->
9701 forward-line fallout.
9702
9703 2010-07-06 Chong Yidong <cyd@stupidchicken.com>
9704
9705 * mouse.el (mouse-appearance-menu): Add docstring.
9706
9707 * help.el (describe-key): Print up-event using key-description.
9708
9709 2010-07-03 Michael Albinus <michael.albinus@gmx.de>
9710
9711 * net/zeroconf.el (zeroconf-resolve-service)
9712 (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
9713 (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
9714
9715 2010-07-03 Jan Moringen <jan.moringen@uni-bielefeld.de>
9716
9717 * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
9718
9719 2010-06-30 Dan Nicolaescu <dann@ics.uci.edu>
9720
9721 Avoid displaying files with a nil state in vc-dir.
9722 * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
9723 cases that cause insertion.
9724 (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
9725 with a nil state.
9726
9727 2010-06-30 Chong Yidong <cyd@stupidchicken.com>
9728
9729 * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
9730
9731 2010-06-29 Leo <sdl.web@gmail.com>
9732
9733 * emacs-lisp/rx.el (rx): Doc fix. (Bug#6537)
9734
9735 2010-06-27 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
9736
9737 * generic-x.el (bat-generic-mode): Fix regexp for command line
9738 switches (Bug#5719).
9739
9740 2010-06-27 Masatake YAMATO <yamato@redhat.com>
9741
9742 * htmlfontify.el (hfy-face-attr-for-class): Use append instead
9743 of nconc to avoid pure storage error (Bug#6239).
9744
9745 2010-06-27 Christoph Scholtes <cschol2112@googlemail.com>
9746
9747 * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
9748 (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
9749 bindings of bookmark-automatically-show-annotations (Bug#6515).
9750
9751 2010-06-25 Eli Zaretskii <eliz@gnu.org>
9752
9753 * arc-mode.el (archive-zip-extract): Don't quote the file name on
9754 MS-Windows and MS-DOS. (Bug#6467, Bug#6144)
9755
9756 2010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
9757
9758 * comint.el (make-comint, make-comint-in-buffer): Mention return
9759 value in the docstrings. (Bug#6498)
9760
9761 2010-06-24 Yoni Rabkin <yoni@rabkins.net>
9762
9763 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
9764 since it is not present when using some non-default switches.
9765
9766 2010-06-23 Karl Fogel <kfogel@red-bean.com>
9767
9768 * simple.el (compose-mail): Fix doc string to refer to
9769 `compose-mail-user-agent-warnings', instead of to the
9770 nonexistent `compose-mail-check-user-agent'.
9771
9772 2010-06-21 Alan Mackenzie <bug-cc-mode@gnu.org>
9773
9774 Fix an indentation bug:
9775
9776 * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
9777 (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
9778 of existing values.
9779
9780 * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
9781 (c-clear->-pair-props-if-match-before): now return t when they've
9782 cleared properties, nil otherwise.
9783 (c-before-change-check-<>-operators): Set c-new-beg/end correctly
9784 by taking account of the existing value.
9785
9786 * progmodes/cc-defs.el
9787 (c-clear-char-property-with-value-function): Fix this to clear the
9788 property rather than overwriting it with nil.
9789
9790 2010-06-20 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * emacs-lisp/package.el (package-print-package): Add link to
9793 package description via describe-package.
9794 (describe-package-1): List package requirements. Add button to
9795 perform installation.
9796 (package-menu-describe-package): New command.
9797
9798 * help-mode.el (help-package): New button type.
9799
9800 2010-06-19 Chong Yidong <cyd@stupidchicken.com>
9801
9802 * emacs-lisp/package.el: Move package-list-packages binding to
9803 menu-bar.el.
9804 (describe-package, describe-package-1, package--dir): New funs.
9805 (package-activate-1): Use package--dir.
9806
9807 * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
9808
9809 * help-mode.el (help-package-def): New button type.
9810
9811 * menu-bar.el: Move package-list-packages binding here from
9812 package.el.
9813
9814 2010-06-19 Gustav Hållberg <gustav@gmail.com> (tiny change)
9815
9816 * descr-text.el (describe-char): Avoid trailing whitespace. (Bug#6423)
9817
9818 2010-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * emacs-lisp/edebug.el (edebug-read-list):
9821 Phase out old-style backquotes.
9822
9823 2010-06-17 Juri Linkov <juri@jurta.org>
9824
9825 * help-mode.el (help-mode): Set buffer-local variable
9826 revert-buffer-function to help-mode-revert-buffer.
9827 (help-mode-revert-buffer): New function.
9828
9829 * info.el (Info-revert-find-node): Check for major-mode Info-mode
9830 before popping to "*info*" (like in other Info functions).
9831 Keep buffer-name in old-buffer-name. Keep Info-history-forward in
9832 old-history-forward. Pop to old-buffer-name or "*info*" to
9833 recreate the killed buffer. Set Info-history-forward from
9834 old-history-forward.
9835 (Info-breadcrumbs-depth): Add :group and :version.
9836
9837 2010-06-17 Dan Nicolaescu <dann@ics.uci.edu>
9838
9839 * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
9840
9841 2010-06-17 Agustín Martín <agustin.martin@hispalinux.es>
9842
9843 * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
9844 for languages like Portuguese with pt_{BR,PT} and no plain pt.
9845
9846 2010-06-17 Juanma Barranquero <lekktu@gmail.com>
9847
9848 * emacs-lisp/package.el (package-menu-mode-map):
9849 Move initialization into declaration.
9850
9851 * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
9852
9853 2010-06-17 Chong Yidong <cyd@stupidchicken.com>
9854
9855 * emacs-lisp/package.el (package-archive-base): Point to
9856 elpa.gnu.org.
9857 (package-enable, package-load-list): New defcustoms.
9858 (package-user-dir, package-directory-list): Turn into defcustoms.
9859 Don't include package-user-dir in package-directory-list.
9860 (package--builtins-base): Don't include Emacs as a "package".
9861 (package-subdirectory-regexp): New var.
9862 (package-load-all-descriptors, package-compute-transaction)
9863 (package-download-transaction): Obey package-load-list.
9864 (package-activate-1): Rename from package-do-activate.
9865 (package-list-packages-internal): Check package-load-list.
9866 (package-load-descriptor, package-generate-autoloads)
9867 (package-unpack, package-unpack-single)
9868 (package--read-archive-file, package-delete):
9869 Use expand-file-name.
9870
9871 * emacs-lisp/package-x.el: New file. Package uploading
9872 functionality split out from package.el.
9873
9874 * startup.el (command-line): Load packages after reading init file.
9875
9876 2010-06-17 Tom Tromey <tromey@redhat.com>
9877
9878 * emacs-lisp/package.el: New file.
9879
9880 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9881
9882 Fix vc-annotate for renamed files when using Git.
9883 * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
9884 ls-files. Doe not pass the object as a file name to cat-file, it
9885 is not a file name.
9886 (vc-git-annotate-command): Pass the file name using -- to avoid
9887 ambiguity with the revision.
9888 (vc-git-previous-revision): Pass a relative file name.
9889
9890 2010-06-22 Glenn Morris <rgm@gnu.org>
9891
9892 * progmodes/js.el (js-mode-map): Use standard capitalization and
9893 ellipses for menu entries.
9894
9895 * wid-edit.el (widget-complete): Doc fix.
9896
9897 2010-06-22 Jürgen Hötzel <juergen@hoetzel.info> (tiny change)
9898
9899 * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
9900
9901 2010-06-22 Dan Nicolaescu <dann@ics.uci.edu>
9902
9903 Fix annotating other revisions for renamed files in vc-annotate.
9904 * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
9905 VC backend. Use it when non-nil.
9906 (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
9907 (Bug#6487).
9908
9909 Fix vc-annotate-show-changeset-diff-revision-at-line for git.
9910 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9911 Do not pass the file name to the 'previous-revision call when we
9912 don't want a file diff. (Bug#6489)
9913
9914 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9915
9916 Fix finding revisions for renamed files in vc-annotate.
9917 * vc/vc.el (vc-find-revision): Add an optional argument for
9918 the VC backend. Use it when non-nil.
9919 * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
9920 backend to vc-find-revision. (Bug#6487)
9921
9922 2010-06-21 Dan Nicolaescu <dann@ics.uci.edu>
9923
9924 Fix reading file names in Git annotate buffers.
9925 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
9926 Remove trailing whitespace. Suggested by Eric Hanchrow. (Bug#6481)
9927
9928 2010-06-20 Alan Mackenzie <acm@muc.de>
9929
9930 * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
9931 in file local variables, set it first.
9932
9933 2010-06-19 Glenn Morris <rgm@gnu.org>
9934
9935 * descr-text.el (describe-char-unicode-data): Insert separating
9936 space when needed. (Bug#6422)
9937
9938 * progmodes/idlwave.el (idlwave-action-and-binding):
9939 Fix typo in 2009-12-03 change. (Bug#6450)
9940
9941 2010-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
9944 handling for `lambda' (misunderstanding).
9945
9946 2010-06-16 Jay Belanger <jay.p.belanger@gmail.com>
9947
9948 * calc/calc-poly.el (math-accum-factors): Make sure that
9949 constants aren't distributed after they are factored out.
9950
9951 2010-06-16 Juri Linkov <juri@jurta.org>
9952
9953 * facemenu.el (list-colors-display): Call `pop-to-buffer' before
9954 `list-colors-print'. (Bug#6332)
9955
9956 * subr.el (read-quoted-char): Fix up last change (bug#6290).
9957
9958 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9959
9960 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
9961 specially, since it's a macro. Fix up wrong hint passed to maybe-cons.
9962
9963 * font-lock.el (font-lock-major-mode): Rename from
9964 font-lock-mode-major-mode to distinguish it from
9965 global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
9966 (font-lock-set-defaults):
9967 * font-core.el (font-lock-default-function): Adjust users.
9968 (font-lock-mode): Don't set it at all.
9969
9970 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca>
9971
9972 * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
9973
9974 2010-06-16 Glenn Morris <rgm@gnu.org>
9975
9976 * calendar/appt.el (appt-time-msg-list): Doc fix.
9977 (appt-check): Let-bind appt-warn-time.
9978 (appt-add): Make the 3rd argument optional.
9979 Simplify argument names. Doc fix. Check for integer WARNTIME.
9980 Only add WARNTIME to the output list if non-nil.
9981
9982 2010-06-16 Ivan Kanis <apple@kanis.eu>
9983
9984 * calendar/appt.el (appt-check): Let the 3rd element of
9985 appt-time-msg-list specify the warning time.
9986 (appt-add): Add new argument with the warning time. (Bug#5176)
9987
9988 2010-06-16 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
9989
9990 * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
9991 older than version 1.6. (Bug#6361)
9992
9993 2010-06-16 Helmut Eller <eller.helmut@gmail.com>
9994
9995 * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
9996 used by cl-do-arglist. (Bug#6408)
9997
9998 2010-06-16 Agustín Martín <agustin.martin@hispalinux.es>
9999
10000 * textmodes/ispell.el (ispell-dictionary-base-alist):
10001 Fix portuguese casechars/not-casechars for missing 'çÇ'.
10002 Suggested by Rolando Pereira (bug#6434).
10003
10004 2010-06-15 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * facemenu.el (list-colors-sort): Doc fix.
10007
10008 2010-06-15 Bob Rogers <rogers-emacs@rgrjr.dyndns.org>
10009
10010 * progmodes/sql.el (sql-connect-mysql): Fix typo.
10011
10012 2010-06-14 Juri Linkov <juri@jurta.org>
10013
10014 Add sort option `list-colors-sort'. (Bug#6332)
10015 * facemenu.el (color-rgb-to-hsv): New function.
10016 (list-colors-sort): New defcustom.
10017 (list-colors-sort-key): New function.
10018 (list-colors-display): Doc fix. Sort list according to the option
10019 `list-colors-sort'.
10020 (list-colors-print): Add HSV values to `help-echo' property of
10021 RGB strings.
10022
10023 2010-06-14 Juri Linkov <juri@jurta.org>
10024
10025 * compare-w.el: Move to the "vc" subdirectory.
10026
10027 2010-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * image-mode.el (image-mode-map): Remap left-char and right-char.
10030
10031 * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
10032
10033 2010-06-12 Chong Yidong <cyd@stupidchicken.com>
10034
10035 * term/common-win.el (x-colors): Add all the color names defined
10036 in rgb.txt (Bug#6332).
10037
10038 * facemenu.el (list-colors-print): Don't print extra names if it
10039 will overflow the window width.
10040
10041 * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
10042 change (Bug#6343).
10043
10044 2010-06-12 Eli Zaretskii <eliz@gnu.org>
10045
10046 * files.el (make-directory): Doc fix (bug#6396).
10047
10048 2010-06-12 Michael Albinus <michael.albinus@gmx.de>
10049
10050 * net/tramp.el (tramp-remote-process-environment): Protect version
10051 string by apostroph.
10052 (tramp-shell-prompt-pattern): Do not use a shy group in case of
10053 XEmacs.
10054 (tramp-file-name-for-operation): Add `call-process-region'.
10055 (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
10056
10057 * net/tramp-compat.el (top): Do not autoload
10058 `tramp-handle-file-remote-p'. Load tramp-util.el and tramp-vc.el
10059 only when `start-file-process' is not bound.
10060 (tramp-advice-file-expand-wildcards): Do not use
10061 `tramp-handle-file-remote-p'.
10062 (tramp-compat-make-temp-file): Handle the case, that
10063 `make-temp-file' has no third argument EXTENSION.
10064
10065 2010-06-11 Juanma Barranquero <lekktu@gmail.com>
10066
10067 * makefile.w32-in (WINS_BASIC): Include new directory vc.
10068
10069 * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
10070
10071 2010-06-11 Juri Linkov <juri@jurta.org>
10072
10073 * finder.el (finder-known-keywords): Add keyword "vc"
10074 for version control.
10075
10076 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
10077 * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
10078 * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
10079 * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
10080
10081 2010-06-11 Juri Linkov <juri@jurta.org>
10082
10083 Move version control related files to the "vc" subdirectory.
10084 * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
10085 * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
10086 * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
10087 * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
10088 * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
10089 * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
10090 * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
10091 * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
10092 Move files to the "vc" subdirectory.
10093
10094 2010-06-11 Chong Yidong <cyd@stupidchicken.com>
10095
10096 * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
10097 (Bug#6367).
10098
10099 2010-06-11 Stephen Eglen <stephen@gnu.org>
10100
10101 * shell.el: Bind `shell-resync-dirs' to M-RET.
10102
10103 2010-06-10 Michael Albinus <michael.albinus@gmx.de>
10104
10105 * notifications.el: Move file from lisp/net, because it is
10106 supposed to talk locally to the user.
10107
10108 2010-06-10 Julien Danjou <julien@danjou.info>
10109
10110 * net/notifications.el (notifications-on-action-signal)
10111 (notifications-on-closed-signal): Pass notification id as first
10112 argument to the callback functions. Add docstrings.
10113 (notifications-notify): Fix docstring.
10114
10115 2010-06-10 Glenn Morris <rgm@gnu.org>
10116
10117 * emacs-lisp/authors.el (authors-ignored-files)
10118 (authors-valid-file-names): Add some files.
10119
10120 2010-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
10123 merge conflict, giving preference to the emacs-23 version of the code.
10124
10125 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * emacs-lisp/advice.el (ad-compile-function):
10128 Define warning-suppress-types before we let-bind it (bug#6275).
10129
10130 * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
10131 declare it, make it buffer-local and permanent-local (bug#6324).
10132 (vc-resynch-window): Adjust name.
10133 * vc-hooks.el (vc-find-file-hook): Adjust name.
10134
10135 2010-06-09 Michael Albinus <michael.albinus@gmx.de>
10136
10137 * net/notifications.el (notifications-notify): Fix docstring.
10138
10139 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10140
10141 Update to Unicode 6.0.0 beta.
10142 * international/charprop.el: Update copyright.
10143 * international/mule-cmds.el (ucs-names): Update character ranges.
10144 * international/uni-bidi.el:
10145 * international/uni-category.el:
10146 * international/uni-combining.el:
10147 * international/uni-comment.el:
10148 * international/uni-decimal.el:
10149 * international/uni-decomposition.el:
10150 * international/uni-digit.el:
10151 * international/uni-lowercase.el:
10152 * international/uni-mirrored.el:
10153 * international/uni-name.el:
10154 * international/uni-numeric.el:
10155 * international/uni-old-name.el:
10156 * international/uni-titlecase.el:
10157 * international/uni-uppercase.el: Regenerate.
10158
10159 2010-06-09 Juanma Barranquero <lekktu@gmail.com>
10160
10161 * emacs-lisp/smie.el (comment-string-strip): Declare function.
10162 (smie-precs-precedence-table): Fix typo in docstring.
10163
10164 * vc-mtn.el (log-edit-extract-headers): Declare function.
10165
10166 * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
10167
10168 * net/notifications.el (dbus-register-signal): Declare function.
10169 (notifications-notify): Fix typos and reflow docstring.
10170
10171 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10172
10173 Improve VC create/retrieve tag/branch.
10174 * vc.el (vc-create-tag): Do not read the directory name for VCs
10175 with repository revision granularity. Adjust the tag/branch
10176 prompt. Reset VC properties.
10177 (vc-retrieve-tag): Do not read the directory name for VCs
10178 with repository revision granularity. Reset VC properties.
10179
10180 2010-06-09 Julien Danjou <julien@danjou.info>
10181
10182 * net/notifications.el: New file.
10183
10184 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu>
10185
10186 Add optional support for resetting VC properties.
10187 * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
10188 call vc-file-clearprops when true.
10189 (vc-resynch-buffer): Add new optional argument, pass it down.
10190 (vc-resynch-buffers-in-directory): Likewise.
10191
10192 Improve support for special markup in the VC commit message.
10193 * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
10194 * vc-hg.el (vc-hg-checkin): Add support for Date:.
10195 * vc-git.el (vc-git-checkin):
10196 * vc-bzr.el (vc-bzr-checkin): Likewise.
10197
10198 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
10201 can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
10202
10203 2010-06-07 Martin Pohlack <mp26@os.inf.tu-dresden.de>
10204
10205 * iimage.el: Remove images as soon as the underlying text is modified.
10206 (iimage-modification-hook): New function.
10207 (iimage-mode-buffer): Use it.
10208
10209 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
10212 smie-indent-offset-after. Add :prev case. Make a bit more generic.
10213 (smie-indent-virtual): Remove `virtual' arg. Update callers.
10214 (smie-indent-keyword): Add handling of open-paren keywords.
10215 (smie-indent-comment-continue): Don't assume comment-continue.
10216
10217 2010-06-07 Martin Rudalics <rudalics@gmx.at>
10218
10219 * window.el (pop-to-buffer): Remove the conditional that
10220 compares new-window and old-window, so it will reselect
10221 the selected window unconditionally.
10222 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
10223
10224 2010-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * emacs-lisp/smie.el (smie-indent-offset-after)
10227 (smie-indent-forward-token, smie-indent-backward-token): New functions.
10228 (smie-indent-after-keyword): Use them.
10229 (smie-indent-fixindent): Only applies to the indentation of the BOL.
10230 (smie-indent-keyword): Tweak the black magic.
10231 (smie-indent-comment-continue): Strip comment-continue before use.
10232 (smie-indent-functions): Indent comments before keywords.
10233
10234 2010-06-06 Juri Linkov <juri@jurta.org>
10235
10236 * isearch.el (isearch-lazy-highlight-search): Fix looping
10237 by checking for empty match. This syncs this loop with the
10238 similar loop in `isearch-search'. (Bug#6362)
10239
10240 2010-06-05 Juanma Barranquero <lekktu@gmail.com>
10241
10242 * net/dbus.el (dbus-register-method): Declare function.
10243 (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
10244 (dbus-introspect): Doc fix.
10245 (dbus-event-bus-name, dbus-introspect-get-interface)
10246 (dbus-introspect-get-argument): Reflow docstrings.
10247
10248 2010-06-05 Dan Nicolaescu <dann@ics.uci.edu>
10249
10250 vc-log-incoming/vc-log-outgoing fixes for Git.
10251 * vc-git.el (vc-git-log-view-mode): Fix font lock for
10252 incoming/outgoing logs.
10253 (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
10254 instead of vc-git-compute-remote.
10255 (vc-git-compute-remote): Remove.
10256
10257 2010-06-04 Chong Yidong <cyd@stupidchicken.com>
10258
10259 * term/common-win.el (x-colors): Add "dark green" and "dark
10260 turquoise" (Bug#6332).
10261
10262 2010-06-04 Juri Linkov <juri@jurta.org>
10263
10264 * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
10265 Instead of setting `replace' to t and replacing the same string
10266 with itself, don't do certain actions when
10267 kill-do-not-save-duplicates is non-nil and string is equal to car
10268 of kill-ring: don't call menu-bar-update-yank-menu, don't push
10269 interprogram-paste strings to kill-ring, and don't push the input
10270 argument `string' to kill-ring.
10271 http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
10272
10273 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10274
10275 * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
10276
10277 2010-06-04 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
10280 (tramp-gvfs-handler-mounted-unmounted)
10281 (tramp-gvfs-connection-mounted-p): Handle default-location.
10282
10283 * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
10284 move files to trash.
10285
10286 2010-06-04 Juanma Barranquero <lekktu@gmail.com>
10287
10288 * international/mule-cmds.el (nonascii-insert-offset)
10289 (nonascii-translation-table): Add obsolescence information.
10290
10291 * international/mule.el (make-translation-table-from-vector): Doc fix.
10292
10293 2010-06-03 Glenn Morris <rgm@gnu.org>
10294
10295 * desktop.el (desktop-clear-preserve-buffers):
10296 Add "*Warnings*" buffer. (Bug#6336)
10297
10298 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu>
10299
10300 vc-log-incoming/vc-log-outgoing improvements for Git.
10301 * vc-git.el (vc-git-log-outgoing): Use the same format as the
10302 short log.
10303 (vc-git-log-incoming): Likewise. Run "git fetch" before the log command.
10304
10305 Add bindings for vc-log-incoming and vc-log-outgoing.
10306 * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
10307 and vc-log-outgoing.
10308 * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
10309 and vc-log-outgoing.
10310
10311 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10312
10313 * net/rcirc.el (rcirc-sort-nicknames): Remove.
10314 (rcirc-handler-366): Always sort nicknames.
10315
10316 2010-06-03 Juanma Barranquero <lekktu@gmail.com>
10317
10318 * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
10319
10320 2010-06-03 Chong Yidong <cyd@stupidchicken.com>
10321
10322 * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
10323
10324 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10325
10326 * net/rcirc.el (rcirc-sort-nicknames): Change default.
10327 (rcirc-sort-nicknames-join): Avoid setq.
10328
10329 2010-06-03 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10330
10331 * net/rcirc.el (rcirc-sort-nicknames): New custom.
10332 (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
10333 (rcirc-handler-366): Use them.
10334
10335 2010-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 Split smie-indent-calculate into more manageable chunks.
10338 * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
10339 (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
10340 (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
10341 (smie-indent-exps): Extract from smie-indent-calculate.
10342 (smie-indent-functions): New var.
10343 (smie-indent-functions): Use them.
10344
10345 2010-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
10348 (smie-indent-calculate): Simplify and cleanup.
10349
10350 2010-06-02 Michael Albinus <michael.albinus@gmx.de>
10351
10352 * net/tramp-gvfs.el (top): Require url-util.
10353 (tramp-gvfs-mount-point): Remove.
10354 (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
10355 New defuns.
10356 (with-tramp-dbus-call-method): Format trace message.
10357 (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
10358 Implement backup call, when operation on local files fails.
10359 Use progress reporter. Flush properties of changed files.
10360 (tramp-gvfs-handle-make-directory): Make more traces.
10361 (tramp-gvfs-url-file-name): Hexify file name in url.
10362 (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
10363 into account for the resulting file name.
10364 (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
10365 the answer is "no". See `tramp-gvfs-maybe-open-connection'.
10366 (tramp-gvfs-handler-mounted-unmounted)
10367 (tramp-gvfs-connection-mounted-p): Test also for new mountspec
10368 attribute "default_location". Set "prefix" property.
10369 (tramp-gvfs-mount-spec): Return both prefix and mountspec.
10370 (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
10371 exists. Raise an error, if not (due to a corresponding answer
10372 "no" in interactive questions, for example).
10373
10374 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu>
10375
10376 * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
10377
10378 2010-06-01 Juanma Barranquero <lekktu@gmail.com>
10379
10380 * emacs-lisp/eldoc.el: Add completions for new commands left-* and
10381 right-*. (Bug#6265)
10382
10383 2010-06-01 Dan Nicolaescu <dann@ics.uci.edu>
10384
10385 Add support for vc-log-incoming, improve vc-log-outgoing for Git.
10386 * vc-git.el (vc-git-compute-remote): New function.
10387 (vc-git-log-outgoing): Use it instead of hard coding a value.
10388 (vc-git-log-incoming): New function.
10389
10390 Improve state updating for VC tag commands.
10391 * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
10392 to update the state of all buffers in the directory.
10393
10394 * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
10395
10396 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10397
10398 * vc-bzr.el (vc-bzr-revision-completion-table): Apply
10399 `file-directory-p' to the filename part rather than to the whole text.
10400
10401 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10402
10403 * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
10404
10405 2010-05-31 Drew Adams <drew.adams@oracle.com>
10406
10407 * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
10408
10409 2010-05-31 Juanma Barranquero <lekktu@gmail.com>
10410
10411 * subr.el (momentary-string-display): Just use read-event to read
10412 the exit event (Bug#6238).
10413
10414 2010-05-30 Eli Zaretskii <eliz@gnu.org>
10415
10416 * international/mule.el (define-coding-system): Doc fix (bug#6313).
10417
10418 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10419
10420 * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
10421 Suggested by Eli Zaretskii <eliz@gnu.org>.
10422
10423 2010-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * minibuffer.el (completion-file-name-table): Don't return a boundary
10426 past the end of `string' (bug#6299).
10427 (completion--file-name-table): Delegate to completion-file-name-table
10428 for the `boundaries' case.
10429
10430 2010-05-30 Juanma Barranquero <lekktu@gmail.com>
10431
10432 * emulation/cua-base.el: Recognize `right-char' and `left-char' as
10433 movement commands.
10434
10435 * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
10436 `path-separator', but maintain compatibility with Emacs 20.2.
10437
10438 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10439
10440 * server.el (server-process-filter): Receive parent-id argument
10441 from emacsclient.
10442 (server-create-window-system-frame): New arg. Pass parent-id as
10443 frame parameter.
10444
10445 2010-05-29 Eli Zaretskii <eliz@gnu.org>
10446
10447 Bidi-sensitive word movement with arrow keys.
10448 * subr.el (right-arrow-command, left-arrow-command): Move to
10449 bindings.el.
10450
10451 * bindings.el (right-char, left-char): Move from subr.el and
10452 rename from right-arrow-command and left-arrow-command.
10453 (right-word, left-word): New functions.
10454 (global-map) <right>: Bind to right-char.
10455 (global-map) <left>: Bind to left-char.
10456 (global-map) <C-right>: Bind to right-word.
10457 (global-map) <C-left>: Bind to left-word.
10458
10459 * ls-lisp.el (ls-lisp-classify-file): New function.
10460 (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
10461 (ls-lisp-classify): Call ls-lisp-classify-file.
10462 (insert-directory): Remove blanks from switches.
10463
10464 2010-05-29 Chong Yidong <cyd@stupidchicken.com>
10465
10466 * ansi-color.el: Delete unused escape sequences (Bug#6085).
10467 (ansi-color-drop-regexp): New constant.
10468 (ansi-color-apply, ansi-color-filter-region)
10469 (ansi-color-apply-on-region): Delete unrecognized control sequences.
10470 (ansi-color-apply): Build string list before calling concat.
10471
10472 2010-05-28 Juri Linkov <juri@jurta.org>
10473
10474 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10475 Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
10476 (Bug#5270)
10477
10478 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10479
10480 * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
10481 to ignored backtrace functions.
10482 (with-progress-reporter): Expand docstring.
10483 (tramp-handle-delete-file): Implement TRASH argument.
10484 (tramp-get-remote-trash): New defun.
10485
10486 2010-05-28 Michael Albinus <michael.albinus@gmx.de>
10487
10488 * net/tramp-compat.el (tramp-compat-delete-file):
10489 Use `symbol-value' for backward compatibility.
10490
10491 * net/tramp.el (tramp-handle-make-symbolic-link)
10492 (tramp-handle-load)
10493 (tramp-do-copy-or-rename-file-via-buffer)
10494 (tramp-do-copy-or-rename-file-directly)
10495 (tramp-do-copy-or-rename-file-out-of-band)
10496 (tramp-handle-process-file, tramp-handle-call-process-region)
10497 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10498 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10499 (tramp-delete-temp-file-function): Use `delete-file' instead
10500 of `tramp-compat-delete-file'.
10501
10502 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10503 (tramp-fish-handle-make-symbolic-link)
10504 (tramp-fish-handle-process-file): Use `delete-file' instead
10505 of `tramp-compat-delete-file'.
10506
10507 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
10508 Use `delete-file' instead of `tramp-compat-delete-file'.
10509
10510 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Use
10511 `delete-file' instead of `tramp-compat-delete-file'.
10512
10513 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
10514 Use `delete-file' instead of `tramp-compat-delete-file'.
10515
10516 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10517 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10518 (tramp-smb-handle-write-region): Use `delete-file' instead of
10519 `tramp-compat-delete-file'.
10520 (tramp-smb-handle-delete-directory): Use 'trash as arg.
10521
10522 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10523
10524 * dired.el (dired-delete-file): New arg TRASH.
10525 (dired-internal-do-deletions): New arg TRASH. Use progress reporter.
10526 (dired-do-flagged-delete, dired-do-delete): Use trash.
10527
10528 * speedbar.el (speedbar-item-delete): Allow trashing.
10529
10530 * files.el (delete-directory): New arg TRASH.
10531
10532 * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
10533 (ange-ftp-rename-remote-to-remote)
10534 (ange-ftp-rename-local-to-remote)
10535 (ange-ftp-rename-remote-to-local, ange-ftp-load)
10536 (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
10537 `delete-file'.
10538 (ange-ftp-delete-directory): Add optional arg to `delete-file', to
10539 allow trashing.
10540
10541 * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
10542 handle new TRASH arg of `delete-file'.
10543
10544 * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
10545 (tramp-handle-make-symbolic-link, tramp-handle-load)
10546 (tramp-do-copy-or-rename-file-via-buffer)
10547 (tramp-do-copy-or-rename-file-directly)
10548 (tramp-do-copy-or-rename-file-out-of-band)
10549 (tramp-handle-process-file, tramp-handle-call-process-region)
10550 (tramp-handle-shell-command, tramp-handle-file-local-copy)
10551 (tramp-handle-insert-file-contents, tramp-handle-write-region)
10552 (tramp-delete-temp-file-function): Use null TRASH arg in
10553 tramp-compat-delete-file call.
10554
10555 * net/tramp-fish.el (tramp-fish-handle-delete-directory)
10556 (tramp-fish-handle-delete-file)
10557 (tramp-fish-handle-make-symbolic-link)
10558 (tramp-fish-handle-process-file): Use null TRASH arg in
10559 `tramp-compat-delete-file' call.
10560
10561 * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
10562 arg in `tramp-compat-delete-file' call.
10563
10564 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
10565 (tramp-gvfs-handle-write-region): Use null TRASH arg in
10566 `tramp-compat-delete-file' call.
10567
10568 * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
10569 (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
10570 `tramp-compat-delete-file' call.
10571
10572 * net/tramp-smb.el (tramp-smb-handle-copy-file)
10573 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
10574 (tramp-smb-handle-write-region): Use null TRASH arg in
10575 tramp-compat-delete-file call.
10576 (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
10577 (tramp-smb-handle-delete-file): Rename arg.
10578
10579 * diff.el (diff-sentinel):
10580 * epg.el (epg--make-temp-file, epg-decrypt-string)
10581 (epg-verify-string, epg-sign-string, epg-encrypt-string):
10582 * jka-compr.el (jka-compr-partial-uncompress)
10583 (jka-compr-call-process, jka-compr-write-region):
10584 * server.el (server-sentinel): Remove optional arg from
10585 delete-file, reverting 2010-05-03 change.
10586
10587 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10588
10589 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10590 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10591
10592 2010-05-27 Kenichi Handa <handa@m17n.org>
10593
10594 * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
10595 element of GSTRING is nil.
10596
10597 2010-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * emacs-lisp/smie.el (smie-forward-token-function)
10600 (smie-backward-token-function): New vars.
10601 (smie-backward-sexp, smie-forward-sexp)
10602 (smie-indent-hanging-p, smie-indent-calculate): Use them.
10603 (smie-default-backward-token): Rename from smie-backward-token and
10604 skip comments.
10605 (smie-default-forward-token): Rename from smie-forward-token and
10606 skip comments.
10607 (smie-next-sexp): Handle nil results from next-token.
10608 (smie-indent-calculate): Add a new case for special `fixindent' comments.
10609
10610 2010-05-27 Chong Yidong <cyd@stupidchicken.com>
10611
10612 * progmodes/verilog-mode.el (verilog-type-font-keywords):
10613 Use font-lock-constant-face, not obsolete font-lock-reference-face.
10614
10615 2010-05-27 Masatake YAMATO <yamato@redhat.com>
10616
10617 * htmlfontify.el (hfy-face-resolve-face): New function.
10618 (hfy-face-to-style): Use it (Bug#6279).
10619
10620 2010-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 * progmodes/ada-xref.el (ada-gnat-parse-gpr):
10623 * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
10624
10625 2010-05-26 Glenn Morris <rgm@gnu.org>
10626
10627 * emulation/edt.el (edt-load-keys): Use locate-library.
10628
10629 2010-05-25 Chong Yidong <cyd@stupidchicken.com>
10630
10631 * log-edit.el (log-edit-strip-single-file-name): Default to nil.
10632 (log-edit-changelog-entries): Doc fix.
10633 (log-edit-changelog-insert-entries): Args changed.
10634 Rename relative filenames in ChangeLog entries. Delete tabs.
10635 (log-edit-insert-changelog-entries): Reorganize return value of
10636 `log-edit-changelog-entries' to pass filenames to
10637 log-edit-changelog-insert-entries.
10638
10639 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10640
10641 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
10642 `image-dired-dired-insert-marked-thumbs' to
10643 `image-dired-dired-toggle-marked-thumbs'.
10644
10645 * image-dired.el: Require cl when compiling.
10646 (image-dired-dired-toggle-marked-thumbs): Rename from
10647 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10648 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
10649 to 'no-dir. Skip files whose names don't match
10650 `image-file-name-regexp'. When file has a thumbnail overlay,
10651 delete it. (Bug#5270)
10652
10653 2010-05-25 Juri Linkov <juri@jurta.org>
10654
10655 * image-mode.el (image-mode): Add image-after-revert-hook to
10656 after-revert-hook.
10657 (image-after-revert-hook): New function. (Bug#5669)
10658
10659 2010-05-25 Juri Linkov <juri@jurta.org>
10660
10661 * image.el (image-animated-p): When delay between animated images
10662 is 0, set it to 10 (0.1 sec). (Bug#6258)
10663
10664 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
10665
10666 * net/tramp.el (tramp-handle-insert-directory): Don't use
10667 `forward-word', its default syntax could be changed.
10668
10669 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
10670
10671 * net/tramp.el (tramp-progress-reporter-update): New defun.
10672 (with-progress-reporter): Use it.
10673 (tramp-process-actions):
10674 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
10675 Preserve current message, in order to let progress reporter continue
10676 afterwards. (Bug#6257)
10677
10678 2010-05-25 Glenn Morris <rgm@gnu.org>
10679
10680 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
10681 Add :version.
10682
10683 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10684
10685 * net/rcirc.el (rcirc-default-user-name): Change to "user".
10686 (rcirc-default-full-name): Change to "unknown".
10687 (rcirc-user-name-history): Add variable.
10688
10689 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
10690 Jonathan Rockway <jon@jrock.us>
10691
10692 * net/rcirc.el (rcirc-server-alist): Add :pass.
10693 (rcirc): When prompting for connection parameters, also prompt for
10694 username and password.
10695 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
10696 value to server when connecting.
10697
10698 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
10701 (smie-merge-prec2s): Pass the tables as separate args.
10702 (smie-bnf-precedence-table): Adjust call accordingly.
10703 (smie-prec2-levels): Set levels at the end.
10704
10705 Replace Lisp calls to delete-backward-char by delete-char.
10706 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
10707 * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
10708 * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
10709 * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
10710 * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
10711 * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
10712 * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
10713 * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
10714 * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
10715 * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
10716 * progmodes/ps-mode.el, progmodes/verilog-mode.el,
10717 * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
10718 * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
10719 * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
10720 delete-backward-char by calls to delete-char.
10721
10722 2010-05-25 Kenichi Handa <handa@m17n.org>
10723
10724 * language/hebrew.el (hebrew-shape-gstring): New function.
10725 Register it in composition-function-table for all Hebrew combining
10726 characters.
10727
10728 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * epa.el (epa--select-keys): Don't explicitly delete the window since
10731 that can fail (e.g. sole window in frame). Use dedication instead.
10732
10733 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
10734
10735 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
10736
10737 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
10738
10739 * image.el (image-refresh): Define as an alias for image-flush.
10740
10741 * image-mode.el (image-toggle-display-image): Caller changed.
10742
10743 2010-05-21 Juri Linkov <juri@jurta.org>
10744
10745 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
10746 Remove "all" from grep-files-aliases. Split grep-files-aliases by
10747 whitespace, call wildcard-to-regexp on substrings and concat them
10748 with "\\|". (Bug#6114)
10749
10750 2010-05-21 Alan Mackenzie <acm@muc.de>
10751
10752 * progmodes/cc-engine.el (c-parse-state-get-strategy):
10753 Replace parameter `here' with `here-' and `here-plus', which sandwich
10754 any pertinent CPP construct.
10755 (c-remove-stale-state-cache-backwards): Fix a bug which happens
10756 when doing (c-parse-state) in a CPP construct: Exclude any "new"
10757 CPP construct from taking part in the scanning.
10758
10759 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
10760
10761 * net/tramp.el (tramp-do-copy-or-rename-file)
10762 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
10763 Tune `with-progress-reporter' messages.
10764 (tramp-handle-vc-registered):
10765 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
10766 (tramp-fish-handle-insert-file-contents)
10767 (tramp-fish-maybe-open-connection):
10768 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10769 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
10770 (tramp-imap-handle-insert-file-contents)
10771 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
10772
10773 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
10774
10775 * add-log.el (change-log-font-lock-keywords):
10776 Highlight all authors in multi-author entries.
10777
10778 * smerge-mode.el (smerge-refine-ignore-whitespace)
10779 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
10780 Fix typos in docstrings.
10781 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
10782
10783 2010-05-21 Glenn Morris <rgm@gnu.org>
10784
10785 * progmodes/fortran.el (fortran-mode):
10786 * progmodes/f90.el (f90-mode): Derive from prog-mode.
10787
10788 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
10789 having a relative path in src/Makefile.in.
10790
10791 2010-05-20 Kevin Ryde <user42@zip.com.au>
10792
10793 * help-mode.el (help-make-xrefs): For Info node links turn
10794 newlines into spaces. Link node names with newlines are matched
10795 by help-xref-info-regexp and buttonized, this change ensures they
10796 can be followed successfully with RET. (Bug#6206)
10797
10798 2010-05-20 Juri Linkov <juri@jurta.org>
10799
10800 * locate.el (locate): Use pop-to-buffer instead of
10801 switch-to-buffer-other-window. (Bug#6204)
10802
10803 2010-05-20 Juri Linkov <juri@jurta.org>
10804
10805 * replace.el (replace-highlight): Fix lazy-highlighting
10806 for `M-s w str M-% str RET'.
10807
10808 2009-12-15 Masatake YAMATO <yamato@redhat.com>
10809
10810 * isearch.el (isearch-yank-word-or-char): Pull next subword
10811 when `subword-mode' is activated. (Bug#6220)
10812
10813 2010-05-20 Mark A. Hershberger <mah@everybody.org>
10814
10815 * isearch.el (isearch-update-post-hook): New hook.
10816 (isearch-update): Use the new hook. (Bug#6225)
10817
10818 2010-05-20 Juri Linkov <juri@jurta.org>
10819
10820 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
10821 [f1], [help], and (char-to-string help-char) instead of "\C-h".
10822 (Bug#6222)
10823
10824 2010-05-20 Juri Linkov <juri@jurta.org>
10825
10826 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
10827 (Bug#6223)
10828
10829 2010-05-20 Juri Linkov <juri@jurta.org>
10830
10831 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
10832 FILE-NAME to read from the minibuffer when called interactively
10833 with prefix argument instead of using buffer-file-name.
10834 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
10835
10836 * dired.el: Update autoloads.
10837
10838 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
10839
10840 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
10841 nxml-finish-element, for consistency with SGML mode.
10842
10843 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
10844 octave-close-block.
10845
10846 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * composite.el: Require cl when compiling.
10849 (reference-point-alist, compose-gstring-for-graphic)
10850 (compose-gstring-for-terminal): Fix typos in docstrings.
10851
10852 2010-05-19 Juri Linkov <juri@jurta.org>
10853
10854 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
10855 set-window-parameter.
10856
10857 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10858
10859 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
10860 where appropriate.
10861 (tramp-maybe-open-connection): Use it.
10862
10863 2010-05-19 Eli Zaretskii <eliz@gnu.org>
10864
10865 * simple.el (move-end-of-line): Make sure we are at line beginning
10866 before backing up to end of previous line.
10867
10868 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
10869
10870 * password-cache.el (password-cache-remove): Fix docstring.
10871
10872 * net/secrets.el: Autoload the widget functions.
10873 (secrets-search-items, secrets-create-item)
10874 (secrets-get-attributes, secrets-expand-item): Attributes will be
10875 stored on the password database without leading ":", as all other
10876 clients do as well.
10877 (secrets-mode): Fix docstring.
10878 (secrets-show-secrets): Provide it as autoloaded command only when
10879 D-Bus support is available. Check existence of Secret Service API.
10880
10881 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10882
10883 * indent.el (indent-region): Deactivate region (bug#6200).
10884
10885 2010-05-19 Glenn Morris <rgm@gnu.org>
10886
10887 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
10888
10889 2010-05-19 Kenichi Handa <handa@m17n.org>
10890
10891 * composite.el: Register compose-gstring-for-graphic in
10892 composition-function-table only for combining characters (Mn, Mc, Me).
10893
10894 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
10895
10896 * calc/calc-trail.el (calc-trail-isearch-forward)
10897 (calc-trail-isearch-backward): Ensure that the new window
10898 point is set correctly.
10899
10900 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * subr.el (read-quoted-char): Resolve modifiers after key
10903 remapping (bug#6212).
10904
10905 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
10906
10907 Add visualization code for secrets.
10908 * net/secrets.el (secrets-mode): New major mode.
10909 (secrets-show-secrets, secrets-show-collections)
10910 (secrets-expand-collection, secrets-expand-item)
10911 (secrets-tree-widget-after-toggle-function)
10912 (secrets-tree-widget-show-password): New defuns.
10913
10914 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10915
10916 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
10917 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
10918 handled in smie-next-sexp.
10919 (smie-indent-calculate): Provide a starting indentation (so the
10920 recursion is well-founded ;-).
10921
10922 Fix handling of non-associative equal levels.
10923 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
10924 when it's not needed.
10925 (smie-op-left, smie-op-right): New functions.
10926 (smie-next-sexp): New function, extracted from smie-backward-sexp.
10927 Better handle equal levels to distinguish the associative case from
10928 the "multi-keyword construct" case.
10929 (smie-backward-sexp, smie-forward-sexp): Use it.
10930
10931 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
10932
10933 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
10934
10935 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
10936 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
10937
10938 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 Provide a simple generic indentation engine and use it for Prolog.
10941 * emacs-lisp/smie.el: New file.
10942 * progmodes/prolog.el (prolog-smie-op-levels)
10943 (prolog-smie-indent-rules): New var.
10944 (prolog-mode-variables): Use them to configure SMIE.
10945 (prolog-indent-line, prolog-indent-level): Remove.
10946
10947 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10948
10949 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
10950 order before computing the averages.
10951
10952 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
10953
10954 * calc/calc-vec.el (calc-histogram):
10955 (calcFunc-histogram): Allow vectors as inputs.
10956 (math-vector-avg): New function.
10957
10958 * calc/calc-ext.el (math-group-float): Have the number of digits
10959 being grouped depend on the radix (Bug#6189).
10960
10961 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
10962
10963 * version.el (emacs-copyright, emacs-version): Don't define here,
10964 now that emacs.c defines it.
10965
10966 2010-05-15 Eli Zaretskii <eliz@gnu.org>
10967
10968 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
10969 "Describe Language Environment" menu item.
10970
10971 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
10972
10973 Bidi-sensitive movement with arrow keys.
10974 * subr.el (right-arrow-command, left-arrow-command): New functions.
10975
10976 * bindings.el (global-map): Bind them to right and left arrow keys.
10977
10978 Don't override standard definition of convert-standard-filename.
10979 * files.el (convert-standard-filename):
10980 Call w32-convert-standard-filename and dos-convert-standard-filename on
10981 the corresponding systems.
10982
10983 * w32-fns.el (w32-convert-standard-filename): Rename from
10984 convert-standard-filename. Doc fix.
10985
10986 * dos-fns.el (dos-convert-standard-filename): Doc fix.
10987 (convert-standard-filename): Don't defalias.
10988 (register-name-alist, make-register, register-value)
10989 (set-register-value, intdos): Obsolete aliases for the
10990 corresponding dos-* functions and variables.
10991 (dos-intdos): Add a doc string.
10992
10993 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
10994
10995 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
10996 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
10997 (math-compose-tex-func):
10998 * calc/calccomp.el (math-compose-expr):
10999 * calc/calc-ext.el (math-format-flat-expr-fancy):
11000 * calc/calc-store.el (calc-read-var-name):
11001 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
11002
11003 * calc/calc.el (var-π, var-φ, var-γ): New variables.
11004 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
11005 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
11006 (math-standard-units): Add units.
11007
11008 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * progmodes/asm-mode.el (asm-mode):
11011 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
11012
11013 * pcomplete.el (pcomplete-completions-at-point): New function,
11014 extracted from pcomplete-std-complete.
11015 (pcomplete-std-complete): Use it.
11016
11017 2010-05-15 Glenn Morris <rgm@gnu.org>
11018
11019 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11020 Remove references to CVS, RCS and Old directories.
11021
11022 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
11023
11024 * calc/calc-bin.el (math-format-twos-complement): Group digits when
11025 appropriate.
11026
11027 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
11028
11029 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
11030 (sh-mode-syntax-table): Give it a default value instead.
11031 (sh-header-marker): Make buffer-local.
11032 (sh-mode): Move make-local-variable to the corresponding setq.
11033 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
11034 Use complete-with-action.
11035
11036 * simple.el (prog-mode): New (abstract) major mode.
11037 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
11038 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
11039
11040 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
11041
11042 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
11043 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
11044 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
11045 (sql-make-alternate-buffer-name, sql-placeholders-filter)
11046 (sql-escape-newlines-filter, sql-input-sender)
11047 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
11048
11049 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
11050
11051 Add TeX open-block and close-block keybindings to SGML, and vice versa.
11052
11053 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
11054 latex-open-block and C-c / to latex-close-block.
11055
11056 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
11057 and C-c C-e to sgml-close-tag.
11058
11059 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * net/tramp.el (with-progress-reporter): Create reporter object
11062 only when the message would be displayed. Handle nested calls.
11063 (tramp-handle-load, tramp-handle-file-local-copy)
11064 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11065 (tramp-maybe-send-script, tramp-find-shell):
11066 Use `with-progress-reporter'.
11067 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
11068 Fix message text.
11069
11070 * net/tramp-smb.el (tramp-smb-handle-copy-file)
11071 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
11072 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
11073 Use `with-progress-reporter'.
11074
11075 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
11076
11077 * textmodes/ispell.el (ispell-init-process): Do not kill ispell
11078 process everytime when spellchecking from the minibuffer (bug#6143).
11079
11080 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
11083
11084 * dos-fns.el: Add "dos-" prefix for namespace control.
11085 (convert-standard-filename): Define as alias for
11086 dos-convert-standard-filename but only if applicable.
11087
11088 2010-05-12 Alan Mackenzie <acm@muc.de>
11089
11090 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
11091 Push the mark at the start of these functions when appropriate.
11092
11093 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * minibuffer.el (completion-cycle-threshold): New custom var.
11096 (completion--do-completion): Use it.
11097 (minibuffer-complete): Use cycling if appropriate.
11098
11099 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
11100
11101 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
11102 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
11103
11104 2010-05-11 Juri Linkov <juri@jurta.org>
11105
11106 * scroll-all.el (scroll-all-check-to-scroll):
11107 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
11108
11109 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * iimage.el (iimage-mode-map): Move initialization into declaration.
11112 (iimage-mode-buffer): Use with-silent-modifications.
11113 Simplify calling convention. Adjust callers.
11114 (iimage-mode): Don't run hook redundantly.
11115
11116 * minibuffer.el (completion-pcm--pattern->regex):
11117 Fix last change (bug#6160).
11118
11119 2010-05-10 Juri Linkov <juri@jurta.org>
11120
11121 Remove nodes visited during Isearch from the Info history.
11122 * info.el (Info-isearch-initial-history)
11123 (Info-isearch-initial-history-list): New variables.
11124 (Info-isearch-start): Record initial values of
11125 Info-isearch-initial-history and Info-isearch-initial-history-list.
11126 Add Info-isearch-end to isearch-mode-end-hook.
11127 (Info-isearch-end): New function.
11128
11129 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
11130
11131 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
11132 format string, in order to work around a bug in pdksh.
11133 Reported by Gilles Pion <gpion@lfdj.com>.
11134 (tramp-handle-verify-visited-file-modtime): Do not send a command
11135 when the connection is not established.
11136 (tramp-handle-set-file-times): Simplify the check for utc.
11137
11138 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
11139
11140 Fix use of `filter-buffer-substring' (rework previous change).
11141 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
11142 (cua-repeat-replace-region):
11143 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
11144 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11145 (cua-cut-region-to-global-mark): Use it.
11146
11147 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
11148
11149 * progmodes/sql.el: Version 2.1.
11150 (sql-product-alist): Redesign structure of product info.
11151 (sql-product, sql-user, sql-server, sql-database): Safe variables.
11152 (sql-port, sql-port-history): New variables.
11153 (sql-interactive-product): New variable.
11154 (sql-send-terminator): New variable.
11155 (sql-imenu-generic-expression): Add "Types" imenu entry.
11156 (sql-oracle-login-params, sql-sqlite-login-params)
11157 (sql-mysql-login-params, sql-solid-login-params)
11158 (sql-sybase-login-params, sql-informix-login-params)
11159 (sql-ingres-login-params, sql-ms-login-params)
11160 (sql-postgres-login-params, sql-interbase-login-params)
11161 (sql-db2-login-params, sql-linter-login-params)
11162 (sql-oracle-scan-on): New variables.
11163 (sql-mode-map): Add C-c C-i to start interactive mode.
11164 (sql-mode-menu): Update existing menu entries.
11165 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
11166 (sql-mode-oracle-font-lock-keywords)
11167 (sql-mode-postgres-font-lock-keywords)
11168 (sql-mode-ms-font-lock-keywords)
11169 (sql-mode-sybase-font-lock-keywords)
11170 (sql-mode-informix-font-lock-keywords)
11171 (sql-mode-interbase-font-lock-keywords)
11172 (sql-mode-ingres-font-lock-keywords)
11173 (sql-mode-solid-font-lock-keywords)
11174 (sql-mode-mysql-font-lock-keywords)
11175 (sql-mode-sqlite-font-lock-keywords)
11176 (sql-mode-db2-font-lock-keywords)
11177 (sql-mode-linter-font-lock-keywords): Update initialization to
11178 reduce run-time complexity.
11179 (sql-add-product, sql-del-product): New functions.
11180 (sql-set-product-feature, sql-get-product-feature): New functions.
11181 (sql-product-font-lock): Update product API.
11182 (sql-add-product-keywords): New function.
11183 (sql-highlight-product): Update product API.
11184 (sql-help-list-products): New function.
11185 (sql-help): Dynamically lists free and non-free products.
11186 (sql-get-login): Correct bug in handling history and added
11187 prompt for port.
11188 (sql-copy-column): Copy without properties.
11189 (sqli-input-sender): Apply filters to SQLi input.
11190 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
11191 Implement as a filter.
11192 (sql-escape-newlines-filter): Implement as a filter.
11193 (sql-remove-tabs-filter): New function.
11194 (sql-send-magic-terminator): New function.
11195 (sql-send-string): Implement magic terminator.
11196 (sql-send-region): Use `sql-send-string'.
11197 (sql-interactive-mode): Use product API.
11198 (sql-product-interactive): Use product API.
11199 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
11200 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
11201 (sql-db2, sql-linter): Use `sql-product-interactive'.
11202 (sql-connect): New function.
11203 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
11204 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
11205 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
11206 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
11207 Use `sql-connect'.
11208
11209 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11210
11211 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
11212 New custom variable.
11213 (completion-pcm--string->pattern): Use it.
11214 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
11215 Make it handle any symbol as `any'.
11216 (completion-pcm--merge-completions): Extract common suffix for the new
11217 `prefix' symbol as well.
11218 (completion-substring--all-completions): Use the new `prefix' symbol.
11219
11220 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
11221
11222 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
11223 not bound.
11224 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
11225 (tramp-compat-funcall): New defmacro.
11226 (tramp-compat-line-beginning-position)
11227 (tramp-compat-line-end-position)
11228 (tramp-compat-temporary-file-directory)
11229 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
11230 (tramp-compat-copy-file, tramp-compat-copy-directory)
11231 (tramp-compat-delete-file, tramp-compat-delete-directory)
11232 (tramp-compat-number-sequence, tramp-compat-process-running-p)
11233 * net/tramp.el (top, with-progress-reporter)
11234 (tramp-rfn-eshadow-setup-minibuffer)
11235 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
11236 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
11237 (tramp-completion-mode-p, tramp-check-for-regexp)
11238 (tramp-open-connection-setup-interactive-shell)
11239 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
11240 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
11241 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
11242 * net/tramp-cmds.el (tramp-cleanup-all-connections)
11243 (tramp-reporter-dump-variable, tramp-load-report-modules)
11244 (tramp-append-tramp-buffers)
11245 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
11246
11247 * net/tramp-imap.el (top): Autoload `epg-make-context'.
11248
11249 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11250
11251 * progmodes/compile.el (compilation-buffer-modtime): Rename from
11252 buffer-modtime. Adjust users.
11253
11254 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11255
11256 * international/mule.el (auto-coding-alist): Only purecopy
11257 car of each item, not the whole list (Bug#6083).
11258
11259 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11260
11261 * progmodes/js.el (js-mode): Make paragraph variables local before
11262 calling c-setup-paragraph-variables (Bug#6071).
11263
11264 2010-05-08 Eli Zaretskii <eliz@gnu.org>
11265
11266 * composite.el (compose-region, reference-point-alist): Fix typos
11267 in the doc strings.
11268
11269 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11270
11271 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
11272 gnuplot's "set" command.
11273
11274 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11275
11276 * abbrev.el (last-abbrev-text): Doc fix.
11277 (abbrev-prefix-mark): Don't escape parenthesis.
11278
11279 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
11280
11281 * composite.el (find-composition): Doc fix.
11282
11283 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11284
11285 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
11286 (sql-oracle-program, sql-sqlite-options)
11287 (sql-query-placeholders-and-send): Doc fixes.
11288 (sql-set-product, sql-interactive-mode): Reflow docstrings.
11289 (sql-imenu-generic-expression, sql-buffer)
11290 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
11291 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
11292 (sql-mode-sybase-font-lock-keywords)
11293 (sql-mode-informix-font-lock-keywords)
11294 (sql-mode-interbase-font-lock-keywords)
11295 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
11296 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
11297 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
11298 (sql-product-feature, sql-highlight-product)
11299 (comint-line-beginning-position, sql-rename-buffer)
11300 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
11301 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
11302 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
11303 Fix typos in docstrings.
11304
11305 2010-05-08 Juri Linkov <juri@jurta.org>
11306
11307 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
11308 property instead of `invisible' and `after-string' (bug#5998).
11309
11310 2010-05-08 Juri Linkov <juri@jurta.org>
11311
11312 * image-mode.el (image-mode-as-text): Fix typo in docstring.
11313
11314 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
11315
11316 * filecache.el (file-cache-add-directory-list)
11317 (file-cache-add-directory-recursively): Fix typos in docstrings.
11318
11319 2010-05-08 Kenichi Handa <handa@m17n.org>
11320
11321 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
11322 (gujarati-composable-pattern): Fix typo.
11323
11324 2010-05-08 Kenichi Handa <handa@m17n.org>
11325
11326 * language/indian.el (oriya-composable-pattern)
11327 (tamil-composable-pattern, malayalam-composable-pattern):
11328 Add two-part vowels to "v" (vowel sign).
11329
11330 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
11331
11332 * files.el (copy-directory): Handle symlinks (Bug#5982).
11333
11334 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
11335
11336 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
11337 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
11338 (Bug#5846).
11339
11340 2010-05-08 Glenn Morris <rgm@gnu.org>
11341
11342 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
11343
11344 * minibuffer.el (completion-at-point): Doc fix.
11345
11346 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11347
11348 * electric.el (Electric-command-loop): Minor tweak.
11349
11350 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
11351 better with dedicated windows.
11352
11353 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
11354
11355 * Version 23.2 released.
11356
11357 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
11358 Stefan Monnier <monnier@iro.umontreal.ca>
11359
11360 Highlight vendor specific properties.
11361 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
11362 (css-proprietary-property): New face.
11363 (css-font-lock-keywords): Use them.
11364
11365 2010-05-07 Eli Zaretskii <eliz@gnu.org>
11366
11367 * cus-start.el (all): Add native condition for tool-bar-* symbols.
11368
11369 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11370
11371 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
11372 * files.el (auto-mode-alist): Remove redundant entries.
11373
11374 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
11375 * simple.el (auto-save-mode): Move from files.el.
11376 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
11377
11378 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
11379
11380 * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
11381
11382 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
11383
11384 * mail/binhex.el (binhex-decode-region-internal)
11385 * mail/uudecode.el (uudecode-decode-region-internal)
11386 * net/dns.el (dns-read-string-name, dns-write, dns-read)
11387 (dns-read-type, dns-query)
11388 * pgg-parse.el (pgg-parse-armor)
11389 * pgg.el (pgg-verify-region)
11390 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
11391 XEmacs.
11392
11393 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
11394
11395 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
11396
11397 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
11398
11399 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
11400 * emulation/cua-base.el (cua-repeat-replace-region):
11401 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
11402 (cua-cut-region-to-global-mark):
11403 Remove text properties with `set-text-properties'.
11404
11405 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
11406
11407 * net/tramp.el (top, with-progress-reporter):
11408 Use `symbol-function' inside `funcall'.
11409
11410 * net/tramp-compat.el (tramp-compat-file-attributes)
11411 (tramp-compat-delete-file, tramp-compat-delete-directory):
11412 Handle only `wrong-number-of-arguments' error.
11413
11414 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
11415 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
11416 inside `funcall'.
11417
11418 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * minibuffer.el (completion--sreverse, completion--common-suffix):
11421 New functions.
11422 (completion-pcm--merge-completions): Extract common suffix when safe.
11423
11424 * emacs-lisp/easy-mmode.el (define-minor-mode):
11425 Make :variable more flexible.
11426 * files.el (auto-save-mode): Use it to define using define-minor-mode.
11427
11428 2010-05-05 Juri Linkov <juri@jurta.org>
11429
11430 Add `slow' and `history' tags to the desktop data.
11431
11432 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
11433 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
11434 (Info-finder-find-node): Require `finder.el' to be able
11435 to restore node from the desktop.
11436 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
11437 data `Info-history' and `slow' tag in the assoc list.
11438 (Info-restore-desktop-buffer): Don't restore nodes with the
11439 `slow' tag. Restore `Info-history'.
11440
11441 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
11442
11443 Add FORCE argument to `delete-file'.
11444
11445 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
11446 forcing to delete the temporary file.
11447 (ange-ftp-delete-file): Add FORCE arg.
11448 (ange-ftp-rename-remote-to-remote)
11449 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
11450 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
11451 Force file deletion.
11452
11453 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
11454
11455 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
11456 (tramp-handle-make-symbolic-link, tramp-handle-load)
11457 (tramp-do-copy-or-rename-file-via-buffer)
11458 (tramp-do-copy-or-rename-file-directly)
11459 (tramp-do-copy-or-rename-file-out-of-band)
11460 (tramp-handle-process-file, tramp-handle-call-process-region)
11461 (tramp-handle-shell-command, tramp-handle-file-local-copy)
11462 (tramp-handle-insert-file-contents, tramp-handle-write-region)
11463 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
11464
11465 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
11466 (tramp-fish-handle-make-symbolic-link)
11467 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
11468
11469 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
11470 Use `tramp-compat-delete-file'.
11471
11472 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
11473 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
11474
11475 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
11476 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
11477
11478 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
11479 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
11480 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
11481 Use `tramp-compat-delete-file'.
11482
11483 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 Minor cleanups.
11486 * subr.el (add-minor-mode): Use push.
11487 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
11488 * emulation/edt.el (edt-select-mode): Simplify.
11489
11490 Use define-minor-mode in more cases.
11491 * term/tvi970.el (tvi970-set-keypad-mode):
11492 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11493 (normal-erase-is-backspace-mode):
11494 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
11495 (set-scroll-bar-mode-1): (Re)move to its sole caller.
11496 (get-scroll-bar-mode): New function.
11497 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
11498
11499 Use define-minor-mode for less obvious cases.
11500 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
11501 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
11502 * international/iso-ascii.el (iso-ascii-mode):
11503 * frame.el (auto-raise-mode, auto-lower-mode):
11504 * composite.el (global-auto-composition-mode): Use define-minor-mode.
11505
11506 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
11507
11508 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
11509 in order to see error messages for failed logins.
11510
11511 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
11512
11513 * diff.el (diff-sentinel):
11514
11515 * epg.el (epg--make-temp-file, epg-decrypt-string)
11516 (epg-verify-string, epg-sign-string, epg-encrypt-string):
11517
11518 * jka-compr.el (jka-compr-partial-uncompress)
11519 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
11520
11521 * server.el (server-sentinel): Use delete-file's new FORCE arg
11522 (Bug#6070).
11523
11524 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11525
11526 Use define-minor-mode where applicable.
11527 * view.el (view-mode):
11528 * type-break.el (type-break-query-mode)
11529 (type-break-mode-line-message-mode):
11530 * textmodes/reftex.el (reftex-mode):
11531 * term/vt100.el (vt100-wide-mode):
11532 * tar-mode.el (tar-subfile-mode):
11533 * savehist.el (savehist-mode):
11534 * ibuf-ext.el (ibuffer-auto-mode):
11535 * composite.el (auto-composition-mode):
11536 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11537 Use define-minor-mode.
11538 (vhdl-mode): Use static mode-line format.
11539 (vhdl-mode-line-update): Delete.
11540 (vhdl-create-mode-menu, vhdl-activate-customizations)
11541 (vhdl-hs-minor-mode): Don't bother calling it.
11542
11543 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * simple.el (with-wrapper-hook): Move.
11546 (buffer-substring-filters): Mark obsolete.
11547 (filter-buffer-substring-functions): New variable.
11548 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
11549
11550 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
11551 Michael Albinus <michael.albinus@gmx.de>
11552
11553 Implement compression for inline methods.
11554
11555 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
11556 (tramp-copy-size-limit): Allow also nil.
11557 (tramp-inline-compress-commands): New defconst.
11558 (tramp-find-inline-compress, tramp-get-inline-compress)
11559 (tramp-get-inline-coding): New defuns.
11560 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
11561 replaced by `tramp-get-inline-coding'.
11562 (tramp-handle-file-local-copy, tramp-handle-write-region)
11563 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
11564
11565 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11566
11567 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
11568 Remove unused functions.
11569
11570 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
11571 Set find-tag-default-function as a variable rather than a property.
11572
11573 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
11574 * progmodes/etags.el (tags-completion-at-point-function):
11575 Remove left over interactive spec. Add autoloading stub.
11576 (complete-tag): Use tags-completion-at-point-function.
11577
11578 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
11579
11580 * minibuffer.el (tags-completion-at-point-function): Fix return value.
11581
11582 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11583
11584 * ido.el (ido-init-completion-maps): Remove C-v binding.
11585 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
11586
11587 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
11588
11589 * minibuffer.el (tags-completion-at-point-function): New function.
11590 (completion-at-point-functions): Use it.
11591
11592 * progmodes/etags.el (complete-tag): Revert last change.
11593
11594 2010-04-29 Alan Mackenzie <acm@muc.de>
11595
11596 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
11597 off-by-one error (in end of macro position).
11598
11599 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
11600
11601 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
11602 firefox is absent. Don't autoload.
11603 (browse-url-galeon-program): Don't autoload.
11604
11605 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11606
11607 * bindings.el (complete-symbol): Move into minibuffer.el.
11608
11609 * minibuffer.el (complete-tag): Move from etags.el. If tags
11610 completion cannot be performed, return nil instead of signalling
11611 an error.
11612 (completion-at-point): Make it an alias for complete-symbol.
11613 (complete-symbol): Move from bindings.el, and replace with the
11614 body of completion-at-point.
11615
11616 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
11617
11618 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
11619
11620 * net/tramp.el (tramp-remote-selinux-p): New defun.
11621 (tramp-handle-file-selinux-context)
11622 (tramp-handle-set-file-selinux-context): Use it.
11623
11624 2010-04-28 Sam Steingold <sds@gnu.org>
11625
11626 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11627 `safe-local-variable' if the value is a string or a symbol with
11628 the property `bug-reference-url-format'.
11629
11630 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
11631
11632 * progmodes/bug-reference.el (bug-reference-url-format):
11633 Revert 2010-04-27 change due to security risk.
11634
11635 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11636
11637 Make it possible to locally disable a globally enabled mode.
11638 * simple.el (fundamental-mode): Run fundamental-mode-hook.
11639 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
11640 rather than kill-all-local-variables so it runs fundamental-mode-hook.
11641 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11642 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
11643 that subsequent hooks get a chance to disable it.
11644
11645 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11646
11647 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11648 Avoid re-enabling a minor mode after the user turned the minor mode
11649 off if MODE-enable-in-buffers is run twice (typically once from
11650 fundamental-mode's after-change-major-mode-hook and a second time from
11651 run-mode-hook's own after-change-major-mode-hook).
11652
11653 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
11654
11655 2010-04-27 Sam Steingold <sds@gnu.org>
11656
11657 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
11658 `safe-local-variable' if the value is a string or a function, as
11659 documented and implemented on 2010-04-02.
11660
11661 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
11662
11663 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
11664 when method is 'kill.
11665
11666 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
11667
11668 * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
11669 condition in default directory check.
11670 (ispell-init-process, ispell-kill-ispell, kill-buffer-hook):
11671 Kill ispell process when killing its associated buffer.
11672
11673 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
11674
11675 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
11676 but we aren't using it.
11677
11678 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
11679
11680 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
11681 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
11682
11683 2010-04-24 Glenn Morris <rgm@gnu.org>
11684
11685 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
11686 Ignore VCS-ignore files, and deleted nextstep preferences files.
11687 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
11688 (authors-ambiguous-files): New list.
11689 (authors-valid-file-names): Add some deleted files.
11690 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
11691 (authors-disambiguate-file-name): New function. (Bug#5501)
11692 (authors-canonical-file-name): Doc fix.
11693 Don't warn about obsolete files.
11694 (authors-canonical-file-name, authors-scan-el):
11695 Use authors-disambiguate-file-name.
11696
11697 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11698 Add autoload cookies.
11699 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
11700 (generated-autoload-file): Set file-local value to "htmlfontify.el".
11701 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
11702 They have definitions / compiler macros in cl.el.
11703 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
11704 Replace manual autoloads with generated ones.
11705 (htmlfontify-unload-rgb-file): Remove autoload.
11706 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
11707
11708 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11709
11710 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
11711 (byte-compile-setq-default): Optimize for the
11712 single-var case and don't call byte-compile-form in this case to avoid
11713 inf-loop with byte-compile-set-default.
11714
11715 * progmodes/compile.el (compilation-start): Abbreviate default directory.
11716
11717 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
11718
11719 Implement SELINUX backends.
11720
11721 * net/tramp.el (tramp-file-name-handler-alist):
11722 Add `file-selinux-context' and `set-file-selinux-context'.
11723 (tramp-handle-file-selinux-context)
11724 (tramp-handle-set-file-selinux-context): New defuns.
11725 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
11726 Handle PRESERVE-SELINUX-CONTEXT.
11727
11728 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11729 Add `file-selinux-context' and `set-file-selinux-context'.
11730 (tramp-gvfs-handle-file-selinux-context)
11731 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
11732 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
11733
11734 * net/ange-ftp.el (ange-ftp-copy-file):
11735 * net/tramp-fish.el (tramp-fish-handle-copy-file):
11736 * net/tramp-imap.el (tramp-imap-handle-copy-file):
11737 * net/tramp-smb.el (tramp-smb-handle-copy-file):
11738 Add PRESERVE-SELINUX-CONTEXT.
11739
11740 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11741
11742 Synchronize with Tramp repository.
11743
11744 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
11745 (tramp-action-process-alive, tramp-action-out-of-band)
11746 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
11747 (tramp-exists-file-name-handler): Fix docstring.
11748 (with-progress-reporter): New defmacro.
11749 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
11750 (tramp-maybe-open-connection): Use it.
11751
11752 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
11753
11754 Detect ssh 'ControlMaster' argument automatically in some cases.
11755
11756 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
11757 (tramp-default-method): Use it.
11758
11759 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11760
11761 * net/tramp.el (tramp-handle-copy-file): Add new optional
11762 parameter `preserve-selinux-context'.
11763 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
11764
11765 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
11766
11767 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
11768 Ensure, that non remote files are still checked. Oops.
11769
11770 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
11771
11772 Fix Bug#5840.
11773
11774 * icomplete.el (icomplete-completions): Use `non-essential'.
11775
11776 * net/tramp.el (tramp-connectable-p): New defun.
11777 (tramp-handle-expand-file-name)
11778 (tramp-completion-handle-file-name-all-completions)
11779 (tramp-completion-handle-file-name-completion): Use it.
11780
11781 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11782
11783 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
11784
11785 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
11786
11787 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
11788
11789 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
11790
11791 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
11792 is present.
11793
11794 * info.el (info-tool-bar-map): Add labels.
11795
11796 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
11797
11798 * cus-edit.el (custom-commands): Add labels for tool bar.
11799 (custom-buffer-create-internal, Custom-mode): Adjust for
11800 labels in custom-commands.
11801
11802 * dynamic-setting.el: Renamed from font-setting.el.
11803
11804 2010-04-21 John Wiegley <jwiegley@gmail.com>
11805
11806 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
11807 toggles the use of virtual buffers.
11808 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
11809 (ido-toggle-virtual-buffers): New function.
11810
11811 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
11812
11813 Use `define-derived-mode'; fix window selection; doc fixes.
11814 * play/tetris.el (tetris, tetris-update-speed-function)
11815 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
11816 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
11817 (tetris-rotate-next, tetris-end-game, tetris-start-game)
11818 (tetris-pause-game): Fix typos in docstrings.
11819 (tetris-mode-map, tetris-null-map):
11820 Move initialization into declaration.
11821 (tetris-mode): Define with `define-derived-mode';
11822 set show-trailing-whitespace to nil.
11823 (tetris): Prefer window already displaying the "*Tetris*" buffer.
11824
11825 2010-04-21 Karel Klíč <kklic@redhat.com>
11826
11827 * files.el (backup-buffer): Handle SELinux context, and return it
11828 if a backup was made by renaming.
11829 (backup-buffer-copy): Set SELinux context to the target file.
11830 (basic-save-buffer): Set SELinux context of the newly written file.
11831 (basic-save-buffer-1): Now it also returns any SELinux context.
11832 (basic-save-buffer-2): Set SELinux context of the newly created file,
11833 and return it.
11834 * net/tramp.el (tramp-file-name-for-operation):
11835 Add file-selinux-context.
11836
11837 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 Make the log-edit comments use RFC822 format throughout.
11840
11841 * vc.el (vc-checkin, vc-modify-change-comment):
11842 Adjust to new vc-start/finish-logentry.
11843 (vc-find-conflicted-file): New command.
11844 (vc-transfer-file): Adjust to new vc-checkin.
11845 (vc-next-action): Improve scoping.
11846
11847 * vc-hg.el (vc-hg-log-edit-mode): Remove.
11848 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
11849
11850 * vc-git.el (vc-git-log-edit-mode): Remove.
11851 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
11852 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
11853
11854 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
11855 (vc-start-logentry): Remove argument `extra'.
11856 (vc-finish-logentry): Remove extra args.
11857
11858 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
11859 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
11860 (vc-bzr-conflicted-files): New function.
11861
11862 * log-edit.el (log-edit-extra-flags)
11863 (log-edit-before-checkin-process): Remove.
11864 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
11865 (log-edit-headers-alist): New var.
11866 (log-edit-header-contents-regexp): New const.
11867 (log-edit-match-to-eoh): New function.
11868 (log-edit-font-lock-keywords): Use them.
11869 (log-edit): Insert a "Summary:" header as default.
11870 (log-edit-mode): Mark font-lock rules as case-insensitive.
11871 (log-edit-done): Cleanup headers.
11872 (log-view-process-buffer): Remove.
11873 (log-edit-extract-headers): New function to replace it.
11874
11875 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
11876
11877 * subr.el (default-direction-reversed): Remove obsolescence info.
11878
11879 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
11880
11881 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
11882 windows/frames.
11883
11884 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
11885 I.e. include text after point in the completion region.
11886 Also, return nil when we're not after/in a symbol.
11887
11888 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
11889 default enable-multibyte-characters.
11890
11891 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11892
11893 * international/mule.el: Help the user choose a valid coding-system.
11894 (read-buffer-file-coding-system): New function.
11895 (set-buffer-file-coding-system): Use it. Prompt the user if the
11896 coding-system cannot encode all the chars.
11897
11898 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
11899 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
11900 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
11901 Don't use *vc-bzr-shelve*.
11902
11903 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
11904
11905 Fix the version number for added files.
11906 * vc-hg.el (vc-hg-working-revision): Check if the file is
11907 registered after hg parent fails (Bug#5961).
11908
11909 2010-04-19 Glenn Morris <rgm@gnu.org>
11910
11911 * htmlfontify.el (htmlfontify-buffer)
11912 (htmlfontify-copy-and-link-dir): Autoload entry points.
11913
11914 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
11915
11916 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
11917 name relative to the project root (Bug#5960).
11918
11919 2010-04-19 Glenn Morris <rgm@gnu.org>
11920
11921 * vc-git.el (vc-git-print-log): Doc fix.
11922
11923 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
11924
11925 * ido.el (ido-file-internal): Fix 2009-12-02 change.
11926
11927 2010-04-19 Christoph Scholtes <cschol2112@googlemail.com>
11928
11929 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
11930 default settings (Bug#5928).
11931
11932 2010-04-19 Glenn Morris <rgm@gnu.org>
11933
11934 * progmodes/fortran.el (fortran-match-and-skip-declaration):
11935 New function.
11936 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
11937
11938 2010-04-19 Kenichi Handa <handa@m17n.org>
11939
11940 * language/indian.el (malayalam-composable-pattern): Fix previous
11941 change (add U+0D4D "SIGN VIRAMA").
11942 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
11943 (tamil-composable-pattern): Fix typo in the regexp.
11944 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
11945 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
11946 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
11947
11948 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11949
11950 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
11951 paragraph-separate (Bug#5821).
11952
11953 2010-04-19 Juri Linkov <juri@jurta.org>
11954
11955 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
11956
11957 * info.el (Info-find-node-2): Comment out code that skips
11958 breadcrumbs line.
11959 (Info-mouse-follow-link): New command.
11960 (Info-link-keymap): New keymap.
11961 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
11962 Return a string with links instead of inserting breadcrumbs
11963 to the Info buffer.
11964 (Info-fontify-node): Comment out code that inserts breadcrumbs.
11965 Instead of putting the `invisible' text property over the Info
11966 header, make an overlay over the Info header with the `invisible'
11967 property and `after-string' set to the string returned by
11968 `Info-breadcrumbs'.
11969
11970 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
11971
11972 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
11973 Reported by monkey@sandpframing.com.
11974
11975 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
11978 (tmm-get-keymap): Add key-binding shortcuts now that they're not
11979 available in the "keyseq cache" any more.
11980
11981 * custom.el (defcustom): Add edebug spec.
11982
11983 2010-04-18 Juri Linkov <juri@jurta.org>
11984
11985 Test for special mode-class in view-buffer instead of view-file (bug#5513).
11986
11987 * view.el (view-file, view-buffer): Move test for special mode-class
11988 from view-file to view-buffer.
11989
11990 * tar-mode.el (tar-extract): Turn if's into one cond
11991 like in arc-mode.el.
11992
11993 2010-04-18 Juri Linkov <juri@jurta.org>
11994
11995 Add 7z archive format support (bug#5475).
11996
11997 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
11998 (archive-7z-extract): New defcustom.
11999 (archive-find-type): Add magic string for 7z.
12000 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
12001 If `stderr-file' is non-nil, use `(t stderr-file)' for the
12002 `buffer' arg of `call-process'.
12003 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
12004 call the function `archive-7z-extract' with the variable
12005 `archive-7z-extract' let-bound to `archive-zip-extract'.
12006 (archive-7z-summarize, archive-7z-extract): New functions.
12007
12008 * international/mule.el (auto-coding-alist):
12009 * files.el (auto-mode-alist): Add 7z file extension.
12010
12011 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12012
12013 * loadup.el: Setup hash-cons for pure data.
12014
12015 Fix duplicate entries in cedet's loaddefs.el files.
12016 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
12017 Should make most file-local generated-autoload-file unnecessary.
12018 (print-readably): Silence warnings.
12019 (autoload-find-destination): Take load-name as an arg to make sure
12020 it's the same as the one that will be in the file.
12021 (autoload-generate-file-autoloads): Adjust to above changes.
12022 Try to make the dataflow a bit simpler.
12023
12024 * cvs-status.el (cvs-refontify): Remove unused.
12025
12026 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
12027
12028 * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
12029
12030 * calc/calc-bin.el (calc-radix): Have the "O" option turn on
12031 twos-complement mode.
12032
12033 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
12034
12035 * calc/calc-ext.el (calc-init-extensions): Add keybinding for
12036 'calc-option'. Add `calc-option-prefix-help' to calc-help autoloads.
12037 (calc-inverse): Add "Option" to message, as appropriate.
12038 (calc-hyperbolic): Add "Option" to message, as appropriate.
12039 (calc-option, calc-is-option): New functions.
12040
12041 * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
12042 (calc-option-prefix-help): New function.
12043
12044 * calc/calc-misc.el (calc-help): Add "Option" entry.
12045
12046 * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
12047 (calc-option-flag): New variable.
12048 (calc-do): Set `calc-option-flag to nil.
12049 (calc-set-mode-line): Add "Opt " as appropriate.
12050
12051 2010-04-16 Juri Linkov <juri@jurta.org>
12052
12053 Move scrolling commands from simple.el to window.el
12054 because their primitives are implemented in window.c.
12055
12056 * simple.el (scroll-error-top-bottom)
12057 (scroll-up-command, scroll-down-command, scroll-up-line)
12058 (scroll-down-line, scroll-other-window-down)
12059 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12060 * window.el (scroll-error-top-bottom)
12061 (scroll-up-command, scroll-down-command, scroll-up-line)
12062 (scroll-down-line, scroll-other-window-down)
12063 (beginning-of-buffer-other-window, end-of-buffer-other-window):
12064 Move from simple.el to window.el because their primitives are
12065 implemented in window.c.
12066
12067 2010-04-16 Juri Linkov <juri@jurta.org>
12068
12069 * isearch.el (isearch-lookup-scroll-key): Check both
12070 `isearch-scroll' and `scroll-command' properties.
12071 (scroll-up, scroll-down): Remove `isearch-scroll' property.
12072
12073 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
12074
12075 * simple.el (scroll-up-command, scroll-down-command)
12076 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
12077
12078 2010-04-15 Juri Linkov <juri@jurta.org>
12079
12080 * simple.el (scroll-up-command, scroll-down-command)
12081 (scroll-up-line, scroll-down-line): Put `scroll-command'
12082 property on the these symbols. Remove them from
12083 `scroll-preserve-screen-position-commands'.
12084
12085 * mwheel.el (mwheel-scroll): Put `scroll-command' and
12086 `isearch-scroll' properties on the `mwheel-scroll' symbol.
12087 Remove it from `scroll-preserve-screen-position-commands'.
12088
12089 * isearch.el (isearch-allow-scroll): Doc fix.
12090
12091 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
12092
12093 * net/tramp.el (tramp-error-with-buffer): Don't show the
12094 connection buffer when we are in completion mode.
12095 (tramp-file-name-handler): Catch the error for some operations
12096 when we are in completion mode. This gives the user the chance to
12097 correct the file name in the minibuffer.
12098
12099 2010-04-15 Glenn Morris <rgm@gnu.org>
12100
12101 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
12102
12103 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
12104
12105 Simplify by using `define-derived-mode'.
12106 * info.el (Info-mode):
12107 * calendar/todo-mode.el (todo-mode):
12108 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
12109 (gomoku-mode-map): Move initialization into declaration.
12110
12111 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
12112
12113 Fix Bug#5840.
12114 * ido.el (ido-file-name-all-completions-1):
12115 * minibuffer.el (minibuffer-completion-help):
12116 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
12117
12118 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * simple.el (non-essential): New var.
12121
12122 Add a new field `location' to bookmarks for non-file bookmarks.
12123 * bookmark.el (bookmark-location): Use the new field, if present.
12124 (bookmark-insert-location): Undo last change, not needed any more.
12125 * man.el (Man-bookmark-make-record):
12126 * woman.el (woman-bookmark-make-record): Add `location' field.
12127
12128 2010-04-14 Juri Linkov <juri@jurta.org>
12129
12130 * simple.el (scroll-error-top-bottom): New defcustom.
12131 (scroll-up-command, scroll-down-command): Use it. Doc fix.
12132
12133 * emulation/pc-select.el (pc-select-override-scroll-error):
12134 Obsolete in favor of `scroll-error-top-bottom'.
12135
12136 2010-04-14 Juri Linkov <juri@jurta.org>
12137
12138 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
12139 `scroll-up-command' and `M-v' to `scroll-down-command'.
12140
12141 * emulation/cua-rect.el (cua--init-rectangles):
12142 * forms.el (forms--change-commands):
12143 * image-mode.el (image-mode-map):
12144 Remap scroll-down-command and scroll-up-command
12145 in addition to scroll-down and scroll-up.
12146
12147 2010-04-14 Juri Linkov <juri@jurta.org>
12148
12149 * mwheel.el (scroll-preserve-screen-position-commands):
12150 Add mwheel-scroll to this list of commands.
12151
12152 * simple.el (scroll-preserve-screen-position-commands):
12153 Add scroll-up-command, scroll-down-command, scroll-up-line,
12154 scroll-down-line to this list of commands.
12155
12156 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12157
12158 * obsolete/complete.el: Move from lisp/complete.el.
12159
12160 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
12161
12162 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
12163 to the minor mode function now turns the mode ON unconditionally.
12164
12165 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 * vc-dir.el (vc-dir-kill-line): New command.
12168 (vc-dir-mode-map): Bind it to C-k.
12169
12170 * bookmark.el (bookmark-insert-location): Handle a nil filename.
12171
12172 * woman.el: Add bookmark declarations to silence the compiler.
12173 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
12174 step to compatibility between man and woman bookmarks.
12175 Adjust for Man-default-bookmark-title renaming.
12176 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
12177
12178 * man.el: Add bookmark declarations to silence the compiler.
12179 (Man-name-local-regexp): Make it match NAME as well.
12180 (Man-getpage-in-background): Return the buffer.
12181 (Man-notify-when-ready): Use `case'.
12182 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
12183 Don't hardcode "NAME". Simplify.
12184 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
12185 Rename from Man-bookmark-make-record.
12186 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
12187 we have the actual man-args. Use Man-getpage-in-background rather
12188 than `man' since the arg is already processed. Let bookmark.el do the
12189 window handling. Only wait for the relevant process.
12190 Don't forget to autoload.
12191
12192 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
12193
12194 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12195
12196 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
12197 New functions.
12198 (woman-mode): Setup bookmark support.
12199
12200 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
12201 (man-bookmark-jump): New functions.
12202 (Man-mode): Setup bookmark support.
12203
12204 2010-04-10 Jari Aalto <jari.aalto@cante.net>
12205
12206 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
12207 recognize ssh-keygen prompt (Bug#2817).
12208
12209 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12210
12211 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
12212
12213 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
12214
12215 Synchronize with Tramp repository.
12216
12217 * net/tramp.el (tramp-completion-function-alist)
12218 (tramp-file-name-regexp, tramp-chunksize)
12219 (tramp-local-coding-commands, tramp-remote-coding-commands):
12220 Fix docstring.
12221 (tramp-remote-process-environment): Use `format' instead of `concat'.
12222 (tramp-handle-directory-files-and-attributes)
12223 (tramp-get-remote-path): Use `copy-tree'.
12224 (tramp-handle-file-name-all-completions): Backward/ XEmacs
12225 compatibility: Use `completion-ignore-case' if
12226 `read-file-name-completion-ignore-case' does not exist.
12227 (tramp-do-copy-or-rename-file-directly): Do not use
12228 `tramp-handle-file-remote-p'.
12229 (tramp-do-copy-or-rename-file-out-of-band):
12230 Use `tramp-compat-delete-directory'.
12231 (tramp-do-copy-or-rename-file-out-of-band)
12232 (tramp-compute-multi-hops, tramp-maybe-open-connection):
12233 Use `format-spec-make'.
12234 (tramp-find-foreign-file-name-handler)
12235 (tramp-advice-make-auto-save-file-name)
12236 (tramp-set-auto-save-file-modes): Remove superfluous check for
12237 `stringp'. This is done inside `tramp-tramp-file-p'.
12238 (tramp-debug-outline-regexp): New defconst.
12239 (tramp-get-debug-buffer): Use it.
12240 (tramp-check-for-regexp): Use (forward-line 1).
12241 (tramp-set-auto-save-file-modes): Adapt version check.
12242
12243 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
12244 Wrap call of `featurep' for 2nd argument.
12245 (tramp-compat-make-temp-file): Simplify fallback implementation.
12246 (tramp-compat-copy-tree): Remove function.
12247 (tramp-compat-delete-directory): Provide implementation for older
12248 Emacsen.
12249
12250 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
12251 Do not use `tramp-fish-handle-file-attributes.
12252
12253 * net/trampver.el: Update release number.
12254
12255 2010-04-10 Glenn Morris <rgm@gnu.org>
12256
12257 * progmodes/compile.el (compilation-save-buffers-predicate):
12258 Add missing :version tag.
12259
12260 2010-04-09 Sam Steingold <sds@gnu.org>
12261
12262 * progmodes/compile.el (compilation-save-buffers-predicate):
12263 Remove the "autoload" cookie.
12264
12265 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
12266 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
12267 and `bug-reference-prog-mode' can be used in hooks directly.
12268
12269 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
12270
12271 Add --author support to git commit.
12272 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
12273 (vc-git-log-edit-mode): New minor mode.
12274 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
12275 New declarations.
12276
12277 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
12278
12279 * vc-hooks.el, vc-git.el: Improve documentation comments.
12280
12281 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 Fix some of the problems in defsubst* (bug#5728).
12284 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
12285 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
12286
12287 2010-04-07 Sam Steingold <sds@gnu.org>
12288
12289 * progmodes/compile.el (compilation-save-buffers-predicate):
12290 New custom variable.
12291 (compile, recompile): Pass it to `save-some-buffers'.
12292
12293 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
12294
12295 * wid-edit.el (widget-choose): Move cursor to the second line of
12296 the buffer (Bug#5695).
12297
12298 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12299
12300 Add new VC methods: vc-log-incoming and vc-log-outgoing.
12301 * vc.el (vc-print-log-setup-buttons): New function split out from
12302 vc-print-log-internal.
12303 (vc-log-internal-common): New function, a parametrized version of
12304 vc-print-log-internal.
12305 (vc-print-log-internal): Just call vc-log-internal-common with the
12306 right arguments.
12307 (vc-incoming-outgoing-internal):
12308 (vc-log-incoming, vc-log-outgoing): New functions.
12309 (vc-log-view-type): New permanent local variable.
12310
12311 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
12312
12313 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
12314 of the dynamic bound vc-short-log.
12315 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
12316
12317 * vc-git.el (vc-git-log-outgoing): New function.
12318 (vc-git-log-view-mode): Use vc-log-view-type instead
12319 of the dynamic bound vc-short-log.
12320
12321 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
12322 of the dynamic bound vc-short-log. Highlight the tag.
12323 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
12324 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
12325 (vc-hg-incoming-mode): Remove.
12326 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
12327
12328 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
12329
12330 Fix default-directory for vc-root-diff.
12331 * vc.el (vc-root-diff): Bind default-directory to the root
12332 directory for the diff command.
12333
12334 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
12335
12336 * progmodes/verilog-mode.el (verilog-forward-sexp):
12337 (verilog-calc-1): Support "disable fork" and "fork wait" multi
12338 word keywords, suggested by Steve Pearlmutter.
12339 (verilog-pretty-declarations): Support lineup of declarations in
12340 port lists.
12341 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
12342 fix bug for /* / comments.
12343 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
12344 Speed up and simplfy as this is never called with a bound.
12345 (verilog-pretty-declarations): Enhance to line up declarations
12346 inside a parameter list, suggested by Alan Morgan.
12347 (verilog-pretty-expr): Tune assignment regular expression match
12348 string for corner cases; also use markers instead of character
12349 number as indent changes the later.
12350
12351 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
12352
12353 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
12354 as missing keyword.
12355 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
12356 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
12357 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
12358 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
12359 Tennant.
12360 (verilog-keywords):
12361 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
12362 1800-2009 keywords, including "global.".
12363
12364 2010-04-06 John Wiegley <jwiegley@gmail.com>
12365
12366 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
12367 appearing in buffer list (if a live buffer name matched a recentf
12368 file basename). Should use uniquify to offer a real solution.
12369
12370 2010-04-06 John Wiegley <jwiegley@gmail.com>
12371
12372 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
12373 comment to code, and add a :version tag.
12374 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
12375
12376 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
12377
12378 Enable recentf-mode if using virtual buffers.
12379 * ido.el (recentf-list): Declare for byte-compiler.
12380 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
12381 (ido-make-buffer-list): Simplify.
12382 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
12383
12384 2010-04-05 Juri Linkov <juri@jurta.org>
12385
12386 Scrolling commands which scroll a line instead of full screen.
12387 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12388
12389 * simple.el (scroll-up-line, scroll-down-line): New commands.
12390 Put property isearch-scroll=t on them.
12391
12392 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
12393 Remove commands.
12394
12395 2010-04-05 Juri Linkov <juri@jurta.org>
12396
12397 Scrolling commands which do not signal errors at top/bottom.
12398 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
12399
12400 * simple.el (scroll-up-command, scroll-down-command): New commands.
12401 Put property isearch-scroll=t on them.
12402
12403 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
12404 `scroll-down-command' and [next] from `scroll-up' to
12405 `scroll-up-command'.
12406
12407 * emulation/cua-base.el: Put property CUA=move on
12408 `scroll-up-command' and `scroll-down-command'.
12409 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
12410 and `scroll-down-command' to `cua-scroll-down'.
12411
12412 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
12413
12414 * help.el (describe-mode): Return nil.
12415
12416 2010-04-04 John Wiegley <jwiegley@gmail.com>
12417
12418 * ido.el (ido-use-virtual-buffers): New variable to indicate
12419 whether "virtual buffer" support is enabled for IDO.
12420 (ido-virtual): Face used to indicate virtual buffers in the list.
12421 (ido-buffer-internal): If a buffer is chosen, and no such buffer
12422 exists, but a virtual buffer of that name does (which would be why
12423 it was in the list), recreate the buffer by reopening the file.
12424 (ido-make-buffer-list): If virtual buffers are being used, call
12425 `ido-add-virtual-buffers-to-list' before the make list hook.
12426 (ido-virtual-buffers): New variable which contains a copy of the
12427 current contents of the `recentf-list', albeit pared down for the
12428 sake of speed, and with proper faces applied.
12429 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
12430 create a list of "virtual buffers" to present to the user in
12431 addition to the currently open set. Note that this logic could
12432 get rather slow if that list is too large. With the default
12433 `recentf-max-saved-items' of 200, there is little speed penalty.
12434
12435 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * font-lock.el: Require CL when compiling.
12438 (font-lock-turn-on-thing-lock): Use `case'.
12439
12440 2010-04-03 Eli Zaretskii <eliz@gnu.org>
12441
12442 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
12443 Zaretskii.
12444
12445 2010-04-02 Juri Linkov <juri@jurta.org>
12446
12447 * ehelp.el (electric-help-orig-major-mode):
12448 New buffer-local variable.
12449 (electric-help-mode): Set it to original major-mode. Doc fix.
12450 (with-electric-help): Use `electric-help-orig-major-mode' instead
12451 of (default-value 'major-mode). Doc fix.
12452 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
12453
12454 2010-04-02 Sam Steingold <sds@gnu.org>
12455
12456 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
12457 `vc-hg-command' with a list of flags.
12458
12459 * progmodes/bug-reference.el (bug-reference-bug-regexp):
12460 Also accept "patch" and "RFE".
12461 (bug-reference-fontify): `bug-reference-url-format' can also be a
12462 function to be able to handle the bug kind.
12463 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
12464
12465 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
12466
12467 * tmm.el (tmm-get-keymap): Check with symbolp before passing
12468 value to fboundp, it may not be a symbol.
12469
12470 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12471
12472 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
12473
12474 2010-03-31 Juri Linkov <juri@jurta.org>
12475
12476 * simple.el (next-line, previous-line): Re-throw a signal
12477 with `signal' instead of using `ding'.
12478 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
12479
12480 2010-03-31 Juri Linkov <juri@jurta.org>
12481
12482 * simple.el (keyboard-escape-quit): Raise deselecting the active
12483 region higher than exiting the minibuffer.
12484 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
12485
12486 2010-03-31 Juri Linkov <juri@jurta.org>
12487
12488 * image.el (image-animated-p): Use `image-metadata' instead of
12489 `image-extension-data'. Get GIF extenstion data from metadata
12490 property `extension-data'.
12491
12492 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12493
12494 * simple.el (append-to-buffer): Simplify.
12495
12496 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
12497
12498 * textmodes/artist.el (artist-mode): Fix typo in docstring.
12499 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
12500
12501 2010-03-31 Kenichi Handa <handa@m17n.org>
12502
12503 * language/sinhala.el (composition-function-table): Fix regexp for
12504 the new Unicode specification.
12505
12506 * language/indian.el (devanagari-composable-pattern)
12507 (tamil-composable-pattern, kannada-composable-pattern)
12508 (malayalam-composable-pattern): Adjust for the new Unicode
12509 specification.
12510 (bengali-composable-pattern, gurmukhi-composable-pattern)
12511 (gujarati-composable-pattern, oriya-composable-pattern)
12512 (telugu-composable-pattern): New variables to cope with the new
12513 Unicode specification. Use them in composition-function-table.
12514
12515 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 Make tmm-menubar work for the Buffers menu again (bug#5726).
12518 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
12519 vectors rather than cons cells, as used in menu-bar-update-buffers.
12520
12521 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12522
12523 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
12524 (js-insert-and-indent): Revert 2009-08-15 change, restoring
12525 electric punctuation for "{}();,:" (Bug#5586).
12526
12527 * mail/sendmail.el (mail-default-directory): Doc fix.
12528
12529 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12530
12531 * mail/sendmail.el (mail-default-directory): Doc fix.
12532
12533 2010-03-31 Eli Zaretskii <eliz@gnu.org>
12534
12535 * subr.el (version-regexp-alist, version-to-list)
12536 (version-list-<, version-list-=, version-list-<=)
12537 (version-list-not-zero, version<, version<=, version=): Doc fix.
12538 (Bug#5744).
12539
12540 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
12541
12542 * vc.el (vc-root-diff): Doc fix.
12543
12544 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12545
12546 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
12547
12548 * simple.el (append-to-buffer): Fix last change.
12549
12550 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
12551
12552 * simple.el (append-to-buffer): Ensure that point is preserved if
12553 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
12554 (Bug#5749)
12555
12556 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * files.el (auto-mode-case-fold): Change default to t.
12559
12560 2010-03-30 Juri Linkov <juri@jurta.org>
12561
12562 * dired-x.el (dired-omit-mode): Doc fix.
12563
12564 2010-03-30 Juri Linkov <juri@jurta.org>
12565
12566 * replace.el (occur-accumulate-lines): Move occur-engine related
12567 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
12568 to be located after `occur-engine'.
12569
12570 2010-03-30 Juri Linkov <juri@jurta.org>
12571
12572 Make occur handle multi-line matches cleanly with context.
12573 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
12574
12575 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
12576 (occur-engine): Add local variables `ret', `prev-after-lines',
12577 `prev-lines'. Use more arguments for `occur-context-lines'.
12578 Set first elem of its returned list to `data', and the second elem
12579 to `prev-after-lines'. Don't print the separator line.
12580 In the end, print remaining context after-lines.
12581 (occur-context-lines): Add new arguments `begpt', `endpt',
12582 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
12583 after-lines of the previous match with before-lines of the
12584 current match and not overlap them. Return a list with two
12585 values: the output line and the list of context after-lines.
12586
12587 2010-03-30 Juri Linkov <juri@jurta.org>
12588
12589 * replace.el (occur-accumulate-lines): Fix a bug where the first
12590 context line at the beginning of the buffer was missing.
12591
12592 2010-03-30 Eli Zaretskii <eliz@gnu.org>
12593
12594 * files.el: Make bidi-display-reordering safe variable for boolean
12595 values.
12596
12597 2010-03-29 Phil Hagelberg <phil@evri.com>
12598 Chong Yidong <cyd@stupidchicken.com>
12599
12600 * subr.el: Extend progress reporters to perform "spinning".
12601 (progress-reporter-update, progress-reporter-do-update):
12602 Handle non-numeric value arguments.
12603 (progress-reporter--pulse-characters): New var.
12604
12605 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
12606
12607 * progmodes/compile.el (compilation-start): Fix regexp detection
12608 of initial cd command (Bug#5771).
12609
12610 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
12611
12612 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
12613
12614 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
12615
12616 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
12617 * progmodes/gdb-mi.el: Restore.
12618 * progmodes/gdb-ui.el: Remove.
12619 * progmodes/gud.el: Re-accommodate for gdb-mi.el.
12620
12621 2010-03-25 Glenn Morris <rgm@gnu.org>
12622
12623 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
12624 all dired buffers, even tramp ones. (Bug#5755)
12625
12626 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 Add "union tags" in mpc.el.
12629 * mpc.el: Remove backward compatibility code.
12630 (mpc-browser-tags): Change default.
12631 (mpc--find-memoize-union-tags): New var.
12632 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
12633 (mpc-cmd-find): Handle the case where the playlist does not exist.
12634 Handle union-tags.
12635 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
12636 (mpc-cmd-add): Use mpc-cmd-flush.
12637 (mpc-tagbrowser-tag-name): New fun.
12638 (mpc-tagbrowser-buf): Use it.
12639 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
12640
12641 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12642
12643 Misc cleanup.
12644 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
12645 Use replace-regexp-in-string.
12646 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
12647 (makefile-imake-mode-syntax-table): Move init into defvar.
12648 (makefile-mode): Use define-derived-mode.
12649
12650 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
12651 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
12652 not be present any more.
12653
12654 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12655
12656 * faces.el (set-face-attribute): Fix typo in docstring.
12657 (face-valid-attribute-values): Reflow docstring.
12658
12659 2010-03-24 Glenn Morris <rgm@gnu.org>
12660
12661 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
12662
12663 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12664
12665 * indent.el (indent-for-tab-command): Doc fix.
12666
12667 2010-03-24 Alan Mackenzie <acm@muc.de>
12668
12669 * progmodes/cc-engine.el (c-remove-stale-state-cache):
12670 Fix off-by-one error. Fixes bug #5747.
12671
12672 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12673
12674 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
12675 (image-dired-read-comment): Doc fix.
12676
12677 * json.el (json-object-type, json-array-type, json-key-type)
12678 (json-false, json-null, json-read-number):
12679 * minibuffer.el (completion-in-region-functions):
12680 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
12681 (cal-tex-cursor-week):
12682 * emacs-lisp/trace.el (trace-function):
12683 * eshell/em-basic.el (eshell/printnl):
12684 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
12685 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
12686 * obsolete/levents.el (allocate-event, event-key, event-object)
12687 (event-point, event-process, event-timestamp, event-to-character)
12688 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
12689 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
12690 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
12691 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
12692 (reftex-highlight-selection): Fix typos in docstrings.
12693
12694 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
12695
12696 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
12697
12698 2010-03-24 Glenn Morris <rgm@gnu.org>
12699
12700 * mail/rmail.el (rmail-highlight-face): Restore option deleted
12701 2008-02-13 without comment; mark it obsolete.
12702 (rmail-highlight-headers): Use rmail-highlight-face once more.
12703
12704 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
12705
12706 * woman.el (woman2-process-escapes): Only consume the newline if
12707 the filler character is on a line by itself (Bug#5729).
12708
12709 2010-03-24 Kenichi Handa <handa@m17n.org>
12710
12711 * language/indian.el (devanagari-composable-pattern): Add more
12712 consonants.
12713
12714 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12715
12716 * net/trampver.el: Update release number.
12717
12718 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
12719
12720 * net/tramp.el (tramp-find-executable):
12721 Use `tramp-get-connection-buffer'. Make the regexp for checking
12722 output of "wc -l" more robust.
12723 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
12724 (tramp-open-connection-setup-interactive-shell): Remove workaround
12725 for OpenSolaris bug, it is not needed anymore.
12726
12727 2010-03-24 Glenn Morris <rgm@gnu.org>
12728
12729 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
12730
12731 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
12732
12733 * files.el (auto-mode-alist): Accept more verilog file patterns.
12734
12735 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
12738
12739 2010-03-24 Glenn Morris <rgm@gnu.org>
12740
12741 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
12742 log-edit-before-checkin-process.
12743
12744 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
12745
12746 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
12747
12748 * vc-dispatcher.el (vc-start-logentry): Doc fix.
12749 (log-view-process-buffer, log-edit-extra-flags): Declare.
12750
12751 * log-edit.el (log-edit-before-checkin-process): Doc fix.
12752
12753 2010-03-23 Sam Steingold <sds@gnu.org>
12754
12755 Fix bug#5620: recalculate all markers on compilation buffer
12756 modifications, not on file modifications.
12757 * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
12758 variable: the buffer modification time, for buffers not associated with
12759 files.
12760 (compilation-mode): Create it.
12761 (compilation-filter): Update it.
12762 (compilation-next-error-function): Use it instead of
12763 `visited-file-modtime' for timestamp.
12764
12765 2010-03-23 Juri Linkov <juri@jurta.org>
12766
12767 Implement Occur multi-line matches.
12768 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
12769
12770 * replace.el (occur): Doc fix.
12771 (occur-engine): Set `begpt' to the beginning of the first line.
12772 Set `endpt' to the end of the last match line. At first, count
12773 line numbers between `origpt' and `begpt'. Split out code from
12774 `out-line' variable to new let-bindings `match-prefix' and
12775 `match-str'. In `out-line' add non-numeric prefix to all
12776 non-first lines of multi-line matches. Finally, count lines
12777 between `begpt' and `endpt' and add to `lines'.
12778
12779 2010-03-23 Juri Linkov <juri@jurta.org>
12780
12781 * replace.el (occur-accumulate-lines, occur-engine):
12782 Use `occur-engine-line' instead of duplicate code.
12783 (occur-engine-line): New function created from duplicate code
12784 in `occur-accumulate-lines' and `occur-engine'.
12785
12786 * replace.el (occur-engine-line): Add optional arg `keep-props'.
12787 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
12788
12789 2010-03-23 Juri Linkov <juri@jurta.org>
12790
12791 * finder.el: Remove TODO tasks.
12792
12793 * info.el (Info-finder-find-node): Add node "all"
12794 with all package info. Handle a list of multiple keywords
12795 separated by comma.
12796 (info-finder): In interactive use with a prefix argument,
12797 use `completing-read-multiple' to read a list of keywords
12798 separated by comma.
12799
12800 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 Add a new completion style `substring'.
12803 * minibuffer.el (completion-basic--pattern): New function.
12804 (completion-basic-try-completion, completion-basic-all-completions):
12805 Use it.
12806 (completion-substring--all-completions)
12807 (completion-substring-try-completion)
12808 (completion-substring-all-completions): New functions.
12809 (completion-styles-alist): New style `substring'.
12810
12811 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 Get rid of .elc files after removal of the corresponding .el.
12814 * Makefile.in (compile-clean): New target.
12815 (compile-main): Use it.
12816
12817 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
12818
12819 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
12820 don't do make there. When compiling with separate object dir, there
12821 is no Makefile there.
12822
12823 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 Get rid of the ELCFILES abomination, again.
12826 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
12827 (all, compile): Don't call compile-last.
12828 (compile-main): Build the "elcfiles" list dynamically.
12829 (compile-targets): New (internal) target.
12830
12831 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
12832
12833 * Makefile.in (top_srcdir): Define.
12834 (abs_top_builddir): Define.
12835 (srcdir): Don't append `/..'.
12836 (EMACS): Use ${abs_top_builddir}.
12837 (all, compile, compile-always, compile-last): Don't set emacswd.
12838 (update-subdirs, update-authors): Use $(top_srcdir) instead of
12839 $(srcdir).
12840 (lisp): Use $(srcdir) instead of @srcdir@.
12841
12842 2010-03-21 Juri Linkov <juri@jurta.org>
12843
12844 Fix message of multi-line occur regexps and multi-buffer header lines.
12845 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
12846
12847 * replace.el (occur-1): Don't display regexp if it is longer
12848 than window-width. Use `query-replace-descr' to display regexp.
12849 (occur-engine): Don't display regexp in the buffer header for
12850 multi-buffer occur. Display a separate header line with total
12851 match count and regexp for multi-buffer occur.
12852 Use `query-replace-descr' to display regexp.
12853
12854 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
12855
12856 * net/secrets.el: Fix parenthesis.
12857 (secrets-enabled): Fix parenthesis.
12858
12859 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12860
12861 Use more relative file and directory names.
12862 * Makefile.in (EMACS): Arrange for it to work when we chdir.
12863 (setwins, setwins_almost, setwins_for_subdirs):
12864 Don't `cd'; output relative names.
12865 (all, compile, compile-always, compile-last): Set emacswd.
12866 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
12867 Just cd to the lisp source dir so we can use relative file names.
12868
12869 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
12870
12871 2010-03-20 Glenn Morris <rgm@gnu.org>
12872
12873 * textmodes/rst.el: Use faces for font-lock customization, and make the
12874 old -face variables obsolete.
12875 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
12876 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
12877 (rst-block-face, rst-external-face, rst-definition-face)
12878 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
12879 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
12880 Make obsolete.
12881 (rst-font-lock-keywords-function): Update for above changes.
12882
12883 2010-03-20 Juri Linkov <juri@jurta.org>
12884
12885 * s-region.el:
12886 * obsolete/s-region.el: Move to obsolete.
12887
12888 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
12889
12890 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
12891
12892 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12893
12894 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
12895
12896 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
12897
12898 Add special markup processing for commit logs.
12899 * log-edit.el (log-edit-extra-flags): New variable.
12900 (log-edit): Add new argument MODE. Use that mode when non-nil
12901 instead of the log-view-mode.
12902 (log-view-process-buffer): New function.
12903
12904 * vc.el: Document that the checkin method takes optional
12905 arguments. Document new backend specific method: log-view-mode.
12906 (vc-default-log-edit-mode): New function.
12907 (vc-checkin): Use a backend specific log-view-mode.
12908 Pass extra arguments to the checkin method.
12909 (vc-modify-change-comment): Pass a dummy extra argument.
12910
12911 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
12912 log-edit.
12913 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
12914 (vc-finish-logentry): Process the log buffer before passing it
12915 down. Pass log-edit-extra-flags.
12916
12917 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
12918 command.
12919 (log-edit-extra-flags, log-edit-before-checkin-process):
12920 New declarations.
12921
12922 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
12923 command.
12924 (log-edit-extra-flags, log-edit-before-checkin-process):
12925 New declarations.
12926 (vc-hg-log-edit-mode): New derived mode.
12927
12928 * vc-arch.el (vc-arch-checkin):
12929 * vc-cvs.el (vc-cvs-checkin):
12930 * vc-git.el (vc-git-checkin):
12931 * vc-mtn.el (vc-mtn-checkin):
12932 * vc-rcs.el (vc-rcs-checkin):
12933 * vc-sccs.el (vc-sccs-checkin):
12934 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
12935
12936 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
12939 parent typo).
12940
12941 2010-03-19 Glenn Morris <rgm@gnu.org>
12942
12943 * password-cache.el (password-cache, password-cache-expiry): Autoload.
12944
12945 2010-03-18 Glenn Morris <rgm@gnu.org>
12946
12947 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
12948
12949 * replace.el (query-replace-history): Give it a doc string.
12950 (map-query-replace-regexp): Use query-replace-from-history-variable
12951 and query-replace-to-history-variable.
12952
12953 * mail/hashcash.el (declare-function): Remove duplicate definition.
12954
12955 * mail/emacsbug.el (report-emacs-bug-pretest-address):
12956 Make it an obsolete alias for report-emacs-bug-address.
12957 (message-strip-special-text-properties): Declare.
12958 (report-emacs-bug): Remove test for a pretest bug address.
12959 Combine message-mode-specific code.
12960
12961 * mail/supercite.el: Don't require sendmail.
12962 (mh-in-header-p): Declare rather than using with-no-warnings.
12963 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
12964 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
12965
12966 * calendar/cal-french.el: Convert to utf-8.
12967
12968 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
12969 Emacs scripts.
12970
12971 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
12972
12973 * net/secrets.el (secrets-enabled): New variable. Use it instead
12974 of a subfeature.
12975
12976 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
12977
12978 * net/secrets.el (top): Register the D-Bus signals only when the
12979 service "org.freedesktop.secrets" can be pinged.
12980 Provide subfeature `enabled'.
12981
12982 2010-03-14 Juri Linkov <juri@jurta.org>
12983
12984 Add finder unknown keywords.
12985
12986 * finder.el (finder-unknown-keywords): New function.
12987
12988 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
12989 to create a Finder node with unknown keywords.
12990
12991 2010-03-14 Juri Linkov <juri@jurta.org>
12992
12993 * finder.el (finder-compile-keywords): Replace `princ' with
12994 `prin1' on a list of symbols interned from keyword strings.
12995
12996 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
12997 a comma, then split keywords using a comma and optional whitespace.
12998 Otherwise, split by whitespace.
12999
13000 * complete.el:
13001 * face-remap.el:
13002 * log-view.el:
13003 * net/hmac-def.el:
13004 * net/hmac-md5.el:
13005 * net/netrc.el:
13006 * progmodes/mixal-mode.el: Fix keywords.
13007
13008 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
13009
13010 * Makefile.in (ELCFILES): Add net/secrets.elc.
13011
13012 * net/secrets.el: New file.
13013
13014 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13015
13016 * facemenu.el (list-colors-display, list-colors-print): New arg
13017 callback. Use it to allow selecting colors.
13018
13019 * wid-edit.el (widget-image-insert): Insert image prop even if the
13020 current display is non-graphic.
13021 (widget-field-value-set): New fun.
13022 (editable-field): Use it.
13023 (widget-field-value-get): Clean up unused var.
13024 (widget-color-value-create, widget-color--choose-action):
13025 New funs. Allow using list-colors-display to choose color.
13026
13027 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13028
13029 * cus-edit.el: Resort topmost custom groups.
13030 (custom-buffer-sort-alphabetically): Default to t.
13031 (customize-apropos): Use apropos-parse-pattern.
13032 (custom-search-field): New var.
13033 (custom-buffer-create-internal): Add custom-apropos search field.
13034 (custom-add-parent-links): Don't display parent doc.
13035 (custom-group-value-create): Don't sort top-level custom group.
13036 (custom-magic-value-create): Show visibility button before option name.
13037
13038 (custom-variable-state): New fun, from custom-variable-state-set.
13039 (custom-variable-state-set): Use it.
13040 (custom-group-value-create): Hide options with standard values
13041 using the :hidden-states property. Use progress reporter.
13042
13043 (custom-show): Simplify.
13044 (custom-visibility): Disable images by default.
13045 (custom-variable): New property :hidden-states.
13046 (custom-variable-value-create): Enable images for
13047 custom-visibility widgets. Use :hidden-states property to
13048 determine initial visibility.
13049
13050 * wid-edit.el (widget-image-find): Give images center ascent.
13051 (visibility): Add :on-image and :off-image properties.
13052 (widget-visibility-value-create): Use them.
13053
13054 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
13055
13056 * cus-edit.el (processes): Remove from development group.
13057 (oop, hypermedia): Delete group.
13058 (comm): Promote to top-level group.
13059
13060 * net/browse-url.el (browse-url):
13061 * net/xesam.el (xesam):
13062 * net/tramp.el (tramp):
13063 * net/goto-addr.el (goto-address):
13064 * net/ange-ftp.el (ange-ftp): Put in comm group.
13065
13066 * view.el (view): Remove from editing group.
13067
13068 * uniquify.el (uniquify): Put in files group.
13069
13070 * net/browse-url.el (browse-url):
13071 * ps-print.el (postscript): Put in external group.
13072
13073 * cus-edit.el (outlines):
13074 * textmodes/text-mode.el (text-mode-hook):
13075 * textmodes/table.el (table):
13076 * textmodes/picture.el (picture):
13077 * outline.el (outlines): Put in wp group.
13078
13079 * nxml/nxml-mode.el (nxml): Remove from wp group.
13080
13081 * net/tramp-imap.el (tramp-imap): Put in tramp group.
13082
13083 * mail/metamail.el (metamail): Remove from hypermedia group.
13084
13085 * cus-edit.el (abbrev):
13086 * whitespace.el (whitespace):
13087 * vcursor.el (vcursor):
13088 * reveal.el (reveal):
13089 * hl-line.el (hl-line): Put in convenience group.
13090
13091 * epg-config.el (epg): Put in data group.
13092
13093 * emulation/pc-select.el (pc-select): Put in emulations group.
13094
13095 * calculator.el (calculator): Put in applications group.
13096
13097 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13098
13099 Add .dir-locals.el support for file-less buffers.
13100 * files.el (hack-local-variables): Split out code to apply local
13101 variable settings ...
13102 (hack-local-variables-apply): ... here. New function.
13103 (hack-dir-local-variables): Use the default directory for when the
13104 buffer does not have an associated file.
13105 (hack-dir-local-variables-non-file-buffer): New function.
13106 * diff-mode.el (diff-mode):
13107 * vc-annotate.el (vc-annotate-mode):
13108 * vc-dir.el (vc-dir-mode):
13109 * log-edit.el (log-edit-mode):
13110 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
13111
13112 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
13113
13114 Add support for shelving snapshots and for showing shelves.
13115 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
13116 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
13117 New functions.
13118 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13119 (vc-bzr-extra-menu-map): Map them.
13120
13121 2010-03-11 Glenn Morris <rgm@gnu.org>
13122
13123 * cus-edit.el (customize-changed-options-previous-release):
13124 Bump to 23.1.
13125
13126 * image.el (image-animate-max-time): Fix :version tag.
13127
13128 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
13129
13130 * Branch for 23.2.
13131
13132 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
13133
13134 * vc-git.el (vc-git-revision-table): Include remote branches.
13135
13136 2010-03-10 Kim F. Storm <storm@cua.dk>
13137
13138 Animated image API.
13139 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
13140
13141 * image.el (image-animate-max-time): New defcustom.
13142 (image-animated-types): New defconst.
13143 (create-animated-image, image-animate-timer)
13144 (image-animate-start, image-animate-stop, image-animate-timeout)
13145 (image-animated-p): New functions.
13146
13147 * image-mode.el (image-toggle-display-image):
13148 Replace `create-image' with `create-animated-image'.
13149
13150 2010-03-09 Miles Bader <miles@gnu.org>
13151
13152 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
13153 instead of "format:"; this ensures that the output is
13154 newline-terminated.
13155
13156 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
13157
13158 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
13159 that all errors are caught, and that the return value is always a
13160 list (Bug#5692).
13161
13162 2010-03-08 Kenichi Handa <handa@m17n.org>
13163
13164 * language/misc-lang.el (windows-1256): New coding system.
13165 (cp1256): New alias of windows-1256 (bug#5690).
13166
13167 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
13168
13169 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
13170 call to rfc822-bad-address. (Bug#5692)
13171
13172 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
13173
13174 * vc-git.el (vc-git-annotate-extract-revision-at-line):
13175 Use vc-git-root as default directory for revision path (Bug#5657).
13176
13177 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
13178
13179 * calculator.el (calculator): Don't bind split-window-keep-point
13180 (Bug#5674).
13181
13182 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * vc-git.el: Re-flow to fit into 80 columns.
13185 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
13186 Remove spurious `quote' element in each case alternative.
13187 (vc-git-show-log-entry): Use prog1.
13188 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
13189
13190 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
13193
13194 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
13195
13196 * macros.el (insert-kbd-macro): Look up keyboard macro using the
13197 definition, not the name (Bug#5481).
13198
13199 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
13200
13201 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
13202 argument with a local variable. (Bug#5670)
13203
13204 2010-03-02 Juri Linkov <juri@jurta.org>
13205
13206 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
13207
13208 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
13209
13210 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
13211 error when FILENAME and NEWNAME are existing remote directories.
13212
13213 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
13214 parameter DIR-FLAG.
13215
13216 2010-03-02 Glenn Morris <rgm@gnu.org>
13217
13218 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
13219 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
13220
13221 2010-03-01 Kenichi Handa <handa@m17n.org>
13222
13223 * language/burmese.el (burmese-composable-pattern): Rename from
13224 myanmar-composable-pattern.
13225
13226 * international/characters.el (script-list):
13227 * international/fontset.el (script-representative-chars):
13228 Change myanmar to burmese.
13229 (otf-script-alist): Likewise.
13230 (setup-default-fontset): Likewise. Re-fix :otf spec.
13231
13232 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
13233
13234 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
13235
13236 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
13237
13238 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
13239
13240 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13241
13242 * net/tramp.el (tramp-handle-write-region): START can be a string.
13243 Take care in the checks. Reported by Dan Davison
13244 <davison@stats.ox.ac.uk>.
13245
13246 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
13247
13248 * net/dbus.el (dbus-introspect, dbus-get-property)
13249 (dbus-set-property, dbus-get-all-properties):
13250 Use `dbus-call-method' when noninteractive. (Bug#5645)
13251
13252 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
13253
13254 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
13255 * emacs-lisp/elint.el (elint-add-required-env):
13256 * calendar/icalendar.el (icalendar--add-diary-entry):
13257 * calc/calcalg2.el (math-tracing-integral):
13258 * files.el (recover-session-finish): Use with-current-buffer
13259 instead of save-excursion.
13260
13261 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 Fix in-buffer completion when after-change-functions modify the buffer.
13264 * minibuffer.el (completion--replace): New function.
13265 (completion--do-completion): Use it and use relative movement.
13266
13267 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
13268
13269 * international/fontset.el (setup-default-fontset): Fix :otf spec.
13270
13271 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
13272
13273 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
13274 Allow the characters _<> in the stack entry (Bug#5653).
13275
13276 2010-02-26 Kenichi Handa <handa@m17n.org>
13277
13278 * language/burmese.el: Fix entries in composition-function-table.
13279 (myanmar-composable-pattern): New variable.
13280
13281 * international/fontset.el (setup-default-fontset): Add an entry
13282 for myanmar.
13283
13284 * international/characters.el (script-list): Add Myanmar
13285 Extended-A.
13286
13287 2010-02-26 Glenn Morris <rgm@gnu.org>
13288
13289 * custom.el (custom-initialize-delay): Doc fix.
13290
13291 * mail/sendmail.el (send-mail-function): Autoload the call
13292 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
13293
13294 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
13295
13296 * files.el (hack-local-variables-filter): For eval forms, also
13297 check safe-local-variable-p (Bug#5636).
13298
13299 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
13300
13301 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
13302 setting the modes by `ignore-errors'. It might fail, for example
13303 if the file is not owned by the user but the group.
13304 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
13305
13306 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
13307
13308 * files.el (directory-listing-before-filename-regexp):
13309 Use stricter matching for iso-style dates, to avoid false matches with
13310 date-like filenames (Bug#5597).
13311
13312 * htmlfontify.el (htmlfontify): Doc fix.
13313
13314 * eshell/eshell.el (eshell): Doc fix.
13315
13316 * startup.el (fancy-about-screen): In mode-line, apply
13317 mode-line-buffer-id face only to the buffer name (Bug#5613).
13318
13319 2010-02-20 Kevin Ryde <user42@zip.com.au>
13320
13321 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13322 In `watcom' anchor regexp to start of line, to avoid slowness
13323 (Bug#5599).
13324
13325 2010-02-20 Eli Zaretskii <eliz@gnu.org>
13326
13327 * subr.el (remove-yank-excluded-properties): Explain in a comment
13328 why `category' property is removed.
13329
13330 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
13331
13332 * isearch.el (isearch-update-post-hook, isearch-update):
13333 Revert 2010-02-17 change.
13334
13335 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
13336
13337 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
13338 (icalendar--convert-weekly-to-ical)
13339 (icalendar--convert-yearly-to-ical)
13340 (icalendar--convert-block-to-ical)
13341 (icalendar--convert-cyclic-to-ical)
13342 (icalendar--convert-anniversary-to-ical): Take care of time
13343 specifications where hour has 1-digit only (Bug#5549).
13344
13345 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
13346
13347 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
13348 of disassemble output in GDB 7.1.
13349
13350 2010-02-19 Glenn Morris <rgm@gnu.org>
13351
13352 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
13353 property. (Bug#5593)
13354
13355 2010-02-18 Sam Steingold <sds@gnu.org>
13356
13357 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
13358
13359 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
13360
13361 Use abbreviated file names in bookmarks (bug#5591).
13362 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
13363 calls to expand-file-name.
13364 (bookmark-relocate): Use abbreviated file names in bookmarks.
13365 (bookmark-load): Use abbreviated file names in messages.
13366
13367 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13368
13369 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
13370 expand "." and "..". Reported by Thierry Volpiatto
13371 <thierry.volpiatto@gmail.com>.
13372
13373 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
13374
13375 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
13376 permissions of the temporary file to "0600". In case the remote
13377 file has no read permissions for the owner, there might be
13378 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
13379
13380 22010-02-18 Glenn Morris <rgm@gnu.org>
13381
13382 * emacs-lisp/authors.el (authors-renamed-files-alist):
13383 Add entries for INSTALL.CVS.
13384
13385 2010-02-17 Mark A. Hershberger <mah@everybody.org>
13386
13387 * vc-bzr.el: Fix typo in Known Bugs section.
13388
13389 * isearch.el (isearch-update-post-hook): New hook.
13390 (isearch-update): Use the new hook.
13391
13392 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
13393
13394 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
13395 Fix errors in copying directories.
13396 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
13397 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
13398 (tramp-handle-delete-file)
13399 (tramp-handle-dired-recursive-delete-directory)
13400 (tramp-handle-write-region): Flush also the cache for the upper
13401 directory.
13402
13403 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
13404
13405 * simple.el (save-interprogram-paste-before-kill): Doc fix.
13406
13407 * cus-edit.el (hardware): Doc fix.
13408
13409 * man.el (man): Add to external custom group.
13410
13411 * delim-col.el (columns): Move to wp custom group.
13412
13413 * doc-view.el (doc-view): Add to data custom group.
13414
13415 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
13416
13417 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
13418 by ispell-parse-output (Bug#5575).
13419
13420 2010-02-16 Kenichi Handa <handa@m17n.org>
13421
13422 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
13423 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
13424 (skkdic-convert): Use `euc-japan' coding system for writing.
13425
13426 2010-02-16 Glenn Morris <rgm@gnu.org>
13427
13428 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
13429 tex-main-file before using it. (Bug#5562)
13430
13431 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
13434 warnings, since it is annoying for the user to see them each time he
13435 runs the code.
13436
13437 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
13438
13439 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
13440 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
13441 instead of PROC for caching "first-password-request". Otherwise,
13442 new processes would not profit from passwords already entered.
13443
13444 * net/tramp-cache.el (tramp-dump-connection-properties):
13445 Don't save "first-password-request" property.
13446
13447 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
13448
13449 * outline.el (outline-head-from-level):
13450 * simple.el (with-wrapper-hook):
13451 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
13452 (elint-defun, elint-buffer-env, elint-top-form-logged)
13453 (elint-unbound-variable):
13454 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
13455 Fix typos in docstrings.
13456
13457 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
13458
13459 * files.el (insert-directory): When WILDCARD-REGEXP and
13460 FULL-DIRECTORY-P are nil, insert the file entry instead of the
13461 whole directory. (Bug#5551)
13462
13463 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
13464 dired's alignment sanity. (Bug#5516)
13465
13466 2010-02-14 Juri Linkov <juri@jurta.org>
13467
13468 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
13469 Remove remaining ^H with their preceding chars. (Bug#5566)
13470
13471 2010-02-13 Glenn Morris <rgm@gnu.org>
13472
13473 * simple.el (transpose-subr): Give it a doc-string.
13474
13475 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
13476 Doc fixes.
13477
13478 2010-02-12 Juri Linkov <juri@jurta.org>
13479
13480 * arc-mode.el (archive-unique-fname): Make directories for nested
13481 archives. (Bug#5540)
13482
13483 2010-02-12 Juri Linkov <juri@jurta.org>
13484
13485 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
13486
13487 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
13488
13489 * subr.el (copy-overlay): Handle deleted overlays.
13490
13491 * man.el (Man-completion-table): Don't signal an error if we can't run
13492 manual-program (bug#4056).
13493
13494 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
13495
13496 * textmodes/artist.el (artist-mt): Fix typos in docstring.
13497
13498 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13499
13500 * info.el (Info-bookmark-jump): Simplify.
13501
13502 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
13503 (bookmark-default-handler): Accept new bookmark field `buffer'.
13504
13505 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
13506
13507 * iswitchb.el (iswitchb-completions): Revert last change.
13508
13509 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
13510
13511 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
13512 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
13513 This prevents file names like "~/" being listed literally.
13514
13515 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
13516
13517 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13518 Remove dead code. (Bug#5546)
13519
13520 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
13521
13522 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
13523 correctly (Bug#5548).
13524
13525 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
13526
13527 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
13528 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
13529
13530 2010-02-08 Kenichi Handa <handa@m17n.org>
13531
13532 * international/mule-util.el (with-coding-priority): Add autoload
13533 cookie for putting `lisp-indent-function'.
13534
13535 2010-02-07 Glenn Morris <rgm@gnu.org>
13536
13537 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
13538 Move F2003 named interfaces from keywords-2 to keywords-1, and
13539 use function-name-face rather than constant-face.
13540 Simplify "abstract interface" regexp.
13541
13542 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
13543
13544 * eshell/esh-util.el (eshell-file-attributes): New optional arg
13545 ID-FORMAT. Pass it to `file-attributes'.
13546
13547 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
13548
13549 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
13550
13551 * faces.el (set-face-attribute): Allow calling
13552 internal-set-lisp-face-attribute with 'unspecified family and
13553 foundry argument (Bug#5536).
13554
13555 2010-02-07 Glenn Morris <rgm@gnu.org>
13556
13557 * progmodes/f90.el (f90-font-lock-keywords-2)
13558 (f90-looking-at-type-like, f90-looking-at-program-block-end):
13559 Handle F2003 named interfaces.
13560
13561 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
13562
13563 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
13564 beg and end before calling c-get-state-before-change-functions.
13565
13566 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
13567
13568 * vc-bzr.el (vc-bzr-dir-extra-headers):
13569 Disable the pending merges header.
13570
13571 2010-02-05 Juri Linkov <juri@jurta.org>
13572
13573 * doc-view.el (doc-view-mode):
13574 * image-mode.el (image-mode): Put property mode-class=special.
13575 (Bug#4896)
13576
13577 2010-02-05 Mark A. Hershberger <mah@everybody.org>
13578
13579 * vc-svn.el (vc-svn-revision-table): New function.
13580
13581 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/ange-ftp.el (ange-ftp-insert-directory):
13584 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13585 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13586 Handle also directories. (Bug#5478)
13587
13588 2010-02-05 Glenn Morris <rgm@gnu.org>
13589
13590 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
13591
13592 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * startup.el (command-line-1): Convert options beginning with a
13595 single dash as well (Bug#5519).
13596
13597 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
13598
13599 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
13600 * minibuffer.el (completion-initials-expand): Only check the presence
13601 of delims *within* the boundaries, since otherwise the / delim is
13602 always found for files.
13603
13604 Fix up various corner case problems.
13605 * doc-view.el (doc-view-last-page-number): New function.
13606 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
13607 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
13608 (doc-view-kill-proc): Avoid inf-loop in freak cases.
13609 (doc-view-reconvert-doc): Use the new recursive delete-directory.
13610 (doc-view-convert-current-doc): Don't create the resolution.el file
13611 here any more.
13612 (doc-view-pdf/ps->png): Do it here instead.
13613 (doc-view-already-converted-p): Check that resolution.el is present.
13614 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
13615 windows that are not yet showing images.
13616
13617 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
13618
13619 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
13620 `dired-uncache' for every elemnt which is an absolute file name.
13621
13622 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
13623 directory, handle its directory component.
13624 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
13625 function is called permanently and creates noise, otherwise.
13626
13627 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
13628 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
13629 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
13630
13631 2010-02-04 David Burger <dburger@google.com> (tiny change)
13632
13633 * macros.el (apply-macro-to-region-lines):
13634 Minor simplification. (Bug#5485)
13635
13636 2010-02-04 Glenn Morris <rgm@gnu.org>
13637
13638 * mail/rmail.el (rmail-show-message-1): Handle malformed
13639 quoted-printable text. (Bug#5441)
13640
13641 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
13642
13643 * simple.el (visual-line-mode): Capitalize lighter.
13644
13645 2010-02-03 John Wiegley <jwiegley@gmail.com>
13646
13647 * iswitchb.el (iswitchb-completions): Add bookmark files to the
13648 list of files considered for "virtual buffer" completions.
13649
13650 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
13651
13652 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
13653 also in case of (and (not full) (not wildcard)). This is needed
13654 when dired is called with a list of files, which are not in
13655 `default-directory'. (Bug#5478)
13656
13657 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
13658
13659 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
13660
13661 2010-02-02 Juri Linkov <juri@jurta.org>
13662
13663 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
13664 from unidiff to allow function-line after @@.
13665
13666 2010-02-02 Juri Linkov <juri@jurta.org>
13667
13668 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
13669 '(RCS SCCS) with inverted condition.
13670
13671 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
13672
13673 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
13674 messages.
13675
13676 2010-02-01 Juri Linkov <juri@jurta.org>
13677
13678 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
13679 compare with "pkunzip" and "pkzip" instead of only "pkzip".
13680 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
13681 only when (car archive-zip-extract) is "unzip". (Bug#5475)
13682
13683 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
13684
13685 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
13686 (doc-view-revert-buffer): New command.
13687 (doc-view-mode-map): Use it.
13688
13689 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
13690
13691 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
13692 pending merge is detected.
13693
13694 2010-01-31 Juri Linkov <juri@jurta.org>
13695
13696 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
13697 beginning of interactive spec like all other grep commands do.
13698 Put "all" in front of "gz". (Bug#5260)
13699
13700 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
13701
13702 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
13703
13704 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
13705
13706 * dirtrack.el (dirtrack): Warn instead of signalling error if the
13707 regexp is incorrect (Bug#5476).
13708
13709 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
13710
13711 * net/tramp.el (tramp-handle-insert-directory): Handle also
13712 symlinks, when FILENAME is not in `default-directory'.
13713
13714 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13715
13716 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
13717 FILE is not in `default-directory'. (Bug#5478)
13718
13719 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
13720 of SWITCHES. Handle the case, FILENAME is not in
13721 `default-directory'. (Bug#5478)
13722 (tramp-register-file-name-handlers): Add safe-magic property.
13723
13724 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
13725
13726 * arc-mode.el (archive-zip-extract): Quote the argument passed to
13727 unzip (Bug#5475).
13728
13729 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
13730
13731 * progmodes/flymake.el (flymake-allowed-file-name-masks)
13732 (flymake-master-make-header-init): Add other C++ filename masks.
13733 (flymake-find-possible-master-files)
13734 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
13735
13736 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
13737
13738 Fix some busybox annoyances.
13739
13740 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
13741 not responding." string.
13742 (tramp-open-connection-setup-interactive-shell): Dump stty
13743 settings. Enable "neveropen" arg for all `tramp-send-command'
13744 calls. Handle "=" in variable values properly.
13745 (tramp-find-inline-encoding): Raise an error, when no encoding is
13746 found.
13747 (tramp-wait-for-output): Check, whether PROC buffer is available.
13748 Remove spurious " ^H" sequences, sent by busybox.
13749 (tramp-get-ls-command): Suppress coloring, if possible.
13750
13751 2010-01-28 Glenn Morris <rgm@gnu.org>
13752
13753 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
13754
13755 * log-edit.el (log-edit-strip-single-file-name): Add missing
13756 :safe, :group, and :version tags.
13757
13758 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
13759
13760 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
13761 buffers. (Bug#5477)
13762
13763 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
13764
13765 * files.el (delete-directory): Handle moving to trash without
13766 first doing recursion (Bug#5436).
13767
13768 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
13769
13770 * vc-hooks.el (vc-path): Mark as obsolete.
13771
13772 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
13773
13774 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
13775 names too.
13776
13777 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
13778 for the short log.
13779 (vc-bzr-log-view-mode): Adjust regexp for the above change.
13780
13781 2010-01-25 Mark A. Hershberger <mah@everybody.org>
13782
13783 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
13784
13785 * vc-bzr.el (vc-bzr-revision-table): New function.
13786
13787 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com>
13788
13789 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
13790 diff-index command. This requires at least git-1.5.5. (Bug#1589).
13791
13792 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
13793
13794 Remove support for adding --signoff on commit.
13795 Future support will use an incompatible generic mechanism.
13796 * vc-git.el (vc-git-add-signoff): Remove variable.
13797 (vc-git-toggle-signoff): Remove function.
13798 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
13799
13800 * term/xterm.el (xterm-maybe-set-dark-background-mode):
13801 Rename from xterm-set-background-mode. Return t if the background mode
13802 was set.
13803 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
13804 earlier, call it again in case the background mode has changed.
13805
13806 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
13807
13808 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
13809 (Bug#3541).
13810
13811 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
13812
13813 * emacs-lisp/assoc.el (aelement): Doc fix.
13814 (aput, adelete, amake): Use lexical-let (Bug#5450).
13815
13816 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
13817
13818 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
13819 is the same as subprogram call, not declaration. (Bug#5435).
13820
13821 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
13822
13823 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
13824 (tramp-smb-maybe-open-connection): Use it.
13825
13826 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
13827
13828 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
13829
13830 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
13831
13832 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
13833 just because we see "encoding: 8bit".
13834 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
13835
13836 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
13837
13838 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
13839
13840 2010-01-22 Eli Zaretskii <eliz@gnu.org>
13841
13842 * jka-compr.el (jka-compr-load): If load-file is not in
13843 load-history, try its file-truename version. (bug#5447)
13844
13845 2010-01-21 Alan Mackenzie <acm@muc.de>
13846
13847 Fix a situation where deletion of a cpp construct throws an error.
13848 * progmodes/cc-engine.el (c-invalidate-state-cache):
13849 Before invoking c-with-all-but-one-cpps-commented-out, check that the
13850 special cpp construct is still in the buffer.
13851 (c-parse-state): Record the special cpp with markers, not numbers.
13852
13853 2010-01-21 Kenichi Handa <handa@m17n.org>
13854
13855 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
13856 process last-command-event, as it is now decoded first (Bug#5380).
13857
13858 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
13859
13860 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
13861
13862 2010-01-20 Glenn Morris <rgm@gnu.org>
13863
13864 * indent.el (tab-always-indent): Fix custom-type.
13865
13866 2010-01-19 Alan Mackenzie <acm@muc.de>
13867
13868 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
13869 buffer throws "args out of range".
13870 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
13871 playing the role of delimiter.
13872
13873 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
13874
13875 * progmodes/ada-mode.el: Fix bug#5400.
13876 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
13877 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
13878 changed. Delete RECURSIVE parameter; never used. Improve doc string.
13879 Improve comments in "is" portion. Handle null procedure declaration.
13880 (ada-move-to-end): Improve doc string.
13881
13882 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
13883
13884 * ido.el (ido-cur-list): Initialize to nil.
13885 Remove obsolete information from commentary.
13886 (ido-choice-list): Initialize to nil.
13887 (ido-get-bufname): Reject minibuffers.
13888 (ido-make-buffer-list): If "default" is a nonexistent
13889 buffer, ignore it, as per the function's comment.
13890 (ido-kill-buffer-internal): New function.
13891 (ido-kill-buffer-at-head): Use it.
13892 (ido-visit-buffer): Likewise.
13893
13894 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
13895
13896 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
13897
13898 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
13899
13900 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
13901 Fix typos in chart titles.
13902
13903 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
13904 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
13905 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
13906 (describe-class, eieio-describe-generic, describe-generic):
13907 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
13908 (eieio-speedbar-expand):
13909 * emulation/viper-cmd.el (viper-exec-form-in-vi)
13910 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
13911 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
13912 (viper-del-backward-char-in-replace, viper-backward-indent)
13913 (viper-brac-function, viper-register-to-point, viper-submit-report):
13914 * net/tramp.el (tramp-remote-coding-commands):
13915 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
13916 Fix typos in docstrings.
13917
13918 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
13919
13920 * mail/sendmail.el (mail-yank-original): Set the mark if the
13921 specified function for yanking does not do it.
13922
13923 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
13924
13925 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
13926
13927 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
13928 resyncing a directory.
13929
13930 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
13931
13932 * progmodes/ada-mode.el: Fix bug#1920.
13933 (ada-ident-re): Delete ., allow multibyte characters.
13934 (ada-goto-label-re): New; matches goto labels.
13935 (ada-block-label-re): New; matches block labels.
13936 (ada-label-re): New; matches both.
13937 (ada-named-block-re): Delete; callers changed to use
13938 `ada-block-label-re' instead.
13939 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
13940 Use `ada-block-label-re'.
13941 (ada-indent-on-previous-lines): Improve handling of goto labels.
13942 (ada-get-indent-block-start): Special-case block label.
13943 (ada-get-indent-label): Split into `ada-indent-block-label' and
13944 `ada-indent-goto-label'.
13945 (ada-goto-stmt-start, ada-goto-next-non-ws):
13946 Optionally ignore goto labels.
13947 (ada-goto-next-word): Simplify.
13948 (ada-indent-newline-indent-conditional): Insert newline before
13949 trying to fix indentation; doc fix.
13950
13951 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
13952
13953 * calc/calc.el (calc-command-flags): Give it an initial value.
13954
13955 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
13956
13957 * files.el (minibuffer-with-setup-hook):
13958 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
13959 (artist-key-draw-continously, artist-key-do-continously-continously)
13960 (artist-key-set-point-continously, artist-mouse-draw-continously):
13961 Fix typos in docstrings.
13962
13963 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
13964
13965 * nxml/nxml-mode.el (nxml-extend-after-change-region):
13966 Never return t (Bug#3898).
13967
13968 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
13969
13970 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
13971 can parse the output of the external commands (Bug#5279).
13972
13973 2010-01-16 Jari Aalto <jari.aalto@cante.net>
13974
13975 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
13976
13977 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
13978
13979 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
13980
13981 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
13982
13983 * startup.el (command-line): Remove unused --icon-type arg.
13984 Handle --display arg, passing it to command-line-1 (Bug#5392).
13985
13986 2010-01-16 Mario Lang <mlang@delysid.org>
13987
13988 * emacs-lisp/chart.el (chart-translate-namezone):
13989 * textmodes/artist.el (artist-compute-popup-menu-table):
13990 Remove duplicated words in doc-strings.
13991
13992 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
13993
13994 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
13995 to mairix-search to suppress threading (Bug#5342).
13996
13997 2010-01-15 Kenichi Handa <handa@m17n.org>
13998
13999 * international/mule-cmds.el (canonicalize-coding-system-name):
14000 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
14001
14002 2010-01-15 Glenn Morris <rgm@gnu.org>
14003
14004 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
14005
14006 * wid-edit.el (widget-keymap): Doc fix.
14007
14008 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
14009 former seems to be more widely accepted by various svn versions.
14010
14011 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14012
14013 * find-cmd.el (find-constituents):
14014 * vc-arch.el (vc-arch-root):
14015 * window.el (window-body-height, pop-up-frames):
14016 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
14017 * progmodes/ada-stmt.el (ada-if):
14018 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
14019 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
14020 (ispell-encoding8-command, ispell-aspell-supports-utf8)
14021 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
14022
14023 * progmodes/flymake.el (flymake-post-syntax-check):
14024 Fix typo in error message.
14025
14026 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14027
14028 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
14029 which is always a string. (Bug#5313)
14030
14031 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
14032
14033 * progmodes/ada-xref.el (ada-default-prj-properties):
14034 Simplify previous change.
14035
14036 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14037
14038 * progmodes/ada-xref.el (ada-default-prj-properties):
14039 Default ada_project_path to $ADA_PROJECT_PATH.
14040
14041 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14042
14043 * progmodes/ada-mode.el (ada-create-keymap):
14044 Override `narrow-to-defun' with `ada-narrow-to-defun'.
14045
14046 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14047
14048 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
14049 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
14050 (ada-get-current-indent, ada-imenu-generic-expression)
14051 (ada-which-function): Check for it.
14052
14053 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
14054
14055 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
14056 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
14057
14058 2010-01-14 Glenn Morris <rgm@gnu.org>
14059
14060 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
14061
14062 2010-01-14 Kenichi Handa <handa@m17n.org>
14063
14064 * composite.el (auto-composition-mode): Make it a buffer local
14065 variable (permanent-local).
14066 (auto-composition-function): Set the default value to
14067 auto-compose-chars.
14068 (auto-composition-mode): Make it a simple function, not a minor mode.
14069 (global-auto-composition-mode): Likewise.
14070 (turn-on-auto-composition-if-enabled): Delete it.
14071
14072 2010-01-13 Karl Fogel <kfogel@red-bean.com>
14073
14074 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
14075
14076 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
14077
14078 * files.el (copy-directory): Compute target for recursive
14079 directories with identical names. (Bug#5343)
14080
14081 2010-01-12 Glenn Morris <rgm@gnu.org>
14082
14083 * mail/emacsbug.el (report-emacs-bug-pretest-address):
14084 Set it to bug-gnu-emacs rather than emacs-pretest-bug.
14085
14086 2010-01-11 Sam Steingold <sds@gnu.org>
14087
14088 * imenu.el (imenu-default-create-index-function): Detect infinite
14089 loops caused by imenu-prev-index-position-function.
14090
14091 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14092
14093 * htmlfontify.el (htmlfontify-load-rgb-file)
14094 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
14095 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
14096 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
14097 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
14098 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
14099 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
14100 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
14101 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
14102 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
14103 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
14104 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
14105 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
14106 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
14107 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
14108 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
14109 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
14110 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
14111 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
14112 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
14113 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
14114 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
14115 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
14116 backslash-quoting from parentheses, etc.
14117
14118 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
14119
14120 * progmodes/js.el: Autoload javascript-mode alias.
14121
14122 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
14123
14124 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
14125 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
14126 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
14127 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
14128 Fix typos in docstrings.
14129 (ffap-url-regexp): Doc fix.
14130 (ffap-at-mouse): Fix typo in message.
14131
14132 2010-01-11 Glenn Morris <rgm@gnu.org>
14133
14134 * version.el (emacs-copyright): Set copyright year to 2010.
14135
14136 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
14137
14138 * format.el (format-annotate-function): Only set
14139 write-region-post-annotation-function after running to-fn so as not to
14140 affect nested write-region calls (bug#5273).
14141
14142 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
14143
14144 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
14145 wisent/python.el.
14146
14147 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14148
14149 * man.el (Man-goto-section): Signal error if the section is not
14150 found (Bug#5317).
14151
14152 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
14153
14154 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
14155 URLs with a leading triple slash in the file: scheme. (Bug#5345)
14156
14157 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
14158
14159 * progmodes/compile.el: Don't treat compile-command as safe if
14160 compilation-read-command might be nil (Bug#4218).
14161
14162 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
14163
14164 * startup.el (command-line-1): Use orig-argi to check for ignored X and
14165 NS options.
14166
14167 2010-01-08 Kenichi Handa <handa@m17n.org>
14168
14169 * international/fontset.el (build-default-fontset-data):
14170 Exclude characters in scripts kana, hangul, han, or cjk-misc.
14171
14172 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
14173
14174 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
14175 to `create-file-buffer' as it expects, not just a buffer name.
14176 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
14177 to help uniquify. (Bug#3224)
14178
14179 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
14180
14181 * font-setting.el (font-setting-change-default-font): Use user-spec
14182 instead of name.
14183
14184 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
14185
14186 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
14187
14188 2010-01-05 Tom Tromey <tromey@redhat.com>
14189
14190 * progmodes/python.el (python-font-lock-keywords):
14191 Handle qualified decorators (Bug#881).
14192
14193 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14194
14195 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
14196 in a lightweight checkout.
14197
14198 2010-01-05 Kenichi Handa <handa@m17n.org>
14199
14200 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
14201
14202 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
14203
14204 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
14205
14206 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
14207
14208 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
14209 checkouts. (Bug#618)
14210 (vc-bzr-log-view-mode): Also highlight the author.
14211 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
14212 (vc-bzr-shelve-menu-map):
14213 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
14214 (vc-bzr-shelve-apply): Make prompt more explicit.
14215
14216 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
14217
14218 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14219 They are valid characters in URL paths (rfc3986), and at least
14220 Firefox does not understand the encoded version (Bug#3166).
14221
14222 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
14223
14224 * progmodes/octave-mod.el (octave-end-keywords)
14225 (octave-block-begin-or-end-regexp, octave-block-match-alist):
14226 Add "end" keyword (Bug#3061).
14227 (octave-end-as-array-index-p): New function.
14228 (calculate-octave-indent): Use it.
14229
14230 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14231
14232 * bookmark.el: Consistently put the text property on the bookmark name.
14233 (bookmark-bmenu-marks-width): Bump back to 2, to include
14234 annotation marks.
14235 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
14236 property on the bookmark name, instead of not putting it at all.
14237 (bookmark-bmenu-list): Fix where we put the text property.
14238
14239 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14240
14241 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
14242 for showing buffer modified state (as added in the previous change).
14243
14244 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14245
14246 * bookmark.el: Show modified state of bookmark buffer more accurately.
14247 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
14248 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
14249 (with-buffer-modified-unmodified): New macro.
14250 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14251 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
14252 Use new macro to preserve the buffer modified state.
14253
14254 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14255
14256 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
14257 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
14258 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
14259 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
14260 (bookmark-bmenu-rename, bookmark-bmenu-locate)
14261 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
14262 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
14263
14264 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14265
14266 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14267 Make the lines in the generated doc string shorter. (Bug#4668)
14268
14269 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
14270
14271 * net/rcirc.el: Add follow-link binding (Bug#4738).
14272
14273 2010-01-02 Eli Zaretskii <eliz@gnu.org>
14274
14275 * Makefile.in (bzr-update): Rename from cvs-update.
14276 (cvs-update): New target for backward compatibility.
14277
14278 * makefile.w32-in (bzr-update): Rename from cvs-update.
14279 (cvs-update): New target for backward compatibility.
14280
14281 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14282
14283 * bookmark.el: Remove gratuitous gratitude.
14284
14285 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14286
14287 * bookmark.el (bookmark-bmenu-any-marks): New function.
14288 (bookmark-bmenu-save): Clear buffer modification if no marks.
14289
14290 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14291
14292 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
14293 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
14294 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
14295 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
14296
14297 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
14298 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
14299 To: emacs-devel {_AT_} gnu.org
14300 Subject: bookmark.el bug report
14301 Date: Mon, 28 Dec 2009 14:19:16 +0800
14302 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
14303
14304 2010-01-02 Karl Fogel <kfogel@red-bean.com>
14305
14306 * bookmark.el: Improvements suggested by Drew Adams:
14307 (bookmark-bmenu-ensure-position): New name for
14308 `bookmark-bmenu-check-position'. Just ensure the position,
14309 don't return any meaningful value.
14310 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
14311 New constants.
14312
14313 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
14314
14315 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
14316 (bookmark-yank-point, bookmark-bmenu-check-position):
14317 Fix typos in docstrings.
14318 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
14319 (bookmark-name-from-full-record, bookmark-get-position)
14320 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
14321 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
14322 Remove useless quoting of parenthesis, etc. in docstrings.
14323
14324 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
14325 (ediff-append-custom-diff): Fix typo in error message.
14326 (ediff-meta-mark-equal-files): Fix typos in messages.
14327
14328 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
14329
14330 * net/imap-hash.el (imap-hash-make): Doc fix.
14331 (imap-hash-test): Fix typo in error message; reflow docstring.
14332 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
14333 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
14334 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
14335 Fix typos in docstrings.
14336 (imap-hash-open-connection): Fix typo in error message.
14337
14338 * play/gomoku.el (gomoku): Fix typos in docstring.
14339
14340 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
14341 (gdb-jsonify-buffer): Fix typos in docstring.
14342 (gdb-goto-breakpoint): Fix typo in error message.
14343 ("Display Other Windows"): Fix typo in help message.
14344 (gdb-speedbar-expand-node): Fix typo in question.
14345
14346 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
14347 (idlwave-html-system-help-location, idlwave-html-help-location)
14348 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
14349 (idlwave-help-browser-generic-args, idlwave-help-directory)
14350 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
14351 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
14352 (idlwave-online-help, idlwave-help-html-link)
14353 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
14354 Fix typos in docstrings.
14355 (idlwave-help-with-source, idlwave-help-find-routine-definition):
14356 Reflow docstrings.
14357 (idlwave-help-assistant-start): Fix typo in error message.
14358
14359 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
14360 (octave-electric-space): Fix typos in docstrings.
14361
14362 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
14363
14364 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
14365
14366 2010-01-01 Juri Linkov <juri@jurta.org>
14367
14368 * comint.el (comint-input-ring-size): Make it a defcustom and
14369 increase the default to 500 (Bug#5148).
14370
14371 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
14372
14373 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
14374 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
14375 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
14376
14377 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
14378
14379 Show working revision correctly for mercurial.
14380 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
14381 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
14382
14383 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
14384
14385 Declare some functions for the byte-compiler.
14386 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
14387 (speedbar-timer-fn, speedbar-change-expand-button-char)
14388 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
14389
14390 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
14391
14392 This changeset reverts GDB Graphical Interface to use annotations.
14393 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
14394
14395 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
14396
14397 Make vc-dir work on subdirectories of the bzr root.
14398 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
14399 Return file names relative to it.
14400 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
14401 relative directory to vc-bzr-after-dir-status.
14402
14403 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
14404
14405 * font-lock.el (font-lock-refresh-defaults): New function, which
14406 can be used to let font-lock react to external changes in
14407 variables like font-lock-defaults and keywords.
14408 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
14409
14410 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
14411
14412 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
14413
14414 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
14415
14416 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
14417
14418 Supersede color.diff settings in git log (bug#5211).
14419
14420 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
14421 escape chars in its output when the user has color.diff set to `always'.
14422 This fix works on git 1.4.2 and newer (released on 2006-08-13).
14423
14424 2009-12-26 Kevin Ryde <user42@zip.com.au>
14425
14426 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
14427 node. Keep previous "Index" name to work with past coreutils too.
14428
14429 * man.el (man): Revise docstring a bit to show -a and -l as
14430 examples. Add -k description since support for it has otherwise
14431 been a secret. (Further to bug#3717.)
14432 (Man-bgproc-sentinel): When "-k foo" produces no output show error
14433 "no matches" rather than "Can't find manpage", as the latter reads
14434 like -k was interpreted as a page name, which is not so. (Bug#5431)
14435
14436 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
14437
14438 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
14439 switches. Check also for //SUBDIRED// line.
14440
14441 2009-12-25 Kenichi Handa <handa@m17n.org>
14442
14443 * language/indian.el (devanagari-composable-pattern): Fix to
14444 handle ZWNJ and ZWJ. Use it in composition-function-table for
14445 Devanagari.
14446 (malayalam-composable-pattern): Fix previous change.
14447
14448 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14449
14450 * ps-print.el (ps-face-attributes): It was not returning the
14451 attribute face for faces specified as string. Reported by harven
14452 <harven@free.fr>. (Bug#5254)
14453 (ps-print-version): New version 7.3.5.
14454
14455 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
14456
14457 * calendar/icalendar.el (icalendar--convert-tz-offset):
14458 Fix timezone names.
14459 (icalendar--convert-tz-offset): Fix the "last-day-problem".
14460 (icalendar--add-diary-entry): Remove the trailing blank that
14461 diary-make-entry inserts.
14462
14463 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
14464
14465 Make `file-expand-wildcards' work for remote files.
14466
14467 * files.el (file-expand-wildcards): In case of remote files, check
14468 only local file name part for wildcards. Provide feature 'files
14469 and subfeature 'remote-wildcards. (Bug#5198)
14470
14471 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
14472 if there is already an established connection.
14473 (tramp-advice-file-expand-wildcards): Remove it.
14474
14475 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
14476 (tramp-advice-file-expand-wildcards): Move from tramp.el.
14477 Activate advice for older GNU Emacs versions. (Bug#5237)
14478
14479 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
14480
14481 Some doc fixes (more needed).
14482
14483 * find-cmd.el (find-constituents): Reflow docstring.
14484 (find-cmd, find-prune, find-command): Fix typos in docstrings.
14485 (find-generic): Doc fix.
14486
14487 2009-12-17 Juri Linkov <juri@jurta.org>
14488
14489 Fix regression from 23.1 to allow multiple modes in Local Variables.
14490
14491 * files.el (hack-local-variables-filter): While ignoring duplicates,
14492 don't take `mode' into account.
14493 (hack-local-variables-filter, hack-dir-local-variables):
14494 Don't remove duplicate `mode' from local-variables-alist (like `eval').
14495
14496 2009-12-17 Juri Linkov <juri@jurta.org>
14497
14498 Make `dired-diff' safer. (Bug#5225)
14499
14500 * dired-aux.el (dired-diff): Signal an error when `file' equals to
14501 `current' or when `file' is a directory of the `current' file.
14502
14503 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
14504
14505 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
14506 unconditionally preloaded files.
14507
14508 2009-12-16 Juri Linkov <juri@jurta.org>
14509
14510 Revert to old 23.1 logic of using the file at the mark as default.
14511 * dired-aux.el (dired-diff): Use the file at the mark as default
14512 if it's not the same as the current file, and the target dir is
14513 the current dir or the mark is active. Add the current file
14514 as the arg of `dired-dwim-target-defaults'. Use the default file
14515 in the prompt. (Bug#5225)
14516
14517 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
14518
14519 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
14520 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
14521 (tramp-check-for-regexp): Check also, when an echoing shell stops
14522 to echo sent commands.
14523
14524 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14525
14526 * Makefile.in: Revert last change (Bug#5191).
14527
14528 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
14529
14530 * vc-hg.el (vc-hg-print-log): Fix argument order.
14531 (vc-hg-working-revision): Make sure the command is executed in a
14532 known environment so that we can parse the output. (Bug#4417)
14533
14534 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
14535
14536 * progmodes/python.el (python-symbol-completions): Remove text
14537 properties from symbol string before calling python-send-receive.
14538
14539 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
14540
14541 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
14542 when there are values for both file and line. (Bug#5060)
14543
14544 2009-12-14 Juri Linkov <juri@jurta.org>
14545
14546 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
14547 whitespace after the file name of the first line of unified format,
14548 because git-diff doesn't output whitespace and file modification time
14549 after the file name.
14550
14551 2009-12-14 David Kastrup <dak@gnu.org>
14552
14553 * info.el (Info-hide-cookies-node): Before hiding a cookie,
14554 check if it already has the `display' property added by
14555 `Info-display-images-node', and not put the `invisible' property
14556 in this case.
14557
14558 2009-12-13 Glenn Morris <rgm@gnu.org>
14559
14560 * mail/emacsbug.el (message-sort-headers): Define for compiler.
14561 (report-emacs-bug): In message-mode, sort manually before storing
14562 original report text. (Bug#5178)
14563 Remove superfluous save-excursion.
14564
14565 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
14566
14567 * net/dbus.el (dbus-property-handler): Filter lambda forms out
14568 when responding to "GetAll" properties.
14569
14570 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
14571
14572 * simple.el (compose-mail): Remove mail-setup-with-from from
14573 customization checks.
14574
14575 2009-12-12 Eli Zaretskii <eliz@gnu.org>
14576
14577 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
14578 RAR archives created on Unix systems.
14579
14580 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
14583 the varalias that was accidentally removed by the 2009-11-19 change
14584 (bug#5186).
14585
14586 2009-12-12 Kenichi Handa <handa@m17n.org>
14587
14588 * language/indian.el (indian-compose-regexp): New function.
14589 (malayalam-composable-pattern): Fix the pattern.
14590 (composition-function-table): Set malayalam-composable-pattern for
14591 Malayalam characters.
14592
14593 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
14594
14595 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
14596 rather than down-mouse-1, based on follow-link conventions.
14597
14598 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
14599 are compiled.
14600
14601 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
14602
14603 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
14604 (verilog-vmm-statement-re, verilog-ovm-statement-re)
14605 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
14606 (verilog-leap-to-head, verilog-backward-token):
14607 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
14608
14609 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
14610
14611 * progmodes/verilog-mode.el (verilog-auto-lineup)
14612 (verilog-nameable-item-re): Cleanup user-visible spelling and
14613 documentation errors. One reported by Gary Delp.
14614 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
14615 (verilog-read-decls): Fix AUTOWIRE with types declared in a
14616 package, bug195. Reported by Pierre-David Pfister.
14617
14618 2009-12-11 Glenn Morris <rgm@gnu.org>
14619
14620 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
14621
14622 * mail/emacsbug.el: No longer require sendmail.
14623 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
14624 (report-emacs-bug-orig-text): Doc fix.
14625 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
14626 New local variables, to adapt to different mail-user-agents.
14627 (report-emacs-bug): Fix test for a gnu.org address.
14628 Use overlays for emphasis, since font-lock defeats 'face property.
14629 Pretest bugs also end up at the newsgroup these days.
14630 Stop message-mode stripping text properties.
14631 Set and use the new buffer-local variables.
14632 (report-emacs-bug-hook): Add doc-string.
14633 Remove some unnecessary save-excursions and simplify.
14634 Use the appropriate hook and send-command.
14635
14636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
14637 capitalization of some menu entries.
14638
14639 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14640
14641 * whitespace.el (whitespace-display-char-on):
14642 Ensure `buffer-display-table' is unique when two or more windows are
14643 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
14644 New version 12.1.
14645
14646 2009-12-10 Eli Zaretskii <eliz@gnu.org>
14647
14648 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
14649 characters in the Attribute field.
14650
14651 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
14652
14653 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
14654
14655 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
14656
14657 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
14658 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14659 Disregard autoload-excludes.
14660 (update-directory-autoloads): Obey autoload-excludes here instead.
14661 But don't store its contents in no-autoloads and remove entries that
14662 refer to excludes files.
14663
14664 2009-12-10 Glenn Morris <rgm@gnu.org>
14665
14666 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
14667 (expand-mail-aliases): Define for compiler.
14668
14669 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
14670 Define for compiler.
14671
14672 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
14673 appropriate for the mail-user-agent in use.
14674
14675 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
14676
14677 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
14678
14679 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
14680
14681 Fix short log parsing and fontification.
14682 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14683 Fix fontification for the [merge] label.
14684
14685 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
14686
14687 Drop some properties to avoid surprises (bug#5002).
14688 * htmlfontify.el (hfy-ignored-properties): New defcustom.
14689 (hfy-fontify-buffer): Use it.
14690
14691 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 Minor cleanup.
14694 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
14695 Adjust all callers.
14696 (ffap-locate-file): Remove unused arg `dir-ok' and make other
14697 args compulsory. Adjust callers.
14698 (ffap-gopher-at-point): Remove unused var `name'.
14699
14700 Get rid of the ELCFILES abomination.
14701 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
14702 (compile-elcfiles): New phony target.
14703 (compile-main): Compute ELCFILES dynamically.
14704 (compile-clean): New target to remove left-over elc files.
14705 (compile, all): Use it.
14706
14707 2009-12-09 Kenichi Handa <handa@etlken>
14708
14709 * international/mule-diag.el: Require help-mode instead of help-fns.
14710
14711 2009-12-09 Kenichi Handa <handa@m17n.org>
14712
14713 * international/mule-cmds.el (ucs-names): Supply sufficiently
14714 fine ranges instead of pre-calculating accurate ranges.
14715 Iterate with bigger gc-cons-threshold.
14716
14717 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
14718
14719 Add support for stashing a snapshot of the current tree.
14720 * vc-git.el (vc-git-stash-snapshot): New function.
14721 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
14722
14723 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
14724
14725 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
14726 instead of `(beginning|end)-of-line'.
14727
14728 2009-12-08 Glenn Morris <rgm@gnu.org>
14729
14730 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
14731
14732 * Makefile.in (ELCFILES): Regenerate.
14733
14734 2009-12-07 Juri Linkov <juri@jurta.org>
14735
14736 Don't lazy-highlight the comint output in history Isearch mode.
14737
14738 * comint.el (comint-history-isearch-search): Instead of
14739 `comint-line-beginning-position', use `comint-after-pmark-p'
14740 to check if point if before the process mark, and go to
14741 `process-mark' in this case.
14742
14743 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * textmodes/tex-mode.el (latex-complete)
14746 (latex-indent-or-complete): Remove.
14747 (latex-mode): Set completion-at-point-functions instead.
14748
14749 Provide a standard completion command and hook it into TAB.
14750 * minibuffer.el (completion-at-point-functions): New var.
14751 (completion-at-point): New command.
14752 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
14753 * progmodes/python.el (python-mode-map): Use completion-at-point.
14754 (python-completion-at-point): Rename from python-partial-symbol and
14755 adjust for use in completion-at-point-functions.
14756 (python-mode): Setup completion-at-point for Python completion.
14757 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
14758 extracted from lisp-complete-symbol.
14759 (lisp-complete-symbol): Use it.
14760 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
14761 setup completion-at-point for Elisp completion.
14762 (emacs-lisp-mode-map, lisp-interaction-mode-map):
14763 Use completion-at-point.
14764 * ielm.el (ielm-map): Use completion-at-point.
14765 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
14766 * progmodes/sym-comp.el: Move to...
14767 * obsolete/sym-comp.el: Move from progmodes.
14768
14769 2009-12-07 Eli Zaretskii <eliz@gnu.org>
14770
14771 Prevent save-buffer in Rmail buffers from using the coding-system
14772 of the current message, and from clobbering the encoding mnemonics
14773 in the mode line (Bug#4623).
14774
14775 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
14776 flag, too.
14777 (rmail-message-encoding): New variable.
14778 (rmail-write-region-annotate): Record the encoding of the current
14779 message in rmail-message-encoding.
14780 (rmail-after-save-hook): New function, restores the encoding of
14781 the current message after the message collection is saved.
14782
14783 2009-12-07 Juri Linkov <juri@jurta.org>
14784
14785 * progmodes/grep.el (grep-read-files): Use `completing-read'
14786 instead of `read-string'. Set its `collection' arg to
14787 `read-file-name-internal'. (Bug#4301)
14788
14789 2009-12-07 Juri Linkov <juri@jurta.org>
14790
14791 Correctly restore original Isearch point. (Bug#4994)
14792
14793 * isearch.el (isearch-mode): Move `isearch-push-state' after
14794 `(run-hooks 'isearch-mode-hook)'.
14795 (isearch-cancel): When `isearch-push-state-function' is defined,
14796 let-bind `isearch-cmds' to the first state (the last element of
14797 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
14798 function and restores the original point). Otherwise, move point
14799 to `isearch-opoint'.
14800
14801 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
14804 chars that don't have names, so the table can be built much faster at
14805 run-time.
14806
14807 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
14808
14809 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
14810 change. Suggested by David Kastrup.
14811
14812 * simple.el (compose-mail): Check for incompatibilities and warn.
14813 (compose-mail-user-agent-warnings): New option.
14814
14815 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14816
14817 Support showing a single log entry from vc-annotate.
14818 * vc.el (print-log): Add a new argument: START-REVISION.
14819 (vc-print-log-internal): Add a new optional argument and
14820 pass it to the backend.
14821 (vc-print-log, vc-print-root-log): Adjust callers.
14822 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
14823 buffer already displays the requested log entry, use it.
14824 Otherwise display only the log entry in question.
14825 * vc-svn.el (vc-svn-print-log):
14826 * vc-mtn.el (vc-mtn-print-log):
14827 * vc-hg.el (vc-hg-state):
14828 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
14829 (vc-git-show-log-entry): Return t on success.
14830 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
14831 (vc-bzr-show-log-entry): Return t on success.
14832 * vc-rcs.el (vc-rcs-print-log):
14833 * vc-sccs.el (vc-sccs-print-log):
14834 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
14835
14836 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14837
14838 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
14839 Add menus to the meta mode. (Bug#5043)
14840
14841 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
14842
14843 * ediff-init.el (ediff-event-key): Use event-to-character instead of
14844 event-key.
14845
14846 * ediff.el (ediff-buffers-internal): Add unwind-protect.
14847
14848 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
14849
14850 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
14851 Berbain <raphael.berbain@gmail.com>.
14852
14853 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
14854 characters.
14855 (tramp-initial-end-of-output): New defconst.
14856 (tramp-methods, tramp-find-shell)
14857 (tramp-open-connection-setup-interactive-shell)
14858 (tramp-maybe-open-connection): Use it.
14859 (tramp-shell-prompt-pattern, tramp-wait-for-output):
14860 Handle existence of `#' and `$'.
14861
14862 * net/tramp-fish.el (tramp-fish-maybe-open-connection):
14863 Use `tramp-initial-end-of-output'.
14864
14865 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
14866
14867 Get the background mode from the terminal for xterm, and set
14868 faces accordingly.
14869 * term/xterm.el (xterm-set-background-mode): New function.
14870 (terminal-init-xterm): Use it in case xterm supports background
14871 color queries. Recompute faces after getting the background
14872 color.
14873
14874 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
14875
14876 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
14877 number comment back on its own line, for easier parsing.
14878
14879 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
14880
14881 Make it work for non-file buffers (bug#5102).
14882 * doc-view.el (doc-view-current-cache-dir):
14883 Use doc-view-buffer-file-name rather than buffer-file-name.
14884 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
14885
14886 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
14887
14888 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
14889 author field is too short.
14890
14891 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
14892
14893 * vc-git.el (vc-git-print-log): Handle a limit argument.
14894 Display the short log in graph form and with labels.
14895 (vc-git-log-view-mode): Handle labels.
14896
14897 Make vc-revert change VC state from 'added to 'unregistered.
14898 * vc-git.el (vc-git-revert): Call git reset first.
14899
14900 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14901
14902 * net/newst-backend.el, net/newst-plainview.el:
14903 * net/newst-reader.el, net/newst-ticker.el:
14904 * net/newst-treeview.el, net/newsticker.el:
14905 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
14906
14907 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14908
14909 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
14910
14911 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
14912 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
14913 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
14914 Update annotation regexp.
14915
14916 * simple.el (beginning-of-visual-line): Constrain to field
14917 boundaries (Bug#5106).
14918
14919 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
14920
14921 * xml.el (xml-substitute-numeric-entities):
14922 Move newsticker--decode-numeric-entities in newst-backend.el to
14923 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14924 * net/newst-backend.el (newsticker--parse-generic-feed)
14925 (newsticker--parse-generic-items)
14926 (newsticker--decode-numeric-entities):
14927 Move newsticker--decode-numeric-entities in newst-backend.el to
14928 xml-substitute-numeric-entities in xml.el. (Bug#5008)
14929
14930 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
14931
14932 * progmodes/js.el (js--js-not): Add null to the list of values.
14933
14934 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
14935
14936 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
14937
14938 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
14939
14940 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
14941 delimiter if it is at the end of the current line.
14942 (bibtex-generate-url-list): Fix docstring.
14943
14944 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
14947 minibuffer's content with itself.
14948 Fold the confirm-after-completion case into the `confirm' case.
14949 (completion-pcm-word-delimiters): Add : and / to the delimiters.
14950
14951 2009-12-06 Kevin Ryde <user42@zip.com.au>
14952
14953 * ffap.el (ffap-rfc-path): Make this a defcustom since
14954 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
14955
14956 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
14957 manuals, similar to existing setup for help-mode. (Bug#3913.)
14958
14959 2009-12-05 Juri Linkov <juri@jurta.org>
14960
14961 Save and restore dired buffer's point positions too. (Bug#4880)
14962
14963 * dired.el (dired-save-positions): Return in the first element
14964 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
14965 Doc fix.
14966 (dired-restore-positions): First restore buffer's position.
14967 While restoring window's positions, check if window still displays
14968 the original buffer.
14969
14970 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
14973 if possible.
14974
14975 * shell.el (shell): Require ansi-color (Bug#5113).
14976
14977 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
14978
14979 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
14980
14981 2009-12-05 Alan Mackenzie <acm@muc.de>
14982
14983 * progmodes/cc-mode.el (c-before-hack-hook)
14984 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
14985 `c-file-style' to work again. This reversion restores the current
14986 software to its state in Emacs 23.1. (Bug#4146)
14987
14988 2009-12-05 Kevin Ryde <user42@zip.com.au>
14989
14990 * textmodes/sgml-mode.el (sgml-lexical-context):
14991 Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
14992
14993 2009-12-05 Juri Linkov <juri@jurta.org>
14994
14995 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
14996 for virtual nodes. (Bug#4147)
14997 (Info-find-node-2): Set `Info-current-node-virtual' to nil
14998 when moving from a virtual node.
14999 (Info-mode-menu): Add `Info-virtual-index' to the menu.
15000 (Info-mode): Add `Info-virtual-index' to the docstring.
15001
15002 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15003
15004 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
15005 track of the buffer position of the end of a BibTeX entry as this
15006 position may change during reformatting.
15007 (bibtex-format-entry): Remove whitespace before processing
15008 numerical fields so that we recognize the latter properly.
15009 (bibtex-reformat): Do not use push which changes the global value
15010 of bibtex-entry-format.
15011 (bibtex-field-braces-alist, bibtex-field-strings-alist)
15012 (bibtex-field-re-init): Replace only space characters by regexp
15013 for whitespace.
15014 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
15015 (bibtex-initialize): Also update bibtex-strings.
15016 (bibtex-kill-field): Preserve white space at end of entry.
15017 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
15018 Update bibtex-reference-keys.
15019
15020 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
15021
15022 * minibuffer.el (completion-pcm--merge-try): Also consider placing
15023 point after a star, if that's the only place where modifications can
15024 make progress.
15025
15026 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
15027
15028 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
15029 in docstrings.
15030
15031 2009-12-04 Juri Linkov <juri@jurta.org>
15032
15033 * proced.el (proced): Call `(proced-update t)' to update process
15034 information instead of only running proced-post-display-hook.
15035 (proced-send-signal): Add a leading space to the buffer name
15036 " *Marked Processes*" to make this buffer ephemeral.
15037
15038 2009-12-04 Juri Linkov <juri@jurta.org>
15039
15040 * dired.el (dired-auto-revert-buffer): New defcustom.
15041 (dired-internal-noselect): Use it.
15042
15043 2009-12-04 Juri Linkov <juri@jurta.org>
15044
15045 Change roles of modes and functions in image-mode.el (Bug#5062).
15046
15047 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
15048 in `auto-mode-alist'.
15049 (image-mode-previous-major-mode): New variable.
15050 (image-minor-mode-map): Rename from `image-mode-text-map'.
15051 (image-mode): Move graceful error-handling code from
15052 `image-minor-mode' to here. On errors call `image-mode-as-text'.
15053 (image-minor-mode): Remove all image-handling code.
15054 Replace `image-mode-text-map' with `image-minor-mode-map'.
15055 Check for `image-type' in mode-line format string.
15056 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
15057 (image-mode-as-text): New function with most code from
15058 `image-mode-maybe'.
15059 (image-toggle-display-text): Move code that removes image
15060 properties from `image-toggle-display' to here.
15061 (image-toggle-display-image): New function with code that adds
15062 image properties copied from `image-toggle-display'.
15063 (image-toggle-display): Remove most code with leaving only code
15064 that toggles between `image-mode-as-text' and `image-mode'.
15065
15066 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
15067
15068 * net/newst-treeview.el
15069 (newsticker--treeview-list-highlight-start): Restored call to
15070 save-excursion: Selected item was stuck.
15071 (newsticker--treeview-list-select): New.
15072 (newsticker--treeview-item-show-text)
15073 (newsticker--treeview-item-show)
15074 (newsticker--treeview-item-update): Use new
15075 newsticker-treeview-item-mode.
15076 (newsticker-treeview-update): Keep current item.
15077 (newsticker-treeview-next-new-or-immortal-item): Doc change.
15078 (newsticker--treeview-first-feed): Doc change.
15079 (newsticker-treeview-list-menu)
15080 (newsticker-treeview-item-menu): Add menu entries.
15081 (newsticker-treeview-item-mode): New.
15082
15083 * net/newst-backend.el (newsticker-customize): Delete other
15084 windows.
15085
15086 2009-12-04 Sam Steingold <sds@gnu.org>
15087
15088 * log-view.el (log-view-mode-map): "q" calls quit-window,
15089 like in all the other non-self-insert buffers.
15090
15091 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
15092
15093 Minor cleanup.
15094 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
15095 key decoding rather than do it manually via last-input-event +
15096 ascii-character.
15097 (term-exec): Use delete-and-extract-region.
15098 (term-handle-ansi-terminal-messages): Remove unused var `end'.
15099 (term-process-pager): Remove unused var `i'.
15100 (term-dynamic-simple-complete): Make obsolete.
15101 (serial-update-config-menu): Remove unused vars `y' and `str'.
15102 (term-update-mode-line): Remove unused var `temp'.
15103
15104 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15105
15106 Limit the number of log entries displayed by default.
15107 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
15108 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
15109 using a prefix argument.
15110
15111 2009-12-03 Glenn Morris <rgm@gnu.org>
15112
15113 * progmodes/idlwave.el (class): Restore still useful declaration.
15114
15115 2009-12-03 Alan Mackenzie <acm@muc.de>
15116
15117 Enhance `c-parse-state' to run efficiently in "brace deserts".
15118
15119 * progmodes/cc-mode.el (c-basic-common-init):
15120 Call c-state-cache-init.
15121 (c-neutralize-syntax-in-and-mark-CPP): Rename from
15122 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
15123 placing `category' properties value 'c-cpp-delimiter at its boundaries.
15124
15125 * progmodes/cc-langs.el (c-before-font-lock-function):
15126 c-extend-and-neutralize-syntax-in-CPP has been renamed
15127 c-neutralize-syntax-in-and-mark-CPP.
15128
15129 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
15130 with `category' properties now, not `syntax-table' ones.
15131
15132 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
15133 enhanced (but slower) version of c-end-of-macro that won't land
15134 inside a literal or on another awkward character.
15135 (c-state-cache-too-far, c-state-cache-start)
15136 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
15137 (c-state-nonlit-pos-cache-limit, c-state-point-min)
15138 (c-state-point-min-lit-type, c-state-point-min-lit-start)
15139 (c-state-min-scan-pos, c-state-brace-pair-desert)
15140 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
15141 buffer local variables.
15142 (c-state-literal-at, c-state-lit-beg)
15143 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
15144 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
15145 (c-state-cache-top-paren, c-state-cache-after-top-paren)
15146 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
15147 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
15148 (c-renarrow-state-cache)
15149 (c-append-lower-brace-pair-to-state-cache)
15150 (c-state-push-any-brace-pair, c-append-to-state-cache)
15151 (c-remove-stale-state-cache)
15152 (c-remove-stale-state-cache-backwards, c-state-cache-init)
15153 (c-invalidate-state-cache-1, c-parse-state-1)
15154 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
15155 (c-parse-state): Enhance and refactor.
15156 (c-debug-parse-state): Amend to deal with all the new variables.
15157
15158 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
15159 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
15160 modify to use category text properties rather than syntax-table ones.
15161 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
15162 to switch off/on the syntactic paren property of C++ template
15163 delimiters using the category property.
15164 (c-with-<->-as-parens-suppressed): Macro to invoke code with
15165 template delims suppressed.
15166 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
15167 New constant/macros which apply category properties to the start
15168 and end of preprocessor constructs.
15169 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
15170 "comment out" the syntactic value of characters in preprocessor
15171 constructs.
15172 (c-with-cpps-commented-out)
15173 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
15174 with characters in all or all but one preprocessor constructs
15175 "commented out".
15176
15177 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
15178
15179 * proced.el (proced-filter-alist): Use regexp-quote.
15180
15181 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
15182
15183 Cleanup.
15184 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
15185 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
15186 arguments. Expand `default-directory'.
15187
15188 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
15189 the benefit of returning an expanded localname.
15190 (tramp-tramp-file-p): Handle the case NAME is not a string.
15191
15192 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15193
15194 Add support for bzr shelve/unshelve.
15195 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
15196 (vc-bzr-extra-menu-map): New variables.
15197 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
15198 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
15199 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
15200 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
15201 (vc-bzr-dir-extra-headers): Display shelves.
15202
15203 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
15204
15205 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15206
15207 * textmodes/bibtex.el (bibtex-complete-internal):
15208 Use completion-in-region.
15209 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
15210
15211 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
15212
15213 Support applying stashes. Improve UI.
15214 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
15215 (vc-git-stash-apply, vc-git-stash-pop)
15216 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
15217 (vc-git-stash-menu): New functions.
15218 (vc-git-stash-menu-map): New variable.
15219 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
15220
15221 2009-12-03 Glenn Morris <rgm@gnu.org>
15222
15223 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
15224 (vc-print-log-internal): Fix previous change.
15225 (vc-revert): Correct pluralization.
15226
15227 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * progmodes/make-mode.el (makefile-special-targets-list): No need for
15230 it to be an alist any more.
15231 (makefile-complete): Use completion-in-region.
15232
15233 * progmodes/octave-mod.el (octave-complete-symbol):
15234 Use completion-in-region.
15235
15236 Misc cleanup.
15237 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
15238 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
15239 (idlwave-complete-class): Don't quote lambda.
15240 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
15241 (idlwave-mode-map): Move initialization into declaration.
15242 (idlwave-action-and-binding): Use backquotes.
15243 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
15244 Simplify.
15245 (idlwave-is-pointer-dereference): Remove unused var `pos'.
15246 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
15247 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
15248 `parts', and `all-parts'.
15249 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
15250 (idlwave-convert-xml-system-routine-info): Remove unused string
15251 `version-string'.
15252 (idlwave-display-user-catalog-widget): Use dolist.
15253 (idlwave-scanning-lib): Declare dynamically-scoped var.
15254 (idlwave-scan-library-catalogs): Remove unused var `flags'.
15255 (completion-highlight-first-word-only): Declare to silence bytecomp.
15256 (idlwave-popup-select): Tighten scope of `resp'.
15257 (idlwave-find-struct-tag): Remove unused var `beg'.
15258 (idlwave-after-load-rinfo-hook): Declare.
15259 (idlwave-sintern-class-info): Remove unused var `taglist'.
15260 (idlwave-find-class-definition): Remove unused var `list'.
15261 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
15262 (idlwave-what-module-find-class): Remove unused var `classes'.
15263
15264 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
15265
15266 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
15267
15268 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15269
15270 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
15271 buffers visited. Remove redundant current-buffer-saving.
15272
15273 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15274
15275 Use completion-in-buffer and remove uses of dynamic scoping.
15276 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
15277 (pascal-buffer-to-use, pascal-flag): Don't declare.
15278 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
15279 (pascal-get-completion-decl, pascal-keyword-completion):
15280 Add `pascal-str' argument, save-excursion,
15281 return the found completions, and don't filter with pascal-pred.
15282 (pascal-completion-cache): New var.
15283 (pascal-completion): Don't switch buffer any more (it was never
15284 necessary). Don't save-excursion any more (it's done by the called
15285 subroutines). Use a cache to avoid redundant computations.
15286 Use complete-with-action rather than pascal-completion-response and
15287 let it apply the predicate as well.
15288 (pascal-complete-word): Use completion-in-buffer when
15289 pascal-toggle-completions is nil.
15290 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
15291 not used any more.
15292 (pascal-comp-defun): Don't change buffer any more.
15293 Use complete-with-action rather than pascal-completion-response and
15294 let it apply the predicate as well.
15295 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
15296 when neded.
15297
15298 2009-12-02 Kenichi Handa <handa@m17n.org>
15299
15300 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
15301 shape for all Indic scripts.
15302
15303 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15304
15305 Use completion-in-buffer.
15306 * wid-edit.el (widget-field-text-end): New function.
15307 (widget-field-value-get): Use it.
15308 (widget-string-complete, widget-file-complete)
15309 (widget-color-complete): Use it and completion-in-region.
15310 (widget-complete): Don't narrow the buffer.
15311
15312 2009-12-02 Glenn Morris <rgm@gnu.org>
15313
15314 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
15315 (rmail-select-summary): Use rmail-pop-to-buffer.
15316 * mail/rmailsum.el: Replace all pop-to-buffer calls with
15317 rmail-pop-to-buffer, to prevent horizontal splits.
15318
15319 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
15320 save-excursion with save-current-buffer.
15321 Widen before searching. (Bug#5093)
15322 (diary-list-sexp-entries): Remove superfluous save-excursion.
15323
15324 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
15325
15326 * woman.el (woman-make-bufname): Handle man-pages with "." in the
15327 name. (Bug#5038)
15328
15329 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
15330
15331 * ido.el (ido-file-internal): Handle filenames at point that do
15332 not have a directory part. (Bug#5049)
15333
15334 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
15335
15336 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
15337 (mpc-songs-jump-to, mpc-resume): Doc fixes.
15338
15339 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
15340
15341 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
15342 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
15343 any more.
15344
15345 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * comint.el (comint-insert-input): Ignore clicks to the right of
15348 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
15349
15350 * vc.el (vc-print-log-internal): Don't wait for the process to
15351 terminate before setting up the major mode.
15352
15353 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
15354 in case.
15355
15356 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
15357 the last element.
15358
15359 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
15360
15361 2009-12-01 Glenn Morris <rgm@gnu.org>
15362
15363 * window.el (window--display-buffer-2): Fix previous changes.
15364
15365 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
15366
15367 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
15368
15369 2009-12-01 Glenn Morris <rgm@gnu.org>
15370
15371 * Makefile.in (ELCFILES): Add mpc.elc.
15372
15373 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15374
15375 * mpc.el: New file.
15376
15377 2009-12-01 Glenn Morris <rgm@gnu.org>
15378
15379 * window.el (window-to-use): Define for compiler.
15380
15381 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
15382 consistent with others (no final period).
15383
15384 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
15385 (rmail-mime-show): Downcase the encoding. (Bug#5070)
15386
15387 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
15388
15389 Make vc-print-log buttons work.
15390 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
15391
15392 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
15393
15394 * savehist.el (savehist-autosave-interval): Allow setting to nil
15395 through customize. (Bug#5056)
15396
15397 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
15398
15399 Fix references to jit-lock properties.
15400 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
15401 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
15402 (perl-font-lock-special-syntactic-constructs):
15403 Quote jit-lock-defer-multiline property.
15404
15405 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
15406
15407 * vc-git.el (vc-git-registered): Call vc-git-root only once.
15408
15409 2009-11-30 Juri Linkov <juri@jurta.org>
15410
15411 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
15412 value `buffer' of `multi-isearch-next-buffer-current-function'.
15413 Use `(current-buffer)' when `buffer' is nil.
15414 (multi-isearch-next-buffer-from-list): Don't fallback to
15415 `(current-buffer)' when `buffer' is nil. (Bug#4947)
15416
15417 2009-11-30 Juri Linkov <juri@jurta.org>
15418
15419 * misearch.el (multi-isearch-read-buffers): Move canonicalization
15420 of buffers with `get-buffer' to `multi-isearch-buffers'.
15421 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15422 Canonicalize BUFFERS with `get-buffer'. Doc fix.
15423 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
15424 FILES with `expand-file-name' converting relative file names
15425 to absolute. Doc fix. (Bug#4727)
15426
15427 2009-11-30 Juri Linkov <juri@jurta.org>
15428
15429 * misearch.el (multi-isearch-read-buffers)
15430 (multi-isearch-read-matching-buffers): New functions.
15431 (multi-isearch-buffers, multi-isearch-buffers-regexp):
15432 Use them in the `interactive' spec. Doc fix.
15433 (multi-isearch-read-files, multi-isearch-read-matching-files):
15434 New functions.
15435 (multi-isearch-files, multi-isearch-files-regexp):
15436 Use them in the `interactive' spec. Doc fix. (Bug#4725)
15437
15438 2009-11-30 Juri Linkov <juri@jurta.org>
15439
15440 * doc-view.el (doc-view-continuous):
15441 Rename from `doc-view-continuous-mode'.
15442 (doc-view-menu): Move "Toggle display" to the top.
15443 Add submenu "Continuous" with radio buttons "Off"/"On"
15444 and "Save as Default".
15445 (doc-view-scroll-up-or-next-page)
15446 (doc-view-scroll-down-or-previous-page)
15447 (doc-view-next-line-or-next-page)
15448 (doc-view-previous-line-or-previous-page):
15449 Rename `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
15450
15451 2009-11-30 Juri Linkov <juri@jurta.org>
15452
15453 * comint.el (comint-mode-map): Rebind `M-r' from
15454 `comint-previous-matching-input' to
15455 `comint-history-isearch-backward-regexp'.
15456 Unbind `M-s' to allow global key binding `M-s'.
15457 Add menu items for `comint-history-isearch-backward' and
15458 `comint-history-isearch-backward-regexp'. (Bug#3746)
15459
15460 2009-11-30 Juri Linkov <juri@jurta.org>
15461
15462 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
15463 For def=recenter, replace `recenter' with `recenter-top-bottom'
15464 that is called with `this-command' and `last-command' let-bound
15465 to `recenter-top-bottom'. When the last `def' was not `recenter',
15466 set `recenter-last-op' to nil. (Bug#4981)
15467
15468 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
15469
15470 Minor cleanup and simplification.
15471 * filecache.el (file-cache-add-directory)
15472 (file-cache-add-directory-recursively)
15473 (file-cache-add-from-file-cache-buffer)
15474 (file-cache-delete-file-regexp, file-cache-delete-directory)
15475 (file-cache-files-matching-internal, file-cache-display): Use dolist.
15476 (file-cache-temp-minibuffer-message): Delete function.
15477 (file-cache-minibuffer-complete): Use minibuffer-message instead.
15478
15479 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
15480 Don't signal an error when bumping into EOB in tr, s, or y.
15481
15482 2009-11-29 Juri Linkov <juri@jurta.org>
15483
15484 * startup.el (fancy-about-text): Fix wording of Guided Tour.
15485 (Bug#4960)
15486
15487 * descr-text.el (describe-char-unidata-list): Use lowercase name
15488 for "Unicode name" like in other tags.
15489
15490 2009-11-29 Juri Linkov <juri@jurta.org>
15491
15492 * ediff-util.el (ediff-minibuffer-with-setup-hook):
15493 New compatibility macro.
15494 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
15495
15496 2009-11-29 Juri Linkov <juri@jurta.org>
15497
15498 Add defcustom to define the cycling order of `recenter-top-bottom'.
15499 (Bug#4981)
15500
15501 * window.el (recenter-last-op): Doc fix.
15502 (recenter-positions): New defcustom.
15503 (recenter-top-bottom): Rewrite to use `recenter-positions'.
15504 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
15505
15506 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
15507
15508 Improve integration of Tramp and ange-ftp in eshell.
15509
15510 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
15511 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
15512 (eshell/sudo): Flatten args. Let-bind `default-directory'.
15513
15514 * eshell/esh-util.el (top): Require also Tramp when compiling.
15515 (eshell-directory-files-and-attributes): Check for FTP remote
15516 connection.
15517 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
15518 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
15519 (eshell-file-attributes): Handle ".". Return `entry'.
15520
15521 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
15522 (ange-ftp-directory-files-and-attributes)
15523 (ange-ftp-real-directory-files-and-attributes): New defuns.
15524
15525 * net/tramp.el (tramp-maybe-open-connection): Open the remote
15526 shell with "exec" when possible. This prevents trailing prompts
15527 in `start-file-process'.
15528
15529 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15530
15531 Try and remove assumptions about point-min==1.
15532 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
15533 (rng-compute-mode-line-string): Show the validation percentage in
15534 terms of the narrowed text, not the widened text.
15535 (rng-do-some-validation): Don't catch internal errors when debugging.
15536 (rng-first-error): Simplify.
15537 (rng-after-change-function): Remove work around. AFAIK the bug has
15538 been fixed a while ago.
15539
15540 * image-mode.el (image-minor-mode): Exit more gracefully when the image
15541 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
15542
15543 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
15544
15545 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
15546 `cd' doesn't always do it for us (bug#5067).
15547
15548 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
15549 on 2009-10-25 as part of some other change (bug#5067).
15550
15551 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
15554 `suspicious'.
15555 (byte-compile-warnings): Use byte-compile-warning-types.
15556 (byte-compile-save-excursion): Warn about use of set-buffer right
15557 after save-excursion.
15558
15559 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
15560 the excursion as well.
15561
15562 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
15563
15564 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
15565 providing a Tramp related implementation of "su" and "sudo".
15566 (eshell-unix-initialize): Add "su" and "sudo".
15567
15568 2009-11-27 Daiki Ueno <ueno@unixuser.org>
15569
15570 * net/socks.el (socks-send-command): Convert binary request to
15571 unibyte before sending. This fixes mishandling of some port
15572 numbers such as 129.
15573
15574 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
15575
15576 * help.el (describe-bindings-internal): Remove `interactive'.
15577
15578 * man.el (Man-completion-table): Trim a terminating "(".
15579 Remove the space between name page a section.
15580 Add the command's description on the `help-echo' property.
15581 Remove `process-connection-type' binding since it's unused by
15582 call-process.
15583 Provide completion for the "<section> <name>" format as well.
15584 (Man-default-man-entry): Remove spurious var shadowing the argument.
15585
15586 2009-11-26 Kevin Ryde <user42@zip.com.au>
15587
15588 * log-view.el: Add "Keywords: tools", since its other keywords
15589 aren't in finder-known-keywords, and following vc.el.
15590
15591 * sha1.el (sha1-string-external): default-directory "/" in case
15592 otherwise non-existent. process-connection-type pipe for touch of
15593 efficiency recommended by elisp manual. (An aside in Bug#3911.)
15594
15595 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15596
15597 Misc coding convention cleanups.
15598 * htmlfontify.el (hfy-init-kludge-hook): Rename from
15599 hfy-init-kludge-hooks.
15600 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
15601 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
15602 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
15603 and push.
15604 (hfy-slant, hfy-weight): Use tables rather than code.
15605 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
15606 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
15607 (hfy-face-attr-for-class): Initialize `face-spec' directly.
15608 (hfy-face-to-css): Remove `nconc' with single arg.
15609 (hfy-p-to-face-lennart): Use `or'.
15610 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
15611 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
15612 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
15613 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
15614 (hfy-force-fontification): Use run-hooks.
15615
15616 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
15617
15618 Various minor fixes.
15619 * htmlfontify.el (hfy-default-header): Add toggle_invis since
15620 Javascript belongs in the header, not the body.
15621 (hfy-javascript): Remove.
15622 (hfy-fontify-buffer): Don't insert it any more.
15623 (hfy-face-at): Handle (face0 face1 face2) style face properties.
15624 Fix bug in invis handling when there were no invis props in a chunk.
15625
15626 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
15627
15628 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
15629
15630 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
15631
15632 * finder.el (finder-mode-map): Add a menu.
15633
15634 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
15635
15636 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
15637 "unsigned" structs.
15638
15639 (verilog-leap-to-head, verilog-backward-token): Handle "disable
15640 fork" statement better.
15641
15642 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
15643
15644 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
15645 (verilog-delete-auto, verilog-delete-empty-auto-pair)
15646 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
15647 Reported by Clay Douglass.
15648
15649 (verilog-auto-inst, verilog-auto-star-safe)
15650 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
15651 Fix removing "// Interfaces" when saving .* expansions.
15652 Reported by Pierre-David Pfister.
15653
15654 2009-11-26 Glenn Morris <rgm@gnu.org>
15655
15656 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
15657 the scope.
15658
15659 2009-11-25 Johan Bockgård <bojohan@gnu.org>
15660
15661 * vc-annotate.el (vc-annotate-revision-previous-to-line):
15662 Really use previous revision.
15663
15664 2009-11-25 Kevin Ryde <user42@zip.com.au>
15665
15666 * man.el (Man-completion-table): default-directory "/" in case
15667 doesn't otherwise exist. process-environment COLUMNS=999 so as
15668 not to truncate long names. process-connection-type pipe to avoid
15669 any chance of hitting the pseudo-tty TIOCGWINSZ.
15670 (man): completion-ignore-case t for friendliness and since man
15671 itself is case-insensitive on the command line.
15672 Further to Bug#3717.
15673
15674 * arc-mode.el: Add "Keywords: files", so the details in its
15675 commentary can be reached from finder-by-keyword.
15676 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
15677 editing mode, but it's comms related and sgml-mode.el has "comm"
15678 on that basis too.
15679 * textmodes/bibtex-style.el: Add "Keywords: tex".
15680 * international/isearch-x.el, international/ja-dic-cnv.el:
15681 * international/ja-dic-utl.el, international/kkc.el:
15682 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
15683
15684 2009-11-25 Juri Linkov <juri@jurta.org>
15685
15686 * man.el (Man-completion-table): Modify regexp to include
15687 section names to completion strings. (Bug#3717)
15688
15689 2009-11-25 Juri Linkov <juri@jurta.org>
15690
15691 Search recursively in gzipped files. (Bug#4982)
15692
15693 * progmodes/grep.el (grep-highlight-matches): Add new options
15694 `always' and `auto'. Doc fix.
15695 (grep-process-setup): Check `grep-highlight-matches' for
15696 `auto-detect' to determine the need to compute grep defaults.
15697 Move Windows/DOS specific --colors settings handling
15698 to `grep-compute-defaults'. Check `grep-highlight-matches'
15699 to get the value of "--color=".
15700 (grep-compute-defaults): Compute `grep-highlight-matches' when it
15701 has the value `auto-detect'. Move Windows/DOS specific settings
15702 from `grep-process-setup'.
15703 (zrgrep): New command with alias `rzgrep'.
15704
15705 2009-11-25 Juri Linkov <juri@jurta.org>
15706
15707 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
15708 to nil instead of switching off view-mode. (Bug#4896)
15709
15710 2009-11-25 Juri Linkov <juri@jurta.org>
15711
15712 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
15713
15714 * mwheel.el (mwheel-scroll-up-function)
15715 (mwheel-scroll-down-function): New defvars.
15716 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
15717 `scroll-up', and `mwheel-scroll-down-function' instead of
15718 `scroll-down'.
15719
15720 * doc-view.el (doc-view-scroll-up-or-next-page)
15721 (doc-view-scroll-down-or-previous-page): Add optional ARG.
15722 Use this ARG in the call to image-scroll-up/image-scroll-down.
15723 Change `interactive' spec to "P". Goto next/previous page only
15724 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
15725 SPC/DEL case). Doc fix.
15726 (doc-view-next-line-or-next-page)
15727 (doc-view-previous-line-or-previous-page): Rename arg to ARG
15728 for consistency.
15729 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
15730 `doc-view-scroll-up-or-next-page', and buffer-local
15731 `mwheel-scroll-down-function' to
15732 `doc-view-scroll-down-or-previous-page'.
15733
15734 2009-11-25 Juri Linkov <juri@jurta.org>
15735
15736 Provide additional default values (directories at other Dired
15737 windows) via M-n in the minibuffer of some Dired commands.
15738
15739 * dired-aux.el (dired-diff, dired-compare-directories)
15740 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
15741 `minibuffer-default' in `minibuffer-with-setup-hook'.
15742 (dired-dwim-target-directory): Find a window that displays Dired
15743 buffer instead of failing when the next window is not Dired.
15744 Use `get-window-with-predicate' to find for the next Dired window.
15745 (dired-dwim-target-defaults): New function.
15746
15747 * ediff-util.el (ediff-read-file-name):
15748 Use `dired-dwim-target-defaults' to set `minibuffer-default'
15749 in `minibuffer-with-setup-hook'.
15750
15751 2009-11-25 Juri Linkov <juri@jurta.org>
15752
15753 Provide additional default values (file name at point or at the
15754 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
15755
15756 * minibuffer.el (read-file-name-defaults): New function.
15757 (read-file-name): Reset `minibuffer-default' to nil when
15758 it duplicates initial input `insdef'.
15759 Bind `minibuffer-default-add-function' to lambda that
15760 calls `read-file-name-defaults' in `minibuffer-selected-window'.
15761 (minibuffer-insert-file-name-at-point): New command.
15762
15763 * files.el (file-name-at-point-functions): New defcustom.
15764 (find-file-default): Remove defvar.
15765 (find-file-read-args): Don't use `find-file-default'.
15766 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15767 to `read-file-name'.
15768 (find-file-literally): Use `read-file-name' with
15769 `confirm-nonexistent-file-or-buffer'.
15770
15771 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
15772
15773 * dired.el (dired-read-dir-and-switches):
15774 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
15775 to `read-file-name'.
15776 (dired-file-name-at-point): New function.
15777 (dired-mode): Add hook `dired-file-name-at-point' to
15778 `file-name-at-point-functions'.
15779
15780 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15781
15782 Really make the *Completions* window soft-dedicated (bug#5030).
15783 * window.el (window--display-buffer-2): Add `dedicated' argument.
15784 (display-buffer): Pass it when needed so the dedicated flag is set
15785 after calling set-window-buffer, which would otherwise reset it.
15786
15787 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
15788
15789 * progmodes/meta-mode.el (meta-complete-symbol):
15790 * progmodes/etags.el (complete-tag):
15791 * mail/mailabbrev.el (mail-abbrev-complete-alias):
15792 Use completion-in-region.
15793
15794 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
15795 (dabbrev-completion): Use completion-in-region.
15796 (dabbrev--abbrev-at-point): Simplify regexp.
15797
15798 * abbrev.el (abbrev--before-point): Use word-motion functions
15799 if :regexp is not specified (bug#5031).
15800
15801 * subr.el (string-prefix-p): New function.
15802
15803 * man.el (Man-completion-cache): New var.
15804 (Man-completion-table): Use it.
15805
15806 * vc.el (vc-print-log-internal): Make `limit' optional for better
15807 compatibility (e.g. with vc-annotate.el).
15808
15809 2009-11-24 Kevin Ryde <user42@zip.com.au>
15810
15811 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
15812 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
15813
15814 * emacs-lisp/elint.el (elint-add-required-env): Better error message
15815 when .el source file not found or other error.
15816
15817 2009-11-24 Markus Triska <markus.triska@gmx.at>
15818
15819 * linum.el (linum-update-window): Ignore intangible (bug#4996).
15820
15821 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15822
15823 Handle the [back] button properly (bug#4979).
15824 * descr-text.el (describe-text-properties): Add a `buffer' argument.
15825 Use help-setup-xref, help-buffer, and with-help-window.
15826 (describe-char): Add `buffer' argument.
15827 Pass proper command to help-setup-xref. Don't meddle with
15828 help-xref-stack-item directly.
15829 (describe-text-category): Use with-help-window and help-buffer.
15830
15831 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
15832 for the displayed buffer (bug#4887).
15833
15834 * man.el (Man-completion-table): New function.
15835 (man): Use it.
15836
15837 2009-11-24 David Reitter <david.reitter@gmail.com>
15838
15839 * vc-git.el (vc-git-registered): Use checkout directory (where
15840 .git is) rather than the file's directory and a relative path spec
15841 to work around a bug in git.
15842
15843 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
15844
15845 Improve handling of processes on remote hosts.
15846
15847 * eshell/esh-util.el (eshell-path-env): New defvar.
15848 (eshell-parse-colon-path): New defun.
15849 (eshell-file-attributes): Use `eshell-parse-colon-path'.
15850
15851 * eshell/esh-ext.el (eshell-search-path):
15852 Use `eshell-parse-colon-path'.
15853 (eshell-remote-command): Remove argument HANDLER.
15854 (eshell-external-command): Check for FTP remote connection.
15855
15856 * eshell/esh-proc.el (eshell-gather-process-output):
15857 Use `file-truename', in order to start also symlinked files.
15858 Apply `start-file-process' instead of `start-process'.
15859 Shorten `command' to the local file name part.
15860
15861 * eshell/em-cmpl.el (eshell-complete-commands-list):
15862 Use `eshell-parse-colon-path'.
15863
15864 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
15865
15866 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
15867 to `eshell-directory-change-hook'.
15868
15869 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
15870
15871 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
15872 because it could be enabled automatically if view-read-only is non-nil.
15873
15874 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
15875
15876 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
15877 made on 2009-11-22.
15878
15879 2009-11-24 Glenn Morris <rgm@gnu.org>
15880
15881 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
15882 deleted variable bookmark-bmenu-bookmark-column.
15883
15884 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
15885
15886 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
15887
15888 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
15889
15890 * net/browse-url.el (browse-url-filename-alist): On Windows, add
15891 two slashes to the "file:" prefix.
15892 (browse-url-file-url): De-munge Cygwin filenames before passing
15893 them to Windows browser.
15894 (browse-url-default-windows-browser): Use call-process.
15895
15896 2009-11-23 Juri Linkov <juri@jurta.org>
15897
15898 Implement DocView Continuous mode. (Bug#4896)
15899 * doc-view.el (doc-view-continuous-mode): New defcustom.
15900 (doc-view-mode-map): Bind C-n/<down> to
15901 `doc-view-next-line-or-next-page', C-p/<up> to
15902 `doc-view-previous-line-or-previous-page'.
15903 (doc-view-next-line-or-next-page)
15904 (doc-view-previous-line-or-previous-page): New commands.
15905
15906 2009-11-23 Juri Linkov <juri@jurta.org>
15907
15908 Implement Isearch in comint input history. (Bug#3746)
15909 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
15910 `isearch-mode-hook'.
15911 (comint-history-isearch): New defcustom.
15912 (comint-history-isearch-backward)
15913 (comint-history-isearch-backward-regexp): New commands.
15914 (comint-history-isearch-message-overlay): New buffer-local variable.
15915 (comint-history-isearch-setup, comint-history-isearch-end)
15916 (comint-goto-input, comint-history-isearch-search)
15917 (comint-history-isearch-message, comint-history-isearch-wrap)
15918 (comint-history-isearch-push-state)
15919 (comint-history-isearch-pop-state): New functions.
15920
15921 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
15922
15923 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
15924 return.
15925 (tramp-handle-make-symbolic-link)
15926 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
15927 Quote file names.
15928 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
15929 (tramp-handle-process-file): Use it.
15930
15931 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
15932
15933 * window.el (move-to-window-line-last-op): Remove.
15934 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
15935
15936 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
15937
15938 Make M-r mirror the new cycling behavior of C-l.
15939 * window.el (move-to-window-line-last-op): New var.
15940 (move-to-window-line-top-bottom): New command.
15941 (global-map): Bind M-r move-to-window-line-top-bottom.
15942
15943 2009-11-23 Sven Joachim <svenjoac@gmx.de>
15944
15945 * dired-x.el (dired-guess-shell-alist-default):
15946 Support xz format. (Bug#4953)
15947
15948 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
15949
15950 * emulation/viper-cmd.el: Use viper-last-command-char instead of
15951 last-command-char/last-command-event.
15952 (viper-prefix-arg-value): Do correct conversion of event-char for
15953 XEmacs.
15954
15955 * emulation/viper-util.el, emulation/viper.el:
15956 Use viper-last-command-char instead of
15957 last-command-char/last-command-event.
15958
15959 * ediff-init.el, ediff-mult.el, ediff-util.el:
15960 Replace last-command-char and last-command-event
15961 with (ediff-last-command-char) everywhere.
15962
15963 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
15964 created in fundamental mode.
15965
15966 * ediff.el (ediff-version): Revert the change of interactive-p to
15967 called-interactively-p.
15968
15969 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
15970
15971 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
15972 generation from word-movement command names.
15973
15974 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
15975
15976 * cus-start.el (all): Add native condition for font-use-system-font.
15977
15978 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
15979
15980 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
15981 Correct the patch from 2009-11-18. (Bug#3910)
15982
15983 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
15984
15985 * progmodes/subword.el: Rename from lisp/subword.el.
15986
15987 * subword.el: Rename to progmodes/subword.el.
15988
15989 * Makefile.in (ELCFILES): Adapt to subword.el move.
15990
15991 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15992 Stefan Monnier <monnier@iro.umontreal.ca>
15993
15994 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
15995 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
15996 (bookmark-bmenu-show-filenames): Use push.
15997 (bookmark-bmenu-hide-filenames): Use local var instead of
15998 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
15999 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
16000 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
16001 filenames now that the bookmark names are always available.
16002
16003 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
16004
16005 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
16006 (bookmark-search-pattern): Move and leave unbound.
16007 (bookmark-bmenu-mode-map): Change binding.
16008 (bookmark-read-search-input): Simplify.
16009 Don't use text-char-description. Don't error on non-char events.
16010 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
16011 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
16012 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
16013 Use a local var for the timer.
16014 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
16015 (i.e. bookmark-bmenu-search).
16016
16017 2009-11-21 Glenn Morris <rgm@gnu.org>
16018
16019 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
16020
16021 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
16022
16023 * net/browse-url.el (browse-url-default-windows-browser):
16024 Use cygstart for cygwin.
16025
16026 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
16027
16028 * bookmark.el: Formatting and doc fixes only:
16029 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
16030 (bookmark-bmenu-search): Wrap to fit within 80 columns.
16031 Minor grammar and punctuation fixes in doc string.
16032 (bookmark-read-search-input): Adjust to fit within 80 columns.
16033
16034 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16035
16036 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
16037 (c-backward-into-nomenclature): Adapt to subword renaming.
16038
16039 * subword.el (subword-forward, subword-backward, subword-mark)
16040 (subword-kill, subword-backward-kill, subword-transpose)
16041 (subword-downcase, subword-upcase, subword-capitalize)
16042 (subword-forward-internal, subword-backward-internal):
16043 Rename from forward-subword, backward-subword, mark-subword,
16044 kill-subword, backward-kill-subword, transpose-subwords,
16045 downcase-subword, upcase-subword, capitalize-subword,
16046 forward-subword-internal, backward-subword-internal.
16047
16048 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16049
16050 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
16051 New options.
16052 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
16053 New vars.
16054 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
16055 (bookmark-bmenu-filter-alist-by-regexp)
16056 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
16057 (bookmark-bmenu-search): New command.
16058 (bookmark-bmenu-mode-map): Bind it.
16059
16060 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
16061
16062 * progmodes/cc-cmds.el: declare-functioned forward-subword and
16063 backward-subword to quit the byte-compiler.
16064
16065 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
16066
16067 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
16068
16069 * progmodes/cc-cmds.el (c-update-modeline)
16070 (c-forward-into-nomenclature, c-backward-into-nomenclature):
16071 Refer to subword.el functions instead of cc-subword.el.
16072
16073 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
16074 subword.el functions instead of cc-subword.el.
16075
16076 * progmodes/cc-subword.el: Rename to subword.el.
16077 * subword.el: Rename from progmodes/cc-subword.el.
16078 (subword-mode-map): Rename from c-subword-mode-map.
16079 (subword-mode): Rename from c-subword-mode.
16080 (global-subword-mode): New global minor mode.
16081 (forward-subword): Rename from c-forward-subword.
16082 (backward-subword): Rename from c-backward-subword.
16083 (mark-subword): Rename from c-mark-subword.
16084 (kill-subword): Rename from c-kill-subword.
16085 (backward-kill-subword): Rename from c-backward-kill-subword.
16086 (transpose-subwords): Rename from c-tranpose-subword.
16087 (downcase-subword): Rename from c-downcase-subword.
16088 (capitalize-subword): Rename from c-capitalize-subword.
16089 (forward-subword-internal): Rename from c-forward-subword-internal.
16090 (backward-subword-internal): Rename from c-backward-subword-internal.
16091
16092 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
16093
16094 * vc.el (vc-deduce-fileset): Allow non-state changing operations
16095 from a dired buffer.
16096 (vc-dired-deduce-fileset): New function.
16097 (vc-root-diff, vc-print-root-log): Use it.
16098
16099 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
16100 nil LIMIT argument to vc-print-log-internal.
16101
16102 2009-11-20 Glenn Morris <rgm@gnu.org>
16103
16104 * Makefile.in (ELCFILES): Regenerate.
16105
16106 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
16107
16108 * calc/calc.el (calc-set-mode-line):
16109 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16110 (math-format-number): Rename `math-format-complement-signed' to
16111 `math-format-twos-complement'.
16112
16113 * calc/calc-bin.el (math-format-twos-complement): Rename from
16114 math-format-complement-signed.
16115 (calc-radix): Rename `calc-complement-signed-mode' to
16116 `calc-twos-complement-mode'.
16117 (calc-octal-radix, calc-hex-radix): Add an argument for
16118 two's complement.
16119
16120 * calc/calc-embed.el (calc-embedded-mode-vars):
16121 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16122
16123 * calc/calc-ext.el (calc-init-extensions):
16124 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
16125 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
16126
16127 * calc/calc-units.el (math-build-units-table-buffer):
16128 Let `calc-twos-complement-mode' be nil.
16129
16130 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
16131 entries.
16132
16133 * calc/calc-vec.el (calcFunc-vunpack):
16134 * calc/calc-aent.el (calc-do-calc-eval):
16135 * calc/calc-forms.el (math-format-date):
16136 * calc/calc-graph.el (calc-graph-plot):
16137 * calc/calc-math.el (math-use-emacs-fn):
16138 * calc/calccomp.el (math-compose-expr):
16139 Let `calc-twos-complement-mode' be nil.
16140
16141 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16142
16143 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
16144 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
16145 * minibuffer.el (completion-in-region-functions): New hook.
16146 (completion-in-region): New function.
16147 * emacs-lisp/lisp.el (lisp-complete-symbol):
16148 * pcomplete.el (pcomplete-std-complete): Use it.
16149
16150 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
16151
16152 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
16153 (latex-complete-alist): New vars.
16154 (latex-string-prefix-p, latex-complete-bibtex-keys)
16155 (latex-complete-envnames, latex-complete-refkeys)
16156 (latex-complete-data): New functions.
16157 (latex-complete, latex-indent-or-complete): New commands.
16158
16159 * window.el (display-buffer-mark-dedicated): New var.
16160 (display-buffer): Obey it.
16161 * minibuffer.el (minibuffer-completion-help): Use it.
16162
16163 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
16164
16165 * filecache.el (file-cache-add-file): Use push and cons.
16166 (file-cache-delete-file-regexp): Use push.
16167 (file-cache-complete): Use completion-in-region.
16168
16169 * simple.el (with-wrapper-hook): Fix thinko.
16170
16171 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
16172 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
16173 Use with-current-buffer and string-to-number.
16174 (hfy-fallback-colour-values): Use assoc-string.
16175 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
16176 (hfy-face-at): Remove unused var `found-face'.
16177 (hfy-compile-stylesheet): Remove unused var `css'.
16178 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
16179 and `orig-buffer'.
16180 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
16181 Use with-current-buffer.
16182 (hfy-text-p): Use expand-file-name and fewer setq.
16183
16184 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
16185
16186 * htmlfontify.el, hfy-cmap.el: New files.
16187
16188 2009-11-19 Juri Linkov <juri@jurta.org>
16189
16190 * minibuffer.el (completions-format): New defcustom.
16191 (completion--insert-strings): Implement vertical format.
16192
16193 * simple.el (switch-to-completions): Move point to the first
16194 completion when point was at the beginning of the buffer.
16195
16196 2009-11-19 Juri Linkov <juri@jurta.org>
16197
16198 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
16199
16200 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
16201
16202 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
16203
16204 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
16205 (mail-signature): Change default to t.
16206 (mail-from-style): Deprecate `system-default' value.
16207 (mail-insert-from-field): For default value of mail-from-style,
16208 default to `angles' unless `angles' needs quoting and `parens'
16209 does not.
16210 (mail-citation-prefix-regexp): Use citation regexp from
16211 message-mode.
16212
16213 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
16214
16215 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
16216 Set variables for computing the prompt for reading password.
16217
16218 2009-11-19 Glenn Morris <rgm@gnu.org>
16219
16220 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
16221
16222 * textmodes/flyspell.el (sgml-lexical-context): Declare.
16223
16224 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
16225 (newsticker-treeview-listwindow-height): Fix custom type.
16226
16227 2009-11-19 Kenichi Handa <handa@m17n.org>
16228
16229 * descr-text.el (describe-char-padded-string): Compose with TAB
16230 only if there's a font for CH.
16231 (describe-char): Fix the condition for detecting a trivial composition.
16232
16233 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
16234
16235 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
16236 more accurate version of the regexp. (Bug#3910)
16237
16238 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
16239
16240 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
16241
16242 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
16243
16244 * font-setting.el (font-use-system-font): Declare for byte-compiler.
16245 (font-setting-change-default-font): Fix typo in docstring.
16246
16247 2009-11-18 Alan Mackenzie <acm@muc.de>
16248
16249 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
16250
16251 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16252
16253 * font-setting.el (font-use-system-font): Move ...
16254
16255 * cus-start.el (all): ... to here.
16256
16257 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
16258
16259 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
16260 Don't set `ad-return-value' if `ad-do-it' doesn't.
16261
16262 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
16263 modification time.
16264
16265 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
16266
16267 * menu-bar.el: Put "Use system font" in Option-menu.
16268 (menu-bar-options-save): Add font-use-system-font.
16269
16270 * loadup.el: If feature system-font-setting or font-render-setting is
16271 there, load font-setting.
16272
16273 * Makefile.in (ELCFILES): Add font-settings.el.
16274 * font-setting.el: New file.
16275
16276 2009-11-17 Glenn Morris <rgm@gnu.org>
16277
16278 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
16279
16280 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
16281 Preserve point in the list buffer. (Bug#4939)
16282 Use point-at-eol.
16283 (newsticker--treeview-list-update-highlight)
16284 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
16285
16286 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16287
16288 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
16289 Remove.
16290
16291 * calc/calc-ext.el (calc-init-extensions): Remove references to
16292 symclip.
16293
16294 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
16295
16296 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
16297 * calc/calc-help.el (calc-b-prefix-help): Remove references to
16298 `calc-symclip'.
16299
16300 2009-11-16 Kevin Ryde <user42@zip.com.au>
16301
16302 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
16303 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
16304
16305 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
16306 (lm-keywords-list): Allow comma-only separator like "foo,bar".
16307 Ignore trailing spaces by omit-nulls to split-string (fixing
16308 regression from Emacs 21 due to the incompatible split-string
16309 change). (Bug #4928.)
16310
16311 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
16312
16313 * vc.el (vc-log-show-limit): Default to 2000.
16314 (vc-print-log-internal): Insert buttons to request more entries
16315 when limiting the output.
16316
16317 * vc-sccs.el (vc-sccs-print-log):
16318 * vc-rcs.el (vc-rcs-print-log):
16319 * vc-cvs.el (vc-cvs-print-log):
16320 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
16321 LIMIT is non-nil.
16322
16323 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16324
16325 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
16326 error when `tramp-gvfs-dbus-event-vector' is set.
16327 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
16328
16329 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16330
16331 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
16332
16333 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
16334
16335 * net/dbus.el (dbus-unregister-service): New defun.
16336 (dbus-register-property): Register the handlers of
16337 "org.freedesktop.DBus.Properties" for SERVICE.
16338 (dbus-property-handler): Fix docstring.
16339
16340 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16341
16342 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
16343 Quote doc string reference in defvaralias as it is not in special form.
16344 (byte-compile-output-docform): Doc fix.
16345
16346 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
16347
16348 * calc/calc.el (math-2-word-size, math-half-2-word-size)
16349 (calc-complement-signed-mode): New variables.
16350 (calc-set-mode-line): Add indicator for twos-complements.
16351 (math-format-number): Format twos-complement notation.
16352
16353 * calc/calc-bin.el (calc-word-size): Reset the variables
16354 `math-2-word-size' and `math-half-2-word-size'.
16355 (math-format-complement-signed, math-symclip, calcFunc-symclip)
16356 (calc-symclip): New functions.
16357
16358 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
16359
16360 * calc/calc-embed.el (calc-embedded-mode-vars):
16361 Add `calc-complement-signed-mode' to the list of modes.
16362
16363 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
16364 (calc-b-oper-keys): Add `calc-symclip' to list.
16365
16366 * calc/calc-ext.el (math-read-number-fancy): Read complement
16367 signed numbers.
16368 (calc-init-extensions): Add binding for `calc-symclip'.
16369 Add autoload for `calcFunc-symclip' and `calc-symclip'.
16370
16371 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
16372 `calc-symclip'.
16373 (calc-modes-menu): Add item for twos complement mode.
16374
16375 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
16376
16377 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16378
16379 * register.el (jump-to-register, insert-register): Handle Semantic
16380 tags. From commented-out advice in semantic/senator.el.
16381
16382 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
16383
16384 * vc.el (vc-log-show-limit): New variable.
16385 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
16386 when using a prefix argument.
16387 (vc-print-log-internal): Add new argument LIMIT.
16388
16389 * vc-svn.el (vc-svn-print-log):
16390 * vc-mtn.el (vc-mtn-print-log):
16391 * vc-hg.el (vc-hg-print-log):
16392 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
16393 pass it to the log command when set. Make the BUFFER argument
16394 non-optional.
16395
16396 * vc-sccs.el (vc-sccs-print-log):
16397 * vc-rcs.el (vc-rcs-print-log):
16398 * vc-git.el (vc-git-print-log):
16399 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
16400 ignore it. Make the BUFFER argument non-optional.
16401
16402 * bindings.el (mode-line-buffer-identification): Do not purecopy.
16403
16404 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
16405
16406 * dired.el (dired-mode-map): Move encryption items to "Operate"
16407 menu (Bug#4703).
16408
16409 * strokes.el (strokes-update-window-configuration): Make strokes
16410 buffer current before erasing (Bug#4906).
16411
16412 2009-11-15 Juri Linkov <juri@jurta.org>
16413
16414 * simple.el (set-mark-default-inactive): Add :type, :group
16415 and :version. (Bug#4876)
16416
16417 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
16418
16419 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
16420 (archive-unique-fname): ... here. (Bug#4929)
16421
16422 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
16423
16424 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
16425 with a real fix.
16426
16427 * novice.el (disabled-command-function): Add useful args.
16428 Setup the help buffer so that [back] works.
16429 Remove redundant call to help-mode.
16430 (disabled-command-function): Use `case'.
16431 (en/disable-command): New function extracted from enable-command.
16432 (enable-command, disable-command): Use it.
16433
16434 2009-11-14 Glenn Morris <rgm@gnu.org>
16435
16436 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
16437 constants. (Bug#4913)
16438
16439 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
16440
16441 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
16442
16443 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
16444 defined in C that have no doc-strings. (Bug#1063)
16445
16446 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
16447
16448 * cus-edit.el (data, files):
16449 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
16450
16451 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
16452
16453 * simple.el (shell-command): Doc fix (Bug#4891).
16454
16455 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
16456
16457 2009-11-14 Glenn Morris <rgm@gnu.org>
16458
16459 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
16460 statements for vc-diff, emerge-quit, and rmail-cease-edit.
16461 If they are already loaded, eval-after-load will do the right thing.
16462
16463 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
16464 compiling.
16465
16466 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
16467
16468 * simple.el (x-selection-owner-p): Declare.
16469 (read-mail-command): Use custom radio type rather than choice.
16470 (completion-no-auto-exit): Doc fix.
16471
16472 * custom.el (defgroup):
16473 * epg-config.el (epg): Doc fixes.
16474
16475 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
16476
16477 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
16478 * international/ccl.el (define-ccl-program): Do not purecopy the
16479 docstring, defconst does it anyway.
16480
16481 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * add-log.el (add-change-log-entry): Avoid displaying the changelog
16484 a second time.
16485
16486 * x-dnd.el (x-dnd-maybe-call-test-function):
16487 * window.el (split-window-vertically):
16488 * whitespace.el (whitespace-help-on):
16489 * vc-rcs.el (vc-rcs-consult-headers):
16490 * userlock.el (ask-user-about-lock-help)
16491 (ask-user-about-supersession-help):
16492 * type-break.el (type-break-force-mode-line-update):
16493 * time-stamp.el (time-stamp-conv-warn):
16494 * terminal.el (te-set-output-log, te-more-break, te-filter)
16495 (te-sentinel, terminal-emulator):
16496 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
16497 (term-write-input-ring, term-check-source, term-start-output-log):
16498 (term-display-buffer-line, term-dynamic-list-completions):
16499 (term-ansi-make-term, serial-term):
16500 * subr.el (selective-display):
16501 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
16502 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
16503 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
16504 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
16505 (speedbar-remove-localized-speedbar-support)
16506 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
16507 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
16508 (speedbar-buffers-line-directory):
16509 * simple.el (shell-command-on-region, append-to-buffer)
16510 (prepend-to-buffer):
16511 * shadowfile.el (shadow-save-todo-file):
16512 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
16513 (scroll-bar-maybe-set-window-start):
16514 * sb-image.el (speedbar-image-dump):
16515 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
16516 (load-save-place-alist-from-file):
16517 * ps-samp.el (ps-print-message-from-summary):
16518 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
16519 (ps-background-image, ps-begin-job, ps-do-despool):
16520 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
16521 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
16522 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
16523 (pr-call-process, pr-file-list, pr-interface-save):
16524 * novice.el (disabled-command-function)
16525 (enable-command, disable-command):
16526 * mouse.el (mouse-buffer-menu-alist):
16527 * mouse-copy.el (mouse-kill-preserving-secondary):
16528 * macros.el (kbd-macro-query):
16529 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
16530 * informat.el (batch-info-validate):
16531 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
16532 * hippie-exp.el (try-expand-dabbrev-visible):
16533 * help-mode.el (help-make-xrefs):
16534 * help-fns.el (describe-variable):
16535 * generic-x.el (bat-generic-mode-run-as-comint):
16536 * finder.el (finder-mouse-select):
16537 * find-dired.el (find-dired-sentinel):
16538 * filesets.el (filesets-file-close):
16539 * files.el (list-directory):
16540 * faces.el (list-faces-display, describe-face):
16541 * facemenu.el (list-colors-display):
16542 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
16543 * epg.el (epg--process-filter, epg-cancel):
16544 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
16545 (epa--read-signature-type):
16546 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
16547 (emerge-file-names):
16548 * ehelp.el (electric-helpify):
16549 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
16550 * ediff-vers.el (rcs-ediff-view-revision):
16551 * ediff-util.el (ediff-setup):
16552 * ediff-mult.el (ediff-append-custom-diff):
16553 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
16554 (ediff-wordify):
16555 * echistory.el (Electric-command-history-redo-expression):
16556 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
16557 * disp-table.el (describe-display-table):
16558 * dired.el (dired-find-buffer-nocreate):
16559 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
16560 * dabbrev.el (dabbrev--same-major-mode-p):
16561 * chistory.el (list-command-history):
16562 * apropos.el (apropos-documentation):
16563 * allout.el (allout-obtain-passphrase):
16564 (allout-copy-exposed-to-buffer):
16565 (allout-verify-passphrase): Use with-current-buffer.
16566
16567 2009-11-13 Glenn Morris <rgm@gnu.org>
16568
16569 * Makefile.in (ELCFILES): Regenerate.
16570
16571 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
16572
16573 * net/dbus.el (dbus-registered-objects-table): Rename from
16574 `dbus-registered-functions-table', because it contains also properties.
16575 (dbus-unregister-object): Unregister also properties.
16576 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
16577 Use a timeout of 500 msec, in order to not block.
16578 (dbus-register-property, dbus-property-handler): New defuns.
16579
16580 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * simple.el (minibuffer-default-add-completions): Drop deprecated
16583 4th arg.
16584
16585 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
16586
16587 * textmodes/artist.el (artist-mouse-choose-operation):
16588 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
16589 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
16590 (artist-compute-up-event-key): New function.
16591 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
16592
16593 2009-11-13 Kenichi Handa <handa@m17n.org>
16594
16595 * language/japan-util.el: Make sure that the value of jisx0208
16596 property is jisx0208 character.
16597
16598 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
16599
16600 * international/mule.el (auto-coding-regexp-alist): Only purecopy
16601 car or each item, not the whole list.
16602
16603 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
16604
16605 * minibuffer.el (minibuffer-completion-help):
16606 Use minibuffer-hide-completions.
16607
16608 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
16609
16610 * dired.el (dired-save-positions, dired-restore-positions): New funs.
16611 (dired-revert): Use them (bug#4880).
16612
16613 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16614
16615 * tooltip.el (tooltip-frame-parameters): Undo previous change.
16616
16617 2009-11-12 Juri Linkov <juri@jurta.org>
16618
16619 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
16620 New functions.
16621 (find-file-literally-at-point): Alias of `ffap-literally'.
16622
16623 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
16624
16625 * textmodes/ispell.el (ispell-skip-region-alist):
16626 * textmodes/css-mode.el (auto-mode-alist):
16627 * progmodes/compile.el (auto-mode-alist):
16628 * international/mule.el (ctext-non-standard-encodings-alist)
16629 (ctext-non-standard-encodings-regexp):
16630 * simple.el (shell-command-switch, text-read-only):
16631 * replace.el (occur-mode-map):
16632 * paths.el (rmail-file-name):
16633 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
16634 * find-file.el (ff-special-constructs):
16635 * files.el (file-name-handler-alist):
16636 * composite.el: Purecopy strings.
16637
16638 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
16639
16640 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16641
16642 * widget.el (define-widget): Purecopy the docstring.
16643 * international/mule-cmds.el (charset): Do not purecopy the
16644 docstring here, define-widget does it.
16645
16646 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
16647 * textmodes/bibtex-style.el (auto-mode-alist):
16648 * progmodes/inf-lisp.el (inferior-lisp-prompt):
16649 * progmodes/compile.el (compile-command):
16650 * language/korea-util.el (default-korean-keyboard):
16651 * international/mule-conf.el (file-coding-system-alist):
16652 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
16653 * tooltip.el (tooltip-frame-parameters):
16654 * newcomment.el (comment-end, comment-padding):
16655 * dired.el (dired-trivial-filenames):
16656 * comint.el (comint-file-name-prefix): Purecopy initial values.
16657
16658 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
16659
16660 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
16661 (tramp-advice-minibuffer-electric-tilde): Unload advices via
16662 `tramp-unload'.
16663 (tramp-advice-make-auto-save-file-name)
16664 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
16665 after removing the advice.
16666
16667 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
16668
16669 * progmodes/grep.el (grep-regexp-alist):
16670 * international/mule-cmds.el (iso-2022-control-alist):
16671 * emacs-lisp/timer.el (timer-duration-words):
16672 * subr.el (version-separator, version-regexp-alist):
16673 * minibuffer.el (completion-styles-alist):
16674 * faces.el (face-attribute-name-alist, list-faces-sample-text):
16675 Change defvars to defconsts.
16676
16677 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
16678 * loadup.el ("international/mule-conf"): Load the byte compiled version.
16679 * international/mule-conf.el: Allow to be byte compiled.
16680
16681 * international/mule.el (define-charset): Purecopy props.
16682 (load-with-code-conversion): Purecopy doc string and file name.
16683 (put-charset-property): Purecopy strings.
16684 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
16685
16686 * international/mule-cmds.el (register-input-method): Purecopy arguments.
16687 (define-char-code-property): Correctly purecopy the table.
16688
16689 * international/ccl.el (define-ccl-program): Purecopy the docstring.
16690
16691 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
16692
16693 * subr.el (add-hook): Purecopy strings.
16694 (eval-after-load): Purecopy load-history-regexp and the form.
16695
16696 * custom.el (custom-declare-group): Purecopy load-file-name.
16697
16698 * subr.el (menu-bar-separator): New defconst.
16699 * net/eudc.el (eudc-tools-menu):
16700 * international/mule-cmds.el (set-coding-system-map)
16701 (mule-menu-keymap):
16702 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
16703 * vc-hooks.el (vc-menu-map):
16704 * replace.el (occur-mode-map):
16705 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
16706 (menu-bar-edit-menu, menu-bar-goto-menu)
16707 (menu-bar-custom-menu, menu-bar-showhide-menu)
16708 (menu-bar-options-menu, menu-bar-tools-menu)
16709 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
16710 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
16711 (menu-bar-help-menu):
16712 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
16713 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
16714
16715 * term/x-win.el (x-gtk-stock-map):
16716 * progmodes/vera-mode.el (auto-mode-alist):
16717 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
16718 (inferior-lisp-program, inferior-lisp-load-command):
16719 * progmodes/hideshow.el (hs-special-modes-alist):
16720 * progmodes/gud.el (same-window-regexps):
16721 * progmodes/grep.el (grep-program, find-program, xargs-program):
16722 * net/telnet.el (same-window-regexps):
16723 * net/rlogin.el (same-window-regexps):
16724 * language/ethiopic.el (font-ccl-encoder-alist):
16725 * vc-sccs.el (vc-sccs-master-templates):
16726 * vc-rcs.el (vc-rcs-master-templates):
16727 * subr.el (cl-assertion-failed):
16728 * simple.el (next-error-overlay-arrow-position):
16729 * lpr.el (lpr-command):
16730 * locate.el (locate-ls-subdir-switches):
16731 * info.el (same-window-regexps, info)
16732 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
16733 * image-mode.el (image-mode, auto-mode-alist):
16734 * hippie-exp.el (hippie-expand-ignore-buffers):
16735 * format.el (format-alist):
16736 * find-dired.el (find-ls-subdir-switches, find-grep-options)
16737 (find-name-arg):
16738 * facemenu.el (facemenu-keybindings):
16739 * dired.el (dired-listing-switches, dired-chown-program):
16740 * diff.el (diff-switches, diff-command):
16741 * cus-edit.el (same-window-regexps):
16742 * bindings.el (mode-line-mule-info)
16743 (mode-line-buffer-identification): Purecopy strings.
16744
16745 2009-11-11 Juri Linkov <juri@jurta.org>
16746
16747 * simple.el (dired-get-filename) <declare-function>:
16748 Tell the byte-compiler about dired-get-filename.
16749 (shell-command): In Dired mode, get filename from the current line
16750 as the default value.
16751
16752 2009-11-10 Glenn Morris <rgm@gnu.org>
16753
16754 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
16755 * calendar/holidays.el, progmodes/cperl-mode.el:
16756 Update x-popup-menu declarations.
16757
16758 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
16759 (list-load-path-shadows): Use dolist.
16760 (list-load-path-shadows): Use with-current-buffer.
16761
16762 2009-11-10 Juri Linkov <juri@jurta.org>
16763
16764 * minibuffer.el (read-file-name): Support a list of default values
16765 in `default-filename'. Use the first file name where only one
16766 element is required. Doc fix.
16767
16768 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
16769
16770 * net/dbus.el (dbus-unregister-object): Release service, if no
16771 other method is registered for it.
16772
16773 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
16774
16775 * bookmark.el (bookmark-completing-read): Sort bookmark names if
16776 bookmark-sort-flag is non-nil (Bug#4653).
16777
16778 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16779
16780 * emulation/cua-base.el: Add CUA property to some CC mode commands
16781 (Bug#4100).
16782
16783 2009-11-08 Kevin Ryde <user42@zip.com.au>
16784
16785 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
16786 at end of sentence (Bug#4818).
16787
16788 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
16789
16790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16791 Handle "see declaration of" MSFT statements (Bug#4100).
16792
16793 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
16794
16795 * net/tramp.el (tramp-advice-make-auto-save-file-name)
16796 (tramp-advice-file-expand-wildcards): Unload via
16797 `ad-remove-advice'.
16798
16799 * net/trampver.el: Update release number.
16800
16801 2009-11-08 Kevin Ryde <user42@zip.com.au>
16802
16803 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
16804 `ad-do-it'.
16805
16806 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
16807
16808 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
16809 in order to keep context in SELinux.
16810
16811 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
16812
16813 * dired-aux.el (dired-query): Place cursor in echo area and allow
16814 C-g.
16815
16816 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
16817 menu item if not on a directory (Bug#4701).
16818
16819 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
16820
16821 Sync with Tramp 2.1.17.
16822
16823 * net/tramp.el (tramp-handle-copy-directory): Don't use
16824 `file-remote-p' (due to compatibility).
16825
16826 * net/tramp-compat.el (tramp-compat-copy-directory)
16827 (tramp-compat-delete-directory): New defuns.
16828
16829 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
16830 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
16831 Use `tramp-compat-delete-directory'.
16832
16833 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
16834 (tramp-smb-handle-delete-directory):
16835 Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
16836
16837 * net/trampver.el: Update release number.
16838
16839 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * tar-mode.el (tar-copy): Call write-region on the right buffer
16842 (Bug#4857).
16843
16844 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
16845 by hand, if necessary (Bug#4878).
16846
16847 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
16848
16849 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
16850 align size column (Bug#4839).
16851
16852 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
16853 statement.
16854
16855 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16856
16857 * progmodes/ld-script.el (auto-mode-alist):
16858 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
16859
16860 * cus-face.el (custom-declare-face): Purecopy face spec.
16861
16862 2009-11-06 Kenichi Handa <handa@m17n.org>
16863
16864 * international/uni-bidi.el: Re-generated.
16865 * international/uni-category.el: Re-generated.
16866 * international/uni-combining.el: Re-generated.
16867 * international/uni-mirrored.el: Re-generated.
16868
16869 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
16870
16871 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
16872 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
16873 (tex-start-options, slitex-run-command, latex-run-command)
16874 (tex-run-command, tex-directory):
16875 * textmodes/ispell.el (ispell-html-skip-alists)
16876 (ispell-tex-skip-alists, ispell-tex-skip-alists):
16877 * textmodes/fill.el (adaptive-fill-first-line-regexp):
16878 (adaptive-fill-regexp):
16879 * textmodes/dns-mode.el (auto-mode-alist):
16880 * progmodes/python.el (interpreter-mode-alist):
16881 * progmodes/etags.el (tags-compression-info-list):
16882 * progmodes/etags.el (tags-file-name):
16883 * net/browse-url.el (browse-url-galeon-program)
16884 (browse-url-firefox-program):
16885 * mail/sendmail.el (mail-signature-file)
16886 (mail-citation-prefix-regexp):
16887 * international/mule-conf.el (eight-bit):
16888 * international/latexenc.el (latex-inputenc-coding-alist):
16889 * international/fontset.el (x-pixel-size-width-font-regexp):
16890 * emacs-lisp/warnings.el (warning-type-format):
16891 * emacs-lisp/trace.el (trace-buffer):
16892 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
16893 (emacs-lisp-mode-map):
16894 * calendar/holidays.el (holiday-solar-holidays)
16895 (holiday-bahai-holidays, holiday-islamic-holidays)
16896 (holiday-christian-holidays, holiday-hebrew-holidays)
16897 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
16898 (hebrew-holidays-1, holiday-oriental-holidays)
16899 (holiday-general-holidays):
16900 * x-dnd.el (x-dnd-known-types):
16901 * tool-bar.el (tool-bar):
16902 * startup.el (site-run-file):
16903 * shell.el (shell-dumb-shell-regexp):
16904 * rfn-eshadow.el (file-name-shadow-tty-properties)
16905 (file-name-shadow-properties):
16906 * paths.el (remote-shell-program, news-directory):
16907 * mouse.el ([C-down-mouse-3]):
16908 * menu-bar.el (menu-bar-tools-menu):
16909 * jka-cmpr-hook.el (jka-compr-load-suffixes)
16910 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
16911 (jka-compr-compression-info-list):
16912 * isearch.el (search-whitespace-regexp):
16913 * image-file.el (image-file-name-extensions):
16914 * find-dired.el (find-ls-option):
16915 * files.el (directory-listing-before-filename-regexp)
16916 (directory-free-space-args, insert-directory-program)
16917 (list-directory-brief-switches, magic-fallback-mode-alist)
16918 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
16919 (automount-dir-prefix):
16920 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
16921 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
16922 (face-font-registry-alternatives, face-font-registry-alternatives)
16923 (face-font-family-alternatives):
16924 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
16925 (facemenu-foreground-menu, facemenu-face-menu):
16926 * epa-hook.el (epa-file-name-regexp):
16927 * dnd.el (dnd-protocol-alist):
16928 * textmodes/rst.el (auto-mode-alist):
16929 * button.el (default-button): Purecopy strings.
16930
16931 2009-11-06 Glenn Morris <rgm@gnu.org>
16932
16933 * Makefile.in (ELCFILES): Update.
16934
16935 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
16936
16937 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
16938 * emacs-lisp/levents.el: Move to obsolete/levents.el.
16939
16940 * nxml/xsd-regexp.el (xsdre-gen-categories):
16941 * nxml/xmltok.el (xmltok-parse-entity):
16942 * nxml/rng-parse.el (rng-parse-validate-file):
16943 * nxml/rng-maint.el (rng-format-manual)
16944 (rng-manual-output-force-new-line):
16945 * nxml/rng-loc.el (rng-save-schema-location-1):
16946 * nxml/rng-cmpct.el (rng-c-parse-file):
16947 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
16948 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
16949
16950 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
16951
16952 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
16953 Remove extra save-excursions and make-variable-buffer-local's.
16954 Suggested by Stefan Monnier.
16955
16956 (verilog-getopt-file, verilog-module-inside-filename-p)
16957 (verilog-set-define): Merge GNU 1.35 and repair changes from
16958 switching to using with-current-buffer.
16959
16960 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
16961 being treated as a number and confusing AUTORESET.
16962 Reported by Dan Dever.
16963
16964 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
16965 Add verilog-auto-ignore-concat to fix backward compatibility with
16966 older verilog-modes. Reported by Dan Katz.
16967
16968 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
16969 containing closing anchors "...$".
16970
16971 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
16972 Reported by Wade Smith.
16973
16974 (verilog-batch-execute-func): Comment on function usage.
16975
16976 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
16977
16978 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
16979 for labels.
16980
16981 (verilog-label-re, verilog-calc-1): Support proper indent of named
16982 asserts.
16983
16984 (verilog-backward-token, verilog-basic-complete-re)
16985 (verilog-beg-of-statement, verilog-indent-re): Support proper
16986 indent of the assert statement at the beginning of a block of text.
16987
16988 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
16989 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
16990 tokens as begins.
16991
16992 2009-11-05 Glenn Morris <rgm@gnu.org>
16993
16994 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
16995 Emacs 19. (Bug#1531)
16996 (byte-compile-fix-header): Update for the above change.
16997 Drop test for epoch::version.
16998
16999 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
17000 * cus-dep.el (custom-make-dependencies):
17001 * finder.el (finder-compile-keywords):
17002 Use autoload-rubric's feature argument.
17003
17004 * calendar/diary-lib.el (top-level): Make load behave more like require.
17005
17006 * vc-git.el (vc-git-stash-map): Move definition before use.
17007
17008 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
17009
17010 * custom.el (custom-declare-group): Purecopy standard-value.
17011 (custom-declare-group): Purecopy custom-prefix.
17012
17013 * international/mule.el (load-with-code-conversion):
17014 Call do-after-load-evaluation unconditionally.
17015
17016 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
17017
17018 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
17019
17020 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
17021
17022 2009-11-04 Glenn Morris <rgm@gnu.org>
17023
17024 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
17025 (byte-compile-compatibility): Remove option.
17026 (byte-compile-close-variables, byte-compile-fix-header)
17027 (byte-compile-insert-header, byte-compile-output-docform)
17028 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
17029 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
17030 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
17031 (byte-compile-insert, byte-compile-defun):
17032 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
17033 (byte-defop-compiler19): Remove.
17034 Without byte-compile-compatibility, the 'emacs19-opcode property is not
17035 used by anything. Replace all calls with byte-defop-compiler.
17036
17037 2009-11-04 Juri Linkov <juri@jurta.org>
17038
17039 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
17040 (menu-bar-options-menu): Don't quote the `prop' arg of
17041 `menu-bar-make-mm-toggle'.
17042
17043 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
17044
17045 * calendar/calendar.el (cal-loaddefs):
17046 * calendar/diary-lib.el (diary-loaddefs):
17047 * calendar/holidays.el (hol-loaddefs):
17048 * eshell/esh-module.el (esh-groups): Load rather than require.
17049
17050 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17051
17052 * calendar/todo-mode.el (todo-add-category): Don't hardcode
17053 point-min==1.
17054 (todo-top-priorities): Only display-buffer when called interactively.
17055 (todo-item-start): Don't save excursion point.
17056 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
17057 (todo-insert-item-here, todo-file-item, todo-remove-item):
17058 Adjust uses of todo-item-start and todo-item-end.
17059
17060 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
17061 (autoload-rubric): Don't use any more.
17062
17063 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
17064 and only put a prop if it is non-nil.
17065
17066 2009-11-03 Juri Linkov <juri@jurta.org>
17067
17068 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
17069 (menu-bar-options-menu): Fix list quoting (Bug#4429).
17070
17071 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
17072 and "Menu" to make top-level menu item visually one unit (like
17073 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
17074 multi-word menu items). Fix :help string for quit-window.
17075
17076 2009-11-03 Glenn Morris <rgm@gnu.org>
17077
17078 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
17079 (byte-compile-file-form-define-abbrev-table)
17080 (byte-compile-file-form-custom-declare-variable)
17081 (byte-compile-variable-ref, byte-compile-defvar):
17082 Whether or not a warning is enabled should only affect whether we issue
17083 the warning, not whether or not we collect the relevant data.
17084 Eg warnings can be turned on and off throughout the course of a file.
17085
17086 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
17087 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
17088
17089 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
17092 * play/mpuz.el (mpuz-create-buffer):
17093 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
17094 (lm-print-y,s,noise, lm-print-w0, lm-init):
17095 * play/gomoku.el (gomoku-prompt-for-move):
17096 * play/fortune.el (fortune-in-buffer):
17097 * play/dissociate.el (dissociated-press):
17098 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
17099 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
17100 * mail/supercite.el (sc-eref-show):
17101 * mail/smtpmail.el (smtpmail-send-it):
17102 * mail/rmailsum.el (rmail-summary-next-labeled-message)
17103 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
17104 (rmail-summary-undelete-many, rmail-summary-rmail-update)
17105 (rmail-summary-goto-msg, rmail-summary-expunge)
17106 (rmail-summary-get-new-mail, rmail-summary-search-backward)
17107 (rmail-summary-add-label, rmail-summary-output-menu)
17108 (rmail-summary-output-body):
17109 * mail/rfc822.el (rfc822-addresses):
17110 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
17111 * mail/mailpost.el (post-mail-send-it):
17112 * mail/hashcash.el (hashcash-generate-payment):
17113 * mail/feedmail.el (feedmail-run-the-queue)
17114 (feedmail-queue-send-edit-prompt-help-first)
17115 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
17116 (feedmail-deduce-address-list):
17117 * eshell/esh-ext.el (eshell-remote-command):
17118 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
17119 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
17120 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
17121 (viper-save-string-in-file, viper-valid-marker):
17122 * emulation/viper-keym.el (viper-toggle-key):
17123 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
17124 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
17125 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
17126 * emulation/viper-cmd.el (viper-exec-form-in-vi)
17127 (viper-exec-form-in-emacs, viper-brac-function):
17128 * emulation/viper.el (viper-delocalize-var):
17129 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
17130 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
17131 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
17132 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
17133 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
17134 * emulation/edt.el (edt-electric-helpify):
17135 * emulation/cua-rect.el (cua--rectangle-aux-replace):
17136 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
17137 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
17138 (cua-indent-to-global-mark-column):
17139 * calendar/diary-lib.el (calendar-mark-1):
17140 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
17141 Use with-current-buffer.
17142 * emulation/viper.el (viper-delocalize-var): Use dolist.
17143
17144 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
17145
17146 * comint.el (comint-replace-by-expanded-history-before-point):
17147 Replace !! with the previous input string literally (Bug#1795).
17148
17149 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
17150
17151 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
17152 to be made up of whitespace.
17153
17154 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
17155
17156 * minibuffer.el (read-file-name): Don't use file dialogs for
17157 remote directories (Bug#99).
17158
17159 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
17160
17161 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
17162
17163 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
17164
17165 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
17166 instead of deleting the window or frame.
17167
17168 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17169
17170 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
17171 Support face colors.
17172
17173 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
17174 New function. Support face colors (Bug#1168).
17175 (tex-common-initialization): Use it.
17176
17177 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
17178 mode allows it (Bug#1168).
17179
17180 2009-10-31 Juri Linkov <juri@jurta.org>
17181
17182 * facemenu.el (list-colors-display): Don't mark buffer as
17183 modified (Bug#3948).
17184
17185 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
17186
17187 * international/mule-diag.el (list-character-sets-1):
17188 Minor message fix (Bug#3526).
17189
17190 * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
17191 Fix face property (Bug#4834).
17192 (etags-list-tags, etags-tags-apropos-additional)
17193 (etags-tags-apropos, tags-select-tags-table): Add follow-link
17194 property.
17195
17196 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
17197 items.
17198
17199 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * textmodes/two-column.el (2C-split):
17202 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
17203 * textmodes/tex-mode.el (tex-set-buffer-directory):
17204 * textmodes/spell.el (spell-region, spell-string):
17205 * textmodes/reftex.el (reftex-erase-buffer):
17206 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
17207 * textmodes/reftex-toc.el (reftex-toc-promote-action):
17208 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
17209 (reftex-select-item):
17210 * textmodes/reftex-ref.el (reftex-label-info-update)
17211 (reftex-offer-label-menu):
17212 * textmodes/reftex-index.el (reftex-index-change-entry)
17213 (reftex-index-phrases-info):
17214 * textmodes/reftex-global.el (reftex-create-tags-file)
17215 (reftex-save-all-document-buffers, reftex-ensure-write-access):
17216 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
17217 (reftex-view-crossref-from-bibtex):
17218 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
17219 (reftex-extract-bib-entries-from-thebibliography)
17220 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
17221 * textmodes/refbib.el (r2b-capitalize-title):
17222 (r2b-convert-buffer, r2b-help):
17223 * textmodes/page-ext.el (pages-directory)
17224 (pages-directory-goto-with-mouse):
17225 * textmodes/bibtex.el (bibtex-validate-globally):
17226 * textmodes/bib-mode.el (bib-capitalize-title):
17227 * textmodes/artist.el (artist-clear-buffer, artist-system):
17228 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
17229 (local-set-scheme-interaction-buffer, xscheme-process-filter)
17230 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
17231 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
17232 (xscheme-send-control-g-interrupt, xscheme-start-process)
17233 (xscheme-process-sentinel, xscheme-cd):
17234 * progmodes/verilog-mode.el (verilog-read-always-signals)
17235 (verilog-set-define, verilog-getopt-file)
17236 (verilog-module-inside-filename-p):
17237 * progmodes/sh-script.el:
17238 * progmodes/python.el (python-pdbtrack-get-source-buffer)
17239 (python-pdbtrack-grub-for-buffer, python-execute-file):
17240 * progmodes/octave-inf.el (inferior-octave):
17241 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
17242 (idlwave-shell-compile-helper-routines, idlwave-set-local)
17243 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
17244 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
17245 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
17246 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
17247 (idlwave-shell-filter, idlwave-shell-examine-highlight)
17248 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
17249 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
17250 (idlwave-shell-examine-display, idlwave-shell-run-region)
17251 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
17252 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
17253 * progmodes/idlw-help.el (idlwave-help-get-special-help)
17254 (idlwave-help-get-help-buffer):
17255 * progmodes/gud.el (gud-basic-call, gud-find-class)
17256 (gud-tooltip-activate-mouse-motions-if-enabled):
17257 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
17258 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
17259 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
17260 (ebrowse-tags-next-file):
17261 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
17262 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
17263 (ebnf-eps-finish-and-write):
17264 * progmodes/cpp.el (cpp-edit-save):
17265 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
17266 * progmodes/cc-defs.el (c-emacs-features):
17267 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
17268 (antlr-directory-dependencies):
17269 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
17270 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
17271 (ada-find-any-references, ada-make-filename-from-adaname)
17272 (ada-make-body-gnatstub):
17273 * obsolete/rnews.el (news-list-news-groups):
17274 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
17275 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
17276 * net/rcirc.el (rcirc-debug):
17277 * net/newst-treeview.el (newsticker--treeview-list-add-item)
17278 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
17279 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
17280 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
17281 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
17282 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
17283 (newsticker--treeview-list-clear-highlight)
17284 (newsticker--treeview-list-update-highlight)
17285 (newsticker--treeview-list-highlight-start)
17286 (newsticker--treeview-tree-update-highlight)
17287 (newsticker--treeview-get-selected-item)
17288 (newsticker-treeview-mark-list-items-old)
17289 (newsticker--treeview-set-current-node):
17290 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
17291 * net/newst-backend.el (newsticker--get-news-by-funcall)
17292 (newsticker--get-news-by-wget, newsticker--image-get)
17293 (newsticker--image-sentinel):
17294 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
17295 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
17296 (eudc-ph-close-session):
17297 * net/eudc.el (eudc-save-options):
17298 * language/thai-word.el (thai-update-word-table):
17299 * language/japan-util.el (japanese-string-conversion):
17300 * international/titdic-cnv.el (tsang-quick-converter)
17301 (ziranma-converter, ctlau-converter):
17302 * international/mule-cmds.el (describe-language-environment):
17303 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
17304 (skkdic-convert-postfix, skkdic-convert-prefix):
17305 (skkdic-convert-okuri-nasi, skkdic-convert):
17306 * emacs-lisp/re-builder.el (reb-update-overlays):
17307 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
17308 * emacs-lisp/gulp.el (gulp-send-requests):
17309 * emacs-lisp/find-gc.el (trace-call-tree):
17310 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
17311 (eieio-describe-generic):
17312 * emacs-lisp/eieio-base.el (eieio-persistent-read):
17313 * emacs-lisp/edebug.el (edebug-outside-excursion):
17314 * emacs-lisp/debug.el (debugger-make-xrefs):
17315 * emacs-lisp/cust-print.el (custom-prin1-to-string):
17316 * emacs-lisp/chart.el (chart-new-buffer):
17317 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
17318 Use with-current-buffer.
17319 * textmodes/artist.el (artist-system): Don't call
17320 copy-sequence on a fresh string.
17321 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
17322
17323 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
17324
17325 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
17326 is no item to edit. (Bug#4820)
17327 (todo-top-priorities): Restore point and restore narrowing in Todo
17328 buffer. (Bug#4820)
17329
17330 2009-10-31 Glenn Morris <rgm@gnu.org>
17331
17332 * net/ange-ftp.el (top-level): Don't require dired when compiling.
17333 (comint-last-output-start, comint-last-input-start)
17334 (comint-last-input-end): Don't defvar when compiling.
17335 (ange-ftp-process-file): Use bound-and-true-p.
17336
17337 * pcmpl-rpm.el (top-level): Move provide statement to end.
17338 (pcmpl-rpm): Remove unused custom group.
17339
17340 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
17341
17342 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
17343
17344 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
17345 (byte-compile-warnings): Add `constants' as an option.
17346 (byte-compile-callargs-warn, byte-compile-arglist-warn)
17347 (display-call-tree): Update for byte-compile-fdefinition possibly
17348 returning `(macro lambda ...)'. (Bug#4778)
17349 (byte-compile-variable-ref, byte-compile-setq-default):
17350 Respect `constants' member of byte-compile-warnings.
17351
17352 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17353
17354 * vc-bzr.el (vc-bzr-revision-keywords): New var.
17355 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
17356 to "submit:".
17357
17358 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
17359
17360 * textmodes/ispell.el (ispell-skip-region-alist):
17361 * international/mule-conf.el (eight-bit):
17362 * international/fontset.el (font-encoding-alist):
17363 * startup.el (pure-space-overflow-message):
17364 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
17365 * paths.el (gnus-nntp-service, rmail-spool-directory)
17366 (term-file-prefix):
17367 * files.el (save-some-buffers-action-alist):
17368 * cmuscheme.el (same-window-buffer-names):
17369 * ielm.el (same-window-buffer-names):
17370 * shell.el (same-window-buffer-names):
17371 * mail/sendmail.el (same-window-buffer-names):
17372 * progmodes/inf-lisp.el (same-window-buffer-names):
17373 * bindings.el (mode-line-client)
17374 (mode-line-column-line-number-mode-map):
17375 * language/tibetan.el (tibetan-precomposition-rule-regexp)
17376 (tibetan-precomposed-regexp): Purecopy string arguments.
17377
17378 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17379
17380 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
17381 (calcDigit-nondigit):
17382 * calc/calc-yank.el (calc-copy-to-buffer):
17383 * calc/calc-units.el (calc-invalidate-units-table):
17384 * calc/calc-trail.el (calc-trail-yank):
17385 * calc/calc-store.el (calc-insert-variables):
17386 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
17387 * calc/calc-prog.el (calc-read-parse-table):
17388 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
17389 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
17390 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
17391 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
17392 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
17393 (calc-graph-name, calc-graph-find-command, calc-graph-view)
17394 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
17395 * calc/calc-ext.el (calc-realign):
17396 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
17397 (calc-embedded-finish-edit, calc-embedded-make-info)
17398 (calc-embedded-finish-command, calc-embedded-stack-change):
17399 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
17400
17401 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
17402 shell-dynamic-complete-filename in preference to
17403 comint-dynamic-complete-filename.
17404
17405 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
17406 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
17407 Don't consider whether the display supports colors.
17408 (bookmark-import-new-list): Use dolist.
17409 (bookmark-bmenu-mode-map): Move initialization into declaration.
17410 (bookmark-bmenu-list): Use dolist, simplify.
17411 (bookmark-show-all-annotations): Use save-selected-window and dolist.
17412 (menu-bar-final-items): Use push.
17413
17414 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
17415
17416 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
17417 it works on remote files.
17418 (vc-hg-diff): Don't pass any `--cwd' argument.
17419
17420 2009-10-27 Kevin Ryde <user42@zip.com.au>
17421
17422 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17423 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
17424 (Further to Bug#3921).
17425
17426 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
17427
17428 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
17429 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
17430 calling `tramp-imap-put-file'. Add file size to the call.
17431 (tramp-imap-get-file-entries): Compute also user name, file size,
17432 and date.
17433 (tramp-imap-handle-insert-directory): Insert uid and gid.
17434 (tramp-imap-handle-file-attributes): Transform uid and gid
17435 according to `id-format'.
17436 (tramp-imap-put-file): New optional parameter SIZE. Encode file
17437 size in header X-Size.
17438
17439 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
17440
17441 * simple.el (transpose-subr): Give clearer error when the mark
17442 is not set. (Bug#4807)
17443
17444 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
17445
17446 * net/tramp.el (tramp-perl-file-truename): New defconst.
17447 Perl code contributed by yary <not.com@gmail.com> (tiny change).
17448 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
17449 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
17450 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
17451
17452 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
17453 Ignore `dired-call-process'.
17454 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
17455
17456 2009-10-26 Julian Scheid <julians37@gmail.com>
17457
17458 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
17459 (tramp-get-remote-readlink): New defun.
17460 (tramp-handle-file-truename): Use it.
17461 (tramp-handle-file-exists-p): Check file-attributes cache, assume
17462 file exists if cache value present.
17463 (tramp-check-cached-permissions): New defun.
17464 (tramp-handle-file-readable-p): Use it.
17465 (tramp-handle-file-writable-p): Likewise.
17466 (tramp-handle-file-executable-p): Likewise.
17467 (tramp-handle-file-name-all-completions): Try using Perl to get
17468 partial completions. When perl not available, combine `cd' and
17469 `ls' into single remote operation and use shell expansion to get
17470 partial remote directory contents. Set `file-exists-p' cache for
17471 directory and any files returned by ls. Change cache handling to
17472 support partial directory contents. Use error message emitted by
17473 remote `cd' or Perl code for local tramp-error.
17474 (tramp-do-copy-or-rename-file-directly): Avoid separate
17475 tramp-send-command-and-check call.
17476 (tramp-handle-process-file): Merge three remote ops into one.
17477 Do not flush all caches when `process-file-side-effects' is set.
17478 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
17479 file-attributes shows uid/gid to be set already.
17480
17481 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
17482
17483 * textmodes/tex-mode.el (tex-dvi-view-command)
17484 (tex-show-queue-command, tex-open-quote):
17485 * progmodes/ruby-mode.el (auto-mode-alist)
17486 (interpreter-mode-alist): Purecopy strings.
17487
17488 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
17489
17490 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
17491 string for the hook, keymap and abbrev table.
17492
17493 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
17494
17495 * x-dnd.el (x-dnd-xdnd-to-action):
17496 * startup.el (fancy-startup-text, fancy-about-text): Change to
17497 defconst from defvar.
17498
17499 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
17500
17501 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
17502 Purecopy initialization strings.
17503
17504 * mail/sendmail.el (mail-header-separator)
17505 (mail-personal-alias-file):
17506 * mail/rmail.el (rmail-default-dont-reply-to-names)
17507 (rmail-ignored-headers, rmail-retry-ignored-headers)
17508 (rmail-highlighted-headers, rmail-secondary-file-directory)
17509 (rmail-secondary-file-regexp):
17510 * files.el (null-device, file-name-invalid-regexp)
17511 (locate-dominating-stop-dir-regexp)
17512 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
17513 (interpreter-mode-alist): Use mapcar instead of mapc.
17514
17515 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
17516
17517 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
17518 (completion-ignored-extensions):
17519 (debug-ignored-errors): Purecopy strings.
17520
17521 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17522
17523 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
17524 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
17525 (pcomplete--here): Use push.
17526
17527 * subr.el (all-completions): Declare the 4th arg obsolete.
17528
17529 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17530
17531 * pcomplete.el (pcomplete-unquote-argument-function): New var.
17532 (pcomplete-unquote-argument): New function.
17533 (pcomplete--common-suffix): Always pay attention to case.
17534 (pcomplete--table-subvert): Quote and unquote the text.
17535 (pcomplete--common-quoted-suffix): New function.
17536 (pcomplete-std-complete): Use it and pcomplete-begin.
17537
17538 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
17539 we're inside a dedicated or minibuffer window.
17540
17541 2009-10-24 Karl Fogel <kfogel@red-bean.com>
17542
17543 * bookmark.el: Update documentation, especially documentation
17544 of `bookmark-alist' and of the bookmark file format.
17545 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
17546
17547 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
17548
17549 * mail/emacsbug.el (report-emacs-bug): Clarify that the
17550 keybindings apply to the mail buffer (Bug#4003). Shrink help
17551 window to buffer.
17552
17553 * whitespace.el (whitespace-mode, whitespace-newline-mode)
17554 (global-whitespace-mode, global-whitespace-newline-mode)
17555 (whitespace-toggle-options, global-whitespace-toggle-options):
17556 Doc fix (Bug#3660).
17557
17558 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
17559 of xmltok-start before the end tag was inserted (Bug#2840).
17560
17561 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
17562 patterns that are preceded by an open-paren (Bug#1320).
17563
17564 2009-10-24 Sven Joachim <svenjoac@gmx.de>
17565
17566 * files.el (delete-directory): Delete symlinks to directories with
17567 delete-file (Bug#4739).
17568
17569 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
17570
17571 * vc.el (vc-backend-for-registration): Rename from
17572 vc-get-backend-for-registration. Update callers.
17573
17574 * international/mule-cmds.el (set-language-info-alist):
17575 Purecopy lang-env.
17576 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
17577 (charset): Purecopy the name.
17578 (define-char-code-property): Purecopy string arguments.
17579
17580 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17581 Purecopy string arguments.
17582
17583 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
17584 * ediff-hook.el (menu-bar-ediff-menu):
17585 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
17586 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
17587
17588 2009-10-24 Glenn Morris <rgm@gnu.org>
17589
17590 * comint.el (comint-dynamic-list-completions):
17591 * term.el (term-dynamic-list-completions): Use choose-completion rather
17592 than obsolete alias mouse-choose-completion.
17593
17594 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
17595 file-cache-choose-completion.
17596 (file-cache-choose-completion): Handle an optional event argument.
17597 (file-cache-mouse-choose-completion): Make it an obsolete alias.
17598
17599 * progmodes/octave-mod.el (octave-complete-symbol):
17600 Use choose-completion if mouse-choose-completion is ever removed.
17601
17602 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
17603 use.
17604
17605 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
17606 compiler.
17607
17608 * vc-hooks.el (vc-responsible-backend): Fix declaration.
17609
17610 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17611
17612 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
17613 Ignore `pred' now that we receive one.
17614 Handle test-completion specially.
17615
17616 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17617
17618 * vc.el (vc-responsible-backend): Throw an error if not backend is
17619 found. Remove the REGISTER argument. Move the code dealing with
17620 REGISTER ...
17621 (vc-get-backend-for-registration): ... here. New function.
17622 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
17623 of vc-responsible-backend, pass the file name instead of the
17624 directory name.
17625
17626 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
17629 New funs.
17630 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
17631 (pcomplete-comint-setup): Don't modify a global var via
17632 accidental side-effects.
17633 (pcomplete-shell-setup): Adjust call accordingly.
17634 (pcomplete-parse-comint-arguments): Use push.
17635
17636 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
17637
17638 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
17639 Allow uncapitalized info node names (Bug#3921).
17640
17641 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
17642 to the DEBUG file (Bug#3781).
17643
17644 2009-10-23 Jari Aalto <jari.aalto@cante.net>
17645
17646 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
17647 dictionary entry (Bug#4579).
17648
17649 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
17650
17651 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
17652 from `rfn-eshadow-update-overlay-hook' when unloading.
17653 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
17654 "rsyncc". Adjust doc string.
17655 (tramp-temp-buffer-file-name): New buffer-local defvar.
17656 (tramp-handle-insert-file-contents, tramp-handle-write-region):
17657 Keep temporary file when indicated by method ("rsync" and
17658 "rsyncc").
17659 (tramp-handle-write-region): Handle APPEND.
17660 (tramp-delete-temp-file-function): New defun. Added to
17661 `kill-buffer-hook'.
17662
17663 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
17664
17665 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
17666
17667 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
17668
17669 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
17670 (color-name-rgb-alist, tty-standard-colors)
17671 (tty-color-mode-alist): Change to defconst.
17672
17673 * simple.el (mark-inactive): Purecopy message.
17674
17675 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
17676 (global-map, yank-menu):
17677 * textmodes/ispell.el (ispell-menu-map):
17678 * net/eudc.el (eudc-tools-menu):
17679 * international/mule-cmds.el (describe-language-environment-map)
17680 (setup-language-environment-map, set-coding-system-map)
17681 (mule-menu-keymap):
17682 * vc-hooks.el (vc-menu-entry, vc-menu-map):
17683 * replace.el (occur-mode-map):
17684 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
17685
17686 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
17687
17688 * calc/calc.el (math-read-number, math-read-number-simple):
17689 Use `save-match-data'.
17690
17691 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17692
17693 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
17694 rather than fiddling with global-map bindings, since it should only
17695 affect per-terminal settings.
17696 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
17697
17698 * minibuffer.el (completion-table-with-terminator): Allow to specify
17699 the terminator-regexp.
17700
17701 * simple.el (switch-to-completions): Look for *Completions* in other
17702 frames as well.
17703
17704 * pcomplete.el: Allow the use of completion-tables.
17705 (pcomplete-std-complete): New command.
17706 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
17707 (pcomplete--here): Use a function for `form' rather than an expression,
17708 so it can be byte-compiled.
17709 (pcomplete-here, pcomplete-here*): Adjust accordingly.
17710 Add edebug declaration.
17711 (pcomplete-show-completions): Remove unused var `curbuf'.
17712 (pcomplete-do-complete, pcomplete-stub):
17713 Don't assume `completions' is a list of strings any more.
17714
17715 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
17716
17717 * find-dired.el (find-name-arg): Fix typo in docstring.
17718
17719 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
17720
17721 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
17722 (pcmpl-linux-fs-types): Same, and update to new modules layout.
17723
17724 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
17725 pcomplete-entries.
17726
17727 * comint.el (comint-read-input-ring, comint-write-input-ring)
17728 (comint-substitute-in-file-name)
17729 (comint-dynamic-complete-as-filename)
17730 (comint-dynamic-simple-complete)
17731 (comint-dynamic-list-filename-completions)
17732 (comint-dynamic-list-completions)
17733 (comint-redirect-results-list-from-process): Minor simplifications.
17734
17735 2009-10-21 Kevin Ryde <user42@zip.com.au>
17736
17737 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
17738 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
17739 the first form. And insert a blank line after ";;; Code" since
17740 that's usual style. (Bug#4612)
17741
17742 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
17743
17744 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17745
17746 * minibuffer.el (completion-table-with-terminator): Properly implement
17747 boundaries, in case `terminator' appears in the suffix.
17748 (completion--embedded-envvar-table): Don't return boundaries if
17749 there's no valid completion. Simplify.
17750 (completion-file-name-table): New completion table extracted from
17751 completion--file-name-table.
17752 (completion--file-name-table): Use it.
17753 (read-file-name-predicate): Declare obsolete.
17754 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
17755 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
17756 completion-file-name-table, and use the `pred' argument.
17757 * files.el (locate-file-completion-table): Use the `pred' arg rather
17758 than read-file-name-predicate.
17759 (abbreviate-file-name): Use \` rather than ^ for BOS.
17760
17761 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
17762
17763 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
17764 vc-responsible-backend to register, it causes problems.
17765
17766 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
17767
17768 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
17769
17770 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
17771
17772 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
17773 (tramp-smb-handle-file-attributes): Use it.
17774 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
17775 (tramp-smb-handle-insert-directory): Use `mapc' rather than
17776 `mapcar'. Use `tramp-smb-get-stat-capability'.
17777 Add `dired-filename' text properties.
17778 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
17779 (tramp-smb-maybe-open-connection): Simplify check for smbclient
17780 version.
17781
17782 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
17783
17784 * subr.el (read-key-delay): Reduce to 0.01.
17785 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
17786 (bug#4751).
17787
17788 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
17791
17792 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
17793 (Info-menu): Remove unused vars `last' and `completions'.
17794 (Info-index-nodes): Remove unused var `node'.
17795
17796 * info.el (Info-complete-menu-item): Use complete-with-action.
17797
17798 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
17799
17800 Make vc-annotate work through copies and renames.
17801 * vc-annotate.el (vc-annotate-extract-revision-at-line):
17802 Return the file name too.
17803 (vc-annotate-revision-at-line)
17804 (vc-annotate-find-revision-at-line)
17805 (vc-annotate-revision-previous-to-line)
17806 (vc-annotate-show-log-revision-at-line): Update to get the file
17807 name from vc-annotate-extract-revision-at-line.
17808 (vc-annotate-show-diff-revision-at-line-internal): Change the
17809 argument to mean whether to show a file diff or not. Get the file
17810 name from vc-annotate-extract-revision-at-line.
17811 (vc-annotate-show-diff-revision-at-line):
17812 Update vc-annotate-show-diff-revision-at-line call.
17813 (vc-annotate-warp-revision): Add an optional file argument.
17814
17815 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
17816 (vc-git-annotate-extract-revision-at-line): Also return the file
17817 name if found.
17818
17819 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
17820 command. Remove unused code.
17821 (vc-hg-annotate-re): Update to match --follow output.
17822 (vc-hg-annotate-extract-revision-at-line): Also return the file
17823 name if found.
17824
17825 * vc.el: Update annotate-extract-revision-at-line documentation.
17826
17827 2009-10-18 Kevin Ryde <user42@zip.com.au>
17828
17829 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
17830 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
17831
17832 * net/browse-url.el (browse-url): Identify alist with "consp and
17833 not functionp" and let all other things go down the `apply' leg,
17834 as suggested by Stefan. (Further to bug#4531.)
17835
17836 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
17837
17838 * minibuffer.el (read-file-name): Check for repeat before putting
17839 a default argument in file-name-history (Bug#4657).
17840
17841 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
17842 read syntax (Bug#4737).
17843
17844 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
17845
17846 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17847
17848 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
17849 (html-tag-alist, html-tag-help): Add descriptions for undocumented
17850 entries and make note of obsolete tags.
17851
17852 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
17853
17854 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
17855
17856 2009-10-18 Glenn Morris <rgm@gnu.org>
17857
17858 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
17859 grep, so that binary files (eg international/uni-bidi.el) can match.
17860 Remove test for "UnicodeData" files, since it is hopefully unnecessary
17861 now, and in any case the file header format has changed.
17862
17863 2009-10-17 Glenn Morris <rgm@gnu.org>
17864
17865 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
17866 (flyspell-get-word, flyspell-large-region)
17867 (flyspell-auto-correct-previous-word): Doc/error message fixes.
17868
17869 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
17870
17871 * Makefile.in (ELCFILES): Add ede/shell.
17872
17873 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
17874
17875 * term/common-win.el (x-colors): Purecopy it.
17876
17877 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
17880 permissive for when the buffer is empty.
17881 (tar-header-block-tokenize): Decode the username and groupname.
17882 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
17883
17884 2009-10-17 Eric Ludlam <zappo@gnu.org>
17885
17886 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
17887 contains multibyte characters, choose first applicable coding
17888 system automatically.
17889
17890 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
17891
17892 * international/mule-cmds.el (select-safe-coding-system): If the file
17893 has a coding cookie, use it regardless of any other setting (bug#4712).
17894
17895 2009-10-17 Glenn Morris <rgm@gnu.org>
17896
17897 * foldout.el (foldout-mouse-swallow-events):
17898 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
17899
17900 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
17901 (dired-keep-marker-copy, dired-keep-marker-hardlink)
17902 (dired-keep-marker-symlink, dired-dwim-target)
17903 (dired-copy-preserve-time): Do not autoload these defcustoms.
17904
17905 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
17906 messages from messing up the file coding. (Bug#4623)
17907
17908 2009-10-17 Jari Aalto <jari.aalto@cante.net>
17909
17910 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
17911 if no match is found for the current dictionary. (Bug#4578)
17912
17913 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
17914 optional, since that is how it is documented, and this is often called
17915 with a nil argument. (Bug#4577)
17916 (flyspell-external-point-words, flyspell-auto-correct-word)
17917 (flyspell-correct-word-before-point, flyspell-word-search-forward)
17918 (flyspell-word-search-backward): Remove nil argument in calls to
17919 flyspell-get-word, since it is not needed now.
17920
17921 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
17922
17923 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
17924
17925 2009-10-16 Glenn Morris <rgm@gnu.org>
17926
17927 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
17928
17929 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
17930
17931 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
17932 (ange-ftp-file-size): New function.
17933 (ange-ftp-file-attributes): Use it.
17934
17935 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
17936
17937 * net/tramp-smb.el (tramp-smb-version): New defvar.
17938 (tramp-smb-maybe-open-connection): Use it, in order to avoid
17939 repeated checks.
17940
17941 2009-10-16 Glenn Morris <rgm@gnu.org>
17942
17943 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
17944 Maybe copy some custom properties from old to new name. (Bug#4706)
17945
17946 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
17947
17948 * subr.el (error, sit-for, start-process-shell-command)
17949 (start-file-process-shell-command): Set the calling convention
17950 after the function definition.
17951
17952 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
17953
17954 * subr.el (error, sit-for, start-process-shell-command)
17955 (start-file-process-shell-command): Use the new
17956 set-advertised-calling-convention feature.
17957
17958 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
17959
17960 * international/ucs-normalize.el (ucs-normalize-version):
17961 Change to 1.2.
17962 (check-range): Adjust for Unicode 5.2.
17963
17964 2009-10-15 Juri Linkov <juri@jurta.org>
17965
17966 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
17967 to the `menu-item' format.
17968
17969 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
17970
17971 * net/tramp.el (tramp-replace-environment-variables): Do not fail
17972 if the environment variable does not exist.
17973
17974 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
17975 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
17976 parameter.
17977 (tramp-smb-handle-add-name-to-file)
17978 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
17979 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
17980 (tramp-smb-handle-file-attributes)
17981 (tramp-smb-do-file-attributes-with-stat)
17982 (tramp-smb-handle-file-local-copy)
17983 (tramp-smb-handle-insert-directory)
17984 (tramp-smb-handle-make-directory)
17985 (tramp-smb-handle-make-directory-internal)
17986 (tramp-smb-handle-make-symbolic-link)
17987 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
17988 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
17989 (tramp-smb-maybe-open-connection): Apply the changed parameters.
17990 (tramp-smb-read-file-entry): Read Disk names in compressed format.
17991 Handle long file names.
17992 (tramp-smb-get-cifs-capabilities): Check, whether the connection
17993 process is running.
17994 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
17995 Read share names with "-g" option.
17996
17997 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
17998
17999 * net/rcirc.el (rcirc-view-log-file): New command.
18000 (rcirc-track-minor-mode-map): Remove C-c ` binding.
18001 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
18002 specified.
18003
18004 2009-10-15 Glenn Morris <rgm@gnu.org>
18005
18006 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
18007 from the second command-line argument.
18008 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
18009 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
18010 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
18011 w32-batch-update-autoloads.
18012 * emacs-lisp/autoload.el (autoload-make-program): New variable.
18013 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
18014
18015 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
18016 the headers cannot be located. Simplify, subtracting superflous
18017 save-excursions.
18018
18019 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
18020
18021 Replace completion-base-size by completion-base-position to fix bugs
18022 such as (bug#4699).
18023 * simple.el (completion-base-position): New var.
18024 (completion-base-size): Mark as obsolete.
18025 (choose-completion): Make it work for mouse events as well.
18026 Pass the new base-position to choose-completion-string.
18027 (choose-completion-guess-base-position): New function, extracted from
18028 choose-completion-delete-max-match.
18029 (choose-completion-delete-max-match): Use it. Make obsolete.
18030 (choose-completion-string): Use the new base-position info.
18031 (completion-root-regexp): Delete.
18032 (completion-setup-function): Preserve completion-base-position.
18033 Eliminate obsolete base-size manipulation.
18034 * minibuffer.el (display-completion-list): Don't mess with base-size.
18035 (minibuffer-completion-help): Set completion-base-position instead.
18036 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
18037 choose-completion.
18038 * textmodes/bibtex.el (bibtex-complete):
18039 * emacs-lisp/crm.el (crm--choose-completion-string):
18040 Adjust to new calling convention.
18041 * complete.el (partial-completion-mode): Use minibufferp to avoid
18042 bumping into incompatible change to choose-completion-string-functions.
18043 * ido.el (ido-choose-completion-string): Make its calling convention
18044 more permissive.
18045 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
18046 base-size manipulation.
18047 (comint-dynamic-list-input-ring): Use dotimes and push.
18048 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
18049 fundamental-mode. Use `or'.
18050
18051 2009-10-14 Juri Linkov <juri@jurta.org>
18052
18053 * misearch.el (multi-isearch-next-buffer-from-list)
18054 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
18055
18056 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18057
18058 * Makefile.in (compile-onefile): Load `bytecomp' rather than
18059 `bytecomp.el'.
18060
18061 * minibuffer.el (completion-pcm--merge-completions): Make sure the
18062 string we return is all made up of text from the completions rather
18063 than part from the completions and part from the input (bug#4219).
18064
18065 * ido.el (ido-everywhere): Use define-minor-mode.
18066
18067 * buff-menu.el (list-buffers, ctl-x-map):
18068 Mark the entry points with ;;;###autoload cookies.
18069
18070 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
18071
18072 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
18073 correctly in the detached head case.
18074 (vc-git-print-log): Remove unused binding.
18075
18076 * vc.el (vc-responsible-backend): When a directory is passed for
18077 for registration create a VC repository if no backend is
18078 responsible for the directory argument.
18079 (vc-deduce-fileset): Tell vc-responsible-backend to register.
18080
18081 * vc.el: Move comments about RCS and SCCS ...
18082 * vc-rcs.el:
18083 * vc-sccs.el: ... here, respectively.
18084
18085 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18086
18087 * minibuffer.el (completion--file-name-table): Return nil if there's
18088 no file completion, even if substitute-in-file-name changed
18089 the string (bug#4708).
18090
18091 2009-10-13 Juri Linkov <juri@jurta.org>
18092
18093 * files-x.el (read-file-local-variable-value): Don't filter out
18094 minor modes from mode name completion (bug#4664).
18095
18096 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18097
18098 * international/mule-cmds.el (ucs-names): Remove exclusion of
18099 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
18100
18101 2009-10-13 Kenichi Handa <handa@m17n.org>
18102
18103 * international/uni-name.el: Regenerated.
18104
18105 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
18106
18107 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
18108 should be automatically buffer-local, but isn't.)
18109
18110 2009-10-12 Sam Steingold <sds@gnu.org>
18111
18112 * progmodes/compile.el (compilation-next-error-function): Fix the
18113 timestamps if the buffer has been visited before.
18114 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
18115 non-anchored patterns, like the perl one (bug#3928).
18116
18117 2009-10-12 Glenn Morris <rgm@gnu.org>
18118
18119 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
18120 Let-bind `size'.
18121
18122 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
18123
18124 * proced.el (proced-unload-function): New function.
18125
18126 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
18127 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
18128 Doc fix.
18129
18130 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
18131
18132 2009-10-11 Juri Linkov <juri@jurta.org>
18133
18134 * files-x.el (read-file-local-variable-value):
18135 Provide default value only for bound variables (bug#4664).
18136
18137 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
18138
18139 * net/tramp.el (tramp-local-host-p): Function shall return nil for
18140 connection methods like smb.
18141
18142 * net/tramp-cache.el (tramp-flush-connection-property): The hash
18143 can be empty.
18144
18145 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18146 (tramp-smb-file-name-handler-alist): Add handlers for
18147 `add-name-to-file', `make-symbolic-link'.
18148 (tramp-smb-handle-add-name-to-file)
18149 (tramp-smb-do-file-attributes-with-stat)
18150 (tramp-smb-handle-make-symbolic-link)
18151 (tramp-smb-get-cifs-capabilities): New defuns.
18152 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
18153 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
18154 (tramp-smb-handle-file-local-copy)
18155 (tramp-smb-handle-make-directory-internal)
18156 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
18157 The file name syntax depends on cifs capabilities.
18158 (tramp-smb-handle-file-attributes):
18159 Call `tramp-smb-do-file-attributes-with-stat' if possible.
18160 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
18161 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
18162
18163 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
18164
18165 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
18166 (eieio-defclass): Apply deftype handler and setf-method properties
18167 directly.
18168 (eieio-add-new-slot): Avoid union function from cl library.
18169 (eieio--typep): New function.
18170 (eieio-perform-slot-validation): Use it.
18171
18172 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18173
18174 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
18175 Update documentation to refer to the variables documented in r1.135.
18176 (Bug#4188)
18177
18178 2009-10-10 Karl Fogel <kfogel@red-bean.com>
18179
18180 * bookmark.el (Info-suffix-list): Remove this unused variable.
18181 (bookmark-current-point): Remove this obsolete variable.
18182 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
18183 Adjust for removal of bookmark-current-point.
18184
18185 (bookmarks-already-loaded, bookmark-current-buffer)
18186 (bookmark-yank-point): Document. (Bug#4188)
18187
18188 2009-10-10 Glenn Morris <rgm@gnu.org>
18189
18190 * frame.el (frame-height): Doc fix.
18191
18192 * calendar/calendar.el (calendar-split-width-threshold): New option.
18193 (calendar-basic-setup): Use calendar-split-width-threshold.
18194
18195 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
18196
18197 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
18198 Ideographic Supplement" range (U+1F200..U+1F2FF).
18199
18200 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18201
18202 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
18203 since the list will have been rebuilt anyway. (Bug#4349)
18204
18205 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18206
18207 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
18208 (bookmark-bmenu-execute-deletions): Don't save here, as
18209 bookmark-delete will now do so if necessary.
18210 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
18211 (Bug#4348)
18212
18213 2009-10-09 Glenn Morris <rgm@gnu.org>
18214
18215 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
18216
18217 2009-10-09 Karl Fogel <kfogel@red-bean.com>
18218
18219 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
18220 (bookmark-jump-other-window): Just invoke bookmark-jump with new
18221 argument now, so the two function's behaviors will match. (Bug#3645)
18222
18223 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
18224
18225 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
18226 (tramp-file-name-real-host, tramp-file-name-port):
18227 Apply `save-match-data'.
18228
18229 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
18230 case both directories are remote.
18231 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
18232 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
18233
18234 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18235
18236 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
18237
18238 2009-10-07 Glenn Morris <rgm@gnu.org>
18239
18240 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
18241 of concat.
18242
18243 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * files-x.el (read-file-local-variable): Include some
18246 non-user-variables in the completion table (bug#4664).
18247
18248 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
18249
18250 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
18251 message.
18252
18253 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
18254 (tramp-smb-file-name-handler-alist): Add handler for
18255 `copy-directory', `expand-file-name', `set-file-modes'.
18256 (tramp-smb-handle-copy-directory)
18257 (tramp-smb-handle-expand-file-name)
18258 (tramp-smb-handle-set-file-modes): New defuns.
18259 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
18260 (tramp-smb-handle-file-attributes): Simplify check for retrieving
18261 entry.
18262 (tramp-smb-handle-insert-directory): Don't flush the cache.
18263 (tramp-smb-maybe-open-connection): Check for samba client and
18264 server versions.
18265
18266 2009-10-07 Eli Zaretskii <eliz@gnu.org>
18267
18268 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
18269 to not error out of search for "^lisp=" fails.
18270
18271 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
18272
18273 * makefile.w32-in (WINS_UPDATES): New macro.
18274 (custom-deps, finder-data, autoloads): Use it.
18275
18276 2009-10-07 Glenn Morris <rgm@gnu.org>
18277
18278 * Makefile.in (autoloads): Revert previous change.
18279 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
18280 the list of preloaded files passed on the command-line, get
18281 it from src/Makefile.
18282
18283 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
18284 show the original buffer rather than a random one.
18285
18286 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
18287
18288 * help.el (describe-no-warranty): Place point in a slightly better
18289 position in the GPLv3 text.
18290
18291 2009-10-06 Sam Steingold <sds@gnu.org>
18292
18293 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
18294 the comm attribute is present before calling regexp-quote.
18295
18296 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
18297
18298 * play/animate.el (animate-string): For good effect, make sure
18299 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
18300
18301 * play/animate.el (animate-sequence, animate-birthday-present):
18302 * misc.el (butterfly): Don't set `indent-tabs-mode'.
18303
18304 2009-10-06 Glenn Morris <rgm@gnu.org>
18305
18306 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
18307
18308 * emacs-lisp/autoload.el (autoload-excludes): New variable.
18309 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
18310 (batch-update-autoloads): Process a string value of autoload-excludes,
18311 set during the build process.
18312 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
18313
18314 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
18315 inside with-parsed... macro so that `v' is defined.
18316
18317 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
18318 * progmodes/fortran.el (fortran-end-of-block)
18319 (fortran-beginning-of-block):
18320 Also push mark in the macro case.
18321
18322 * emerge.el (emerge-show-file-name):
18323 * calc/calc.el (calc-quit):
18324 * calc/calc-misc.el (calc-big-or-small):
18325 * calc/calc-graph.el (calc-graph-view):
18326 * calc/calc-ext.el (calc-reset):
18327 * calendar/calendar.el (calendar-basic-setup):
18328 Use window-full-height-p.
18329
18330 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
18331 header we don't understand, don't insert another. (Bug#4624)
18332 If changing mime charset, insert the new one in the right place.
18333
18334 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
18335
18336 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
18337 (cal-tex-cursor-month): Correctly increment the end date for diary and
18338 holiday listing. (Bug#4626)
18339
18340 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18341
18342 * help-fns.el (describe-function-1): Don't burp if the function is not
18343 a symbol.
18344
18345 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
18346
18347 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
18348 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
18349 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
18350 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
18351
18352 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
18353 (eieio-default-superclass): Reflow docstrings.
18354 (this, class-option-assoc, defclass, eieio-class-un-autoload)
18355 (eieio-unbind-method-implementations, defmethod)
18356 (eieio-validate-slot-value, eieio-validate-class-slot-value)
18357 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
18358 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
18359 (eieio-slot-originating-class-p, eieio-slot-name-index)
18360 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
18361 (constructor, initialize-instance, no-next-method, object-print)
18362 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
18363 Fix typos in docstrings.
18364 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
18365 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
18366 (next-method-p): Doc fixes.
18367 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
18368 Fix typos in error messages.
18369 (eieio-defmethod): Fix typo in description of generic method.
18370
18371 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
18372 (eieio-persistent-save-interactive, slot-missing):
18373 Fix typos in docstrings.
18374 (eieio-instance-inheritor-slot-boundp): Doc fix.
18375
18376 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
18377 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
18378
18379 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
18380 (eieio-custom-object-apply-reset):
18381 Fix typos in docstrings and error messages.
18382
18383 * emacs-lisp/eieio-datadebug.el (data-debug-show):
18384 Fix typo in docstring.
18385
18386 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
18387 (eieio-browse-tree): Doc fix.
18388 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
18389 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
18390 Fix typos in docstrings.
18391
18392 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
18393 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
18394 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
18395 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
18396 Reflow docstrings.
18397
18398 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
18399
18400 * vc-hg.el (log-view-vc-backend): Declare for compiler.
18401 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
18402 Set log-view-vc-backend so that diff can work.
18403
18404 * log-view.el (log-view-diff): Use vc-diff-internal instead of
18405 vc-version-diff.
18406 (vc-diff-internal): Autoload this instead of vc-version-diff.
18407
18408 2009-10-05 Eli Zaretskii <eliz@gnu.org>
18409
18410 * simple.el (eval-expression): Doc fix.
18411
18412 * progmodes/cwarn.el (cwarn-mode): Doc fix.
18413
18414 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
18415
18416 * files.el (directory-files-no-dot-files-regexp): New defconst.
18417 (delete-directory): Use it.
18418 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
18419
18420 * net/tramp.el (tramp-verbose): Fix docstring.
18421 (tramp-methods): Add recursive option to `tramp-copy-args'.
18422 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
18423 "scp1_old", "scp2_old", "rsync", "rsyncc".
18424 (tramp-default-method): Check also for `auth-source-user-or-password'.
18425 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
18426 Add handler for `copy-directory'.
18427 (tramp-handle-copy-directory): New defun.
18428 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
18429 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
18430 Optimize sent command.
18431
18432 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18433
18434 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
18435 window if necessary.
18436
18437 * calendar/calendar.el (calendar-basic-setup): Don't call
18438 switch-to-buffer in a dedicated window.
18439
18440 2009-10-05 Karl Fogel <kfogel@red-bean.com>
18441
18442 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
18443 don't do anything related to relocating, just return nil.
18444 (bookmark-error-no-filename): New error.
18445 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
18446 bookmark has no file. Don't even attempt to handle things that
18447 are not files; the whole point of custom handlers is to keep that
18448 knowledge elsewhere anyway. Tighten some comments.
18449 (bookmark-file-or-variation-thereof): Remove now-unused function.
18450 (bookmark-location): Doc string fix.
18451 (Bug#4250)
18452
18453 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18454
18455 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
18456 don't use a file dialog, because they usually don't know how to read
18457 a directory target from the user. (Bug#4230)
18458 Also, make sure the prompt can display directories as well as files.
18459
18460 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18461
18462 * bookmark.el (bookmark-set, bookmark-buffer-name):
18463 Improve doc strings. (Bug#1193)
18464
18465 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18466
18467 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
18468 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
18469 (bookmark-get-annotation, bookmark-set-annotation)
18470 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
18471 (bookmark-set-position, bookmark-get-front-context-string)
18472 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
18473 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
18474 (bookmark-jump-other-window, bookmark-handle-bookmark)
18475 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
18476 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
18477 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
18478 Improve doc strings to say whether bookmark can be a string or
18479 a record or both, and make other consistency and clarity fixes.
18480 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
18481 (bookmark-default-annotation-text, bookmark-yank-word)
18482 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
18483 (bookmark-import-new-list, bookmark-maybe-rename)
18484 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
18485 (bookmark-bmenu-bookmark): Give these doc strings.
18486 (bookmark-bmenu-check-position): Give this a doc string, but also
18487 add a FIXME comment about how the function may be pointless.
18488 (bookmark-default-handler): Rework doc string and change a
18489 parameter name, to clarify that this takes a bookmark record
18490 not a bookmark name.
18491 (bookmark-set): Change a parameter name to indicate its meaning,
18492 and improve the doc string a bit.
18493 (Bug#4188)
18494
18495 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18496
18497 * bookmark.el (bookmark-alist): Document the new `handler' element
18498 in the param alist.
18499 (bookmark-make-record-function): Adjust documentation for above.
18500 (Bug#4193)
18501
18502 2009-10-04 Karl Fogel <kfogel@red-bean.com>
18503
18504 * info.el (Info-bookmark-make-record): Document this function.
18505 (Info-bookmark-jump): Document with a doc string, not just a comment.
18506 (Bug#4203)
18507
18508 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
18509
18510 * files.el (copy-directory): New defun.
18511
18512 * dired-aux.el (dired-copy-file-recursive): Use it.
18513
18514 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
18515
18516 * files-x.el (modify-dir-local-variable)
18517 (copy-dir-locals-to-file-locals-prop-line): Fix typos in
18518 docstrings.
18519
18520 * recentf.el (recentf-unload-function): New function.
18521
18522 2009-10-04 Glenn Morris <rgm@gnu.org>
18523
18524 * window.el (window-full-height-p): Add doc string.
18525
18526 2009-10-04 Martin Rudalics <rudalics@gmx.at>
18527
18528 * window.el (window-full-height-p): New function. (Bug#4543)
18529
18530 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
18531
18532 * vc.el: Remove commented out code.
18533 (vc-derived-from-dir-mode): Remove, unused.
18534 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
18535
18536 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
18537
18538 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
18539 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
18540 there could be recursive loading when `default-directory' is a
18541 remote file name. (Bug#4614)
18542
18543 2009-10-03 Glenn Morris <rgm@gnu.org>
18544
18545 * calendar/calendar.el (calendar-basic-setup): Handle the case where
18546 the frame is wide.
18547 (calendar-generate-window): Test for shrinkability rather than width.
18548
18549 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
18550 reusing existing buffers, in case we happen to visit two files with the
18551 same basename. (Bug#4593)
18552
18553 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18554
18555 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
18556 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
18557 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
18558 subdirs of cedet as well.
18559 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
18560
18561 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18562
18563 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
18564 Obey advertised-signature-table.
18565
18566 * help-fns.el (help-function-arglist): Don't check
18567 advertised-signature-table.
18568 (describe-function-1): Do it here instead so it also applies to subrs.
18569
18570 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
18571
18572 * simple.el (start-file-process): Say in the doc-string, that file
18573 handlers might not support pty association, if PROGRAM is nil.
18574
18575 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
18576 HOST and USER are strings. They are nil, when there are
18577 incomplete entries in ~/.netrc, for example.
18578 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
18579 root directory ("device busy" error otherwise).
18580
18581 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
18582 Flush file properties of created directory.
18583
18584 2009-10-02 Eli Zaretskii <eliz@gnu.org>
18585
18586 * makefile.w32-in (WINS_BASIC): Remove cedet.
18587 (WINS_CEDET): Add cedet.
18588 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
18589
18590 2009-10-02 Kevin Ryde <user42@zip.com.au>
18591
18592 * net/browse-url.el (browse-url): Pass any symbol in
18593 browse-url-browser-function to `apply', since if you've mistakenly put
18594 an unbound symbol then the error is clearer. (Bug#4531)
18595
18596 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18597
18598 * allout.el (allout-init, allout-back-to-current-heading)
18599 (allout-beginning-of-current-entry, allout-ascend-to-depth)
18600 (allout-ascend, allout-up-current-level, allout-end-of-level)
18601 (allout-previous-visible-heading, allout-forward-current-level)
18602 (allout-backward-current-level, allout-show-children):
18603 * apropos.el (apropos-describe-plist):
18604 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
18605 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
18606 * completion.el (add-completion, add-permanent-completion):
18607 * descr-text.el (describe-text-category, describe-char):
18608 * desktop.el (desktop-lazy-abort):
18609 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
18610 * dired.el (dired-build-subdir-alist):
18611 * ediff.el (ediff-version):
18612 * elide-head.el (elide-head, elide-head-show):
18613 * emerge.el (emerge-version):
18614 * env.el (getenv):
18615 * face-remap.el (variable-pitch-mode):
18616 * faces.el (describe-face):
18617 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
18618 (dired-at-point):
18619 * files.el (find-file-existing, auto-save-mode):
18620 * font-lock.el (font-lock-fontify-buffer):
18621 * help-fns.el (describe-function, describe-variable)
18622 (describe-syntax, describe-categories):
18623 * help.el (view-lossage, describe-bindings, describe-key)
18624 (describe-mode):
18625 * hexl.el (hexl-current-address):
18626 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
18627 * info.el (Info-goto-emacs-key-command-node):
18628 * log-edit.el (log-edit-insert-cvs-template)
18629 (log-edit-insert-cvs-rcstemplate):
18630 * menu-bar.el (menu-bar-mode):
18631 * mouse.el (mouse-appearance-menu):
18632 * newcomment.el (comment-indent-new-line):
18633 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
18634 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
18635 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
18636 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
18637 * recentf.el (recentf-mode):
18638 * savehist.el (savehist-mode, savehist-save):
18639 * shadowfile.el (shadow-copy-files):
18640 * simple.el (kill-ring-save, next-line, previous-line)
18641 (normal-erase-is-backspace-mode):
18642 * strokes.el (strokes-update-window-configuration)
18643 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
18644 (strokes-xpm-for-stroke):
18645 * time.el (emacs-uptime, emacs-init-time):
18646 * tutorial.el (tutorial--describe-nonstandard-key)
18647 (tutorial--detailed-help):
18648 * type-break.el (type-break-mode)
18649 (type-break-mode-line-message-mode, type-break-query-mode)
18650 (type-break-guesstimate-keystroke-threshold):
18651 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
18652 * version.el (emacs-version):
18653 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
18654 * winner.el (winner-mode):
18655 * calendar/timeclock.el (timeclock-in, timeclock-out)
18656 (timeclock-status-string, timeclock-change)
18657 (timeclock-workday-remaining-string)
18658 (timeclock-workday-elapsed-string)
18659 (timeclock-when-to-leave-string):
18660 * calendar/todo-mode.el (todo-add-category):
18661 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
18662 * emacs-lisp/autoload.el (update-file-autoloads):
18663 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
18664 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
18665 (checkdoc-message-text, checkdoc-defun):
18666 * emacs-lisp/debug.el (debugger-list-functions):
18667 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
18668 * emacs-lisp/eieio-opt.el (eieio-describe-class)
18669 (eieio-describe-generic):
18670 * emacs-lisp/lisp-mnt.el (lm-synopsis):
18671 * emacs-lisp/shadow.el (list-load-path-shadows):
18672 * emulation/cua-base.el (cua-mode):
18673 * emulation/edt.el (edt-set-scroll-margins):
18674 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
18675 (tpu-toggle-regexp, tpu-toggle-search-direction)
18676 (tpu-toggle-rectangle, tpu-toggle-control-keys):
18677 * emulation/tpu-extras.el (tpu-set-scroll-margins):
18678 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
18679 (viper-set-parsing-style-toggling-macro)
18680 (viper-set-emacs-state-searchstyle-macros):
18681 * emulation/viper.el (viper-set-hooks):
18682 * eshell/esh-mode.el (eshell-truncate-buffer):
18683 * international/mule-cmds.el (prefer-coding-system)
18684 (describe-input-method, describe-language-environment):
18685 * international/mule-diag.el (list-character-sets)
18686 (describe-character-set, describe-coding-system)
18687 (describe-fontset, list-fontsets, list-input-methods):
18688 * mail/sendmail.el (mail-signature):
18689 * net/ange-ftp.el (ange-ftp-copy-file):
18690 * net/browse-url.el (browse-url):
18691 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
18692 * net/quickurl.el (quickurl-add-url):
18693 * net/rcirc.el (names, topic):
18694 * net/xesam.el (xesam-mode):
18695 * play/5x5.el (5x5-new-game):
18696 * play/yow.el (apropos-zippy):
18697 * progmodes/ada-mode.el (ada-mode-version):
18698 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
18699 (f90-end-of-block)
18700 (f90-beginning-of-block):
18701 * progmodes/fortran.el (fortran-end-of-block)
18702 (fortran-beginning-of-block):
18703 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
18704 * progmodes/python.el (python-describe-symbol, python-shell):
18705 * term/ns-win.el (ns-print-buffer):
18706 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
18707 * textmodes/flyspell.el (flyspell-mode-on):
18708 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
18709 (pages-directory-for-addresses):
18710 * textmodes/table.el (table-recognize-cell)
18711 (table-query-dimension, table-generate-source)
18712 (table-insert-sequence, table--warn-incompatibility):
18713 * textmodes/tex-mode.el (tex-validate-buffer):
18714 * textmodes/texinfmt.el (texinfmt-version)
18715 (texinfo-format-buffer):
18716 Use `called-interactively-p' instead of `interactive-p'.
18717
18718 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
18719
18720 * image-mode.el (image-toggle-display):
18721 * emacs-lisp/elp.el (elp-instrument-function):
18722 * emacs-lisp/advice.el (ad-make-advised-definition):
18723 * emacs-lisp/easy-mmode.el (define-minor-mode):
18724 * net/browse-url.el (browse-url-maybe-new-window):
18725 * progmodes/sh-script.el (sh-learn-buffer-indent):
18726 Pass new argument 'any to `called-interactively-p'.
18727
18728 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
18729
18730 * international/uni-bidi.el:
18731 * international/uni-category.el:
18732 * international/uni-combining.el:
18733 * international/uni-comment.el:
18734 * international/uni-decimal.el:
18735 * international/uni-decomposition.el:
18736 * international/uni-digit.el:
18737 * international/uni-lowercase.el:
18738 * international/uni-mirrored.el:
18739 * international/uni-name.el:
18740 * international/uni-numeric.el:
18741 * international/uni-old-name.el:
18742 * international/uni-titlecase.el:
18743 * international/uni-uppercase.el:
18744 Regenerate from Unicode 5.2.0 data.
18745
18746 2009-10-01 Glenn Morris <rgm@gnu.org>
18747
18748 * Makefile.in (ELCFILES): Regenerate.
18749
18750 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18751
18752 * subr.el (interactive-p): Mark obsolete.
18753 (called-interactively-p): Make the optional-ness of `kind' obsolete.
18754 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
18755 advertised-signature-table for subroutines as well.
18756
18757 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
18758 (set-advertised-calling-convention): New function.
18759 (make-obsolete, define-obsolete-function-alias)
18760 (make-obsolete-variable, define-obsolete-variable-alias):
18761 Make the optional-ness of `when' obsolete.
18762 (define-obsolete-face-alias): Make `when' non-optional.
18763 * help-fns.el (help-function-arglist):
18764 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
18765 Use advertised-signature-table.
18766
18767 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
18768
18769 * files.el (delete-directory): New defun. The original function
18770 in fileio.c has been renamed to `delete-directory-internal'.
18771
18772 * dired.el (dired-delete-file): Call `delete-directory' with
18773 RECURSIVE parameter.
18774
18775 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
18776 parameter RECURSIVE. Implementation is missing.
18777
18778 * net/tramp.el (tramp-handle-make-directory): Flush upper
18779 directory's file properties.
18780 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
18781 (tramp-handle-dired-recursive-delete-directory): Flush directory
18782 properties after the remove command only.
18783
18784 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
18785 Handle optional parameter RECURSIVE.
18786
18787 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
18788 Handle optional parameter RECURSIVE.
18789
18790 * net/tramp-smb.el (tramp-smb-errors): Add error message for
18791 connection timeout.
18792 (tramp-smb-handle-delete-directory): Handle optional parameter
18793 RECURSIVE.
18794
18795 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
18798 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
18799 (byte-compile-defmacro): Use backquotes.
18800
18801 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
18802
18803 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
18804 has no associated file.
18805 (vc-resynch-buffer): Use vc-dir-buffers.
18806
18807 2009-10-01 Glenn Morris <rgm@gnu.org>
18808
18809 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
18810 (chart-file-count):
18811 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
18812 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
18813 * emacs-lisp/eieio-opt.el (eieio-describe-class):
18814 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
18815 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
18816 (eieio-copy-parents-into-subclass, make-instance, class-children)
18817 (eieio-generic-form):
18818
18819 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
18820 match-data. (Bug#4555).
18821
18822 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
18823 rather than parsing it as a regexp. This relaxes the layout
18824 requirements and makes errors easier to detect.
18825 (check-declare-verify): Check file is regular.
18826 (check-declare-directory): Doc fix.
18827 * subr.el (declare-function): Doc fix.
18828
18829 * ibuffer.el (ibuffer-format-qualifier):
18830 * isearch.el (hi-lock-regexp-okay):
18831 * calc/calc.el (math-zerop):
18832 * mail/uce.el (rmail-msgbeg, rmail-msgend):
18833 * term/w32-win.el (setup-default-fontset, set-fontset-font):
18834 Remove unused declarations.
18835
18836 2009-09-30 Eric Ludlam <zappo@gnu.org>
18837
18838 * emacs-lisp/eieio.el (boolean-p): Delete.
18839
18840 2009-09-30 Glenn Morris <rgm@gnu.org>
18841
18842 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
18843
18844 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
18845 filename is not a string.
18846
18847 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
18848
18849 * files.el (safe-local-eval-forms): Fix typo.
18850
18851 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
18852
18853 * vc-hooks.el (vc-dir-buffers): New var.
18854 (vc-state-refresh): New function.
18855 (vc-state): Use it.
18856 (vc-after-save): Always ask the backend to recompute the new state.
18857 Always call vc-dir if necessary, using vc-dir-buffers.
18858 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
18859 Use vc-dir-buffers.
18860 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
18861 (vc-dir-prepare-status-buffer, vc-dir-update)
18862 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
18863 Don't call expand-file-name on default-directory.
18864
18865 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18866
18867 * speedbar.el (speedbar-item-delete):
18868 * calc/calc-prog.el (calc-kbd-if):
18869 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
18870
18871 * epa.el (epa-key-list-mode-map):
18872 * hi-lock.el (hi-lock-menu): Fix typos in menus.
18873
18874 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
18875 (hs-show-hook): Fix typo in docstring.
18876
18877 2009-09-29 Glenn Morris <rgm@gnu.org>
18878
18879 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
18880 file-name-nondirectory call preventing location of cedet files.
18881 (check-declare-verify): Use literal search rather than re-search.
18882 Add basic defmethod and defclass, and define-overloadable-function.
18883
18884 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18885 Use tramp-compat-file-attributes rather than nonexistent
18886 tramp-compat-handle-file-attributes.
18887
18888 * Makefile.in (lisptagsfiles4): New.
18889 (AUTOGENEL): Add cedet loaddefs files.
18890 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
18891 (update-elclist, compile-always, backup-compiled-files)
18892 (bootstrap-clean): Add yet another directory level.
18893 (update-elclist): Use LC_COLLATE rather than COLLATE.
18894 (ELCFILES): Update, via `make update-elclist'.
18895
18896 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
18897
18898 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
18899 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
18900 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
18901
18902 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
18903
18904 * Makefile.in (lisptagsfiles3): Define.
18905 (TAGS, TAGS-LISP): Use it.
18906 (update-elclist): Add third directory level to look for elc files.
18907 (compile-always): Likewise.
18908 (backup-compiled-files): Likewise.
18909 (bootstrap-clean): Likewise.
18910 (ELCFILES): Update.
18911
18912 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
18913
18914 * Makefile.in (ELCFILES): Add CEDET files.
18915
18916 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
18917
18918 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
18919
18920 * net/tramp.el (top): Require tramp-imap.
18921
18922 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
18923 Use `tramp-compat-handle-file-attributes'.
18924
18925 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
18926
18927 * net/tramp-imap.el: New package.
18928
18929 2009-09-28 Eric Ludlam <zappo@gnu.org>
18930
18931 * emacs-lisp/chart.el:
18932 * emacs-lisp/eieio-base.el:
18933 * emacs-lisp/eieio-comp.el:
18934 * emacs-lisp/eieio-custom.el:
18935 * emacs-lisp/eieio-datadebug.el:
18936 * emacs-lisp/eieio-opt.el:
18937 * emacs-lisp/eieio-speedbar.el:
18938 * emacs-lisp/eieio.el: New files.
18939
18940 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18941
18942 * whitespace.el (whitespace-trailing-regexp)
18943 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
18944 Fix doc string.
18945
18946 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
18947
18948 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
18949 menu.
18950
18951 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
18952 menu-bar-ediff-menu.
18953
18954 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
18955 define-overloadable-function.
18956
18957 * progmodes/autoconf.el: Provide autoconf as well, so that this
18958 file can be `require'd.
18959
18960 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
18961
18962 * emacs-lisp/autoload.el (generated-autoload-feature)
18963 (generated-autoload-load-name): New vars.
18964 (autoload-rubric, autoload-generate-file-autoloads): Use them.
18965 (make-autoload): Recognize define-overloadable-function and
18966 defclass forms (for EIEIO).
18967
18968 * Makefile.in (update-subdirs): Exclude cedet directory.
18969
18970 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
18971
18972 * term/ns-win.el: Don't set the region face background. (Bug#4381)
18973
18974 * faces.el: Default light-background background for region face to
18975 ns_selection_color under NS.
18976
18977 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
18978
18979 * net/imap-hash.el: New library, see NEWS.
18980
18981 * Makefile.in (ELCFILES): Add imap-hash.el.
18982
18983 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
18986 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
18987 * help-macro.el (make-help-screen): Avoid using an ambiguous function
18988 definition where the docstring could be taken for the return value.
18989
18990 2009-09-26 Glenn Morris <rgm@gnu.org>
18991
18992 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
18993 Add option to only show images below a certain size.
18994 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
18995 save-excursion calls.
18996
18997 2009-09-26 Eli Zaretskii <eliz@gnu.org>
18998
18999 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
19000 subdirectories) and eieio.
19001
19002 2009-09-26 Alan Mackenzie <acm@muc.de>
19003
19004 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19005 Correct buggy bracketing. (Bug#4289)
19006
19007 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
19008 character constants (as case labels). (Bug#4289)
19009
19010 2009-09-25 Juri Linkov <juri@jurta.org>
19011
19012 * files.el (safe-local-eval-forms): Allow time-stamp in
19013 before-save-hook (Bug#4554).
19014
19015 2009-09-25 Drew Adams <drew.adams@oracle.com>
19016
19017 * menu-bar.el (list-buffers-directory): Doc fix.
19018
19019 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
19020
19021 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
19022 Try and avoid copying twice the same paragraph.
19023 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
19024 Remove save-excursion.
19025 (log-edit-changelog-entry): Do it here instead.
19026
19027 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
19028
19029 * bs.el (bs--get-file-name): Use `list-buffers-directory'
19030 when available, instead of hardcoding mode names. Doc fix.
19031
19032 * menu-bar.el (list-buffers-directory): Add docstring.
19033 Make automatically buffer-local.
19034
19035 * dired.el (dired-mode):
19036 * files.el (cd-absolute):
19037 * pcvs.el (cvs-temp-buffer):
19038 * pcvs-util.el (cvs-get-buffer-create):
19039 * shell.el (shell-mode):
19040 * vc-dir.el (vc-dir-mode):
19041 Don't make `list-buffers-directory' buffer local.
19042
19043 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
19044
19045 * comint.el (comint-exec, comint-run, make-comint):
19046 Doc fixes (Bug#4542).
19047
19048 2009-09-25 Glenn Morris <rgm@gnu.org>
19049
19050 * mail/rmailmm.el (rmail-mime): New custom group.
19051 Move all defcustoms in this file into this group.
19052 (rmail-mime-media-type-handlers-alist): Revert previous change.
19053 (rmail-mime-show-images): New option.
19054 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
19055 references to it, since it wasn't actually used for anything.
19056 (rmail-mime-insert-image): New function.
19057 (rmail-mime-image): Use rmail-mime-insert-image.
19058 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
19059 obey the value of `rmail-mime-show-images' option. Print the size of
19060 attachments.
19061
19062 2009-09-25 David Engster <deng@randomsample.de>
19063
19064 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
19065
19066 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19067
19068 * whitespace.el: Does not highlight trailing spaces While point is
19069 at end of line. Does not highligt spaces at beginning of buffer
19070 while point is at beginning of buffer. Does not highlight spaces
19071 at end of buffer while point is at end of buffer. (Bug#4177)
19072 New version 12.0.
19073 (whitespace-display-mappings): Adjust initialization.
19074 (whitespace-point, whitespace-font-lock-refontify): New vars.
19075 (whitespace-color-on, whitespace-color-off): Adjust code.
19076 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
19077 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
19078 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
19079
19080 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
19081
19082 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
19083
19084 * textmodes/sgml-mode.el: Remove xml-mode alias.
19085
19086 * files.el (auto-mode-alist, conf-mode-maybe)
19087 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
19088
19089 2009-09-24 Alan Mackenzie <acm@muc.de>
19090
19091 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
19092 c-forward-conditionals, but it doesn't move point and doesn't set
19093 the mark.
19094 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
19095 (c-down-conditional-with-else, c-backward-conditional)
19096 (c-forward-conditional): Refactor to use c-scan-conditionals.
19097
19098 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19099
19100 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
19101 (help-default-arg-highlight): Remove.
19102 (help-highlight-arg): New function.
19103 (help-do-arg-highlight): Use it.
19104 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
19105
19106 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19107
19108 * term.el (term-set-scroll-region, term-handle-ansi-escape):
19109 Undo last change, which didn't fix the problem and introduced others.
19110
19111 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
19112
19113 * progmodes/gdb-mi.el: Don't require speedbar.
19114 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
19115
19116 2009-09-24 Glenn Morris <rgm@gnu.org>
19117
19118 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
19119
19120 * term/ns-win.el (ns-reg-to-script): Define for compiler.
19121
19122 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
19123 there is no newline after the final mime boundary. (Bug#4539)
19124 Move markers on insertion so that any buttons inserted don't end up in
19125 the next part of a multipart message.
19126 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
19127 (rmail-mime-bulk-handler): Optionally handle images.
19128 (rmail-mime-image): New button action.
19129 (rmail-mime-image-handler): New function.
19130 (rmail-mime-mode): New mode.
19131 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
19132
19133 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
19134
19135 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
19136 than just dropping elements from it (bug#4504).
19137
19138 * term.el (term-set-scroll-region): Don't move cursor any more.
19139 (term-handle-ansi-escape): Call term-goto here instead.
19140 Suggested by Ivan Kanis <apple@kanis.eu>.
19141
19142 * term.el: Require CL.
19143 (term-ansi-reset): New function.
19144 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
19145 (term-handle-colors-array): Simplify.
19146
19147 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
19148
19149 * allout.el (allout-overlay-interior-modification-handler)
19150 (allout-obtain-passphrase):
19151 * epa-file.el (epa-file-write-region):
19152 * ps-print.el (ps-begin-job):
19153 * vc-hooks.el (vc-toggle-read-only):
19154 * vc-rcs.el (vc-rcs-rollback):
19155 * vc-sccs.el (vc-sccs-rollback):
19156 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
19157 (vc-version-diff, vc-revert, vc-rollback):
19158 * wdired.el (wdired-check-kill-buffer):
19159 * emacs-lisp/authors.el (authors):
19160 * net/socks.el (socks-open-connection):
19161 * net/zeroconf.el (zeroconf-service-add-hook):
19162 * obsolete/vc-mcvs.el (vc-mcvs-register):
19163 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
19164 (gdb-select-frame):
19165 * progmodes/grep.el (lgrep, rgrep):
19166 * progmodes/idlw-help.el (idlwave-help-check-locations)
19167 (idlwave-help-html-link, idlwave-help-assistant-open-link):
19168 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
19169 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
19170 (reftex-toc-rename-label): Fix typos in error messages.
19171
19172 * dired-aux.el (dired-do-shell-command): Reflow docstring.
19173 (dired-copy-how-to-fn): Doc fix.
19174 (dired-files-attributes, dired-read-shell-command):
19175 Fix typos in docstrings.
19176
19177 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
19178 (dired-x-find-file-other-window): Reflow docstrings.
19179 (dired-omit-marker-char, dired-read-shell-command)
19180 (dired-x-submit-report): Fix typos in docstrings.
19181
19182 * shell.el (shell-mode-hook):
19183 * view.el (View-scroll-line-forward):
19184 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
19185 Fix typos in docstrings.
19186
19187 * net/dig.el (dig-invoke): Fix typo in docstring.
19188 (query-dig): Reflow docstring.
19189
19190 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
19191 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
19192 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
19193 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
19194 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
19195 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
19196 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
19197 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
19198 (idlwave-completion-map, idlwave-current-indent)
19199 (idlwave-custom-ampersand-surround, idlwave-customize)
19200 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
19201 (idlwave-define-abbrev, idlwave-determine-class-special)
19202 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
19203 (idlwave-end-block-reg, idlwave-end-of-statement)
19204 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
19205 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
19206 (idlwave-explicit-class-listed, idlwave-file-header)
19207 (idlwave-fill-paragraph, idlwave-find-class-definition)
19208 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
19209 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
19210 (idlwave-in-quote, idlwave-indent-action-table)
19211 (idlwave-indent-expand-table, idlwave-indent-line)
19212 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
19213 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
19214 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
19215 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
19216 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
19217 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
19218 (idlwave-outlawed-buffers, idlwave-popup-select)
19219 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
19220 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
19221 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
19222 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
19223 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
19224 (idlwave-statement-type, idlwave-struct-skip)
19225 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
19226 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
19227 (idlwave-what-module-find-class): Fix typos in docstrings.
19228 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
19229 (idlwave-calculate-cont-indent, idlwave-expand-equal)
19230 (idlwave-find-module, idlwave-find-structure-definition)
19231 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
19232 (idlwave-list-load-path-shadows, idlwave-next-statement)
19233 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
19234 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
19235 (idlwave-template): Reflow docstrings.
19236
19237 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
19238 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
19239 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
19240 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
19241 (idlwave-shell-display-line, idlwave-shell-display-wframe)
19242 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
19243 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
19244 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
19245 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
19246 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
19247 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
19248 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
19249 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
19250 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
19251 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
19252 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
19253 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
19254 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
19255 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
19256 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
19257 Fix typos in docstrings.
19258 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
19259 (idlwave-shell-hide-output, idlwave-shell-mode)
19260 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
19261 Reflow docstrings.
19262
19263 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
19264
19265 2009-09-24 Ivan Kanis <apple@kanis.eu>
19266
19267 * term.el (term-bold-attribute): New var.
19268 (term-handle-colors-array): Use it.
19269
19270 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
19271
19272 * progmodes/gdb-mi.el (gdb-version): New variable.
19273 (gdb-non-stop-handler): Set gdb-version.
19274 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
19275 Condition "--thread" option on gdb-version.
19276 (gdb-invalidate-threads): Remove unused argument.
19277
19278 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19279
19280 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
19281 to looking-back to avoid ridiculous slow down in large files (bug#4511).
19282
19283 2009-09-23 Glenn Morris <rgm@gnu.org>
19284
19285 * mail/rmail.el (rmail-reply): Don't try to add a References header when
19286 replying to mail without References or Message-Id. (Bug#4525)
19287
19288 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
19289
19290 * term/ns-win.el (ns-reg-to-script): New variable.
19291
19292 2009-09-23 Daiki Ueno <ueno@unixuser.org>
19293
19294 * epg.el (epg-wait-for-status): Preserve existing 'error results.
19295
19296 2009-09-22 Sam Steingold <sds@gnu.org>
19297
19298 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
19299 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
19300 to 1 because hg returns status 1 when nothing is found.
19301 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
19302
19303 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
19304
19305 * textmodes/fill.el: Convert to utf-8 encoding.
19306 (fill-french-nobreak-p): Remove redundant » and « inherited from our
19307 pre-Unicode days.
19308
19309 * add-log.el (change-log-fill-forward-paragraph): New function.
19310 (change-log-mode): Use it so fill-region DTRT.
19311 Set fill-indent-according-to-mode here rather than in
19312 change-log-fill-paragraph.
19313 (change-log-fill-paragraph): Remove.
19314
19315 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
19316
19317 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
19318 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
19319
19320 2009-09-22 Glenn Morris <rgm@gnu.org>
19321
19322 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
19323 the scroll-bar scroll the calendar window rather than the buffer.
19324
19325 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
19326 commands that move point (as opposed to scrolling).
19327
19328 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
19329
19330 * emacs-lisp/elint.el (elint): New custom group.
19331 (elint-log-buffer): Make it a defcustom.
19332 (elint-scan-preloaded, elint-ignored-warnings)
19333 (elint-directory-skip-re): New options.
19334 (elint-builtin-variables): Doc fix.
19335 (elint-preloaded-env): New variable.
19336 (elint-unknown-builtin-args): Add an entry for encode-time.
19337 (elint-extra-errors): Make it a variable rather than a constant.
19338 (elint-preloaded-skip-re): New constant.
19339 (elint-directory): Skip files matching elint-directory-skip-re.
19340 (elint-features): New variable, local to linted buffers.
19341 (elint-update-env): Initialize elint-features. Possibly add
19342 elint-preloaded-env to the buffer's environment.
19343 (elint-get-top-forms): Bind elint-current-pos, for log messages.
19344 Skip quoted forms.
19345 (elint-init-form): New function, extracted from elint-init-env.
19346 Make non-list forms a warning rather than an error.
19347 Add the mode-map for define-derived-mode. Handle define-minor-mode,
19348 easy-menu-define, put that adds an error-condition, and provide.
19349 When requiring cl, also require cl-macs. Really require cl, to handle
19350 some cl macros. Store required libraries in the list elint-features,
19351 so as not to re-load them. Treat cc-require like require.
19352 (elint-init-env): Call elint-init-form to do the work.
19353 Handle eval-and-compile and such like.
19354 (elint-add-required-env): Do not clear messages.
19355 (elint-special-forms): Add handlers for function, defalias, if, when,
19356 unless, and, or.
19357 (elint-form): Add optional argument to ignore elint-special-forms,
19358 useful to prevent recursive calls from handlers. Doc fix.
19359 Respect elint-ignored-warnings.
19360 (elint-form): Respect elint-ignored-warnings.
19361 (elint-bound-variable, elint-bound-function): New variables.
19362 (elint-unbound-variable): Respect elint-bound-variable.
19363 (elint-get-args): Respect elint-bound-function.
19364 (elint-check-cond-form): Add some simple handling for (f)boundp and
19365 featurep tests.
19366 (elint-check-defalias-form): New handler.
19367 (elint-check-let-form): Make an empty let a warning rather than an
19368 error.
19369 (elint-check-setq-form): Make an empty setq a warning rather than an
19370 error. Respect elint-ignored-warnings.
19371 (elint-check-defvar-form): Accept null doc-strings.
19372 (elint-check-conditional-form): New handler. Does some simple-minded
19373 checking of featurep and (f)boundp tests.
19374 (elint-put-function-args): New function.
19375 (elint-initialize): Use elint-scan-doc-file rather than
19376 elint-find-builtin-variables. Use elint-put-function-args.
19377 Possibly scan preloaded-file-list.
19378 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
19379 extend to handle functions as well.
19380
19381 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
19382
19383 * linum.el (linum-delete-overlays, linum-update-window):
19384 Do not modify the right margin. (Bug#3971)
19385
19386 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
19387
19388 * files.el (conf-mode-maybe, magic-fallback-mode-alist):
19389 Use nxml-mode instead of xml-mode.
19390
19391 2009-09-21 Kevin Ryde <user42@zip.com.au>
19392
19393 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
19394
19395 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * net/dig.el (dig-mode): Use define-derived-mode.
19398
19399 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
19400
19401 * vc-dispatcher.el (vc-do-command): Return the process object in
19402 the asynchronous case. Use when instead of if. Do not run
19403 vc-exec-after to display a message if not enabled. (Bug#4463)
19404
19405 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
19406 properties to the stash strings.
19407 (vc-git-stash-list): Return a list of strings.
19408 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
19409 (vc-git-stash-show-at-point): New functions.
19410 (vc-git-stash-map): New keymap.
19411
19412 * register.el (ctl-x-r-map): Define the keys here instead of
19413 using autoload.
19414
19415 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
19416
19417 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
19418 list, to workaround performance problem (bug#4485).
19419
19420 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
19421
19422 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
19423
19424 2009-09-20 Daiki Ueno <ueno@unixuser.org>
19425
19426 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
19427 Document that this option is not recommended to use.
19428
19429 2009-09-19 Glenn Morris <rgm@gnu.org>
19430
19431 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
19432 variable `var'.
19433
19434 * calc/calc-alg.el (var):
19435 * calc/calcalg2.el (var): Define for compiler.
19436
19437 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
19438
19439 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
19440 Doc fix (Bug#3932).
19441
19442 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
19443
19444 * time-stamp.el (time-stamp-month-dd-yyyy)
19445 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
19446 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
19447 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
19448 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
19449 Remove functions that have been obsolete since 1995 (Bug#4436).
19450
19451 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
19452 indent buffer only if called interactively (Bug#4452).
19453
19454 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
19455 Eli Zaretskii <eliz@gnu.org>
19456
19457 This fixes bug#4197 (merged to bug#865, though not identical).
19458 * server.el (server-auth-dir): Add docstring note about FAT32.
19459 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
19460 but warn against using them.
19461
19462 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
19463
19464 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
19465 older GDB where there is no has_more field.
19466
19467 2009-09-19 Glenn Morris <rgm@gnu.org>
19468
19469 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
19470
19471 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
19472
19473 * files.el (auto-mode-alist): Change default for XML files to nXML
19474 mode (Bug#4169).
19475
19476 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
19477
19478 * server.el (server-ensure-safe-dir): Pass 'integer
19479 to `file-attributes', as suggested.
19480
19481 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
19482
19483 * dired-aux.el (dired-query-alist): Remove spurious backslash.
19484 (dired-query): Use read-key.
19485
19486 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
19487
19488 * cus-start.el (ns-use-qd-smoothing): Remove.
19489
19490 2009-09-18 Glenn Morris <rgm@gnu.org>
19491
19492 * allout.el (top-level): Remove unnecessary progn.
19493
19494 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
19495
19496 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
19497 definition of abbrev table.
19498
19499 * speedbar.el (speedbar-track-mouse):
19500 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
19501 * net/eudc.el (eudc-expand-inline):
19502 * net/newst-backend.el (newsticker--cache-read-feed):
19503 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
19504 condition-case handlers.
19505
19506 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
19507
19508 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
19509 (gdb-var-list): Add an element for has_more field.
19510 (gdb-non-stop-handler): Enable pretty printing for STL containers.
19511 (gdb-var-create-handler, gdb-var-list-children-handler-1)
19512 (gdb-var-update-handler-1): Parse output of dynamic variable
19513 objects (STL containers).
19514 (gdb-var-delete-1): Pass var1 as an explicit second argument.
19515 (gdb-get-field): Delete alias. Use bindat-get-field directly.
19516
19517 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
19518 gdb-var-list.
19519 (gud-speedbar-buttons): Make node expandable if expression "has more"
19520 children.
19521
19522 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
19523
19524 * startup.el (emacs-quick-startup): Remove variable and all uses.
19525 (command-line): Set `inhibit-x-resources' instead.
19526 (command-line-1): Use `inhibit-x-resources' instead.
19527
19528 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
19529
19530 * subr.el: Fix last change to avoid using the `unless' macro,
19531 which breaks bootstrapping.
19532
19533 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19534
19535 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
19536 extended definitions, in case we reload subr.el after having
19537 loaded CL.
19538 (eval-next-after-load): Mark as obsolete.
19539
19540 2009-09-17 Juri Linkov <juri@jurta.org>
19541
19542 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
19543 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
19544 (menu-bar-showhide-menu, menu-bar-tools-menu)
19545 (menu-bar-describe-menu, menu-bar-help-menu)
19546 (minibuffer-local-completion-map, minibuffer-local-map):
19547 Fix list quoting.
19548
19549 2009-09-17 Glenn Morris <rgm@gnu.org>
19550
19551 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
19552 arguments, whether or not it has a handler.
19553
19554 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
19555
19556 * simple.el (hard-newline): Give it a doc-string.
19557
19558 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
19559 (lisp-mode-syntax-table): Give them doc-strings.
19560
19561 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
19562
19563 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
19564 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
19565 (menu-bar-options-menu, menu-bar-showhide-menu)
19566 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
19567 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
19568 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
19569 (menu-bar-options-menu, menu-bar-tools-menu)
19570 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
19571 (menu-bar-help-menu):
19572 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
19573 string arguments.
19574
19575 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
19576 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
19577 calls for the menu names and :help.
19578
19579 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
19580
19581 * mouse.el (minor-mode-menu-from-indicator): Pay attention
19582 to :minor-mode-function (bug#4455).
19583
19584 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19585
19586 * startup.el (command-line): Initialize the window-system after
19587 processing the command-line.
19588
19589 * textmodes/page.el (what-page): Make sure we don't inf-loop if
19590 page-delimiter matches the empty string.
19591
19592 2009-09-16 Glenn Morris <rgm@gnu.org>
19593
19594 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
19595 byte-compile-not-obsolete-var. It's a list now.
19596 (byte-compile-not-obsolete-funcs): New variable.
19597 (byte-compile-warn-obsolete): Don't warn about functions if they are in
19598 byte-compile-not-obsolete-funcs.
19599 (byte-compile-variable-ref, byte-compile-defvar): Update for
19600 byte-compile-not-obsolete-vars name-change and list nature.
19601 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19602 and variables behind (f)boundp tests.
19603 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
19604
19605 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19606
19607 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
19608
19609 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19610
19611 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
19612 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
19613 Don't autoload.
19614
19615 2009-09-15 Stephen Eglen <stephen@gnu.org>
19616
19617 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
19618 the virtual-buffers, use the name of the buffer specified by
19619 find-file-noselect, as the match may be a symlink. (This was a
19620 problem if the target and the symlink had different names.)
19621
19622 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
19625
19626 * desktop.el (desktop-path): Check user-emacs-directory.
19627
19628 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
19629
19630 * loadup.el: Use after-load-functions to GC after loading each file.
19631 Remove the explicit GC calls that used to be sprinkled around.
19632
19633 * subr.el (after-load-functions): New hook.
19634 (do-after-load-evaluation): Run it. Use string-match-p to detect
19635 `obsolete' packages, rather than painfully extracting the relevant
19636 directory name.
19637
19638 2009-09-15 Glenn Morris <rgm@gnu.org>
19639
19640 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
19641 free variable `doc'.
19642
19643 * dired.el (dired-mode-map): Add menu entry for async shell command.
19644
19645 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
19646 variables, also consider the .elc files, since the .el files are
19647 normally gzipped (subsequent code locates the .el.gz from the .elc).
19648
19649 * calc/calc-prog.el (arglist): Define for compiler.
19650
19651 * calendar/diary-lib.el (diary-display-function): Change the default to
19652 fancy display.
19653 (body): Define for compiler.
19654
19655 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
19656 (byte-compile-file-form, byte-compile-lambda)
19657 (byte-compile-top-level-body, byte-compile-form)
19658 (byte-compile-variable-ref, byte-compile-setq)
19659 (byte-compile-setq-default, byte-compile-body)
19660 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
19661 (batch-byte-compile): Give some more local variables with common names
19662 a "bytecomp-" prefix to avoid masking warnings about free variables.
19663
19664 * startup.el (command-line-1): Give local variables with common names a
19665 distinguishing prefix, so as not to hide free variable warnings during
19666 bootstrap.
19667
19668 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
19669 clever and add a suffix to make a unique name, just let the user decide
19670 whether or not to overwrite it. If the input is a directory, write the
19671 default filename to that directory. (Bug#4388)
19672 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
19673 is a filename-as-a-directory.
19674
19675 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
19676
19677 * textmodes/page.el (what-page): Don't move to beginning of line.
19678 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
19679
19680 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
19681
19682 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
19683
19684 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
19685
19686 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
19687 * help.el (help-for-help-internal): Add purecopy calls for text.
19688
19689 * vc.el (top): print-log method now takes an optional SHORTLOG
19690 argument. Add a new method: root.
19691 (vc-root-diff, vc-print-root-log): New functions.
19692 (vc-log-short-style): New variable.
19693 (vc-print-log-internal): Add support for showing short logs.
19694
19695 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
19696 vc-print-root-log and vc-print-root-diff.
19697
19698 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
19699 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
19700 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
19701 short logs.
19702
19703 * vc-cvs.el (vc-cvs-print-log):
19704 * vc-mtn.el (vc-mtn-print-log):
19705 * vc-rcs.el (vc-rcs-print-log):
19706 * vc-sccs.el (vc-sccs-print-log):
19707 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
19708 that is ignored for now.
19709
19710 * vc-mtn.el (vc-mtn-annotate-command):
19711 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
19712
19713 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19714
19715 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
19716 to function-key-map, and give them ascii-character property.
19717 * term/x-win.el (x-alternatives-map):
19718 * term/ns-win.el (ns-alternatives-map):
19719 * term/internal.el (msdos-key-remapping-map):
19720 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
19721
19722 2009-09-14 Glenn Morris <rgm@gnu.org>
19723
19724 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
19725 temp-buffers (2009-09-12).
19726
19727 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19728
19729 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
19730 the new read-key function.
19731
19732 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19733
19734 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
19735 is defined (Bug#4405).
19736
19737 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
19738
19739 * recentf.el (recentf-cleanup): Use a hash table to find
19740 duplicates (Bug#4407).
19741
19742 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
19743
19744 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
19745 kp-0 to ascii equivalents (Bug#4325).
19746
19747 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
19748
19749 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
19750
19751 * eshell/em-hist.el:
19752 * eshell/em-dirs.el (eshell-complete-user-reference):
19753 Declare pcomplete functions and variables to avoid compiler warnings.
19754
19755 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
19756
19757 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
19758 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
19759 * eshell/em-alias.el (eshell-aliases-file):
19760 * eshell/em-hist.el (eshell-history-file-name):
19761 Use expand-file-name instead of concat to make file names (Bug#4308).
19762
19763 2009-09-13 Glenn Morris <rgm@gnu.org>
19764
19765 * ediff-merg.el (ediff-do-merge):
19766 * filesets.el (filesets-run-cmd):
19767 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
19768 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
19769 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
19770 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
19771 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
19772 Replace empty `let's with `progn'.
19773
19774 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
19775
19776 * mail/sendmail.el (send-mail-function):
19777 * tooltip.el (tooltip-mode):
19778 * simple.el (transient-mark-mode):
19779 * rfn-eshadow.el (file-name-shadow-mode):
19780 * frame.el (blink-cursor-mode):
19781 * font-core.el (global-font-lock-mode):
19782 * files.el (temporary-file-directory)
19783 (small-temporary-file-directory, auto-save-file-name-transforms):
19784 * epa-hook.el (auto-encryption-mode):
19785 * composite.el (global-auto-composition-mode):
19786 Use custom-initialize-delay.
19787 * startup.el (command-line): Don't explicitly call
19788 custom-reevaluate-setting for all the above vars.
19789 * custom.el (custom-initialize-safe-set)
19790 (custom-initialize-safe-default): Delete.
19791
19792 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19793
19794 * term/x-win.el (x-initialize-window-system):
19795 * term/w32-win.el (w32-initialize-window-system):
19796 * term/ns-win.el (ns-initialize-window-system): Don't call
19797 mouse-wheel-mode since it's enabled globally by default already.
19798
19799 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
19800 actually define the variable, but only silences the byte-compiler.
19801 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
19802 before looking it up.
19803 (mouse-wheel-scroll-amount): Also reset the bindings if this value
19804 is changed.
19805
19806 2009-09-12 Glenn Morris <rgm@gnu.org>
19807
19808 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
19809 1000.
19810 (elint-add-required-env): Don't beep on error.
19811 (elint-forms): In case of error, return ENV unchanged.
19812 (elint-init-env): Skip non-list forms.
19813 (elint-log): Handle unknown file positions.
19814
19815 2009-09-12 Daiki Ueno <ueno@unixuser.org>
19816
19817 * epg.el (epg-make-context): Add autoload cookie.
19818 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
19819 (epg-decrypt-string, epg-start-verify, epg-verify-file)
19820 (epg-verify-string, epg-start-sign, epg-sign-file)
19821 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
19822 (epg-encrypt-string, epg-start-export-keys)
19823 (epg-export-keys-to-file, epg-export-keys-to-string)
19824 (epg-start-import-keys, epg-import-keys-from-file)
19825 (epg-import-keys-from-string, epg-start-receive-keys)
19826 (epg-receive-keys, epg-import-keys-from-server)
19827 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
19828 (epg-sign-keys, epg-start-generate-key)
19829 (epg-generate-key-from-file, epg-generate-key-from-string):
19830 Remove autoload cookie.
19831
19832 2009-09-12 Eli Zaretskii <eliz@gnu.org>
19833
19834 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
19835 reevaluation of trash-directory.
19836
19837 * mwheel.el: Fix last change.
19838 (mouse-wheel-mode): New defvar.
19839 (mouse-wheel-mode): Remove autoload cookie.
19840
19841 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19842
19843 * mwheel.el (mwheel-installed-bindings): New var.
19844 (mouse-wheel-mode): Use it, so as to make sure we really remove all
19845 the bindings we set last time. Use custom-initialize-delay.
19846 * loadup.el: Load mwheel after term/*-win.el.
19847 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
19848 and mouse-wheel-up-event now that their first evaluation is done
19849 sufficiently late to be correct.
19850
19851 * startup.el (tutorial-directory): Make it a defcustom.
19852 Use custom-initialize-delay rather than eval-at-startup to set it.
19853 * image.el (image-load-path): Make it a defcustom.
19854 Use custom-initialize-delay rather than eval-at-startup to set it.
19855 * subr.el (eval-at-startup): Remove.
19856 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
19857
19858 * subr.el (do-after-load-evaluation): Warn the user after loading an
19859 obsolete package.
19860
19861 2009-09-12 Glenn Morris <rgm@gnu.org>
19862
19863 * proced.el (proced-mark-alt): Remove alias.
19864 (proced-mode-map): Remove proced-mark-alt.
19865
19866 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
19867 Elint file and directory. Remove initialization entry.
19868
19869 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
19870 commands.
19871 (elint-current-buffer): Set mode-line-process.
19872 (elint-init-env): Handle define-derived-mode.
19873 Fix declare-function with unspecified arglist. Guard against odd
19874 defalias statements (eg iso-insert's 8859-1-map).
19875 (elint-add-required-env): Use a temp buffer.
19876 (elint-form): Just print the function/macro name, not the whole form.
19877 Return env unchanged if we fail to parse a macro.
19878 (elint-forms): Guard against parse errors.
19879 (elint-output): New function, to handle batch mode.
19880 (elint-log-message): Add optional argument. Use elint-output.
19881 (elint-set-mode-line): New function.
19882
19883 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
19884
19885 * emacs-lisp/elp.el (elp-not-profilable): Add more
19886 functions (Bug#4233).
19887
19888 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
19889
19890 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
19891 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
19892
19893 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19894
19895 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
19896 (gdb-var-list-children): Use json parsing.
19897
19898 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
19899
19900 * progmodes/js.el (js--proper-indentation): Handle the case where
19901 char-before is null. Reported by Deniz Dogan.
19902
19903 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19904
19905 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
19906
19907 2009-09-11 Daiki Ueno <ueno@unixuser.org>
19908
19909 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
19910 (epg-digest-algorithm-alist): Add SHA224.
19911 (epg-context-set-passphrase-callback)
19912 (epg-context-set-progress-callback): Add description about
19913 callback function.
19914
19915 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * custom.el (custom-delayed-init-variables): New var.
19918 (custom-initialize-delay): New function.
19919 * startup.el (command-line): "Re"evaluate all vars in
19920 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
19921 explicitly any more.
19922 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
19923 to avoid creating a ~/.emacs.d at build-time (bug#4347).
19924
19925 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
19926
19927 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
19928
19929 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
19930 (gdb-var-update-handler): Use json parsing.
19931
19932 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
19933
19934 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
19935 decode annotated text, regardless of language environment. (Bug#2741)
19936
19937 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19938
19939 * Makefile.in (autoloads): Make rmail.el writable as well.
19940
19941 2009-09-11 Glenn Morris <rgm@gnu.org>
19942
19943 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
19944 loaddefs.el.
19945 * dired.el: Regenerate with extracted autoloads.
19946 * Makefile.in (autoloads): Make dired.el writable.
19947
19948 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
19949 * ibuffer.el: Regenerate with extracted autoloads.
19950 * Makefile.in (autoloads): Make ibuffer.el writable.
19951
19952 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
19953 * version.el (emacs-copyright, emacs-major-version)
19954 (emacs-minor-version): Reformat doc-strings for make-docfile.
19955
19956 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
19957 functions and variables, since they must be stuff specific to some other
19958 platform.
19959 (apropos-print): Make mouse-click message less specific about button.
19960
19961 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
19962 that records where a macro was defined.
19963 * help-fns.el (describe-function-1): Mention if a function has a
19964 compiler-macro.
19965 * help-mode.el (help-function-cmacro): New button.
19966
19967 * locate.el (top-level): Always require dired.
19968 (locate-mode-map): Initialize inside the defvar.
19969
19970 * net/ange-ftp.el (dired-compress-file): Declare.
19971 (ange-ftp-dired-compress-file): Add doc string.
19972
19973 * term/ns-win.el (x-display-name, x-setup-function-keys):
19974 Unify doc-strings with X versions.
19975
19976 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
19977
19978 * emulation/crisp.el (crisp-mode-map): Move initialization
19979 into declaration.
19980 (crisp-mode): Use define-minor-mode.
19981
19982 * progmodes/xscheme.el (xscheme-evaluation-commands):
19983 Put a :advertised-binding property rather than using
19984 advertised-xscheme-send-previous-expression.
19985 (advertised-xscheme-send-previous-expression): Declare obsolete.
19986 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
19987 `advertised-undo'.
19988 (crisp-mode): Add corresponding bindings to
19989 undo's :advertised-binding instead.
19990 * dired.el (dired-mode-map): Put a :advertised-binding property rather
19991 than using dired-advertised-find-file.
19992 (dired-advertised-find-file):
19993 * simple.el (advertised-undo):
19994 * wid-edit.el (advertised-widget-backward): Declare obsolete.
19995 (widget-keymap): Put a :advertised-binding property rather
19996 than using advertised-widget-backward.
19997 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
19998 than using advertised-undo.
19999 * tutorial.el (tutorial--default-keys): Adjust accordingly.
20000
20001 2009-09-10 Simon South <ssouth@slowcomputing.org>
20002
20003 * progmodes/delphi.el (delphi-tab): Indent region when Transient
20004 Mark mode is enabled and region is active; otherwise indent or
20005 insert TAB as usual.
20006 (delphi-mode): Update description of TAB-key binding.
20007
20008 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
20009
20010 * subr.el (define-key-rebound-commands): Mark obsolete.
20011 * startup.el (precompute-menubar-bindings): Remove.
20012 (normal-top-level): Remove obsolete code that tried to precompute
20013 menubar bindings.
20014 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
20015 define-key-rebound-commands and precompute-menubar-bindings.
20016
20017 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
20018
20019 * net/imap.el (imap-interactive-login): Better messages.
20020 (imap-open): Fix bug with renamed buffer on reconnect.
20021 (imap-authenticate): Add buffer-local imap-last-authenticator variable
20022 for easier debugging and cleaner code. On successful (guessed based on
20023 server capabilities) secondary authentication, set imap-state
20024 correctly.
20025 (imap-last-authenticator): Define imap-last-authenticator as a variable
20026 to avoid warnings.
20027
20028 2009-09-10 Glenn Morris <rgm@gnu.org>
20029
20030 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
20031
20032 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
20033 (byte-compile-file-form-autoload): Don't warn about unknown functions
20034 where the autoload statement comes after the use.
20035 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
20036 that any handlers inside the body (eg require) are in turn respected.
20037
20038 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
20039 effects.
20040
20041 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
20042 and syntax and abbrev tables basic docs, if they don't have any.
20043
20044 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
20045
20046 * international/mule-cmds.el (top-level): Require cl when compiling.
20047 (view-hello-file): Use default-value rather than
20048 default-enable-multibyte-characters.
20049
20050 * progmodes/fortran.el: Move all safe and risky properties into the
20051 defcustoms.
20052
20053 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
20054 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
20055 * mail/undigest.el:
20056 Put autoloads in rmail.el rather than loaddefs.el.
20057 * mail/rmail.el: Regenerate with extracted autoloads.
20058
20059 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
20060 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
20061
20062 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
20063
20064 Reported in thread for Bug#4375.
20065 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
20066 "-data-evaluate-expression" instead of print.
20067 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
20068 (gdb-tooltip-print): Parse output from above MI command.
20069 (gdb): Revert 2009-08-11 change. User should detach inferior
20070 manually.
20071
20072 Remove the word "separate" from IO functions as inferior
20073 output is now never displayed in the GUD buffer.
20074
20075 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
20076
20077 * startup.el (command-line-normalize-file-name): On Windows and
20078 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
20079
20080 2009-09-10 Juri Linkov <juri@jurta.org>
20081
20082 * isearch.el (isearch-text-char-description): Propertize escape
20083 character sequences with the `escape-glyph' face. (Bug#4344)
20084
20085 * simple.el (shell-command): Set asynchronous process filter to
20086 `comint-output-filter'. (Bug#4343)
20087
20088 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
20089 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
20090 the list. Move "asm" to the bottom.
20091 (grep-find-ignored-directories): Add `choice' with nil value
20092 to empty the list easily.
20093 (grep-find-ignored-files): New option.
20094 (grep-files-history): Set to nil by default instead of '("ch" "el").
20095 (grep-compute-defaults): Add "<X>" to `grep-template'.
20096 (grep-read-files): Bind new local variables `default-alias' and
20097 `default-extension'. Use a list of default values for the file prompt.
20098 (lgrep): Add `--exclude=' command line options composed from
20099 `grep-find-ignored-files'.
20100 (rgrep): Add `-name' command line options composed from
20101 `grep-find-ignored-files'. (Bug#4301)
20102
20103 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
20104
20105 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
20106 (bug#4368).
20107
20108 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
20109
20110 * calendar/time-date.el (autoload):
20111 Expand define-obsolete-function-alias into defalias and make-obsolete
20112 for old Emacsen that Gnus supports.
20113 (with-no-warnings): Define it for old Emacsen.
20114 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
20115 is available.
20116 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
20117 float-time is available; suppress compile warning for time-to-seconds.
20118
20119 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
20120
20121 * net/imap.el (imap-message-map): Docstring fix.
20122
20123 2009-09-09 Glenn Morris <rgm@gnu.org>
20124
20125 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
20126 line numbers too. (Bug#4374)
20127
20128 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
20129
20130 * smerge-mode.el (smerge-remove-props, smerge-refine):
20131 Use with-silent-modifications (bug#4342).
20132
20133 * subr.el (with-silent-modifications): New macro.
20134
20135 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
20136
20137 * files.el (top-level): Require `cl' when compiling.
20138
20139 2009-09-07 Glenn Morris <rgm@gnu.org>
20140
20141 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
20142
20143 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
20144 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
20145
20146 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
20147
20148 * vc-git.el (vc-git-annotate-command): Use separator to parse
20149 arguments correctly.
20150
20151 2009-09-06 Eli Zaretskii <eliz@gnu.org>
20152
20153 * proced.el (proced-mode): Doc fix.
20154
20155 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
20156
20157 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
20158 lstat fails.
20159 (tramp-do-file-attributes-with-ls): Check for file existence at
20160 remote end.
20161 (tramp-do-file-attributes-with-stat): Likewise.
20162 (tramp-convert-file-attributes): Return nil when attr is nil.
20163
20164 2009-09-05 Glenn Morris <rgm@gnu.org>
20165
20166 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
20167 properties to this button.
20168 (diary-fancy-display): Don't extend the button to the final newline.
20169 (diary-fancy-display-mode): Continue to define "q" as a local key.
20170
20171 * calendar/cal-china.el (holiday-chinese): Make it slightly more
20172 efficient.
20173
20174 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
20175
20176 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
20177 (byte-compile-dest-file-function): New option.
20178 (byte-compile-dest-file): Doc fix.
20179 Obey byte-compile-dest-file-function.
20180 (byte-compile-cl-file-p): New function.
20181 (byte-compile-eval): Only suppress noruntime warnings about cl functions
20182 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
20183 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
20184 than for file being previously loaded.
20185 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
20186 (byte-compile-file-form-require): Handle the case where requiring a file
20187 indirectly causes CL to be loaded.
20188
20189 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20190
20191 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
20192 before killing the old buffer, since by the time `kill-buffer' is
20193 run so many buffer variables have been set to nil that it may not
20194 behave as expected. (Bug#4061)
20195
20196 2009-09-05 Karl Fogel <kfogel@red-bean.com>
20197
20198 * files.el (find-alternate-file): If the old buffer is modified
20199 and visiting a file, behave similarly to `kill-buffer' when
20200 killing it, thus reverting to the pre-1.878 behavior; see
20201 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
20202 for discussion. Also, consult `buffer-file-name' as a variable
20203 not as a function, for consistency with the rest of the code.
20204
20205 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
20206
20207 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
20208 also when adding a new directory.
20209
20210 * net/tramp-compat.el (tramp-compat-line-beginning-position):
20211 New defun.
20212
20213 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
20214
20215 * files.el (locate-file-completion-table): Make it provide boundary
20216 information, so partial-completion works better.
20217
20218 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
20219
20220 * mail/footnote.el (Footnote-text-under-cursor):
20221 Check footnote-text-marker-alist before using it (bug#4324).
20222
20223 2009-09-04 Glenn Morris <rgm@gnu.org>
20224
20225 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
20226 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
20227 * play/solitaire.el, play/tetris.el:
20228 Remove leading * from defcustom and defface docs.
20229
20230 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
20231 necessary.
20232 (diary-fancy-overriding-map): New variable.
20233 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
20234 Use view-mode.
20235
20236 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
20237 goto-line.
20238
20239 2009-09-03 Glenn Morris <rgm@gnu.org>
20240
20241 * arc-mode.el (archive-mode):
20242 * dos-fns.el (set-default-process-coding-system):
20243 * man.el (Man-getpage-in-background):
20244 * menu-bar.el (menu-bar-describe-menu):
20245 * server.el (server-process-filter):
20246 * startup.el (command-line):
20247 * tar-mode.el (tar-header-block-tokenize, tar-extract):
20248 * w32-fns.el (set-default-process-coding-system):
20249 * x-dnd.el (x-dnd-handle-file-name):
20250 * international/mule-cmds.el (mule-menu-keymap)
20251 (set-default-coding-systems, language-info-alist, set-language-info)
20252 (set-language-environment, standard-display-european-internal)
20253 (set-locale-environment):
20254 * international/mule-diag.el (mule-diag):
20255 * mail/emacsbug.el (report-emacs-bug):
20256 * mail/rmail.el (rmail-mode):
20257 * mail/sendmail.el (mail-setup):
20258 Use default-value rather than default-enable-multibyte-characters.
20259
20260 * progmodes/f90.el: Move all safe properties into the defcustoms.
20261 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
20262
20263 * calendar/appt.el (appt-check):
20264 * calendar/diary-lib.el (diary-set-header, diary-live-p)
20265 (diary-check-diary-file, diary-list-entries)
20266 (diary-include-other-diary-files, diary-simple-display)
20267 (diary-fancy-display, diary-print-entries)
20268 (diary-mark-included-diary-files, diary-make-entry):
20269 Don't call substitute-in-file-name on diary-file.
20270
20271 2009-09-03 Eduard Wiebe <usenet@pusto.de>
20272 Stefan Monnier <monnier@iro.umontreal.ca>
20273
20274 * mail/footnote.el (footnote-prefix): Make it a defcustom.
20275 (footnote-mode-map): Move initialization into the declaration.
20276 (footnote-minor-mode-map): Define it rather than changing global-map.
20277 (footnote-mode): Use define-minor-mode.
20278
20279 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
20280
20281 * net/tramp.el (tramp-handle-file-attributes-with-ls)
20282 (tramp-do-file-attributes-with-perl)
20283 (tramp-do-file-attributes-with-stat): Rename from
20284 `tramp-handle-file-attributes-with-*'.
20285 (tramp-handle-file-attributes): Use them.
20286 (tramp-do-directory-files-and-attributes-with-perl)
20287 (tramp-do-directory-files-and-attributes-with-stat): Rename from
20288 `tramp-handle-directory-files-and-attributes-with-*'.
20289 (tramp-handle-directory-files-and-attributes): Use them.
20290 (tramp-method-out-of-band-p): Additional parameter SIZE.
20291 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
20292 (tramp-handle-write-region): Use it.
20293 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
20294 (tramp-handle-vc-registered): Check, whether the first run did
20295 return files to be tested.
20296 (tramp-advice-make-auto-save-file-name): Do not call directly
20297 `tramp-handle-make-auto-save-file-name', because this would bypass
20298 the locking mechanism.
20299
20300 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
20301 (file-remote-p, process-file, start-file-process, set-file-times)
20302 (tramp-compat-file-attributes): Compatibility functions shall not
20303 call directly `tramp-handle-*', because this would bypass the
20304 locking mechanism.
20305 (tramp-compat-number-sequence): New defun.
20306
20307 2009-09-02 Glenn Morris <rgm@gnu.org>
20308
20309 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
20310 alias for float-time.
20311 (time-to-number-of-days): In Emacs, use float-time.
20312 * net/newst-backend.el (time-add): Suppress warnings from compat
20313 function.
20314 * time.el (emacs-uptime, emacs-init-time):
20315 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
20316 Use float-time rather than time-to-seconds.
20317
20318 * minibuffer.el (completion-initials-expand): Fix typo.
20319
20320 * faces.el (modeline, modeline-inactive, modeline-highlight)
20321 (modeline-buffer-id):
20322 * info.el (info-menu-5): Mark these face aliases as obsolete.
20323
20324 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20325
20326 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
20327 space ...
20328 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
20329 no "--thread" option.
20330 (gdb-stopped): Don't print "Switched to thread" message when it is
20331 unchanged.
20332
20333 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
20334
20335 * minibuffer.el (completion-try-completion)
20336 (completion-all-completions): Remove ill-defined (and
20337 mistakenly installed and luckily never used nor documented)
20338 `completion-styles' property.
20339 (completion-initials-expand, completion-initials-all-completions)
20340 (completion-initials-try-completion): New functions.
20341 (completion-styles-alist): Add doc to each entry.
20342 Add new `initials' entry.
20343
20344 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
20345
20346 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
20347 MI command -var-evaluate-expression.
20348 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
20349 and tweak for case of string child.
20350 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
20351
20352 2009-09-01 Glenn Morris <rgm@gnu.org>
20353
20354 * add-log.el (change-log-date-face, change-log-name-face)
20355 (change-log-email-face, change-log-file-face, change-log-list-face)
20356 (change-log-conditionals-face, change-log-function-face)
20357 (change-log-acknowledgement-face):
20358 * cus-edit.el (custom-invalid-face, custom-rogue-face)
20359 (custom-modified-face, custom-set-face, custom-changed-face)
20360 (custom-saved-face, custom-button-face, custom-button-pressed-face)
20361 (custom-documentation-face, custom-state-face, custom-comment-face)
20362 (custom-comment-tag-face, custom-variable-tag-face)
20363 (custom-variable-button-face, custom-face-tag-face)
20364 (custom-group-tag-face-1, custom-group-tag-face):
20365 * diff-mode.el (diff-header-face, diff-file-header-face)
20366 (diff-index-face, diff-hunk-header-face, diff-removed-face)
20367 (diff-added-face, diff-changed-face, diff-function-face)
20368 (diff-context-face, diff-nonexistent-face):
20369 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
20370 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
20371 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
20372 (Info-title-4-face):
20373 * isearch.el (isearch-lazy-highlight-face):
20374 * log-view.el (log-view-file-face, log-view-message-face):
20375 * paren.el (show-paren-match-face, show-paren-mismatch-face):
20376 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
20377 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
20378 (cvs-msg-face):
20379 * smerge-mode.el (smerge-mine-face, smerge-other-face)
20380 (smerge-base-face, smerge-markers-face):
20381 * wid-edit.el (widget-documentation-face, widget-button-face)
20382 (widget-field-face, widget-single-line-field-face)
20383 (widget-inactive-face, widget-button-pressed-face):
20384 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
20385 (woman-addition-face):
20386 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
20387 (eshell-ls-executable-face, eshell-ls-readonly-face)
20388 (eshell-ls-unreadable-face, eshell-ls-special-face)
20389 (eshell-ls-missing-face, eshell-ls-archive-face)
20390 (eshell-ls-backup-face, eshell-ls-product-face)
20391 (eshell-ls-clutter-face):
20392 * eshell/em-prompt.el (eshell-prompt-face):
20393 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
20394 * obsolete/old-whitespace.el (whitespace-highlight-face):
20395 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
20396 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
20397 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
20398 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
20399 (antlr-font-lock-literal-face):
20400 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
20401 (ebrowse-root-class-face, ebrowse-file-name-face)
20402 (ebrowse-default-face, ebrowse-member-attribute-face)
20403 (ebrowse-member-class-face, ebrowse-progress-face):
20404 * progmodes/make-mode.el (makefile-space-face):
20405 * progmodes/sh-script.el (sh-heredoc-face):
20406 * textmodes/flyspell.el (flyspell-incorrect-face)
20407 (flyspell-duplicate-face):
20408 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
20409 * textmodes/texinfo.el (texinfo-heading-face):
20410 Mark face aliases with "-face" suffix as obsolete.
20411
20412 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
20413 compiler.
20414
20415 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
20416 (eudc-bob-sound-menu): Use defvar rather than defconst, since
20417 easy-menu-define wants to modify these.
20418
20419 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
20420
20421 * net/browse-url.el (browse-url-file-url):
20422 * term/internal.el (dos-codepage-setup):
20423 Use default-value rather than default-enable-multibyte-characters.
20424
20425 * progmodes/etags.el (etags-goto-tag-location):
20426 * progmodes/flymake.el (flymake-highlight-line)
20427 (flymake-goto-file-and-line, flymake-goto-line):
20428 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
20429 (gdb-goto-breakpoint):
20430 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
20431 * progmodes/python.el (python-find-function)
20432 (python-pdbtrack-track-stack-file):
20433 * progmodes/verilog-mode.el (verilog-surelint-off):
20434 * term/ns-win.el (ns-open-file-select-line):
20435 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
20436 Use forward-line rather than goto-line.
20437
20438 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
20439 * textmodes/reftex-index.el (reftex-display-index):
20440 * textmodes/reftex-ref.el (reftex-offer-label-menu):
20441 * textmodes/reftex-toc.el (reftex-toc):
20442 Remove unnecessary bindings of default-major-mode (all are followed by
20443 major-mode check and possible mode switch).
20444
20445 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20446
20447 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
20448 Handle watchpoints (bug#4282).
20449 (def-gdb-thread-buffer-command): Enable thread to be selected by
20450 clicking without selecting threads buffer first.
20451 (gdb-current-context-command): Use selected frame so that "up",
20452 "down" etc work in the GUD buffer.
20453 (gdb-update): Find selected frame before rendering stack buffer.
20454 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
20455
20456 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
20457
20458 * progmodes/sym-comp.el (displayed-completions): Remove.
20459 (symbol-complete): Use minibuffer-complete.
20460
20461 2009-08-31 Glenn Morris <rgm@gnu.org>
20462
20463 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
20464
20465 * apropos.el (apropos-symbols-internal):
20466 Handle (obsolete) face aliases.
20467
20468 * faces.el (describe-face): Adjust the output format to be more like
20469 describe-variable, and to mention (obsolete) face aliases.
20470 Adjust the whitespace so that help-setup-xref works.
20471
20472 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
20473 * calendar/diary-lib.el (diary-button-face):
20474 Mark these face aliases as obsolete.
20475
20476 * calendar/calendar.el (calendar-today): Doc fix.
20477
20478 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
20479
20480 * progmodes/gdb-mi.el (gdb-control-all-threads)
20481 (gdb-control-current-thread): Force tool bar update.
20482 (gdb-non-stop-handler): New function.
20483 (gdb-init-1): Use it to test if non-stop mode is supported.
20484 Remove unused gdbmi buffer type.
20485
20486 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
20487
20488 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
20489 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
20490
20491 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
20492
20493 * comint.el (comint-exec-1): Check command is non-null first.
20494 Part of gdb-mi.el change (2009-08-28).
20495
20496 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20497
20498 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
20499
20500 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
20501
20502 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
20503 instead of `dolist' to avoid a recursive require when bootstrapping.
20504
20505 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20506
20507 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
20508
20509 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
20510
20511 * net/imap.el (imap-send-command): Simplify.
20512 (imap-wait-for-tag): point-max -> buffer-size.
20513
20514 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
20515
20516 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
20517 with constant argument.
20518
20519 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
20520
20521 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
20522
20523 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
20524 Change default, since most of our files don't have a history.
20525 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
20526 the user.
20527
20528 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20529 Add comint-run.
20530
20531 * calc/calc.el: Improve commenting convention.
20532 (calc-digit-map, toplevel): Simplify.
20533
20534 * comint.el (comint-insert-input): Be careful to only set point if we
20535 don't delegate to some other command.
20536
20537 * proced.el (proced-signal-list): Make it an alist.
20538 (proced-grammar-alist): Capitalize names.
20539 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
20540 Disable undo manually and make it read-only.
20541 Use completion-annotate-function.
20542
20543 * minibuffer.el (minibuffer-message): If the current buffer is not
20544 a minibuffer, insert the message in the echo area rather than at the
20545 end of the buffer.
20546 (completion-annotate-function): New variable.
20547 (minibuffer-completion-help): Use it.
20548 (completion--embedded-envvar-table): Environment vars are
20549 always case-sensitive.
20550
20551 2009-08-30 Glenn Morris <rgm@gnu.org>
20552
20553 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
20554 from fortran-current-defun.
20555 (fortran-beginning-of-subprogram): Be more precise about finding the
20556 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
20557 (fortran-end-of-subprogram): Simplify.
20558 (fortran-current-defun): Use fortran-start-prog-re.
20559
20560 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
20561
20562 * subr.el (do-after-load-evaluation): Simplify.
20563
20564 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
20565
20566 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
20567
20568 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
20569 (vc-rcs-print-log): Use it.
20570
20571 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
20572
20573 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
20574
20575 * paths.el (abbrev-file-name): Move to abbrev.el.
20576 * abbrev.el (abbrev-file-name): Move from paths.el.
20577 Obey user-emacs-directory.
20578 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
20579 user-emacs-directory.
20580 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
20581 abbrev-file-name and calc-settings-file any more.
20582 * startup.el (command-line): Recompute abbrev-file-name and
20583 abbreviated-home-dir.
20584 (normal-no-mouse-startup-screen): Improve the generic code and get rid
20585 of the special code for when C-h bindings haven't been changed.
20586 (display-startup-echo-area-message): Use with-current-buffer.
20587 (command-line-1): Use a list of strings, rather than a list of lists
20588 of strings for longopts.
20589
20590 * files.el (get-free-disk-space): Use / for default-directory.
20591
20592 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
20593 Use with-current-buffer.
20594
20595 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
20596 Recognize immutable variables like most-positive-fixnum.
20597 (byte-compile-setq-default): Check and warn if trying to assign
20598 to an immutable variable, or a non-variable.
20599
20600 * progmodes/cc-vars.el (c-comment-continuation-stars):
20601 * progmodes/cc-engine.el (c-looking-at-bos):
20602 * progmodes/cc-cmds.el (c-toggle-auto-state)
20603 (c-forward-into-nomenclature, c-backward-into-nomenclature)
20604 (c-comment-line-break-function): Add version of obsolescence.
20605
20606 2009-08-28 Juri Linkov <juri@jurta.org>
20607
20608 * files.el (magic-fallback-mode-alist): Add ZIP magic number
20609 associated with `archive-mode'.
20610
20611 * image.el (image-type-header-regexps): Use only JPEG magic number
20612 to determine JPEG images, and don't use `image-jpeg-p' because
20613 Emacs can display non-JFIF non-Exif JPEG images.
20614
20615 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20616
20617 * arc-mode.el (archive-mode):
20618 * emacs-lisp/re-builder.el (re-builder-unload-function):
20619 Protect against the default value of `major-mode' being nil.
20620
20621 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
20622
20623 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
20624 Fix typos in docstrings.
20625
20626 * progmodes/js.el (js--macro-decl-re): Doc fix.
20627 (js--plain-method-re, js--split-name): Refloc docstring.
20628 (js--class-styles, js--make-merged-item, js--splice-into-items):
20629 Fix typos in docstrings; reflow docstrings.
20630 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
20631 (js--variable-decl-matcher, js--inside-pitem-p)
20632 (js--parse-state-at-point, js--get-all-known-symbols)
20633 (js--symbol-history, js-find-symbol, js--js-references)
20634 (js--moz-interactor, js--js-encode-value, js--read-tab):
20635 Fix typos in docstrings.
20636
20637 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20638
20639 * textmodes/reftex.el (reftex-get-file-buffer-force):
20640 * progmodes/verilog-mode.el (verilog-batch-execute-func):
20641 * emulation/viper.el (viper-go-away, viper-set-hooks):
20642 * emacs-lisp/re-builder.el (re-builder-unload-function):
20643 * emacs-lisp/bytecomp.el (byte-compile-file):
20644 * ses.el (ses-unload-function):
20645 * hexl.el (hexl-find-file):
20646 * files.el (normal-mode):
20647 * ehelp.el (with-electric-help):
20648 * autoinsert.el (auto-insert-alist):
20649 * arc-mode.el (archive-mode):
20650 Use (default-value 'major-mode) instead of default-major-mode.
20651
20652 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
20653 * international/mule.el (load-with-code-conversion):
20654 * emacs-lisp/debug.el (debug):
20655 * ediff-vers.el (ediff-rcs-get-output-buffer):
20656 * dired.el (dired-internal-noselect): Don't let-bind
20657 default-major-mode around code that doesn't use it.
20658 E.g. buffer creation via get-buffer-create doesn't use it.
20659
20660 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
20661
20662 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
20663 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
20664 when writing the temp file. Otherwise, epa-file gets confused.
20665 (tramp-register-file-name-handlers): Make it a defun. Move also
20666 `epa-file-handler' to the front of `file-name-handler-alist'.
20667
20668 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20669
20670 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
20671 start right after a ^M.
20672 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
20673 (tramp-completion-file-name-regexp-separate)
20674 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
20675 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
20676 Don't modify last-coding-system-used by accident.
20677 (tramp-completion-file-name-handler): Apply the checks here,
20678 instead during registration.
20679 (tramp-register-file-name-handlers): Rename from
20680 `tramp-register-file-name-handler'. Register both
20681 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
20682 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
20683
20684 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
20685
20686 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
20687 Remove variable ...
20688 (gdb-init-1, gdb-display-separate-io-buffer)
20689 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
20690 references to it.
20691 (gdb-inferior-io-mode): Use make-comint-in-buffer.
20692 (gdb-inferior-filter): Use comint-output-filter to stop
20693 echoing and remove ^M characters.
20694
20695 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20696
20697 * emulation/viper-init.el (viper-restore-cursor-type):
20698 * emulation/cua-base.el (cua--update-indications):
20699 Replace default-cursor-type with (default-value 'cursor-type).
20700
20701 * mail/sendmail.el (mail-recover-1):
20702 * international/mule-diag.el (describe-current-coding-system-briefly)
20703 (describe-current-coding-system):
20704 * international/mule-cmds.el (select-safe-coding-system)
20705 (select-message-coding-system)
20706 (set-language-environment-coding-systems, set-locale-environment):
20707 * hexl.el (hexl-insert-multibyte-char):
20708 * dos-w32.el (find-buffer-file-type-coding-system):
20709 * simple.el (what-cursor-position):
20710 Replace uses of default-buffer-file-coding-system
20711 with (default-value 'buffer-file-coding-system).
20712
20713 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
20714 Replace uses of default-cursor-in-non-selected-windows
20715 with (default-value 'cursor-in-non-selected-windows).
20716 Use with-current-buffer.
20717
20718 * mail/feedmail.el: Use CL macros.
20719 (feedmail-run-the-queue, feedmail-send-it-immediately):
20720 * dos-w32.el (find-buffer-file-type): Replace uses of
20721 default-buffer-file-type with (default-value 'buffer-file-type).
20722
20723 2009-08-28 Glenn Morris <rgm@gnu.org>
20724
20725 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
20726 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
20727 Use default-value of major-mode rather than default-major-mode.
20728
20729 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20730
20731 * Makefile.in (update-elcfiles): Report left over elc files.
20732
20733 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
20734 expand-file-name and with-current-buffer.
20735 (mail-get-names, mail-directory): Use with-current-buffer.
20736
20737 * vc.el (vc-read-revision): New function.
20738 (vc-version-diff, vc-merge): Use it.
20739
20740 2009-08-27 Sam Steingold <sds@gnu.org>
20741
20742 * simple.el (kill-do-not-save-duplicates): New user option.
20743 (kill-new): When it is non-nil, and the new string is the same as
20744 the latest kill, set replace to t to avoid duplicates in kill-ring.
20745
20746 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
20747
20748 * net/tramp.el (tramp-handle-process-file): Do not flush all
20749 caches when `process-file-side-effects' is set.
20750 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
20751 instead of `tramp-find-file-exists-command'.
20752 Unset `process-file-side-effects'.
20753
20754 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
20755
20756 * net/tramp.el (tramp-methods): New method "rsyncc".
20757 (top): Add completion function for "rsyncc".
20758 (tramp-message-show-message): New defvar.
20759 (tramp-message, tramp-error): Use it.
20760 (tramp-do-copy-or-rename-file-directly): Extend check for direct
20761 remote copying.
20762 (tramp-do-copy-or-rename-file-out-of-band): Handle new
20763 `tramp-methods' entry `copy-env' of "rsyncc".
20764 (tramp-vc-registered-read-file-names): New defconst.
20765 (tramp-vc-registered-file-names): New defvar.
20766 (tramp-handle-vc-registered): Implement optimization strategy.
20767 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
20768 (tramp-vc-file-name-handler): New defun.
20769 (tramp-get-ls-command, tramp-get-test-command)
20770 (tramp-get-file-exists-command, tramp-get-remote-ln)
20771 (tramp-get-remote-perl, tramp-get-remote-stat)
20772 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
20773
20774 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
20775 (tramp-cache-inhibit-cache): Extend doc string. It allows also
20776 timestamps.
20777 (tramp-get-file-property): Check for timestamps in
20778 `tramp-cache-inhibit-cache'.
20779 (tramp-set-file-property): Write timestamp.
20780
20781 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
20782
20783 * language/japan-util.el (japanese-symbol-table): Add entries for
20784 cp932-2-byte.
20785
20786 * international/characters.el: Add category `j' to cp932-2-byte.
20787
20788 2009-08-27 Kenichi Handa <handa@m17n.org>
20789
20790 * international/fontset.el (build-default-fontset-data): New macro.
20791 (setup-default-fontset): Use build-default-fontset-data for CJK,
20792 tibetan, ethiopic, and ipa.
20793
20794 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
20795
20796 * cus-start.el (default-major-mode): Customize `major-mode' instead.
20797 (enable-multibyte-characters): Not customizable any more.
20798
20799 * subr.el (default-mode-line-format, default-header-line-format)
20800 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
20801 (default-direction-reversed, default-truncate-lines)
20802 (default-left-margin, default-tab-width, default-case-fold-search)
20803 (default-left-margin-width, default-right-margin-width)
20804 (default-left-fringe-width, default-right-fringe-width)
20805 (default-fringes-outside-margins, default-scroll-bar-width)
20806 (default-vertical-scroll-bar, default-indicate-empty-lines)
20807 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
20808 (default-fringe-cursor-alist, default-scroll-up-aggressively)
20809 (default-scroll-down-aggressively, default-fill-column)
20810 (default-cursor-type, default-buffer-file-type)
20811 (default-cursor-in-non-selected-windows)
20812 (default-buffer-file-coding-system, default-major-mode)
20813 (default-enable-multibyte-characters): Mark as obsolete.
20814
20815 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
20816
20817 * vc-dir.el (vc-dir-update): Remove debug helper.
20818
20819 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
20820
20821 2009-08-26 Sam Steingold <sds@gnu.org>
20822
20823 * simple.el (save-interprogram-paste-before-kill): New user option.
20824 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
20825 save the interprogram-paste into kill-ring before overriding it
20826 with the Emacs kill.
20827
20828 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20829
20830 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
20831 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
20832 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
20833 and move to vc-rcs.el.
20834 (vc-default-next-revision): Rename to vc-rcs-next-revision and
20835 move to vc-rcs.el.
20836 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
20837 (vc-rcs-update-changelog): Remove.
20838 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
20839 and move to vc-rcs.el.
20840
20841 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
20842 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
20843 renaming.
20844 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
20845 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
20846 vc.el, renamed to be RCS specific.
20847
20848 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
20849 New functions.
20850 (vc-cvs-update-changelog): Move here from vc.el.
20851
20852 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
20853 New functions.
20854
20855 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
20856
20857 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
20858
20859 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
20860
20861 * vc-git.el (vc-git-register): Use "git add" for directories.
20862 (vc-git-stash, vc-git-stash-show): New functions.
20863 (vc-git-extra-menu-map): Bind them.
20864
20865 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
20866 directory correctly in case the item is a directory itself.
20867
20868 * vc.el: Document the desired behavior for reverted files in the
20869 `added' state.
20870 (vc-default-prettify-state-info): Remove function, unused.
20871
20872 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
20873
20874 2009-08-26 Glenn Morris <rgm@gnu.org>
20875
20876 * bindings.el (standard-mode-line-format): Reposition dashes in
20877 which-func entry. (Bug#4217)
20878
20879 * files.el (enable-local-variables, enable-local-eval)
20880 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
20881 the defcustoms.
20882 (auto-mode-alist, ignored-local-variables)
20883 (save-some-buffers-action-alist): Move risky declarations to the
20884 definitions.
20885 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
20886 (font-lock-defaults, format-alist, imenu--index-alist)
20887 (imenu-generic-expression, input-method-alist, minor-mode-alist)
20888 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
20889 (mode-line-modified, mode-line-mule-info, mode-line-position)
20890 (mode-line-process, mode-line-remote, outline-level)
20891 (parse-time-rules, rmail-output-file-alist)
20892 (special-display-buffer-names, vc-mode):
20893 Move risky declarations to the relevant files.
20894 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
20895 (mode-line-modified, mode-line-process, mode-line-position)
20896 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
20897 * font-core.el (font-lock-defaults):
20898 * format.el (format-alist):
20899 * vc-hooks.el (vc-mode):
20900 * window.el (special-display-buffer-names):
20901 * international/mule-cmds.el (input-method-alist):
20902 Define riskiness here (dumped file) rather than in files.el.
20903 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
20904 * imenu.el (imenu-generic-expression, imenu--index-alist):
20905 * outline.el (outline-level):
20906 * time.el (display-time-string):
20907 * calendar/parse-time.el (parse-time-rules):
20908 * mail/rmailout.el (rmail-output-file-alist):
20909 Autoload riskiness here, rather than placing in files.el.
20910
20911 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
20912
20913 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
20914
20915 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
20916
20917 * simple.el (process-file-side-effects): New defvar.
20918
20919 * dired-aux.el (dired-show-file-type):
20920 * vc.el (vc-diff-internal):
20921 * vc-arch.el (vc-arch-diff):
20922 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
20923 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
20924 * vc-git.el (vc-git-registered, vc-git-working-revision)
20925 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
20926 (vc-git--empty-db-p):
20927 * vc-hooks.el (vc-user-login-name):
20928 * vc-svn.el (vc-svn-registered, vc-svn-state)
20929 (vc-svn-dir-extra-headers, vc-svn-find-revision):
20930 * progmodes/grep.el (grep-probe): Let-bind
20931 `process-file-side-effects' with nil.
20932
20933 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
20934
20935 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
20936 daemon. Replace ping by checking for running service for bluez
20937 and zeroconf. (Bug#4239)
20938
20939 2009-08-25 Kevin Ryde <user42@zip.com.au>
20940
20941 * net/dig.el (dig): Add autoload cookie.
20942
20943 2009-08-25 Glenn Morris <rgm@gnu.org>
20944
20945 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
20946 load-history for absolute file-names.
20947 (byte-compile-file-form-require): Warn about use of the cl package.
20948
20949 * format.el (format-alist): Doc fix.
20950
20951 * play/bubbles.el (top-level): Don't require cl at run-time.
20952
20953 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
20954 run-time cl).
20955
20956 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
20957
20958 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
20959 from cl package.
20960 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
20961
20962 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
20963
20964 * calc/calc-alg.el (math-trig-rewrite)
20965 (math-hyperbolic-trig-rewrite): New functions.
20966 (calc-simplify): Simplify trig functions when asked.
20967
20968 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20969
20970 * diff-mode.el (diff-find-source-location): Avoid goto-line.
20971
20972 2009-08-24 Kenichi Handa <handa@m17n.org>
20973
20974 * language/ind-util.el (mapthread): Delete it.
20975 (combinatorial): New function.
20976 (indian--puthash-cv): Use combinatorial instead of mapthread.
20977
20978 2009-08-22 Kevin Ryde <user42@zip.com.au>
20979
20980 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
20981 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
20982 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
20983 Clarify docstring that the value is strings not symbols.
20984 (checkdoc-list-of-strings-p): New function.
20985
20986 2009-08-22 Glenn Morris <rgm@gnu.org>
20987
20988 * files.el (auto-mode-alist):
20989 * hippie-exp.el (he-concat-directory-file-name):
20990 * lpr.el (lpr-windows-system, printer-name):
20991 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
20992 * ps-print.el (ps-windows-system):
20993 * startup.el (command-line):
20994 * emulation/viper-ex.el (viper-glob-function):
20995 * international/mule-cmds.el (set-language-environment-coding-systems):
20996 * net/ange-ftp.el (ange-ftp-write-region):
20997 * obsolete/fast-lock.el (fast-lock-cache-name):
20998 Remove code for defunct system-types emx, macos, mswindows, next-mach,
20999 unisoft-unix, vax-vms, win32, w32.
21000
21001 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
21002 given name if the pattern is not more specific.
21003
21004 * calendar/lunar.el (lunar-phase-names): New option.
21005 (lunar-phase): Doc fix.
21006 (lunar-cycles-per-year): New constant.
21007 (lunar-index): New function.
21008 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
21009 (lunar-phase-name): Use lunar-phase-names.
21010 (calendar-lunar-phases): Use format.
21011 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
21012
21013 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
21014 Copy imenu-example--name-and-position function here for own use.
21015 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
21016
21017 * bs.el (bs--redisplay):
21018 * cus-edit.el (custom-redraw):
21019 * ibuffer.el (ibuffer-bury-buffer):
21020 * server.el (server-goto-line-column):
21021 * startup.el (command-line-1):
21022 * strokes.el (strokes-xpm-for-stroke):
21023 * term.el (term-display-buffer-line):
21024 * view.el (View-goto-line):
21025 * calc/calc.el (calc-do, calc-trail-buffer):
21026 * play/gamegrid.el (gamegrid-add-score-insecure):
21027 * progmodes/ada-mode.el (ada-compile-goto-error):
21028 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
21029 (ebrowse-select-1st-to-9nth):
21030 * progmodes/cperl-mode.el (cperl-time-fontification):
21031 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
21032 * progmodes/gud.el (gud-display-line):
21033 (idlwave-shell-display-line):
21034 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
21035 * progmodes/make-mode.el (makefile-browser-toggle):
21036 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
21037 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
21038 * textmodes/picture.el (picture-draw-rectangle):
21039 * textmodes/reftex-index.el (reftex-index-goto-letter):
21040 (reftex-select-jump-to-previous):
21041 * textmodes/reftex-sel.el (reftex-find-start-point)
21042 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
21043 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
21044 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
21045 * textmodes/tex-mode.el (tex-compilation-parse-errors):
21046 * textmodes/two-column.el (2C-associated-buffer):
21047 Use forward-line rather than goto-line.
21048
21049 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
21050 goto-line.
21051
21052 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
21053 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
21054 (quick-check-list-to-regexp): Declare.
21055
21056 * progmodes/make-mode.el (makefile-browser-insert-selection):
21057 Use goto-char rather than goto-line.
21058
21059 * progmodes/prolog.el (compilation-error-regexp-alist)
21060 (compilation-forget-errors): Declare.
21061
21062 2009-08-22 Juri Linkov <juri@jurta.org>
21063
21064 * progmodes/grep.el (lgrep, rgrep): At the beginning
21065 set `dir' to `default-directory' unless `dir' is a non-nil
21066 readable directory. (Bug#4052)
21067 (lgrep, rgrep): Change a weird way to report an error
21068 from using `read-string' to using `error'.
21069 Instead of using interactive arguments in the function body,
21070 add new argument `confirm'.
21071
21072 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
21073
21074 * textmodes/remember.el (remember-buffer):
21075 * progmodes/cperl-mode.el (cperl-vc-header-alist):
21076 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
21077 (icalendar-extract-ical-from-buffer):
21078 * net/newst-treeview.el (newsticker-groups-filename):
21079 * net/newst-backend.el (newsticker-cache-filename):
21080 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
21081 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
21082 (speedbar-add-ignored-path-regexp, speedbar-line-path)
21083 (speedbar-buffers-line-path, speedbar-path-line)
21084 (speedbar-buffers-line-path):
21085 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
21086 (epg-sign-keys):
21087 * epa.el (epa-display-verify-result):
21088 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
21089
21090 2009-08-21 Glenn Morris <rgm@gnu.org>
21091
21092 * progmodes/js.el (inferior-moz-process): Fix declaration.
21093
21094 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
21095
21096 * obsolete/rnewspost.el (news-mail-reply):
21097 Use goto-char rather than goto-line.
21098
21099 * term/ns-win.el (ns-open-file-select-line):
21100 Use line-beginning-position rather than goto-line.
21101
21102 * apropos.el (apropos-command):
21103 * ehelp.el (electric-helpify):
21104 * printing.el (pr-show-setup):
21105 * strokes.el (strokes-help):
21106 * tutorial.el (tutorial--describe-nonstandard-key)
21107 (tutorial--detailed-help):
21108 * woman.el (woman-mini-help, woman-display-extended-fonts):
21109 * calc/calc-help.el (calc-describe-key):
21110 * emulation/edt.el (edt-electric-helpify):
21111 * international/mule-diag.el (mule-diag):
21112 * play/yow.el (apropos-zippy):
21113 * progmodes/python.el (python-describe-symbol):
21114 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
21115 * textmodes/table.el (*table--cell-describe-mode)
21116 (*table--cell-describe-bindings):
21117 Use help-print-return-message rather than the now obsolete alias.
21118
21119 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
21120 (calendar-cursor-to-visible-date):
21121 * play/5x5.el (5x5-position-cursor):
21122 * play/decipher.el (decipher):
21123 * play/gomoku.el (gomoku-goto-xy):
21124 * play/landmark.el (lm-goto-xy):
21125 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
21126 (mpuz-paint-digit):
21127 Use forward-line, not goto-line.
21128
21129 * mail/rmail.el (rmail-obsolete): Delete custom group.
21130 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
21131 (rmail-remote-password, rmail-remote-password-required):
21132 Remove unneeded :set-after and :set properties.
21133
21134 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
21135
21136 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
21137
21138 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
21139
21140 * loadup.el: Remove leftover macos code.
21141
21142 * vc-git.el (vc-git-annotate-command): Run asynchronously.
21143 Explicitly pass the date format to git blame so that user local
21144 so that the output format can be parsed.
21145
21146 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
21147
21148 * net/dbus.el (top): Don't check for (getenv
21149 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
21150
21151 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
21152
21153 * log-edit.el (log-edit-strip-single-file-name): New var.
21154 (log-edit-insert-changelog): Use it. Bug#3571.
21155
21156 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21157
21158 * subr.el (read-passwd): Use read-key so keypad keys work as well.
21159 Bug#3287.
21160
21161 * help.el (help-print-return-message): Rename from
21162 print-help-return-message.
21163
21164 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
21165 cvs-mode-map parent hack.
21166 (log-view-mode): Derive from special-mode.
21167
21168 * linum.el (linum-mode): window-size-change-functions is redundant.
21169 Adapt to new window-configuration-change-hook behavior.
21170 (linum-after-size, linum-after-config): Remove.
21171
21172 * imenu.el (imenu-example--name-and-position)
21173 (imenu-example--lisp-extract-index-name)
21174 (imenu-example--create-lisp-index, imenu-example--create-c-index):
21175 Mark as obsolete.
21176
21177 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
21178 (inferior-prolog-mode): Use it.
21179 (inferior-prolog-load-file): Reset list of errors.
21180
21181 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
21182
21183 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
21184
21185 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
21186
21187 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
21188
21189 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
21190 is running already.
21191
21192 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21193
21194 * subr.el (listify-key-sequence-1): Use normal syntax since those
21195 integers are nowadays always represented by the same (positive) number
21196 on all platforms.
21197 (read-key-empty-map): New const.
21198 (read-key-delay): New var.
21199 (read-key): New function.
21200 (force-mode-line-update): Use with-current-buffer.
21201 (locate-user-emacs-file): Don't forget to abbreviate the file name.
21202 (start-process-shell-command, start-file-process-shell-command):
21203 Discourage the use of command-args.
21204
21205 2009-08-19 Glenn Morris <rgm@gnu.org>
21206
21207 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
21208
21209 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
21210
21211 * simple.el (choose-completion-string): Don't rely on
21212 minibuffer-completing-file-name and ad-hoc checks to decide whether
21213 to continue completion or not.
21214
21215 * minibuffer.el (minibuffer-hide-completions): New function.
21216 (completion--do-completion): Use it.
21217 (completions-annotations): New face.
21218 (completion--insert-strings): Use it.
21219 (completion-pcm--delim-wild-regex): Add docstring.
21220 (completion-pcm--string->pattern): Add support for 0-width delimiters
21221 in completion-pcm--delim-wild-regex.
21222
21223 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
21224
21225 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
21226 Remove unused var `buffer-modified-p'.
21227
21228 * minibuffer.el (completion--do-completion): Move point for the #b001
21229 case as well (bug#4176).
21230 (minibuffer-complete, minibuffer-complete-word): Don't move point.
21231
21232 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
21233
21234 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
21235 and :session buses.
21236
21237 2009-08-18 Kenichi Handa <handa@m17n.org>
21238
21239 * international/ucs-normalize.el (ucs-normalize-version):
21240 Change to 1.1.
21241 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
21242 (utf-8-hfs): Make it perform normalization on encoding too.
21243
21244 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
21245 (sentence-end-without-space): Delete duplicated chars.
21246 (sentence-end-base): Likewise.
21247
21248 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
21249 (html-mode): Delete duplicated chars from sentence-end-base.
21250
21251 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
21252 (texinfo-mode): Delete duplicated chars from sentence-end-base.
21253
21254 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
21255
21256 * files.el (hack-one-local-variable): If the mode function is for
21257 a minor mode, pass it an argument (Bug#4148).
21258
21259 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
21260
21261 * net/tramp.el (tramp-register-completion-file-name-handler):
21262 Check also for (member 'partial-completion completion-styles).
21263
21264 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21265
21266 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
21267 abbrev (Bug#3943).
21268
21269 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
21270
21271 * progmodes/cperl-mode.el: Merge upstream 6.2.
21272 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
21273 (cperl-forward-re): Check cperl-brace-recursing.
21274 (cperl-highlight-charclass): New function.
21275 (cperl-find-pods-heres): Use it.
21276 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
21277 (cperl-beautify-regexp-piece): Fix column calculation.
21278 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
21279 (cperl-beautify-level): Don't process entire regexp.
21280 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
21281 calling man.
21282 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
21283 (cperl-init-faces): Build a list in the normal way.
21284
21285 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21286
21287 * calendar/parse-time.el (parse-time-string-chars): Save match
21288 data.
21289
21290 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
21291
21292 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
21293 (sql-product): Use it.
21294 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
21295 (sql-set-product): Add completion.
21296 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
21297 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
21298 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
21299 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
21300 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
21301 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
21302 (sql-highlight-db2-keywords): Remove.
21303 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
21304 (sql-highlight-product): Use derived-mode-p.
21305 (sql-set-sqli-buffer): Use with-current-buffer.
21306 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
21307 Simplify.
21308
21309 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
21310
21311 * term.el: Fix commenting convention, turn comments into docstrings.
21312
21313 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
21314
21315 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
21316
21317 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
21318
21319 * calendar/parse-time.el (parse-time-string-chars): Compute using
21320 character classes, to handle non-ascii characters (Bug#3190).
21321
21322 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
21323
21324 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
21325 another heredoc if the user adds another < (Bug#3226).
21326
21327 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
21328 Don't initialize based on window-system (Bug#4124).
21329
21330 * facemenu.el (facemenu-read-color): Use a completion function
21331 that accepts any defined color, such as RGB triplets (Bug#3677).
21332
21333 * files.el (get-free-disk-space): Change fallback default
21334 directory to /. Expand DIR argument before switching to fallback.
21335 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
21336
21337 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21338
21339 * files.el (load-library): Doc fix.
21340
21341 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
21342
21343 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
21344 (viper-if-string): Redefine C-s in the minibuffer to insert the last
21345 incremental search string.
21346
21347 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
21348 XEmacs.
21349
21350 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
21351 (ediff-merge-region-is-non-clash)
21352 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
21353 Also check if the job is really a merge job.
21354
21355 * ediff.el (ediff-current-file): New function.
21356
21357 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
21358
21359 * progmodes/js.el: Edit docstrings throughout to follow Emacs
21360 conventions.
21361 (js-insert-and-indent): Delete function.
21362 (js-mode-map): Don't bind keys to js-insert-and-indent.
21363 (js-beginning-of-defun): Rename from js--beginning-of-defun.
21364 (js-end-of-defun): Rename from js--end-of-defun.
21365 (js-auto-indent-flag): Delete variable.
21366
21367 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
21368
21369 * progmodes/js.el: Remove proclaim statement.
21370 Defvar which-func-imenu-joiner-function to silence compiler.
21371
21372 * files.el (auto-mode-alist): Use js-mode for .js files.
21373
21374 * progmodes/js2-mode.el: Remove file.
21375
21376 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
21377
21378 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
21379
21380 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
21381
21382 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
21383 Karl Landstrom <karl.landstrom@brgeight.se>
21384
21385 * progmodes/js.el: New file.
21386
21387 2009-08-14 Mark A. Hershberger <mah@everybody.org>
21388
21389 * timezone.el (timezone-parse-date): Add ability to understand ISO
21390 basic format (minimal separators) dates in addition to the
21391 already-supported extended format dates.
21392
21393 2009-08-14 Eli Zaretskii <eliz@gnu.org>
21394
21395 * international/ucs-normalize.el: Add a `coding' file variable.
21396
21397 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
21398
21399 2009-08-14 Sam Steingold <sds@gnu.org>
21400
21401 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
21402
21403 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
21404
21405 * faces.el (help-argument-name): Define it here instead of
21406 help-fns.el, because in daemon mode help-fns.el may be loaded when
21407 faces are still uninitialized (Bug#1078).
21408
21409 * help-fns.el (help-argument-name): Move defface to faces.el.
21410
21411 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
21412
21413 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
21414 create buffer with a pty but no process so that GDB can make the
21415 inferior the controlling process.
21416
21417 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
21418
21419 * international/ucs-normalize.el: New file.
21420
21421 2009-08-13 Richard Stallman <rms@gnu.org>
21422
21423 * mail/rmail.el (rmail-get-attr-names):
21424 Accept an attribute header that is too short.
21425
21426 * mail/rmail.el (rmail-forget-messages):
21427 Ignore nil elt in rmail-message-vector. Use dotimes.
21428
21429 * progmodes/compile.el (compilation-goto-locus):
21430 Use next-error-move-function.
21431
21432 * simple.el (next-error-move-function): New variable.
21433
21434 2009-08-12 Juri Linkov <juri@jurta.org>
21435
21436 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
21437 always non-nil. (Bug#4052)
21438
21439 * replace.el (read-regexp): Return empty string when
21440 `default-value' is nil.
21441 (keep-lines-read-args): Don't use empty string as the
21442 default value for `read-regexp'. (Bug#2495)
21443
21444 2009-08-12 Juri Linkov <juri@jurta.org>
21445
21446 * international/mule-cmds.el (ucs-insert): Change arguments
21447 from `arg' to `character', `count', `inherit' to be the same
21448 as in `insert-char'. Doc fix. (Bug#4039)
21449
21450 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
21451
21452 2009-08-12 Juri Linkov <juri@jurta.org>
21453
21454 * files-x.el: New file.
21455
21456 * files.el: Move code that deals with adding/deleting
21457 file/directory-local variables to files-x.el.
21458
21459 * Makefile.in (ELCFILES): Add files-x.elc.
21460
21461 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
21462
21463 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
21464 to use `goto-line'.
21465 (gdb-place-breakpoints, gdb-get-location): Rewritten without
21466 `goto-line'.
21467 (gdb-invalidate-disassembly): Do not refresh upon receiving
21468 'update signal. Instead, update all disassembly buffers only after
21469 threads list.
21470 (gdb): Send -target-detach when buffer is killed (Bug#3794).
21471 (gdb-starting): Move -data-list-register-names...
21472 (gdb-stopped): ...here so it's sent when first thread stops.
21473 (gdb-registers-handler-custom): Do nothing if register names are
21474 unknown yet.
21475
21476 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
21477 from `gdb-mi.el' to avoid extra tangling.
21478
21479 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
21480 change which breaks `gud-def' definitions used in `gdb'.
21481 (gdb-update-gud-running): No extra fuss for updating frame number.
21482
21483 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
21484
21485 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
21486 (describe-language-environment-map, setup-language-environment-map)
21487 (set-coding-system-map): Move initialization into declaration.
21488 (set-language-info-alist): Last arg to define-key-after can be skipped.
21489
21490 * international/quail.el (quail-completion-1): Simplify.
21491 (quail-define-rules): Use slightly more compact code.
21492 (quail-insert-decode-map): Propertize keys, compact columns.
21493
21494 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21495 Add goto-line.
21496
21497 2009-08-10 Miles Bader <miles@gnu.org>
21498
21499 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
21500 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
21501 (js2-instance-member, js2-private-member, js2-private-function-call)
21502 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
21503 (js2-magic-paren, js2-external-variable):
21504 Remove "-face" suffix from face names.
21505 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
21506 (js2-highlight-undeclared-vars, js2-peek-token)
21507 (js2-parse-function-params, js2-mode-show-errors)
21508 (js2-mode-show-warnings, js2-make-magic-delimiter)
21509 (js2-mode-highlight-magic-parens): Update to use new face names.
21510
21511 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
21512
21513 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
21514 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
21515
21516 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
21517
21518 * subr.el: Provide hashtable-print-readable.
21519
21520 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
21521 hs-c-like-adjust-block-beginning.
21522 (hs-hide-block-at-point): Stop hiding at the beginning of
21523 hs-block-end-regexp (Bug#700).
21524
21525 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
21526
21527 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
21528 a macro.
21529 (gdb-registers-handler-custom): Do not fail when register names
21530 are unavailable.
21531
21532 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21533
21534 * progmodes/gdb-mi.el (gdb-control-all-threads)
21535 (gdb-control-current-thread): Interactive setters for
21536 `gdb-gud-control-all-threads' to use in menu.
21537 (gdb-show-run-p): Show «Go» when process is not active.
21538 (gud-tool-bar-map): Add non-stop/A,T indicator.
21539 Uses gud/thread.xpm and gud/all.xpm.
21540
21541 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
21542
21543 * net/net-utils.el (net-utils-font-lock-keywords): New var.
21544 (nslookup-font-lock-keywords): Make it a variable.
21545 (net-utils-mode): New mode for viewing diagnostic network output.
21546 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
21547 (net-utils-run-simple): New function.
21548 (ifconfig, iwconfig, netstat, arp, route): Use it.
21549
21550 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
21551
21552 * progmodes/gdb-mi.el (gdb-read-memory-custom)
21553 (gdb-memory-set-address, def-gdb-set-positive-number)
21554 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
21555 after changing settings.
21556 (gdb-invalidate-disassembly): Update when first shown.
21557 (gdb-edit-locals-value): Fix.
21558 (gdb-registers-handler-custom): Print registers in right order and
21559 allow changing register values (only for current thread yet).
21560 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
21561 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
21562 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
21563 (gdb-locals-handler-custom, gdb-registers-handler-custom):
21564 Thread info in mode name.
21565 (gdb-registers-mode-map): TAB to switch to locals.
21566
21567 2009-08-08 Eli Zaretskii <eliz@gnu.org>
21568
21569 * mail/rmail.el (rmail-add-mbox-headers)
21570 (rmail-set-message-counters-counter): Search for
21571 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
21572
21573 2009-08-08 Glenn Morris <rgm@gnu.org>
21574
21575 * Makefile.in (ELCFILES): Update.
21576
21577 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21578
21579 * mail/sendmail.el (mail-yank-original):
21580 Set buffer-file-coding-system from the one used by the message whose
21581 text is yanked.
21582
21583 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
21584 to "windows" when "pgnuplot" is used.
21585 (calc-graph-command, calc-gnuplot-command, calc-graph-init):
21586 Don't call accept-process-output if "pgnuplot" is used.
21587 (calc-graph-init): Don't send -display and -geometry to
21588 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
21589 running "pgnuplot -V" with shell-command-to-string.
21590
21591 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
21592 the default.
21593
21594 2009-08-07 Eli Zaretskii <eliz@gnu.org>
21595
21596 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
21597 org/org-latex.elc.
21598
21599 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
21600
21601 * vc-dispatcher.el (vc-resynch-window): Update comment.
21602
21603 * term.el (term-handle-ansi-escape): Add comments with the
21604 terminfo capabilities implemented.
21605
21606 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
21607
21608 * progmodes/gdb-mi.el (gdb-var-create-regexp): Remove.
21609 (gdb-var-create-handler): Rewritten using JSON parser.
21610 (gdb-propertize-header): Move earlier.
21611 (gdb-set-header): Remove to avoid duplication.
21612 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
21613 Refresh disassembly buffers only after threads list have been
21614 update.
21615 (gdb-threads-header, gdb-registers-header): Per-buffer header line
21616 variables.
21617
21618 2009-08-04 Juri Linkov <juri@jurta.org>
21619
21620 * files.el: Commands to add/delete file/directory-local variables.
21621 (read-file-local-variable, read-file-local-variable-value)
21622 (read-file-local-variable-mode, modify-file-local-variable)
21623 (modify-file-local-variable-prop-line)
21624 (modify-dir-local-variable): New functions.
21625 (add-file-local-variable, delete-file-local-variable)
21626 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
21627 (add-dir-local-variable, delete-dir-local-variable)
21628 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
21629 (copy-dir-locals-to-file-locals-prop-line): New commands.
21630
21631 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
21632
21633 * abbrev.el (insert-abbrev-table-description): Prettify output.
21634 Suggested by Karl Chen.
21635
21636 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
21637
21638 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
21639 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
21640 (gdb-overlay-arrow-position, gdb-thread-position)
21641 (gdb-disassembly-position): Declare variables.
21642 (gdb-wait-for-pending): Function now.
21643 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
21644 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
21645 compilation goes smoothly.
21646 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
21647 (gdb-non-stop-setting): New customization setting which replaces
21648 `gdb-non-stop' so changing it doesn't break active GDB session.
21649 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
21650 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
21651 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
21652 (gdb-show-threads-by-default): New customization options.
21653 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
21654 routines.
21655 (gdb-get-buffer-create): Send buffers update signal when they are
21656 created.
21657 (gdb-invalidate-locals, gdb-invalidate-registers)
21658 (gdb-invalidate-breakpoints)
21659 (gdb-invalidate-threads, gdb-invalidate-disassembly)
21660 (gdb-invalidate-memory): Accept update signal.
21661 (gdb-current-context-command): Use --frame option.
21662 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
21663 Implement `gdb-frame-number' selection logic.
21664 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
21665 whether to show GUD toolbar buttons.
21666 (gdb-thread-exited): Unselect current thread when it exits.
21667 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
21668 (gdb-mark-line): Routine which sets overlay arrow or inverses
21669 video on fringeless displays.
21670 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
21671 to build aligned columns of data in GDB buffers and set text
21672 properties line-by-line.
21673 (gdb-invalidate-breakpoints)
21674 (gdb-breakpoints-list-handler-custom)
21675 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
21676 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
21677 (gdb-registers-handler-custom): Align data columns.
21678 (gdb-locals-handler-custom): Now prints data like in variable
21679 declarations.
21680 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
21681 Remove confusing buttons.
21682 (gdb-invalidate-threads): Append --frame.
21683 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
21684 between breakpoints/threads buffers.
21685 (gdb-set-window-buffer): Now can ignore dedicated windows.
21686 (gdb-propertize-header): Use `gdb-set-window-buffer'.
21687 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
21688 (def-gdb-thread-buffer-gud-command): Replaces
21689 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
21690 for fine thread control.
21691 (gdb-preempt-existing-or-display-buffer): New function used to
21692 display bound buffers without breaking window layout.
21693 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
21694 (gdb-select-frame): New version of `gdb-frames-select' which now
21695 sets `gdb-frame-number' so commands may use --frame option instead
21696 of inner debugger state.
21697 (gdb-frame-handler): Do not set `gdb-frame-number'.
21698 (gdb-threads-mode-map): Select threads with mouse.
21699
21700 * progmodes/gud.el (gdb-gud-context-call): Declare function to
21701 avoid compilation warning.
21702 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
21703 `gdb-show-stop-p`.
21704
21705 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
21706 Argument `key' renamed to `buffer-type'.
21707 (gdb-current-context-buffer-name): Do not add thread info to
21708 buffer name when no thread is selected.
21709 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
21710 command (bug 3794).
21711 (gdb-thread-selected): Handle `=thread-selected' notification.
21712 (gdb-wait-for-pending): New macro to deal with congestion problems.
21713 (gdb-breakpoints-list-handler-custom): Don't fail on pending
21714 breakpoints.
21715 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
21716 This fixes problem similar to one described in bug 3947.
21717 (gud-menu-map): More menu items.
21718 (gdb-init-1): Reset `gdb-thread-number' to nil.
21719
21720 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
21721 non-stop settings.
21722
21723 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
21724 (gdb-current-context-command): Do not append --thread if
21725 `gdb-thread-number' is nil.
21726 (gdb-running-threads-count, gdb-stopped-threads-count):
21727 New variables.
21728 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
21729 (gdb-stopped-hooks, gdb-switch-when-another-stopped):
21730 New customization options.
21731 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
21732 GUD commands.
21733 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
21734 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
21735 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
21736 set `gdb-thread-number' and update `gud-running' properly.
21737 (gdb-running): Update threads list when new threads appear.
21738 (gdb-stopped): Support non-stop operation and new thread switching
21739 logic.
21740 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
21741 (gdb-json-partial-output): New set of JSON routines.
21742 (def-gdb-auto-update-trigger): New `signal-list' optional
21743 argument.
21744 (gdb-thread-list-handler-custom): Update `gud-running',
21745 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
21746 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
21747 (gdb-continue-thread, gdb-step-thread): New commands for fine
21748 thread execution control.
21749 (gud-menu-map): New menu items to switch non-stop options.
21750 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
21751 (gdb-send): Mimic RET properly (bug 3794).
21752
21753 * progmodes/gdb-mi.el (gdb-rules-name-maker)
21754 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
21755 gdb-buffer-rules.
21756 (def-gdb-auto-update-handler): New nopreserve optional argument.
21757 (gdb-stack-list-frames-custom): Print stack from top to bottom.
21758
21759 * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
21760 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
21761 (gdb-parent-mode): New mode to derive other GDB modes from.
21762 (gdb-display-disassembly-for-thread)
21763 (gdb-frame-disassembly-for-thread): New commands for threads
21764 buffer.
21765
21766 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
21767 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
21768 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
21769 (gdb-update): We now store all GDB buffers in a list so that they
21770 can be updated by traversing a list instead of calling invalidate
21771 triggers explicitly.
21772 (def-gdb-trigger-and-handler): New macro to define trigger-handler
21773 pair for GDB buffer.
21774 (gdb-stack-buffer-name): Add thread information.
21775 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
21776 handle pending triggers.
21777 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
21778 (def-gdb-thread-buffer-simple-command)
21779 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
21780 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
21781 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
21782 New commands which show buffers bound to thread.
21783 (gdb-stack-list-locals-regexp): Remove unused regexp.
21784
21785 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
21786 (gdb-locals-buffer-name, gdb-registers-buffer-name)
21787 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
21788 to (gud-comint-buffer) in *-buffer-name functions
21789 because (gdb-get-target-string) already does that.
21790 (gdb-locals-handler-custom, gdb-registers-handler-custom)
21791 (gdb-changed-registers-handler): Rewritten without regexps.
21792
21793 * progmodes/gdb-mi.el: Basic thread selection support.
21794 (gdb-thread-number): New variable.
21795 (gdb-current-context-command): New macro which adds --thread
21796 option to command.
21797 (gdb-threads-mode-map): Select thread with SPC.
21798 (gdb-thread-list-handler-custom): Mark current thread with overlay
21799 arrow. Synchronize GDB thread and Emacs thread.
21800 (gdb-select-thread): New command which selects current thread.
21801 (gdb-invalidate-frames, gdb-invalidate-locals)
21802 (gdb-invalidate-registers): Use --thread option.
21803
21804 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
21805
21806 * net/tramp.el (top): Make check for tramp-gvfs loading more
21807 robust. (Bug#3977)
21808 (tramp-handle-insert-file-contents): `unwind-protect' must be
21809 inside `with-parsed-tramp-file-name'.
21810
21811 * net/tramp-gvfs.el (top): Remove superfluous message when loading
21812 fails.
21813
21814 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
21815
21816 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
21817 directory if CLASSPATH is not set.
21818
21819 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
21820
21821 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
21822 New defconst.
21823 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
21824
21825 2009-08-02 Kevin Ryde <user42@zip.com.au>
21826
21827 * net/newst-backend.el (newsticker--raw-url-list-defaults):
21828 Update freshmeat link. Delete newsforge.com as it seems gone.
21829
21830 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21831
21832 * select.el (x-set-selection): Doc fix (Bug#4021).
21833
21834 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
21835
21836 * help-fns.el (describe-variable): Treat list return values from
21837 dir-locals-find-file properly (Bug#4005).
21838
21839 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
21840
21841 * net/tramp.el (tramp-debug-message): Print also microseconds.
21842
21843 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
21844
21845 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
21846 or END is non-nil.
21847 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
21848 (tramp-get-debug-buffer): Change `outline-regexp' according to new
21849 format.
21850
21851 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
21852 (tramp-get-file-property): Use it.
21853
21854 * autorevert.el (auto-revert-handler):
21855 Allow `auto-revert-tail-mode' for remote files.
21856
21857 2009-08-02 Jason Rumney <jasonr@gnu.org>
21858
21859 * minibuffer.el (read-file-name): Treat confirm options to
21860 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
21861
21862 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
21863
21864 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
21865 (font-lock-variable-name-face, font-lock-constant-face):
21866 Darken the colors for light backgrounds.
21867
21868 2009-08-01 Eli Zaretskii <eliz@gnu.org>
21869
21870 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
21871 month names. (Bug#3987)
21872
21873 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
21874
21875 * simple.el (line-move-finish): Pass whole number to
21876 line-move-to-column.
21877 (line-move-visual): Perform hscroll to the recorded position.
21878
21879 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
21880
21881 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
21882
21883 2009-07-29 Alan Mackenzie <acm@muc.de>
21884
21885 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
21886
21887 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
21888
21889 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
21890 (gdb-place-breakpoints): Use full path when setting breakpoints.
21891
21892 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
21893
21894 * calc/calc.el (calc-mode-map): Add keybinding for
21895 `calc-transpose-lines'.
21896
21897 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
21898
21899 * calc/calc-misc.el (calc-transpose-lines): New function.
21900
21901 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
21902
21903 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
21904 Simplify check for out-of-band methods.
21905 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
21906 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
21907
21908 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
21909
21910 * vc-git.el (vc-git-checkin): Fix typo.
21911
21912 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
21913
21914 * progmodes/js2-mode.el: New file.
21915
21916 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
21917
21918 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
21919 (gud-menu-map): Adjust tooltip accordingly.
21920
21921 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
21922
21923 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
21924 (vc-bzr-log-view-mode): Adjust log-view-file-re.
21925
21926 * add-log.el (change-log-mode-map): Add a menu.
21927
21928 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
21929
21930 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
21931 function returns nil.
21932 (dbus-handle-event): Handle special return value :ignore.
21933 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
21934
21935 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
21936
21937 * view.el (view-mode-enable): Don't define Helper-return-blurb if
21938 it's not needed.
21939
21940 2009-07-25 Eli Zaretskii <eliz@gnu.org>
21941
21942 Fix Bug#3888:
21943
21944 * w32-vars.el (x-select-enable-clipboard): Doc fix.
21945
21946 * term/pc-win.el (x-display-name, x-colors)
21947 (x-select-enable-clipboard, x-select-text): Doc fix.
21948
21949 * term/common-win.el (x-display-name, x-colors): Doc fix.
21950
21951 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
21952 (xw-defined-colors): Doc fix.
21953
21954 * w32-fns.el (x-select-text, x-setup-function-keys)
21955 (x-get-selection, x-set-selection): Doc fix.
21956
21957 * term/x-win.el (x-select-text, x-setup-function-keys)
21958 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
21959
21960 * select.el (x-set-selection): Doc fix.
21961
21962 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
21963
21964 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
21965 instead of "IsNSSSupportAvailable". Avahi ought to work also when
21966 "IsNSSSupportAvailable" method is not available.
21967 Reported by Steve Youngs <steve@sxemacs.org>.
21968
21969 2009-07-24 Kenichi Handa <handa@m17n.org>
21970
21971 * international/characters.el: Fix setting of category ?C, ?|, ?K,
21972 and ?H. Fix setting of case for Latin Extended and Greek Extended.
21973 (build-unicode-category-table): Fix range checks.
21974
21975 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
21976
21977 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
21978 the buffer we try to sync is current when calling
21979 vc-resynch-buffer.
21980
21981 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
21982 not show up to date files.
21983
21984 2009-07-24 Glenn Morris <rgm@gnu.org>
21985
21986 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
21987 Add autoload cookies. If necessary, initialize.
21988 (elint-log): Handle non-file buffers.
21989 (elint-initialize): Add optional argument to reinitialize.
21990 (elint-find-builtin-variables): Save excursion.
21991
21992 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
21993
21994 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
21995 for Lint.
21996
21997 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
21998
21999 * vc.el (vc-print-log-internal): New function, split out from ...
22000 (vc-print-log): ... here.
22001 (vc-dir-move-to-goal-column): Declare.
22002
22003 * vc-git.el (vc-git-add-signoff): New variable.
22004 (vc-git-checkin): Use it.
22005 (vc-git-toggle-signoff): New function.
22006 (vc-git-extra-menu-map): Bind it to menu.
22007 (vc-git--run-command-string): Accept a nil FILE argument.
22008 (vc-git-stash-list): New function.
22009 (vc-git-dir-extra-headers): Use it.
22010
22011 2009-07-23 Glenn Morris <rgm@gnu.org>
22012
22013 * help-fns.el (describe-variable): Describe ignored and risky local
22014 variables in a similar way to that in which we describe safe ones.
22015
22016 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
22017 (byte-compile-output-file-form, byte-compile-output-docform)
22018 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
22019 Give some more local variables with common names a "bytecomp-" prefix,
22020 so as not to shadow things during compilation.
22021 * emacs-lisp/cl-macs.el (load-time-value)
22022 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
22023 `outbuffer' to `bytecomp-outbuffer'.
22024
22025 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
22026 since the next two variables cover them automatically now.
22027 (elint-builtin-variables, elint-autoloaded-variables): New.
22028 (elint-unknown-builtin-args): Remove all members, since they can be
22029 parsed automatically now.
22030 (elint-extra-errors): New.
22031 (elint-env-add-env, elint-env-add-macro): Use cadr.
22032 (elint-current-buffer): Use or. Change final message.
22033 (elint-get-top-forms): Use line-end-position.
22034 (elint-init-env): Use cadr. Handle autoload, declare-function,
22035 and defalias.
22036 (elint-add-required-env): Doc fix. Use or. Standardize error.
22037 (regexp-assoc): Remove unused function.
22038 (elint-top-form): Set elint-current-pos, to record the start of the
22039 top-level form, for compilation-mode.
22040 (elint-form): Trap errors in macro expansion. Use dolist.
22041 (elint-unbound-variable): Use elint-builtin-variables and
22042 elint-autoloaded-variables.
22043 (elint-get-args): Use cadr, or.
22044 (elint-check-cond-form): Use dolist, cadr.
22045 (elint-check-condition-case-form): Doc fix. Use cadr.
22046 Use elint-extra-errors.
22047 (elint-log): New function.
22048 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
22049 Distinguish errors and warnings.
22050 (elint-log-message): Use with-current-buffer. Inhibit read-only.
22051 Use a bytecomp-style format.
22052 (elint-clear-log): Preserve default-directory. Inhibit read-only.
22053 (elint-get-log-buffer): Use compilation mode. Disable undo.
22054 Don't truncate lines.
22055 (elint-initialize): Set builtin and autoloaded variable lists.
22056 Only process elint-unknown-builtin-args if non-nil.
22057 (elint-find-builtin-variables, elint-find-autoloaded-variables):
22058 New functions.
22059 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
22060
22061 2009-07-22 Kevin Ryde <user42@zip.com.au>
22062
22063 * net/newst-backend.el (newsticker--parse-atom-1.0)
22064 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
22065 (newsticker--parse-rss-1.0):
22066 * progmodes/idlwave.el (idlwave-mode):
22067 * progmodes/idlw-shell.el (idlwave-shell-mode):
22068 * progmodes/vera-mode.el (vera-mode):
22069 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
22070 * progmodes/vhdl-mode.el (vhdl-mode):
22071 * textmodes/table.el (table-generate-source)
22072 (table--warn-incompatibility):
22073 Hyperlink urls in docstrings with URL `...'.
22074
22075 2009-07-22 Glenn Morris <rgm@gnu.org>
22076
22077 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
22078 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
22079 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
22080 Remove leading * from defcustom docs.
22081
22082 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
22083
22084 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
22085 defcustom doc.
22086 (list-load-path-shadows): Optionally, just return shadows as a string.
22087
22088 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
22089
22090 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
22091
22092 * mail/rmailedit.el (rmail-edit-mode):
22093 Use auto-save-include-big-deletions.
22094
22095 * mail/rmail.el (rmail-variables):
22096 Use auto-save-include-big-deletions.
22097
22098 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
22099 changes.
22100
22101 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
22102
22103 * calc/calc.el (calc-undo-length): New variable.
22104 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
22105
22106 2009-07-21 Richard Stallman <rms@gnu.org>
22107
22108 * files.el (auto-save-mode): Handle buffer-save-size = -2
22109 for toggling mode.
22110
22111 2009-07-21 Glenn Morris <rgm@gnu.org>
22112
22113 * textmodes/ispell.el (ispell-looking-back): Update declaration.
22114
22115 * calendar/todo-mode.el (calendar-current-date): Update declaration.
22116
22117 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
22118 silence compiler. Instead...
22119 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
22120 (ps-print-ensure-fontified): Update for above function name changes.
22121
22122 * printing.el (pr-mh-get-msg-num, pr-mh-show)
22123 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
22124 silence compiler. Instead...
22125 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
22126 (mh-show-buffer): Only define for compiler.
22127 (pr-mh-current-message): Update for above function name changes.
22128
22129 * files.el (abort-if-file-too-large): Explicitly pass `filename'
22130 as an argument.
22131 (find-file-noselect, insert-file-1): Update for above change.
22132
22133 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
22134
22135 * mail/mailclient.el (mailclient-send-it): Fix message.
22136
22137 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
22138 (edebug-eval): Check cl-debug-env is bound.
22139 (print-level, print-circle): Don't redefine built-in variables.
22140
22141 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
22142 (custom-print-vectors): Remove old comments from doc.
22143
22144 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
22145 (emerge-version): Make the variable an obsolete alias for the
22146 emacs-version variable. Make the function obsolete.
22147 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
22148 Emerge options, rather than merging in into the main Options menu.
22149 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
22150 and auto advance modes. Disable edit/fast items when not relevant.
22151
22152 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
22153
22154 * term/vt420.el (terminal-init-vt420): Fix typo.
22155
22156 2009-07-20 Sam Steingold <sds@gnu.org>
22157
22158 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
22159 variable (removed from compile.el on 2004-03-11).
22160
22161 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
22162
22163 * files.el (hack-local-variables-filter): Fix last change.
22164
22165 2009-07-19 Juri Linkov <juri@jurta.org>
22166
22167 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
22168 (dir-local-variables-alist): New buffer-local variable.
22169 (hack-local-variables-filter): If variable is not dir-local,
22170 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
22171 because file-local overrides dir-local.
22172 (c-postprocess-file-styles) <declare-function>:
22173 Remove obsolete declaration.
22174 (hack-dir-local-variables): Add dir-local variable/value pair to
22175 `dir-local-variables-alist' and remove duplicates. Doc fix.
22176
22177 * help-fns.el (describe-variable): Add information about
22178 file-local and dir-local variables.
22179
22180 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
22181
22182 * files.el (hack-local-variables-filter): Rewrite.
22183
22184 2009-07-19 Glenn Morris <rgm@gnu.org>
22185
22186 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
22187 Silence compiler by only defining on XEmacs.
22188
22189 * international/mule.el (auto-coding-regexp-alist): Only match
22190 BABYL... at the start of buffer, not of lines. (Bug#3790)
22191
22192 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
22193 non-calendar buffers (Bug#3862). Restore "not on a date" message.
22194 (cal-menu-context-mouse-menu): Doc fix.
22195
22196 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
22197
22198 * simple.el (mail-user-agent): Doc fix. Set :version tag.
22199
22200 2009-07-18 Juri Linkov <juri@jurta.org>
22201
22202 * info.el: Virtual Info keyword finder.
22203 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
22204 (Info-finder-file): New variable.
22205 (Info-finder-find-file): New function.
22206 (finder-known-keywords, finder-package-info)
22207 (find-library-name, lm-commentary): Use defvar and
22208 declare-function to silence compiler warnings.
22209 (Info-finder-find-node): New function.
22210 (info-finder): New command.
22211
22212 * subr.el (process-kill-buffer-query-function): New function.
22213 (add-hook)<kill-buffer-query-functions>: Add hook
22214 `process-kill-buffer-query-function'.
22215
22216 2009-07-18 Alan Mackenzie <acm@muc.de>
22217
22218 * progmodes/cc-mode.el (c-before-hack-hook)
22219 (c-postprocess-file-styles): Give invocation of `c-set-style'
22220 DONT-OVERRIDE parameter of t. Already set style variables will
22221 thus not be overridden by style settings given by `c-file-syle'.
22222
22223 * files.el (hack-local-variables-filter): Remove entries with
22224 duplicate keys from `file-local-variables-alist'.
22225
22226 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22227
22228 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
22229 x-set-selection if display-selections-p returns nil for the
22230 current frame.
22231
22232 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
22233
22234 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
22235
22236 2009-07-18 Eli Zaretskii <eliz@gnu.org>
22237
22238 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
22239 Accept nil in addition to a regexp.
22240 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
22241 Accept nil in addition to a regexp.
22242 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
22243 buffers that have an associated file. Handle nil values of
22244 desktop-buffers-not-to-save and desktop-files-not-to-save.
22245 (Bug#3833)
22246
22247 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
22248 (x-disown-selection-internal): New functions.
22249
22250 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
22251
22252 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
22253 warning.
22254 (gdb-breakpoints-header): Move forward to avoid compiler warning.
22255 (gdb-make-header-line-mouse-map): Remove duplicate definition.
22256
22257 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
22258
22259 * simple.el (set-mark): Revert last change.
22260
22261 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
22262
22263 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
22264 rendering of pngs is not possible instead of messaging a long
22265 description.
22266
22267 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
22268
22269 * w32-fns.el (x-selection-owner-p): New function.
22270
22271 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
22272 (mouse-yank-at-click, mouse-yank-primary):
22273 If select-active-regions is non-nil, deactivate the mark before
22274 insertion.
22275
22276 * simple.el (deactivate-mark, set-mark): Only save selection if we
22277 own it.
22278
22279 2009-07-17 Kenichi Handa <handa@m17n.org>
22280
22281 * case-table.el (describe-buffer-case-table): Fix for the case
22282 that KEY is a cons.
22283
22284 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
22285
22286 * vc-rcs.el (vc-rcs-find-file-hook):
22287 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
22288
22289 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
22290
22291 * net/tramp.el (tramp-wait-for-output): Handle the case when
22292 commands do not return a newline but a null byte before the shell
22293 prompt. (Bug#3858)
22294
22295 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
22296
22297 * term/ns-win.el (ns-set-alpha): Don't declare.
22298 (ns-set-background-alpha): Remove function.
22299
22300 2009-07-16 Kevin Ryde <user42@zip.com.au>
22301
22302 * emacs-lisp/copyright.el (copyright-update): Save match-data across
22303 y-or-n-p, for safety.
22304
22305 2009-07-16 Richard Stallman <rms@gnu.org>
22306
22307 * files.el (auto-save-mode): If buffer-saved-size is -2,
22308 don't clobber it.
22309
22310 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
22311 (rmail-retry-ignored-headers): Add more uninteresting fields.
22312
22313 2009-07-15 Jari Aalto <jari.aalto@cante.net>
22314
22315 * net/rcirc.el (rcirc): Use history variables.
22316 (rcirc-server-name-history, rcirc-nick-name-history)
22317 (rcirc-server-port-history): New variables.
22318
22319 2009-07-15 Kenichi Handa <handa@m17n.org>
22320
22321 * international/mule-cmds.el (set-language-environment-charset):
22322 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
22323 ignore them.
22324
22325 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
22326 Delete unibyte-display.
22327
22328 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22329
22330 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
22331
22332 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
22333
22334 * simple.el (deactivate-mark): Optional argument FORCE.
22335 (set-mark): Use deactivate-mark.
22336
22337 * info.el (Info-search): No need to check transient-mark-mode
22338 before calling deactivate-mark.
22339
22340 * select.el (x-set-selection): Doc fix.
22341 (x-valid-simple-selection-p): Allow buffer values.
22342 (xselect--selection-bounds): Handle buffer values.
22343 Suggested by David De La Harpe Golden.
22344
22345 * mouse.el (mouse-set-region, mouse-drag-track):
22346 Call copy-region-as-kill before setting the mark, to let
22347 select-active-regions work.
22348
22349 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
22350
22351 * simple.el (deactivate-mark): If select-active-regions is
22352 non-nil, copy the selection data into a string.
22353 (activate-mark): If select-active-regions is non-nil, set the
22354 selection to the current buffer.
22355 (set-mark): Update selection if select-active-regions is non-nil.
22356
22357 * select.el (x-valid-simple-selection-p): Allow buffer values.
22358
22359 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
22360
22361 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
22362 and more featureful message-mode.
22363
22364 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
22365
22366 * select.el (x-set-selection): Doc fix.
22367 (x-valid-simple-selection-p): Disallow selection data consisting
22368 of a list or cons of integers, since that is not used.
22369 (xselect--selection-bounds, xselect--int-to-cons): New functions.
22370 (xselect-convert-to-string, xselect-convert-to-length)
22371 (xselect-convert-to-filename, xselect-convert-to-charpos)
22372 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
22373
22374 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
22375
22376 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
22377 output in -break-info command (Emacs bug #3794).
22378
22379 2009-07-14 Glenn Morris <rgm@gnu.org>
22380
22381 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
22382 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
22383 (edebug-print-length, edebug-print-level, edebug-print-circle)
22384 (edebug-sit-for-seconds, edebug-view-outside)
22385 (edebug-bounce-point, edebug-set-global-break-condition)
22386 (edebug-Go-nonstop-mode, edebug-trace-mode)
22387 (edebug-Trace-fast-mode, edebug-continue-mode)
22388 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
22389 (edebug-visit-eval-list): Doc fixes.
22390
22391 * subr.el (def-edebug-spec): Doc fix.
22392
22393 2009-07-14 Kenichi Handa <handa@m17n.org>
22394
22395 * international/characters.el: Fix setting of category ?C.
22396
22397 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
22398
22399 * term/ns-win.el (x-select-font): defalias x-select-font to
22400 ns-popup-font-panel instead of generate-fontset-menu.
22401
22402 2009-07-12 Eli Zaretskii <eliz@gnu.org>
22403
22404 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
22405
22406 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
22407
22408 * arc-mode.el (archive-find-type): Allow for a PK00 string before
22409 the PK\003\004 header (Bug#3770).
22410
22411 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
22412
22413 * pcomplete.el (pcomplete-comint-setup): Check for
22414 shell-dynamic-complete-filename too.
22415
22416 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
22417
22418 * simple.el (temporary-goal-column): Change the value for
22419 line-move-visual to a cons cell.
22420 (line-move-visual): Record or set the window hscroll, if
22421 necessary (Bug#3494).
22422 (line-move-1): Handle cons value of temporary-goal-column.
22423
22424 2009-07-11 Kenichi Handa <handa@m17n.org>
22425
22426 * international/mule-diag.el (describe-character-set): Don't show
22427 width.
22428
22429 2009-07-10 Sam Steingold <sds@gnu.org>
22430
22431 * progmodes/compile.el (compilation-mode-font-lock-keywords):
22432 Omake sometimes indents the errors it prints, so allow all
22433 regexps to start with spaces.
22434
22435 2009-07-10 Eli Zaretskii <eliz@gnu.org>
22436
22437 * cus-edit.el (customize-changed-options-previous-release):
22438 Bump value to 22.1. (Bug#3804)
22439
22440 2009-07-08 Sam Steingold <sds@gnu.org>
22441
22442 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
22443 to be a cons cell (test . ignored-directory) to selectively ignore
22444 some directories depending on the location of the search.
22445
22446 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
22447
22448 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
22449 remote user is root, on the local host.
22450 (tramp-local-host-p): Either the local user or the remote user
22451 must be root. (Bug#3771)
22452
22453 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22454
22455 * progmodes/gdb-mi.el (gdb): Remove description of
22456 gdb-use-separate-io-buffer.
22457 (menu): Don't allow toggling of or enable
22458 gdb-use-separate-io-buffer from menubar.
22459
22460 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
22461
22462 * mail/unrmail.el (unrmail): Make sure the message ends with two
22463 newlines (Bug#3769).
22464
22465 2009-07-08 Glenn Morris <rgm@gnu.org>
22466
22467 * calendar/calendar.el (calendar-current-date): Rework previous change.
22468
22469 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
22470
22471 * calendar/calendar.el (calendar-current-date):
22472 Add an optional argument giving an offset from today.
22473
22474 2009-07-08 Glenn Morris <rgm@gnu.org>
22475
22476 * tutorial.el (tutorial--describe-nonstandard-key):
22477 Adjust the message for when a key has been unbound.
22478 (help-with-tutorial): Hide the arch-tag.
22479
22480 2009-07-08 Kenichi Handa <handa@m17n.org>
22481
22482 * international/fontset.el (setup-default-fontset): For each
22483 script, append (not set) font-specs.
22484
22485 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
22486 docstring.
22487
22488 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
22489
22490 * progmodes/gdb-mi.el (gdb-init-1): Move sending
22491 -data-list-register-names to ...
22492 (gdb-starting): ... here because GDB 7.0 requires execution to
22493 have started when using this MI command.
22494 (gdb-set-header): New function to distinguish select and
22495 unselected tabs in gdb buffers.
22496 (gdb-propertize-header): New macro that uses gdb-set-header.
22497 (gdb-breakpoints-header, gdb-locals-header): Use it.
22498 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
22499
22500 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
22501
22502 * Makefile.in (ELCFILES): Remove fadr.elc.
22503
22504 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
22505
22506 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
22507 may contain frame information, so `string-match' should be used.
22508 (gdb-update): Disassembly is invalidated through
22509 `gdb-get-selected-frame'.
22510 (gdb-pad-string): New function to pad string with spaces.
22511 (gdb-invalidate-disassembly): Invalidate only if the buffer
22512 exists.
22513 (gdb-disassembly-handler-custom): Column alignment.
22514 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
22515 placing new ones.
22516 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
22517 end of line, too.
22518 (gdb-frame-handler): Match convention to for disassembly buffer
22519 mode name.
22520 (gdb-stack-list-frames-handler): Rewritten without regexps.
22521 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
22522 not highlight breakpoints without line information.
22523 (gdb-input): Add trailing newline to command.
22524
22525 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
22526 buffer properly.
22527 (gdb-breakpoints-list-handler-custom): Replacement for
22528 `gdb-break-list-handler'. Using real parser instead of regexps
22529 now.
22530 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
22531 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
22532 to place breakpoints.
22533 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
22534 functions.
22535 (gdb-disassembly-handler-custom): Show overlay arrow.
22536 (gdb-disassembly-place-breakpoints): Show breakpoints in
22537 disassembly buffer.
22538 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
22539 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
22540 instead of parsing breakpoints buffer. Fixed old menu references
22541 in `gud-menu-map'.
22542
22543 * fadr.el: Remove.
22544
22545 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
22546 (gdb-memory-address): New variable which holds top address of
22547 memory page shown in memory buffer.
22548 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
22549 New customization variables.
22550 New functions:
22551 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
22552 display the memory buffer.
22553 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
22554 buffer display parameters.
22555 (def-gdb-memory-format, gdb-memory-format-binary)
22556 (gdb-memory-format-octal, gdb-memory-format-unsigned)
22557 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
22558 Functions for setting memory buffer format.
22559 (gdb-memory-unit-word, gdb-memory-unit-halfword)
22560 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
22561 unit size used in memory buffer.
22562 (gdb-memory-show-next-page, gdb-memory-show-previous-page):
22563 Switch to next/previous page of memory buffer.
22564 Now using (bindat-get-field) instead of fadr functions.
22565
22566 2009-07-07 Sam Steingold <sds@gnu.org>
22567
22568 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
22569 non-top-level files.
22570
22571 2009-07-07 Kenichi Handa <handa@m17n.org>
22572
22573 * international/mule-cmds.el (reset-language-environment):
22574 Put the highset priority to the charset iso-8859-1.
22575
22576 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22577
22578 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
22579 to the end of the line when locating the block (Bug#700).
22580
22581 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
22582
22583 * net/tramp.el (tramp-handle-write-region): Flush file properties
22584 in case of short track.
22585
22586 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
22587
22588 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
22589 Coded custom representation of verilog error regular expressions
22590 to work with Emacs-22's new format.
22591 (verilog-error-regexp-xemacs-alist): Coded custom representation
22592 of verilog error regular expressions to work with XEmacs format.
22593 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
22594 error recognition into XEmacs.
22595 (verilog-error-regexp-add-emacs): Hook routine to install verilog
22596 error recognition into Emacs-22.
22597
22598 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
22599
22600 * woman.el: Remove stand-alone closing parentheses.
22601 (woman-file-name, woman2-format-paragraphs)
22602 (woman-leave-blank-lines): Code cleanup.
22603 (woman-use-own-frame): Change default to nil.
22604 (woman-italic, woman-bold, woman-unknown, woman-addition):
22605 Change defaults to inherit from default faces.
22606 (woman2-process-escapes): Consume the newline after a stand-alone
22607 filler character (Bug#3651).
22608
22609 2009-07-06 Glenn Morris <rgm@gnu.org>
22610
22611 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
22612 (top-level): Move provide to the end.
22613 (ffap): Remove defunct URL from custom group.
22614
22615 * subr.el (eval-after-load): Doc fix.
22616
22617 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
22618
22619 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
22620 `calc-embedded-word' is called twice.
22621
22622 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22623
22624 * files.el (find-alternate-file-other-window, find-alternate-file):
22625 Obey confirm-nonexistent-file-or-buffer.
22626
22627 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
22628
22629 * dired-aux.el (dired-show-file-type): Handle remote files.
22630
22631 2009-07-05 Jari Aalto <jari.aalto@cante.net>
22632
22633 * desktop.el (desktop-globals-to-save):
22634 Add file-name-history (Bug#2750).
22635
22636 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
22637
22638 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
22639
22640 2009-07-04 Johan Bockgård <bojohan@gnu.org>
22641
22642 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
22643 property on entire argument since this is what eshell-lisp-command
22644 expects.
22645
22646 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
22647
22648 * net/tramp-gvfs.el (tramp-gvfs-methods)
22649 (tramp-gvfs-zeroconf-domain)
22650 (tramp-bluez-discover-devices-timeout): Add version flag.
22651 (tramp-gvfs-handler-mounted-unmounted)
22652 (tramp-gvfs-connection-mounted-p): Polish handling of
22653 incompatibilities between GVFS 0.2 and 1.0.
22654
22655 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
22656
22657 * cus-start.el (all): Add make-pointer-invisible.
22658
22659 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
22660
22661 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
22662 formatted correctly.
22663
22664 2009-07-02 Juri Linkov <juri@jurta.org>
22665
22666 * info.el: Virtual Info files and nodes.
22667 (Info-virtual-files, Info-virtual-nodes): New variables.
22668 (Info-current-node-virtual): New variable.
22669 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
22670 New functions.
22671 (Info-file-supports-index-cookies): Use Info-virtual-file-p
22672 to check for a virtual file instead of checking a fixed list
22673 of node names.
22674 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
22675 instead of ad-hoc processing of "dir" and (apropos history toc).
22676 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
22677 instead of ad-hoc processing of "dir" and (apropos history toc).
22678 Reread a file when moving from a virtual node.
22679 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
22680 (Info-directory-toc-nodes, Info-directory-find-file)
22681 (Info-directory-find-node): New functions.
22682 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
22683 (Info-history): Move part of code to
22684 `Info-history-find-node'.
22685 (Info-history-toc-nodes, Info-history-find-file)
22686 (Info-history-find-node): New functions.
22687 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
22688 (Info-toc): Move part of code to `Info-toc-find-node'.
22689 (Info-toc-find-node): New function.
22690 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
22691 the current Info file name to references because now the node
22692 "*TOC*" belongs to the same Info manual.
22693 (Info-toc-build): Rename from `Info-build-toc'.
22694 (Info-toc-nodes): Rename input argument `file' to `filename'.
22695 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
22696 instead of ad-hoc processing of ("dir" apropos history toc).
22697 (Info-index-nodes): Use Info-virtual-file-p
22698 to check for a virtual file instead of checking a fixed list
22699 of node names.
22700 (Info-index-node): Add check for `Info-current-node-virtual'.
22701 Raise `save-match-data' higher up the tree to contain
22702 `search-forward' too (bug fix).
22703 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
22704 (Info-virtual-index-nodes): New variable.
22705 (Info-virtual-index-find-node, Info-virtual-index): New functions.
22706 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
22707 (Info-apropos-file, Info-apropos-nodes): New variables.
22708 (Info-apropos-toc-nodes, Info-apropos-find-file)
22709 (Info-apropos-find-node, Info-apropos-matches): New functions.
22710 (info-apropos): Move part of code to `Info-apropos-find-node' and
22711 `Info-apropos-matches'.
22712 (Info-mode-map): Bind "I" to `Info-virtual-index'.
22713 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
22714 for a virtual file instead of checking a fixed list of node names.
22715
22716 * simple.el (async-shell-command): New command.
22717
22718 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
22719
22720 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
22721 instead of `mount-info'.
22722
22723 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
22724
22725 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
22726 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
22727
22728 2009-07-02 Kenichi Handa <handa@m17n.org>
22729
22730 * international/mule.el (set-keyboard-coding-system): Force *-unix
22731 coding-system to avoid eol conversion.
22732
22733 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
22734
22735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
22736 Add handler for `process-file', `shell-command' and
22737 `start-file-process'.
22738 (tramp-gvfs-handle-shell-command)
22739 (tramp-gvfs-handle-start-file-process)
22740 (tramp-gvfs-handle-process-file): New defuns.
22741 (tramp-synce-list-devices): Simplify check for existence of property.
22742
22743 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
22744
22745 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
22746
22747 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
22748
22749 * language/korean.el (set-language-info-alist): Add korean-cp949,
22750 cp949 to spec.
22751
22752 2009-07-01 Kenichi Handa <handa@m17n.org>
22753
22754 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
22755
22756 * international/encoded-kb.el: Deleted.
22757
22758 * international/mule.el (set-keyboard-coding-system): Perform the
22759 necessary setup here instead of calling encoded-kbd-setup-display.
22760
22761 2009-07-01 Glenn Morris <rgm@gnu.org>
22762
22763 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
22764
22765 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
22766
22767 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
22768
22769 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
22770
22771 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
22772 Handle also the 'rename case, when setting file modes. (Bug#3712)
22773 (tramp-default-file-modes): Remove execute permissions.
22774
22775 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
22776 (top): Add a default for "synce" in `tramp-default-user-alist'.
22777 Add completion function for "synce" method.
22778 (tramp-hal-service, tramp-hal-path-manager)
22779 (tramp-hal-interface-manager, tramp-hal-interface-device):
22780 New defconst.
22781 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
22782 (tramp-synce-list-devices, tramp-synce-parse-device-names):
22783 New defuns.
22784
22785 * net/trampver.el: Update release number.
22786
22787 2009-06-30 Kenichi Handa <handa@m17n.org>
22788
22789 * international/fontset.el (setup-default-fontset): Add CJK fonts
22790 for symbols and the other miscellaneous characters.
22791
22792 * language/korea-util.el (setup-korean-environment-internal):
22793 Make char-width-table suitable for Korean environments.
22794 (exit-korean-environment): Cancel above.
22795
22796 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
22797 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
22798 setup-function to make char-width-table suitable for respective
22799 environments, and an exit-function to cancel that.
22800
22801 * language/japan-util.el (setup-japanese-environment-internal):
22802 Call use-cjk-char-width-table with arg `ja_JP'.
22803
22804 * international/characters.el (cjk-char-width-table): Delete it.
22805 (cjk-char-width-table-list): New variable.
22806 (use-cjk-char-width-table): New arg local-name.
22807 (use-default-char-width-table): Fix for the case that Emacs is
22808 already using the default char-width-table.
22809
22810 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
22811
22812 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
22813 modes mandatory. (Bug#3712)
22814
22815 2009-06-29 Alan Mackenzie <acm@muc.de>
22816
22817 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
22818 correction between the visible width of TABs and their number of bytes.
22819
22820 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
22821
22822 * server.el (server-buffer-done): Prevent kill-buffer from
22823 prompting by clearing the buffer modification flag (Bug#3696).
22824
22825 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
22826
22827 * progmodes/verilog-mode.el (verilog-beg-of-statement)
22828 (verilog-endcomment-reason-re): Support unique case and priority case.
22829 (verilog-basic-complete-re): Support localparam lineup.
22830 (verilog-beg-of-statement-1): Fix for robustness, unique case.
22831 (verilog-set-auto-endcomments): Fix for unique case, always_comb
22832 commenting.
22833 (verilog-leap-to-case-head): Now support *nested* unique &
22834 priority case statements.
22835 (verilog-auto-lineup): Make just declarations the default (as it
22836 had been).
22837 (verilog-leap-to-case-head): Support priority/unique case statements.
22838 (verilog-auto-lineup): Rework to give users radio buttons to
22839 select the various styles of automatic lineup.
22840 (verilog-error-regexp-alist): Rework to support the XEmacs style
22841 of error regular expressions from compilers, lint tools &
22842 simulators. Note that GNU Emacs has made it impossible for a mode
22843 to load such things.
22844 (electric-verilog-terminate-line, verilog-indent-declaration)
22845 (verilog-auto-wiure): Rework for radio button selection of
22846 auto-lineup selection of specification of auto lineup.
22847 (verilog-beg-of-statement-1): Redesign to support proper operation
22848 in additional code, based on testing with auto-lineup.
22849 (verilog-calculate-indent, assignments & declarations)
22850 (verilog-backward-token): Enhance to support auto-lineup of
22851 assignments & declarations.
22852 (verilog-in-directive-p, verilog-at-struct-p): New function for
22853 easy test of whether we are.
22854 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
22855 to support safe execution at almost anyline.
22856 (verilog-calc-1): Properly support indenting deep inside generate
22857 blocks.
22858 (verilog-init-font): Remove definition & use of verilog-init-font,
22859 as it is redundant with font-lock-defaults.
22860 (verilog-mode): Alter the definition of verilog-font-lock-defaults
22861 to avoid circular calls if syntax-ppss is a function (as is the
22862 case now in 22.x GNU Emacs) as that function would sometimes call
22863 itself, leading to (nearly) infinite recursion.
22864 (verilog-ovm-begin-re, verilog-ovm-end-re)
22865 (verilog-ovm-statement-re, verilog-leap-to-head)
22866 (verilog-backward-token): Add support for OVM macros. Some are
22867 complete statements, and others open and close scopes like begin
22868 and end.
22869 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
22870 (verilog-defun-level-generate-only-re): Really fix the defun-list
22871 compilation issue.
22872 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
22873 coverpoint, constraint and cross statements.
22874 (verilog-defun-level-list, verilog-generate-defun-level-list)
22875 (verilog-all-defun-level-list): Redo these specifications - it is
22876 too hard to support eval-when compile aggregation of lists also
22877 built at when-compile time.
22878 (verilog-defun-level-list): Place defconsts of variables used in
22879 building regular expressions which are built in eval-when-compile
22880 bodies in the same eval-when-compile body to facilitate compile
22881 without load.
22882 (verilog-beg-block-re-ordered): Support indenting
22883 virtual/protected tasks and functions.
22884 (verilog-defun-level-list, verilog-in-generate-region-p)
22885 (verilog-backward-ws&directives, verilog-calc-1): Speed up
22886 indentation of some module items (generate items).
22887 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
22888 across virtual/protected tasks and functions.
22889
22890 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
22891
22892 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
22893 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
22894 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
22895 in concatenations. Reported by Yishay Belkind.
22896 (verilog-auto-ascii-enum): Support one-hot state machines in
22897 AUTOASCIIENUM. Suggested by Lloyd Gomez.
22898 (verilog-auto-inst, verilog-auto-inst-port): Include interface
22899 modport in AUTOINST and add vl-modport for users.
22900 Reported by David Rogoff.
22901 (verilog-auto-inout-module, verilog-auto-inst)
22902 (verilog-decls-get-interfaces, verilog-insert-definition)
22903 (verilog-insert-one-definition, verilog-read-decls)
22904 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
22905 (verilog-sig-modport, verilog-signals-combine-bus)
22906 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
22907 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
22908 Suggested by David Rogoff.
22909 (verilog-repair-open-comma): Fix non-insertion of comma when
22910 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
22911 (verilog-make-width-expression): Simplify [A-1:0] expression
22912 widths to just {A{1'b0}}.
22913 (verilog-mode): Cleanup checkdoc warnings.
22914 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
22915 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
22916 inputs/outputs or data type. Suggested by Vasu Kandadi.
22917 (next-error-last-buffer): Fix byte-compiler warning.
22918 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
22919 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
22920 or shell command text during AUTO expansion. Suggested by Tad Truex.
22921 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
22922 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
22923 Fix dotted nets {a.b,c.d} and escaped identifiers being mis-included
22924 in AUTOINOUT. Reported by Matthew Lovell.
22925 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
22926 causing use of <= assignments. Reported by Alex Reed.
22927 (verilog-read-decls): Fix triand, trior, wand, wor to be
22928 recognized by AUTOWIRE. Reported by Spencer Isaacson.
22929 (verilog-extended-complete-re): Support import "DPI-C" functions.
22930 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
22931 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
22932 (verilog-insert-date, verilog-insert-year)
22933 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
22934 Windows systems. Reported by Michael Potts.
22935 (verilog-read-module-name): Fix AUTOINST when the child module
22936 declaration's name is a tick define. Reported by Elliot Mednick.
22937 (verilog-read-decls): Fix V2K parameter bit subscripts getting
22938 passed to next parameter's definition. Reported by Bruce T.
22939 (verilog-read-decls): Fix detecting "parameter int" when using
22940 AUTOINSTPARAM. Reported by Bruce T.
22941 (verilog-goto-defun): Fix goto not finding modules unless first
22942 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
22943 (verilog-mode): Expand -f flag arguments on entry to mode so
22944 verilog-goto-defun will work. Reported by Lawrence Butcher.
22945 (verilog-getopt): Expand environment variables in -f file
22946 arguments. Suggested by Lawrence Butcher.
22947 (verilog-set-define): Fix "Symbol's value as variable is void"
22948 when reading enumerations.
22949 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
22950 Suggested by Stephen Peltan.
22951 (verilog-read-defines): Fix reading of enumerations in include
22952 files. Reported by Steve Peltan.
22953
22954 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22955
22956 * files.el (trash-directory): Fix defcustom type.
22957
22958 2009-06-28 Juri Linkov <juri@jurta.org>
22959
22960 * help-fns.el (describe-function-1): Correctly locate adviced
22961 functions in hyperlink (Bug#2438).
22962
22963 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
22964
22965 * files.el (trash-directory): Change default to nil.
22966 (move-file-to-trash): If trash-directory is nil and
22967 system-move-file-to-trash is unbound, perform freedesktop-style
22968 trashing.
22969
22970 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
22971
22972 * files.el (move-file-to-trash): Add freedesktop trash
22973 support (Bug#973).
22974
22975 2009-06-28 Glenn Morris <rgm@gnu.org>
22976
22977 * autorevert.el (global-auto-revert-non-file-buffers)
22978 (global-auto-revert-mode): Doc fixes.
22979
22980 2009-06-27 Johan Bockgård <bojohan@gnu.org>
22981
22982 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
22983
22984 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
22985
22986 * faces.el (x-handle-named-frame-geometry): Ensure that we have
22987 opened an X connection before calling x-get-resource (Bug#3194).
22988
22989 * play/doctor.el: Remove reference to obsolete website.
22990 (make-doctor-variables): Correct grammar mistake (Bug#2633).
22991
22992 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
22993
22994 Remove find-file-not-found-hook VC method. (Bug#2757)
22995 * vc-hooks.el (vc-file-not-found-hook)
22996 (vc-default-find-file-not-found-hook): Remove functions.
22997 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
22998 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
22999 * vc.el:
23000 * vc-hg.el:
23001 * vc-git.el: Do not mention find-file-not-found-hook VC method.
23002
23003 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
23004
23005 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
23006 compatibility function for `looking-back'.
23007
23008 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
23009 Use `ispell-looking-back'.
23010
23011 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
23012
23013 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
23014 rather than `filename'.
23015
23016 2009-06-23 Miles Bader <miles@gnu.org>
23017
23018 * face-remap.el (text-scale-set): New function.
23019
23020 2009-06-23 Glenn Morris <rgm@gnu.org>
23021
23022 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
23023
23024 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
23025
23026 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
23027
23028 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
23029
23030 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
23031 Simplify Persian conditionals.
23032
23033 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
23034 variable `filename'.
23035
23036 * comint.el (comint-insert-input): Doc fix.
23037
23038 * Makefile.in (ELCFILES): Fix typo in previous change.
23039
23040 2009-06-23 Miles Bader <miles@gnu.org>
23041
23042 * cus-start.el: Add entry for `recenter-redisplay'.
23043
23044 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23045
23046 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
23047 Add an optional argument for the backend, use it instead of
23048 calling vc-backend.
23049 (vc-mode-line): Add an optional argument for the backend.
23050 Pass the backend to vc-state and vc-working-revision. Move code for
23051 special handling for vc-state being a buffer to ...
23052
23053 * vc-rcs.el (vc-rcs-find-file-hook):
23054 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
23055
23056 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
23057 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
23058 vc-stay-local-p and vc-mode-line calls.
23059
23060 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
23061 (vc-cvs-diff, vc-cvs-annotate-command)
23062 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
23063 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
23064 vc-mode-line calls.
23065
23066 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
23067 direct comparison.
23068 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
23069 backend when calling vc-mode-line.
23070 (vc-register): Do not create a closure for calling the vc register
23071 function, call it directly.
23072
23073 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
23074
23075 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
23076 to make it obvious item can be clicked.
23077
23078 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
23079
23080 2009-06-23 Kenichi Handa <handa@m17n.org>
23081
23082 * language/korea-util.el (korean-key-bindings): Change the binding
23083 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
23084 same command.
23085
23086 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
23087
23088 Sync with Tramp 2.1.16.
23089
23090 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
23091
23092 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
23093 when a loading of a package fails. Completion function for rsync
23094 is `tramp-completion-function-alist-ssh'.
23095 (all): Replace all calls of `split-string' and
23096 `tramp-split-string' by `tramp-compat-split-string'.
23097 (tramp-default-method): Use `tramp-compat-process-running-p'.
23098 (tramp-default-proxies-alist): Allow also Lisp forms.
23099 (tramp-remote-path): Add choice "Private Directories".
23100 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
23101 (tramp-domain-regexp): Allow also "-", "_" and ".".
23102 (tramp-end-of-output): Remove newlines, and add "$" at the end.
23103 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
23104 (tramp-debug-message): Insert header line in debug buffer.
23105 (tramp-handle-directory-files-and-attributes-with-stat):
23106 Care about filenames with spaces, or starting with "-".
23107 (tramp-handle-dired-uncache): New defun.
23108 (tramp-handle-insert-directory): Don't flush the directory from
23109 cache, this is handled by `dired-uncache' now.
23110 (tramp-handle-insert-file-contents): Improve error handling.
23111 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
23112 Quote `tramp-end-of-output'.
23113 (tramp-action-password): Improve trace message.
23114 (tramp-check-for-regexp): Both echoes must be present, before removing.
23115 (tramp-open-connection-setup-interactive-shell): Trace coding system.
23116 (tramp-compute-multi-hops): Eval cons cells of
23117 `tramp-default-proxies-alist'.
23118 (tramp-maybe-open-connection): Use the same command pattern for
23119 first hop and further hops.
23120 (tramp-wait-for-output): Remove handling of newlines.
23121 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
23122 (tramp-split-string): Remove function. It is handled in
23123 tramp-compat now.
23124
23125 * net/tramp-cmds.el (tramp-bug):
23126 Recommend `tramp-cleanup-all-connections' in the bug mail.
23127
23128 * net/tramp-compat.el (tramp-compat-split-string)
23129 (tramp-compat-process-running-p): New defuns.
23130
23131 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
23132 for `dired-uncache'.
23133
23134 * net/tramp-gvfs.el: New package.
23135
23136 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
23137 Add handler for `dired-uncache'.
23138 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
23139
23140 * net/trampver.el: Update release number. Make version check fit
23141 for SXEmacs 22.
23142
23143 2009-06-22 Jim Meyering <meyering@redhat.com>
23144
23145 Automatically handle .xz suffix (XZ-compressed files), too.
23146 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
23147 XZ is the successor to LZMA: <http://tukaani.org/xz/>
23148
23149 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
23150 Nick Roberts <nickrob@snap.net.nz>
23151
23152 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
23153 repository (http://sphinx.net.ru/hg/gdb-mi/).
23154
23155 2009-06-22 Glenn Morris <rgm@gnu.org>
23156
23157 * files.el (dir-locals-collect-mode-variables): Allow for any number of
23158 `mode' and `eval' entries. (Bug#3430)
23159
23160 * Makefile.in (ELCFILES): Add fadr.elc.
23161
23162 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
23163 differing behavior of \n and ^ in strings. (Bug#3385)
23164
23165 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
23166
23167 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
23168 property.
23169 (lisp-indent-function): Make it a defcustom.
23170
23171 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
23172
23173 * progmodes/gdb-ui.el: Replace with ...
23174 * progmodes/gdb-mi.el: ... this file.
23175 * progmodes/gud.el: Modify for gdb-mi.el.
23176
23177 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
23178
23179 * fadr.el: New file.
23180
23181 See ChangeLog.14 for earlier changes.
23182
23183 ;; Local Variables:
23184 ;; coding: utf-8
23185 ;; End:
23186
23187 Copyright (C) 2009-2011 Free Software Foundation, Inc.
23188
23189 This file is part of GNU Emacs.
23190
23191 GNU Emacs is free software: you can redistribute it and/or modify
23192 it under the terms of the GNU General Public License as published by
23193 the Free Software Foundation, either version 3 of the License, or
23194 (at your option) any later version.
23195
23196 GNU Emacs is distributed in the hope that it will be useful,
23197 but WITHOUT ANY WARRANTY; without even the implied warranty of
23198 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23199 GNU General Public License for more details.
23200
23201 You should have received a copy of the GNU General Public License
23202 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.