]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Fix a bunch of custom types (thank you cus-test.el)
[gnu-emacs] / lisp / ChangeLog
1 2013-05-09 Glenn Morris <rgm@gnu.org>
2
3 * bookmark.el (bookmark-search-delay):
4 * cus-start.el (vertical-centering-font-regexp):
5 * ps-mule.el (ps-mule-font-info-database-default):
6 * ps-print.el (ps-default-fg, ps-default-bg):
7 * type-break.el (type-break-good-break-interval):
8 * whitespace.el (whitespace-indentation-regexp)
9 (whitespace-space-after-tab-regexp):
10 * emacs-lisp/testcover.el (testcover-1value-functions)
11 (testcover-noreturn-functions, testcover-progn-functions)
12 (testcover-prog1-functions):
13 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14 * eshell/em-glob.el (eshell-glob-translate-alist):
15 * play/tetris.el (tetris-tty-colors):
16 * progmodes/cpp.el (cpp-face-default-list):
17 * progmodes/flymake.el (flymake-allowed-file-name-masks):
18 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
19 (idlwave-help-browser-generic-args):
20 * progmodes/make-mode.el (makefile-special-targets-list):
21 * progmodes/python.el (python-shell-virtualenv-path):
22 * progmodes/verilog-mode.el (verilog-active-low-regexp)
23 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
24 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
25 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
26 * textmodes/reftex-vars.el (reftex-format-label-function):
27 * textmodes/remember.el (remember-diary-file): Fix custom types.
28
29 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
30 Add :version.
31
32 2013-05-09 Leo Liu <sdl.web@gmail.com>
33
34 * progmodes/octave.el (inferior-octave-completion-at-point):
35 Restore the broken file completion. (Bug#14300)
36 (inferior-octave-startup): Fix incorrect highlighting for the
37 first prompt.
38
39 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * progmodes/ruby-mode.el: First cut at SMIE support.
42 (ruby-use-smie): New var.
43 (ruby-smie-grammar): New constant.
44 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
45 (ruby-smie--forward-token, ruby-smie--backward-token)
46 (ruby-smie-rules): New functions.
47 (ruby-mode-variables): Setup SMIE if applicable.
48
49 2013-05-08 Eli Zaretskii <eliz@gnu.org>
50
51 * simple.el (line-move-visual): Signal beginning/end of buffer
52 only if vertical-motion moved less than it was requested. Avoids
53 silly incorrect error messages when there are display strings with
54 multiple newlines at EOL.
55
56 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
59 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
60 (prolog-char-quote-workaround):
61 * progmodes/cperl-mode.el (cperl-under-as-char):
62 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
63 Mark as obsolete.
64 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
65 their declaration.
66 (vhdl-mode-syntax-table-init): Remove.
67
68 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
69
70 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
71 syntax for "_".
72 (ld-script-font-lock-keywords):
73 Change regexps to use things like \_< and \_>.
74
75 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
76 Change all regexps to use things like \_< and \_>.
77
78 * progmodes/autoconf.el (autoconf-definition-regexp)
79 (autoconf-font-lock-keywords, autoconf-current-defun-function):
80 Handle a _ with symbol syntax.
81 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
82
83 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
84 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
85 the declaration.
86 (ada-create-syntax-table): Remove.
87 (ada-capitalize-word): Don't mess with the syntax of "_" since it
88 already has the right syntax nowadays.
89 (ada-goto-next-word): Don't change the syntax of "_".
90
91 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
92 with-wrapper-hook.
93
94 2013-05-08 Sam Steingold <sds@gnu.org>
95
96 * thingatpt.el (thing-at-point): Accept optional second argument
97 NO-PROPERTIES to strip the text properties from the return value.
98 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
99 to `thing-at-point' instead of stripping the properties ourselves.
100 Also, when `thing-at-point' fails to find a url, prepend "http://"
101 to the filename at point on the assumption that the user is
102 pointing at something like gnu.org/gnu.
103
104 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
105
106 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
107 * faces.el (crm-separator):
108 Silence byte-compiler.
109
110 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
111 (tool-bar-map): Remove unneeded defvars.
112
113 2013-05-08 Leo Liu <sdl.web@gmail.com>
114
115 Re-work a fix for bug#10994 based on Le Wang's patch.
116 * ido.el (ido-remove-consecutive-dups): New helper.
117 (ido-completing-read): Use it.
118 (ido-chop): Revert fix for bug#10994.
119
120 2013-05-08 Adam Spiers <emacs@adamspiers.org>
121
122 * cus-edit.el (custom-save-variables):
123 Pretty-print long values. (Bug#14187)
124
125 2013-05-08 Glenn Morris <rgm@gnu.org>
126
127 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
128 (m4-mode-syntax-table): Init in the defvar.
129 (m4-mode-abbrev-table): Let define-derived-mode define it.
130
131 2013-05-08 Tom Tromey <tromey@redhat.com>
132
133 * progmodes/m4-mode.el (m4-mode-syntax-table):
134 Do not treat "_" as word constituent. (Bug#14167)
135
136 2013-05-07 Glenn Morris <rgm@gnu.org>
137
138 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
139 Remove explicit eshell-isearch-cancel-map.
140
141 * progmodes/f90.el (f90-smart-end-names): New option.
142 (f90-smart-end): Doc fix.
143 (f90-end-block-optional-name): New constant.
144 (f90-block-match): Respect f90-smart-end-names.
145
146 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * progmodes/octave.el (octave-smie-forward-token): Be more careful
149 about implicit semi-colons (bug#14218).
150
151 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
152
153 * frame.el (display-monitor-attributes-list)
154 (frame-monitor-attributes): New functions.
155
156 2013-05-06 Leo Liu <sdl.web@gmail.com>
157
158 * progmodes/octave.el (octave-syntax-propertize-function): Change
159 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
160 (octave-font-lock-keywords): Use octave-operator-regexp.
161 (octave-completion-at-point): Renamed from
162 octave-completion-at-point-function.
163 (inferior-octave-directory-tracker): Robustify.
164 (octave-text-functions): Remove and fix its uses. No such things
165 any more.
166
167 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/trace.el (trace--display-buffer): New function.
170 (trace-make-advice): Use it.
171
172 2013-05-06 Juri Linkov <juri@jurta.org>
173
174 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
175 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
176 Doc fix.
177 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
178 in the help string. (Bug#12985)
179
180 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
181
182 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
183
184 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
185
186 * progmodes/perl-mode.el: Add support for here documents.
187 (perl-syntax-propertize-function): Match here-doc markers.
188 (perl-syntax-propertize-special-constructs): Find their end.
189 (perl-imenu-generic-expression): Use [:alnum:].
190
191 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
192 (advice--add-function): Refresh the advice if already present
193 (bug#14317).
194
195 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
196
197 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
198
199 2013-05-06 Glenn Morris <rgm@gnu.org>
200
201 * w32-fns.el (w32-charset-info-alist): Declare.
202
203 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
204 of its defcustom properties.
205 (eshell-cmpl-initialize): No need to load pcomplete.
206
207 * generic-x.el: No need to require comint when compiling.
208
209 * net/eudc-export.el: Make it loadable without bbdb.
210 (top-level): Use require rather than load-library.
211 (eudc-create-bbdb-record, eudc-bbdbify-phone)
212 (eudc-batch-export-records-to-bbdb)
213 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
214 Require bbdb.
215
216 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
217
218 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
219 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
220 some tweaks, instead.
221
222 2013-05-05 Leo Liu <sdl.web@gmail.com>
223
224 * progmodes/octave.el (octave-font-lock-keywords)
225 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
226 (inferior-octave-send-list-and-digest): Improve error message.
227 (octave-mode, inferior-octave-mode): Use setq-local.
228 (octave-help): Set info-lookup-mode.
229
230 2013-05-05 Richard Stallman <rms@gnu.org>
231
232 * vc/compare-w.el (compare-windows-whitespace):
233 Treat no-break space as whitespace.
234
235 * mail/rmailsum.el (rmail-summary-rmail-update):
236 Detect empty summary and don't change selected message.
237 (rmail-summary-goto-msg): Likewise.
238
239 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
240 Doc fixes, rename args.
241
242 2013-05-05 Alan Mackenzie <acm@muc.de>
243
244 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
245
246 2013-05-05 Juri Linkov <juri@jurta.org>
247
248 * info.el (Info-read-subfile): Use (point-min) instead of (point)
249 to not add the length of the summary segment to the return value.
250 (Bug#14125)
251
252 2013-05-05 Leo Liu <sdl.web@gmail.com>
253
254 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
255 (inferior-octave-output-filter): Remove.
256 (octave-send-region, inferior-octave-startup): Fix callers.
257 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
258 (octave-binary-file-extensions): New user variable.
259 (octave-find-definition): Confirm if opening binary files.
260 (octave-help-file): Use octave-find-definition to get the binary
261 confirmation.
262 (octave-help): Adjust for octave-help-file change.
263
264 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
267 Merge the two entries that handle function definitions.
268 (pascal--syntax-propertize): New const.
269 (pascal-mode): Use it. Use setq-local.
270
271 2013-05-04 Glenn Morris <rgm@gnu.org>
272
273 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
274 (diary-from-outlook): Respect diary-from-outlook-function.
275
276 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
277
278 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
279 Move the declaration from C.
280 (read-minibuffer, eval-minibuffer): Move from C.
281 (completion-setup-function): Avoid minibuffer-completion-contents.
282
283 2013-05-03 Leo Liu <sdl.web@gmail.com>
284
285 * progmodes/octave.el (octave-font-lock-keywords): Do not
286 dehighlight 'end' in comments or strings.
287 (octave-completing-read, octave-goto-function-definition):
288 New helpers.
289 (octave-help-buffer): New user variable.
290 (octave-help-file, octave-help-function): New button types.
291 (octave-help): New command and bind it to C-h ;.
292 (octave-find-definition): New command and bind it to M-.
293 (user-error): Alias to error if not defined.
294
295 2013-05-02 Leo Liu <sdl.web@gmail.com>
296
297 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
298 for \. (bug#14332)
299 (octave-font-lock-keywords): Include [ and {.
300
301 2013-05-02 Leo Liu <sdl.web@gmail.com>
302
303 * progmodes/octave.el (inferior-octave-startup-file): Change default.
304 (inferior-octave): Remove calling comint-mode and return the buffer.
305 (inferior-octave-startup): Cosmetic changes.
306
307 2013-05-02 Leo Liu <sdl.web@gmail.com>
308
309 * progmodes/octave.el (octave-syntax-propertize-function):
310 Include the case when ' is at line beginning. (Bug#14336)
311
312 2013-05-02 Glenn Morris <rgm@gnu.org>
313
314 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
315 * desktop.el (vc-dir-mode): Just autoload it here.
316
317 2013-05-02 Alan Mackenzie <acm@muc.de>
318
319 Eliminate variable c-standard-font-lock-fontify-region-function.
320 * progmodes/cc-mode.el
321 (c-standard-font-lock-fontify-region-function): Remove.
322 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
323
324 2013-05-01 Leo Liu <sdl.web@gmail.com>
325
326 * progmodes/octave.el: Compatible with older emacs-24 releases.
327 (inferior-octave-has-built-in-variables): Remove. Built-in
328 variables were removed from Octave in 2007.
329 (inferior-octave-startup): Fix uses.
330 (comint-line-beginning-position): Remove compatibility code for
331 emacs 21.
332
333 2013-05-01 Juri Linkov <juri@jurta.org>
334
335 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
336
337 2013-05-01 Juri Linkov <juri@jurta.org>
338
339 * comint.el (comint-previous-matching-input): Don't print message
340 "History item: %d" when `isearch-mode' is active.
341 (comint-history-isearch-message): Print message "History item: %d"
342 when `comint-input-ring-index' is not empty and this function is
343 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
344
345 2013-05-01 Leo Liu <sdl.web@gmail.com>
346
347 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
348 definitions. Use completion-at-point to insert keywords.
349 (octave-abbrev-start): Remove.
350 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
351
352 2013-04-30 Leo Liu <sdl.web@gmail.com>
353
354 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
355 change.
356
357 2013-04-30 Alan Mackenzie <acm@muc.de>
358
359 Handle arbitrarily long C++ member initialisation lists.
360 * progmodes/cc-engine.el (c-back-over-member-initializers):
361 new function.
362 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
363 (most) member init lists.
364
365 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
366
367 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
368 variable.
369
370 2013-04-30 Leo Liu <sdl.web@gmail.com>
371
372 * progmodes/octave.el (octave-variables): Remove. No builtin
373 variables any more. All converted to functions.
374 (octave-font-lock-keywords, octave-completion-at-point-function):
375 Fix uses.
376 (octave-font-lock-texinfo-comment): New user variable.
377 (octave-texinfo-font-lock-keywords): New variable for texinfo
378 comment block.
379 (octave-function-comment-block): New face.
380 (octave-font-lock-texinfo-comment): New function.
381 (octave-mode): Font lock texinfo comment block.
382
383 2013-04-29 Leo Liu <sdl.web@gmail.com>
384
385 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
386 indexing expression.
387 (octave-continuation-string): Do not use \.
388 (inferior-octave-complete-impossible): Remove.
389 (inferior-octave-completion-table)
390 (inferior-octave-completion-at-point): Remove its uses.
391 (inferior-octave-startup): completion_matches was introduced to
392 Octave in 1996 so safe to assume it.
393 (octave-function-file-comment): Improve to follow how Octave does it.
394 (octave-update-function-file-comment): Tweak.
395
396 2013-04-29 Leo Liu <sdl.web@gmail.com>
397
398 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
399 (inferior-octave-startup): Remove inferior-octave-startup-hook.
400 (octave-function-file-comment): Fix typo.
401 (octave-sync-function-file-names): Use read-char-choice.
402
403 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
404
405 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
406 to t for the less important warnings.
407
408 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
409
410 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
411
412 2013-04-27 Glenn Morris <rgm@gnu.org>
413
414 * vc/log-view.el (log-view-current-entry):
415 Treat "---" separator lines as part of the following rev. (Bug#14169)
416
417 2013-04-27 Juri Linkov <juri@jurta.org>
418
419 * subr.el (read-number): Doc fix about using it by interactive
420 code letter `n'. (Bug#14254)
421
422 2013-04-27 Juri Linkov <juri@jurta.org>
423
424 * desktop.el (desktop-auto-save-timeout): New option.
425 (desktop-file-checksum): New variable.
426 (desktop-save): Add optional arg `auto-save' and don't auto-save
427 if nothing changed.
428 (desktop-auto-save-timer): New variable.
429 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
430 (after-init-hook): Call `desktop-auto-save-set-timer'.
431 Suggested by Reuben Thomas <rrt@sc3d.org> in
432 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
433
434 2013-04-27 Leo Liu <sdl.web@gmail.com>
435
436 * progmodes/octave.el (octave-function-file-p)
437 (octave-skip-comment-forward, octave-function-file-comment)
438 (octave-update-function-file-comment): New functions.
439 (octave-mode-map): Bind C-c ; to
440 octave-update-function-file-comment.
441 (octave-mode-menu): Add octave-update-function-file-comment.
442 (octave-mode, inferior-octave-mode): Fix doc-string.
443 (octave-insert-defun): Conform to Octave's coding convention.
444 (Bug#14285)
445
446 * files.el (basic-save-buffer): Don't let errors in
447 before-save-hook prevent saving buffer.
448
449 2013-04-20 Roland Winkler <winkler@gnu.org>
450
451 * faces.el (read-face-name): Use completing-read if arg multiple
452 is nil.
453
454 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
455
456 * ls-lisp.el (ls-lisp-insert-directory): If no files are
457 displayed, move point to after the totals line.
458 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
459 for the details.
460
461 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * emacs-lisp/package.el (package-autoload-ensure-default-file):
464 Add current dir to the load-path.
465 (package-generate-autoloads): Don't rely on
466 autoload-ensure-default-file.
467
468 2013-04-26 Reuben Thomas <rrt@sc3d.org>
469
470 * textmodes/remember.el (remember-store-in-files): Document that
471 the file name format is passed to `format-time-string'.
472
473 2013-04-26 Leo Liu <sdl.web@gmail.com>
474
475 * progmodes/octave.el (octave-sync-function-file-names): New function.
476 (octave-mode): Use it in before-save-hook.
477
478 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
481 (bug#14274).
482
483 * progmodes/octave.el (octave-smie-forward-token): Properly skip
484 \n and comment, even if it's not an implicit ; (bug#14218).
485
486 2013-04-26 Glenn Morris <rgm@gnu.org>
487
488 * subr.el (read-number): Once more use `read' rather than
489 `string-to-number', to trap non-numeric input. (Bug#14254)
490
491 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
492
493 * emacs-lisp/syntax.el (syntax-propertize-multiline):
494 Use `syntax-multiline' text property consistently instead of
495 `font-lock-multiline'. (bug#14237).
496
497 2013-04-26 Glenn Morris <rgm@gnu.org>
498
499 * emacs-lisp/shadow.el (list-load-path-shadows):
500 No longer necessary to check for duplicate simple.el, since
501 2012-07-07 change to init_lread to not include installation lisp
502 directories in load-path when running uninstalled. (Bug#14270)
503
504 2013-04-26 Leo Liu <sdl.web@gmail.com>
505
506 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
507 (octave-mode, inferior-octave-mode): Use setq-local.
508 (octave-not-in-string-or-comment-p): Rename to
509 octave-in-string-or-comment-p.
510 (octave-in-comment-p, octave-in-string-p)
511 (octave-in-string-or-comment-p): Replace defsubst with defun.
512
513 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
514
515 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
516
517 2013-04-25 Bastien Guerry <bzg@gnu.org>
518
519 * textmodes/remember.el (remember-data-directory)
520 (remember-directory-file-name-format): Fix custom types.
521
522 2013-04-25 Leo Liu <sdl.web@gmail.com>
523
524 * progmodes/octave.el (octave-completion-at-point-function):
525 Make use of inferior octave process.
526 (octave-initialize-completions): Remove.
527 (inferior-octave-completion-table): New function.
528 (inferior-octave-completion-at-point): Use it.
529 (octave-completion-alist): Remove.
530
531 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
532
533 * progmodes/opascal.el: Use font-lock and syntax-propertize.
534 (opascal-mode-syntax-table): New var.
535 (opascal-literal-kind, opascal-is-literal-end)
536 (opascal-literal-token-at): Rewrite.
537 (opascal--literal-start-re, opascal-font-lock-keywords)
538 (opascal--syntax-propertize): New constants.
539 (opascal-font-lock-defaults): Adjust.
540 (opascal-mode): Use them. Set comment-<foo> variables as well.
541 (delphi-comment-face, opascal-comment-face, delphi-string-face)
542 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
543 (delphi-other-face, opascal-other-face): Remove face variables.
544 (opascal-save-state): Remove macro.
545 (opascal-fontifying-progress-step): Remove constant.
546 (opascal--ignore-changes): Remove var.
547 (opascal-set-token-property, opascal-parse-next-literal)
548 (opascal-is-stable-literal, opascal-complete-literal)
549 (opascal-is-literal-start, opascal-face-of)
550 (opascal-parse-region, opascal-parse-region-until-stable)
551 (opascal-fontify-region, opascal-after-change)
552 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
553 (opascal-debug-parse-region, opascal-debug-parse-window)
554 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
555 (opascal-debug-fontify-buffer): Remove.
556 (opascal-debug-mode-map): Adjust accordingly.
557
558 2013-04-25 Leo Liu <sdl.web@gmail.com>
559
560 Merge octave-mod.el and octave-inf.el into octave.el with some
561 cleanups.
562 * progmodes/octave.el: New file renamed from octave-mod.el.
563 * progmodes/octave-inf.el: Merged into octave.el.
564 * progmodes/octave-mod.el: Renamed to octave.el.
565
566 2013-04-25 Tassilo Horn <tsdh@gnu.org>
567
568 * textmodes/reftex-vars.el
569 (reftex-label-ignored-macros-and-environments): New defcustom.
570
571 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
572
573 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
576 (smie-indent-keyword): Improve the check to ensure that the next
577 comment is really on the same line.
578 (smie-indent-comment): Don't align with a subsequent closer (or eob).
579
580 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
581 semi-colons if the line is not otherwise empty (bug#14218).
582
583 2013-04-25 Glenn Morris <rgm@gnu.org>
584
585 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
586
587 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * progmodes/opascal.el (opascal-set-token-property): Rename from
590 opascal-set-text-properties and only set `token' (bug#14134).
591 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
592 (opascal-literal-text-properties): Remove.
593 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
594 Adjust callers.
595
596 2013-04-24 Reuben Thomas <rrt@sc3d.org>
597
598 * textmodes/remember.el (remember-handler-functions): Add an
599 option for a new handler `remember-store-in-files'.
600 (remember-data-directory, remember-directory-file-name-format):
601 New options.
602 (remember-store-in-files): New function to store remember notes
603 as separate files within a directory.
604
605 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
606
607 * progmodes/compile.el (compilation-next-error-function):
608 Pass "formats" to compilation-find-file (bug#11777).
609
610 2013-04-24 Glenn Morris <rgm@gnu.org>
611
612 * vc/vc-bzr.el (vc-bzr-print-log):
613 * vc/vc-hg.el (vc-hg-print-log):
614 * vc/vc-svn.el (vc-svn-print-log):
615 Fix START-REVISION with LIMIT != 1. (Bug#14168)
616
617 * vc/vc-bzr.el (vc-bzr-print-log):
618 * vc/vc-cvs.el (vc-cvs-print-log):
619 * vc/vc-git.el (vc-git-print-log):
620 * vc/vc-hg.el (vc-hg-print-log):
621 * vc/vc-mtn.el (vc-mtn-print-log):
622 * vc/vc-rcs.el (vc-rcs-print-log):
623 * vc/vc-sccs.el (vc-sccs-print-log):
624 * vc/vc-svn.el (vc-svn-print-log):
625 * vc/vc.el (vc-print-log-internal): Doc fixes.
626
627 2013-04-23 Glenn Morris <rgm@gnu.org>
628
629 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
630 Remove venerable code attempting to avoid substitute-command-keys.
631
632 2013-04-23 Tassilo Horn <tsdh@gnu.org>
633
634 * textmodes/reftex-vars.el (reftex-label-regexps):
635 Call `reftex-compile-variables' after changes to this variable.
636
637 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
640 Use lexical-binding.
641 (jit-lock-force-redisplay): Use markers, check buffer's continued
642 existence and beware narrowed buffers.
643 (jit-lock-fontify-now): Adjust call accordingly.
644
645 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
648 to avoid misleading the user.
649
650 2013-04-22 Leo Liu <sdl.web@gmail.com>
651
652 * info-look.el: Prefer latex2e.info. (Bug#14240)
653
654 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
655
656 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
657
658 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
659 * net/tramp.el (tramp-call-process): ... here
660 (tramp-set-completion-function, tramp-parse-putty):
661 * net/tramp-adb.el (tramp-adb-execute-adb-command):
662 * net/tramp-gvfs.el (tramp-gvfs-send-command):
663 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
664 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
665 (tramp-call-local-coding-command): Use `tramp-call-process'
666 instead of `tramp-compat-call-process'.
667
668 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
669 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
670 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
671 (tramp-find-inline-compress):Improve traces.
672 (tramp-maybe-send-script): Check for Perl binary.
673 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
674
675 2013-04-22 Daiki Ueno <ueno@gnu.org>
676
677 * epg.el (epg-context-pinentry-mode): New function.
678 (epg-context-set-pinentry-mode): New function.
679 (epg--start): Pass --pinentry-mode option to gpg command.
680
681 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
682
683 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
684 `comint-dynamic-complete' is obsolete since 24.1, replaced by
685 `completion-at-point'. (Bug#13774)
686
687 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
688 default key binding for `describe-distribution' has been moved to
689 `C-h C-o'. (Bug#13970)
690
691 2013-04-21 Glenn Morris <rgm@gnu.org>
692
693 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
694 Add doc strings.
695 (vc-print-log): Clarify interactive prompt.
696
697 2013-04-20 Glenn Morris <rgm@gnu.org>
698
699 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
700 No longer include timestamp etc information.
701
702 2013-04-20 Roland Winkler <winkler@gnu.org>
703
704 * faces.el (read-face-name): Bug fix, return just one face if arg
705 multiple is nil. (Bug#14209)
706
707 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
710 (remove-function): Autoload.
711
712 * comint.el (comint-redirect-original-filter-function): Remove.
713 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
714 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
715 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
716 * progmodes/prolog.el (prolog-consult-compile):
717 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
718 Use add/remove-function instead.
719 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
720 (gud-tooltip-process-output, gud-tooltip-tips):
721 Use add/remove-function instead.
722 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
723 (scheme-interaction-mode, exit-scheme-interaction-mode):
724 Use add/remove-function instead.
725
726 * vc/vc-dispatcher.el: Use lexical-binding.
727 (vc--process-sentinel): Rename from vc-process-sentinel.
728 Change last arg to be the code to run. Don't use vc-previous-sentinel
729 and vc-sentinel-commands any more.
730 (vc-exec-after): Allow code to be a function. Use add/remove-function.
731 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
732
733 2013-04-19 Masatake YAMATO <yamato@redhat.com>
734
735 * progmodes/sh-script.el (sh-imenu-generic-expression):
736 Handle function names with a single character. (Bug#14111)
737
738 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
739
740 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
741 for subroutines defined in an eval (bug#14182).
742
743 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
744
745 * bookmark.el (bookmark-completing-read): Improve handling of empty
746 string (bug#14176).
747
748 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
749
750 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
751
752 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
753
754 New faster Imenu implementation (bug#14058).
755 * progmodes/python.el:
756 (python-imenu-prev-index-position):
757 (python-imenu-format-item-label-function)
758 (python-imenu-format-parent-item-label-function)
759 (python-imenu-format-parent-item-jump-label-function):
760 New vars.
761 (python-imenu-format-item-label)
762 (python-imenu-format-parent-item-label)
763 (python-imenu-format-parent-item-jump-label)
764 (python-imenu--put-parent, python-imenu--build-tree)
765 (python-imenu-create-index, python-imenu-create-flat-index)
766 (python-util-popn): New functions.
767 (python-mode): Set imenu-create-index-function to
768 python-imenu-create-index.
769
770 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
771
772 * winner.el (winner-active-region): Use region-active-p, activate-mark
773 and deactivate-mark (bug#14225).
774
775 * simple.el (deactivate-mark): Don't inline it.
776
777 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
778
779 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
780
781 2013-04-18 Tassilo Horn <tsdh@gnu.org>
782
783 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
784 file extensions from the archive-mode entry in order to prefer
785 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
786
787 2013-04-18 Leo Liu <sdl.web@gmail.com>
788
789 * bindings.el (help-event-list): Add ?\?.
790
791 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * subr.el (with-wrapper-hook): Declare obsolete.
794 * simple.el (filter-buffer-substring-function): New hook.
795 (filter-buffer-substring): Use it.
796 (filter-buffer-substring-functions): Mark obsolete.
797 * minibuffer.el (completion-in-region-function): New hook.
798 (completion-in-region): Use it.
799 (completion-in-region-functions): Mark obsolete.
800 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
801 * abbrev.el (abbrev-expand-function): New hook.
802 (expand-abbrev): Use it.
803 (abbrev-expand-functions): Mark obsolete.
804 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
805 and :filter-return.
806
807 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
808
809 * progmodes/python.el (python-nav--syntactically): Fix cornercases
810 and do not care about match data.
811
812 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
813
814 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
815 completion tables when completing error conditions and
816 `declare' arguments.
817 (lisp-complete-symbol, field-complete): Mark as obsolete.
818 (check-parens): Unmatched parens are user errors.
819 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
820
821 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
822
823 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
824 command changed buffer (ie. `flyspell-pre-buffer' is not current
825 buffer), which prevents making decisions based on invalid value of
826 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
827 cause an error when `flyspell-pre-point' was nil after switching
828 buffers.
829 (flyspell-post-command-hook): No longer needs to change buffers when
830 checking pre-word. While at it remove unnecessary progn.
831
832 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
833
834 * textmodes/ispell.el (ispell-add-per-file-word-list):
835 Fix `flyspell-correct-word-before-point' error when accepting
836 words and `coment-padding' is an integer by using
837 `comment-normalize-vars' (Bug #14214).
838
839 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
840
841 New defun movement commands.
842 * progmodes/python.el (python-nav--syntactically)
843 (python-nav--forward-defun, python-nav-backward-defun)
844 (python-nav-forward-defun): New functions.
845
846 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
847
848 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
849 (python-syntax-context): Use named compiler-macro for backwards
850 compatibility with Emacs 24.x.
851
852 2013-04-17 Leo Liu <sdl.web@gmail.com>
853
854 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
855 octave-hide-process-buffer.
856
857 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
858
859 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
860 (bug#14216).
861
862 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
863
864 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
865 Fix adjustment of offset when receiving incomplete responses from GDB
866 (bug#14129).
867
868 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
871 python-mode-abbrev-table.
872 (python-skeleton-define): Adjust accordingly.
873 (python-mode-abbrev-table): New table that inherits from it so that
874 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
875
876 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
877 (abbrev-symbol): Use it.
878 (abbrev--before-point): Use it since we already handle inheritance.
879
880 2013-04-16 Leo Liu <sdl.web@gmail.com>
881
882 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
883 binding to info-lookup-symbol.
884
885 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
886
887 * minibuffer.el (completion--twq-all):
888 * term/ns-win.el (ns-initialize-window-system):
889 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
890
891 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
894 global bindings.
895
896 * doc-view.el (doc-view-start-process): Handle url-handler directories.
897
898 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
899
900 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
901 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
902 to nil.
903 (ruby-end-of-defun): Remove the unused arg, change the docstring
904 to reflect that this function is only used as the value of
905 `end-of-defun-function'.
906 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
907 to reflect an earlier change that beginning/end-of-defun functions
908 jump between methods in a class definition, as well as top-level
909 functions.
910
911 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * minibuffer.el (minibuffer-complete): Don't just scroll
914 a *Completions* that's been iconified.
915 (minibuffer-force-complete): Make sure repetitions do cycle when going
916 through completion-in-region -> minibuffer-complete.
917
918 2013-04-15 Alan Mackenzie <acm@muc.de>
919
920 Correct the placement of c-cpp-delimiters when there're #s not at
921 col 0.
922
923 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
924 place a submatch around the #.
925 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
926 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
927 on the #, not BOL.
928
929 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
930
931 * emacs-lisp/nadvice.el: Properly test names when adding advice.
932 (advice--member-p): New arg `name'.
933 (advice--add-function, advice-member-p): Use it (bug#14202).
934
935 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
936
937 Reformulate java imenu-generic-expression.
938 The old expression contained ill formed regexps.
939
940 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
941 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
942 (cc-imenu-java-method-arg-regexp): New defconsts.
943 (cc-imenu-java-build-type-args-regex): New defun.
944 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
945 handling of spaces in the regexp.
946
947 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
948
949 * textmodes/ispell.el (ispell-command-loop): Remove
950 flyspell highlight of a word when ispell accepts it (bug #14178).
951
952 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
953
954 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
955 uses code from the previous `ange-ftp-run-real-handler'.
956 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
957 only in case that function exist. This is needed for proper
958 unloading of Tramp.
959
960 2013-04-15 Tassilo Horn <tsdh@gnu.org>
961
962 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
963
964 * textmodes/reftex.el (reftex-compile-variables): Use it.
965
966 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
967
968 * files.el (normal-mode): Only use default major-mode if no other mode
969 was specified.
970
971 * emacs-lisp/trace.el (trace-values): New function.
972
973 * files.el: Allow : in local variables (bug#14089).
974 (hack-local-variable-regexp): New var.
975 (hack-local-variables-prop-line, hack-local-variables): Use it.
976
977 2013-04-13 Roland Winkler <winkler@gnu.org>
978
979 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
980 data before it gets modified by bibtex-beginning-of-entry.
981
982 2013-04-13 Roland Winkler <winkler@gnu.org>
983
984 * textmodes/bibtex.el (bibtex-url): Doc fix.
985
986 2013-04-13 Roland Winkler <winkler@gnu.org>
987
988 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
989 does not visit a BibTeX file, exclude it from the list of buffers
990 returned by bibtex-initialize.
991
992 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
993
994 * window.el (split-window): Remove interactive form, since as a
995 command this function is a special case of split-window-below.
996 Correct doc string.
997
998 2013-04-12 Roland Winkler <winkler@gnu.org>
999
1000 * faces.el (read-face-name): Do not override value of arg default.
1001 Allow single faces and strings as default values. Remove those
1002 elements from return value that are not faces.
1003 (describe-face): Simplify.
1004 (face-at-point): New optional args thing and multiple so that this
1005 function can provide the same functionality previously provided by
1006 read-face-name.
1007 (make-face-bold, make-face-unbold, make-face-italic)
1008 (make-face-unitalic, make-face-bold-italic, invert-face)
1009 (modify-face, read-face-and-attribute): Use face-at-point.
1010
1011 * cus-edit.el (customize-face, customize-face-other-window)
1012 * cus-theme.el (custom-theme-add-face)
1013 * face-remap.el (buffer-face-set)
1014 * facemenu.el (facemenu-set-face): Use face-at-point.
1015
1016 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1017
1018 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1019
1020 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1021
1022 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1023 off leading { and trailing } from field values.
1024
1025 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1026
1027 * emacs-lisp/timer.el (timer--check): New function.
1028 (timer--time, timer-set-function, timer-event-handler): Use it.
1029 (timer-set-idle-time): Simplify.
1030 (timer--activate): CSE.
1031 (timer-event-handler): Give more info in error message.
1032 (internal-timer-start-idle): New function, moved from C.
1033
1034 * mpc.el (mpc-proc): Add `restart' argument.
1035 (mpc-proc-cmd): Use it.
1036 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1037 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1038 less often.
1039
1040 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1041
1042 * progmodes/sh-script.el: Implement `sh-mode' own
1043 `add-log-current-defun-function' (bug#14112).
1044 (sh-current-defun-name): New function.
1045 (sh-mode): Use the function.
1046
1047 2013-04-09 Bastien Guerry <bzg@gnu.org>
1048
1049 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1050
1051 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1054
1055 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1056 timer (bug#14156).
1057
1058 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1059
1060 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1061 declaration.
1062
1063 2013-04-07 Leo Liu <sdl.web@gmail.com>
1064
1065 * pcmpl-x.el: New file.
1066
1067 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1068
1069 Do not set x-display-name until X connection is established.
1070 This is needed to prevent from weird situation described at
1071 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1072 * frame.el (make-frame): Set x-display-name after call to
1073 window system initialization function, not before.
1074 * term/x-win.el (x-initialize-window-system): Add optional
1075 display argument and use it.
1076 * term/w32-win.el (w32-initialize-window-system):
1077 * term/ns-win.el (ns-initialize-window-system):
1078 * term/pc-win.el (msdos-initialize-window-system):
1079 Add compatible optional display argument.
1080
1081 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1082
1083 * files.el (normal-backup-enable-predicate): On MS-Windows and
1084 MS-DOS compare truenames of temporary-file-directory and of the
1085 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1086 don't fail comparison by compare-strings. Also, compare file
1087 names case-insensitively on MS-Windows and MS-DOS.
1088
1089 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1090
1091 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1092 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1093
1094 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1095
1096 * whitespace.el (whitespace-color-on, whitespace-color-off):
1097 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1098
1099 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1100
1101 * ispell.el (ispell-set-spellchecker-params):
1102 Really set `ispell-args' for all equivs.
1103
1104 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * ido.el (ido-completions): Use extra elements of ido-decorations
1107 (bug#14143).
1108 (ido-decorations): Update docstring.
1109
1110 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1111
1112 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1113 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1114 nil during initialization, in order not to miss changes since the
1115 file was opened. (Bug#14140)
1116
1117 2013-04-05 Leo Liu <sdl.web@gmail.com>
1118
1119 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1120
1121 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1122
1123 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1124
1125 2013-04-04 Glenn Morris <rgm@gnu.org>
1126
1127 * electric.el (electric-pair-inhibit-predicate): Add :version.
1128
1129 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1132 when a package is required several times (bug#14082).
1133
1134 2013-04-04 Roland Winkler <winkler@gnu.org>
1135
1136 * faces.el (read-face-name): Behave as promised by the docstring.
1137 Assume that arg default is a list of faces.
1138 (describe-face): Call read-face-name with list of default faces.
1139
1140 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1141
1142 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1143 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1144 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1145 the header.
1146 (bookmark-exit-hook-internal): Save even if list is empty.
1147
1148 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1149
1150 * emacs-lisp/package.el (package-pinned-packages): New var.
1151 (package--add-to-archive-contents): Obey it (bug#14118).
1152
1153 2013-04-03 Alan Mackenzie <acm@muc.de>
1154
1155 Handle `parse-partial-sexp' landing inside a comment opener
1156 (Bug#13244). Also adapt to the new values of element 7 of a parse
1157 state.
1158
1159 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1160 parameter `not-in-delimiter'. Handle being inside comment opener.
1161 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1162 character in case we're typing a '*' after a '/'.
1163 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1164 instead by passing the parameter to c-state-pp-to-literal.
1165
1166 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1167 for elt. 7 of a parse state.
1168
1169 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1170
1171 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1172 * international/latin1-disp.el, international/mule-util.el:
1173 * language/cyril-util.el, language/european.el, language/ind-util.el:
1174 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1175 * language/tibetan.el, language/viet-util.el:
1176 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1177
1178 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1179
1180 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1181 (electric-pair-post-self-insert-function): Use it.
1182 (electric-pair-default-inhibit): New function, extracted from
1183 electric-pair-post-self-insert-function.
1184
1185 2013-03-31 Roland Winkler <winkler@gnu.org>
1186
1187 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1188
1189 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1192
1193 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1194
1195 Un-indent after "pass" and "return" statements (Bug#13888)
1196 * progmodes/python.el (python-indent-block-enders): New var.
1197 (python-indent-calculate-indentation): Use it.
1198
1199 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1200
1201 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1202 defun. Defining it as defalias could introduce too eager
1203 byte-compiler optimization. (Bug#14030)
1204
1205 2013-03-30 Chong Yidong <cyd@gnu.org>
1206
1207 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1208
1209 2013-03-30 Leo Liu <sdl.web@gmail.com>
1210
1211 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1212 (kmacro-execute-from-register): Pass the keyboard macro to
1213 kmacro-call-macro or repeating won't work correctly.
1214
1215 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1216
1217 * progmodes/subword.el: Back to using `forward-symbol'.
1218
1219 * subr.el (forward-whitespace, forward-symbol)
1220 (forward-same-syntax): Move from thingatpt.el.
1221
1222 2013-03-29 Leo Liu <sdl.web@gmail.com>
1223
1224 * kmacro.el (kmacro-to-register): New command.
1225 (kmacro-execute-from-register): New function.
1226 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1227
1228 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1229
1230 * mpc.el: Use defvar-local and setq-local.
1231 (mpc--proc-connect): Connection failures are not bugs.
1232 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1233 (mpc-volume-map): Bind to the up-events.
1234
1235 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1236
1237 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1238 instead of `forward-symbol'.
1239
1240 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1241
1242 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1243 (edebug--recursive-edit): Use it.
1244 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1245 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1246
1247 2013-03-28 Leo Liu <sdl.web@gmail.com>
1248
1249 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1250
1251 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1252
1253 * facemenu.el (list-colors-callback): New defvar.
1254 (list-colors-redisplay): New function.
1255 (list-colors-display): Install list-colors-redisplay as the
1256 revert-buffer-function. (Bug#14063)
1257
1258 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1261 and suffixes don't overlap (bug#14061).
1262
1263 * case-table.el: Use lexical-binding.
1264 (case-table-get-table): New function.
1265 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1266
1267 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1268
1269 * progmodes/subword.el: Add `superword-mode' to do word motion
1270 over symbol_words (parallels and leverages `subword-mode' which
1271 does word motion inside MixedCaseWords).
1272
1273 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1274
1275 * eshell/em-unix.el: Move su and sudo to...
1276 * eshell/em-tramp.el: ...Eshell tramp module.
1277
1278 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1281 Change return value to be a sexp. Delay `get-buffer' to after
1282 restoring the desktop (bug#13951).
1283
1284 2013-03-26 Leo Liu <sdl.web@gmail.com>
1285
1286 * register.el: Move semantic tag handling back to
1287 cedet/semantic/senator.el. (Bug#14052)
1288
1289 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1292 into the prompt either (bug#13963).
1293
1294 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1295
1296 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1297 part of "(error-foo)".
1298
1299 2013-03-24 Juri Linkov <juri@jurta.org>
1300
1301 * replace.el (list-matching-lines-prefix-face): New defcustom.
1302 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1303 `occur-engine' if `face-differs-from-default-p' returns t.
1304 (occur-engine): Add `,' inside backquote construct to evaluate
1305 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1306 Pass `prefix-face' to the functions `occur-context-lines' and
1307 `occur-engine-add-prefix'.
1308 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1309 `prefix-face' and propertize the prefix with `prefix-face'.
1310 (Bug#14017)
1311
1312 2013-03-24 Leo Liu <sdl.web@gmail.com>
1313
1314 * nxml/rng-valid.el (rng-validate-while-idle)
1315 (rng-validate-quick-while-idle): Guard against deleted buffer.
1316 (Bug#13999)
1317
1318 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1319 is the last entry in kill-buffer-hook.
1320
1321 * files.el (kill-buffer-hook): Doc fix.
1322
1323 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1324
1325 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1326 Make it safe-local.
1327
1328 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1329
1330 2013-03-23 Leo Liu <sdl.web@gmail.com>
1331
1332 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1333 Remove.
1334
1335 * nxml/rng-valid.el (rng-validate-mode)
1336 (rng-after-change-function, rng-do-some-validation):
1337 * nxml/rng-maint.el (rng-validate-buffer):
1338 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1339 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1340 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1341 (nxml-extend-after-change-region): Use with-silent-modifications.
1342
1343 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1344 timer-idle-list.
1345
1346 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1347 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1348 timer-idle-list. (Bug#13999)
1349
1350 2013-03-23 Juri Linkov <juri@jurta.org>
1351
1352 * info.el (info-index-match): New face.
1353 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1354 main pattern and add text properties with the new face to matches
1355 in index entries relative to the beginning of the index entry.
1356 (Bug#14015)
1357
1358 2013-03-21 Eric Ludlam <zappo@gnu.org>
1359
1360 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1361 Inhibit read only while inserting objects.
1362
1363 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1364
1365 * progmodes/cfengine.el: Update docs to mention
1366 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1367 symbol motion. Remove "_" from the word syntax.
1368
1369 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1370
1371 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1372 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1373
1374 2013-03-20 Juri Linkov <juri@jurta.org>
1375
1376 * info.el (Info-next-reference-or-link)
1377 (Info-prev-reference-or-link): New functions.
1378 (Info-next-reference, Info-prev-reference): Use them.
1379 (Info-try-follow-nearest-node): Handle footnote navigation.
1380 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1381
1382 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1383
1384 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1385 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1386
1387 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1388
1389 Suppress unnecessary non-ASCII chatter during build process.
1390 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1391 (batch-skkdic-convert): Suppress most of the chatter.
1392 It's not needed so much now that machines are faster,
1393 and its non-ASCII component was confusing; see Dmitry Gutov in
1394 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1395
1396 2013-03-20 Leo Liu <sdl.web@gmail.com>
1397
1398 * ido.el (ido-chop): Fix bug#10994.
1399
1400 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1401
1402 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1403 Remove vars.
1404 (whitespace-color-on, whitespace-color-off):
1405 Use `font-lock-fontify-buffer' (Bug#13817).
1406
1407 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1408
1409 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1410 remapping in mode-line.
1411 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1412
1413 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1414
1415 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1416 value for `whitespace-line' face (Bug#13875).
1417 (whitespace-font-lock-keywords): Change description.
1418 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1419 the constructed keywords instead.
1420 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1421
1422 2013-03-19 Leo Liu <sdl.web@gmail.com>
1423
1424 * progmodes/compile.el (compilation-display-error): New command.
1425 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1426 C-o. (Bug#13992)
1427
1428 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1429
1430 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1431
1432 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1433
1434 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1435
1436 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1439
1440 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1441 * net/tramp-gvfs.el (top):
1442 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1443 (tramp-handle-shell-command): Use it.
1444 (tramp-dissect-file-name): Raise an error when hostname is a
1445 method name, and neither method nor user is specified.
1446
1447 * net/trampver.el: Update release number.
1448
1449 2013-03-18 Leo Liu <sdl.web@gmail.com>
1450
1451 Make sure eldoc can be turned off properly.
1452 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1453 eldoc-mode.
1454 (eldoc-display-message-p): Revert last change.
1455 (eldoc-display-message-no-interference-p)
1456 (eldoc-print-current-symbol-info): Tweak.
1457
1458 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1459
1460 * doc-view.el (doc-view-new-window-function): Check the new window
1461 overlay's display property instead the char property of the
1462 buffer's first char. Use `with-selected-window' instead of
1463 `save-window-excursion' with `select-window'.
1464 (doc-view-document->bitmap): Check the current doc-view overlay's
1465 display property instead the char property of the buffer's first char.
1466
1467 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1468
1469 Automate the build of ja-dic.el (Bug#13984).
1470 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1471 from the input, rather than assume that it's been done for us by the
1472 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1473 the current date into a ja-dic.el comment, as that complicates
1474 regression testing.
1475
1476 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1477
1478 * whitespace.el: Fix double evaluation.
1479 (whitespace-space, whitespace-hspace, whitespace-tab)
1480 (whitespace-newline, whitespace-trailing, whitespace-line)
1481 (whitespace-space-before-tab, whitespace-indentation)
1482 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1483 obsolete defvars.
1484 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1485 (whitespace-color-on): Use a single font-lock-add-keywords call.
1486 Fix double-evaluation of face variables.
1487
1488 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1489
1490 * net/tramp-adb.el (tramp-adb-parse-device-names):
1491 Use `start-process' instead of `call-process'. Otherwise, the
1492 function might be blocked under MS Windows. (Bug#13299)
1493
1494 2013-03-17 Leo Liu <sdl.web@gmail.com>
1495
1496 Extend eldoc to display info in the mode-line. (Bug#13978)
1497 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1498 (eldoc-mode-line-string): New variable.
1499 (eldoc-minibuffer-message): New function.
1500 (eldoc-message-function): New variable.
1501 (eldoc-message): Use it.
1502 (eldoc-display-message-p)
1503 (eldoc-display-message-no-interference-p):
1504 Support eldoc-post-insert-mode.
1505
1506 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1507 (eval-expression): Run it.
1508
1509 2013-03-17 Roland Winkler <winkler@gnu.org>
1510
1511 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1512 strings in the list of return values.
1513
1514 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1515
1516 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1517 radix before checking for HMS forms.
1518
1519 2013-03-16 Leo Liu <sdl.web@gmail.com>
1520
1521 * progmodes/scheme.el: Add indentation and font-locking for λ.
1522 (Bug#13975)
1523
1524 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1527 token before point (bug#13942).
1528
1529 2013-03-16 Leo Liu <sdl.web@gmail.com>
1530
1531 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1532
1533 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1534
1535 * startup.el (command-line-normalize-file-name): Fix handling of
1536 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1537 <xfq.free@gmail.com> in
1538 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1539
1540 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1541
1542 Sync with Tramp 2.2.7.
1543
1544 * net/trampver.el: Update release number.
1545
1546 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1547
1548 * doc-view.el Fix bug#13887.
1549 (doc-view-insert-image): Don't modify overlay associated to
1550 non-live windows, and implement horizontal centering of image in
1551 case it's smaller than the window.
1552 (doc-view-new-window-function): Force redisplay of new windows on
1553 doc-view buffers.
1554
1555 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1556
1557 * saveplace.el (save-place-alist-to-file): Don't sort
1558 `save-place-alist', just pretty-print it (bug#13882).
1559
1560 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1561
1562 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1563 whether `default-file-name-coding-system' is bound. It isn't in
1564 XEmacs.
1565
1566 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1569 backquotes for `obsolete' (bug#13929).
1570
1571 * international/mule.el (find-auto-coding): Include file name in
1572 obsolescence warning (bug#13922).
1573
1574 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1575
1576 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1577 for CFEngine 3-specific indentation.
1578 (cfengine3-indent-line): Use it. Fix up category regex.
1579 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1580
1581 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1582
1583 * type-break.el (type-break-file-name):
1584 * textmodes/remember.el (remember-data-file):
1585 * strokes.el (strokes-file):
1586 * shadowfile.el (shadow-initialize):
1587 * saveplace.el (save-place-file):
1588 * ps-bdf.el (bdf-cache-file):
1589 * progmodes/idlwave.el (idlwave-config-directory):
1590 * net/quickurl.el (quickurl-url-file):
1591 * international/kkc.el (kkc-init-file-name):
1592 * ido.el (ido-save-directory-list-file):
1593 * emulation/viper.el (viper-custom-file-name):
1594 * emulation/vip.el (vip-startup-file):
1595 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1596 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1597
1598 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1599
1600 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1601 * language/thai-word.el: Switch to UTF-8.
1602
1603 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1606
1607 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1608
1609 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1610 Use with-current-buffer and don't move point.
1611 (net-utils-run-simple): Remove useless code.
1612 (net-utils-remove-ctl-m): Remove unused custom.
1613
1614 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1615
1616 * international/characters.el (glyphless-set-char-table-range): New fun.
1617 (update-glyphless-char-display): Use it (bug#13744).
1618
1619 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1620
1621 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1622 namespaces in the syntax, indent closer for hanging brace
1623 correctly, allow single-quote delimited 'strings', and make
1624 `cfengine3-mode' the default.
1625
1626 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1627
1628 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1629 Use lexical-binding. Fix up docstring according to conventions.
1630 (gdbmi-debug-mode): New var.
1631 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1632 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1633 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1634 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1635 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1636 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1637 (gdbmi-bnf-incomplete-record-result): New functions.
1638 (gdb-car<): Remove function.
1639 (gdbmi-record-list): Remove variable.
1640 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1641 (gdbmi-bnf-result-state-configs): New const.
1642 (gud-gdbmi-marker-filter): Rewrite.
1643 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1644 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1645 Add `token' argument.
1646 (gdb-done, gdb-error): New functions.
1647 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1648
1649 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * term/xterm.el (xterm--report-background-handler): Don't burp
1652 upon timeout.
1653 (xterm--version-handler): Extract from terminal-init-xterm.
1654 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1655 Allow multiple handlers.
1656 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1657
1658 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1659 (xterm--report-background-handler, xterm--query): New functions.
1660 (terminal-init-xterm): Use them.
1661
1662 2013-03-11 Michael R. Mauger <michael@mauger.com>
1663
1664 * progmodes/sql.el Version 3.2
1665 Please note that my address changed to <michael@mauger.com>;
1666 the <mmaug@yahoo.com> address remains active.
1667 (sql-connection-alist): Updates documentation to fix bug#13715.
1668 (sql-connect): Handle missing `sql-connection-alist' correctly.
1669 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1670 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1671 property.
1672 (sql-default-value): New function.
1673 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1674 values were not used.
1675 (sql-rename-buffer): Make sure alternate buffer name has no text
1676 properties.
1677 (sql-input-sender, sql-execute-feature): Fetch variable with
1678 `buffer-local-value' rather than `with-current-buffer'.
1679 (sql-*): Use #' function syntax consistently.
1680 (sql-*): Use message/error/user-error consistently.
1681
1682 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * xt-mouse.el (xterm-mouse-event-read): Remove.
1685 (xterm-mouse--read-event-sequence-1000)
1686 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1687
1688 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * term/xterm.el (xterm-function-map): Support format used with
1691 formatOtherKeys=1 (bug#13839).
1692
1693 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1694 (with-no-warnings): Use `declare'.
1695
1696 * whitespace.el (whitespace-enable-predicate): New variable.
1697 (whitespace-enable-predicate): Use it.
1698
1699 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1700 (comint-output-filter, comint-update-fence):
1701 Use with-silent-modifications.
1702
1703 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1704
1705 * replace.el (occur-read-regexp-defaults-function): New var.
1706 (occur-read-regexp-defaults): New defun.
1707 (occur-read-primary-args): Propagate above change (bug#13892).
1708
1709 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1710
1711 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1712
1713 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1714
1715 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1716
1717 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1718 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1719 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1720 New defconst.
1721 (tramp-gvfs-file-name-handler-alist) [directory-files]
1722 [directory-files-and-attributes, file-exists-p, file-modes]:
1723 Use Tramp default handler.
1724 [file-acl, file-selinux-context, process-file, set-file-acl]:
1725 [set-file-modes, set-file-selinux-context, shell-command]:
1726 [start-file-process]: Remove handler.
1727 [verify-visited-file-modtime]: New handler.
1728 (tramp-gvfs-dbus-string-to-byte-array)
1729 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1730 calls of `dbus-string-to-byte-array' and
1731 `tramp-gvfs-dbus-byte-array-to-string'.
1732 (tramp-gvfs-handle-copy-file)
1733 (tramp-gvfs-handle-delete-directory)
1734 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1735 (tramp-gvfs-handle-file-directory-p)
1736 (tramp-gvfs-handle-file-executable-p)
1737 (tramp-gvfs-handle-file-name-all-completions)
1738 (tramp-gvfs-handle-file-readable-p)
1739 (tramp-gvfs-handle-file-writable-p)
1740 (tramp-gvfs-handle-insert-directory)
1741 (tramp-gvfs-handle-insert-file-contents)
1742 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1743 (tramp-gvfs-handle-set-visited-file-modtime)
1744 (tramp-gvfs-handle-write-region): Rewrite.
1745 (tramp-gvfs-handle-file-acl)
1746 (tramp-gvfs-handle-file-selinux-context)
1747 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1748 (tramp-gvfs-handle-set-file-modes)
1749 (tramp-gvfs-handle-set-file-selinux-context)
1750 (tramp-gvfs-handle-shell-command)
1751 (tramp-gvfs-handle-start-file-process)
1752 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1753 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1754 over the symlinks. Fix user handling.
1755 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1756 of the D-Bus signals.
1757 (tramp-gvfs-connection-mounted-p): Handle different names of the
1758 D-Bus methods.
1759 (tramp-gvfs-mount-spec-entry): New defun.
1760 (tramp-gvfs-mount-spec): Use it.
1761 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1762 there is a share name. Handle different names of the D-Bus
1763 signals and methods. Set connection properties needed for
1764 `tramp-check-cached-permissions'.
1765 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1766 Return t or nil.
1767
1768 * net/tramp.el (tramp-backtrace): Move up.
1769 (tramp-error): Dump a backtrace into the debug buffer when
1770 `tramp-verbose > 9.
1771 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1772 (tramp-file-mode-permissions, tramp-get-local-uid)
1773 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1774 tramp-sh.el.
1775
1776 * net/tramp-sh.el (tramp-file-mode-type-map)
1777 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1778 (tramp-file-mode-permissions, tramp-get-local-uid)
1779 (tramp-get-local-gid): Move to tramp.el.
1780
1781 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 Separate mouse-1-click-follows-link from mouse-drag-region.
1784 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1785 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1786 (mouse-drag-line, mouse-drag-track):
1787 Remove mouse-1-click-follows-link code.
1788 (mouse--remap-link-click-p): Remove.
1789
1790 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1791
1792 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1793 (hi-lock-read-regexp-defaults): New defun.
1794 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1795 (hi-lock-face-phrase-buffer): Propagate above change.
1796 Update docstring (bug#13892).
1797
1798 * subr.el (find-tag-default-as-regexp): New defun.
1799 * replace.el (read-regexp): Propagate above change.
1800
1801 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1802
1803 * calc/calc-units.el (calc-convert-units): Fix the way that default
1804 new units are stored.
1805
1806 2013-03-07 Matthias Meulien <orontee@gmail.com>
1807
1808 * bookmark.el: Define a face to highlight bookmark names in
1809 bookmark menu buffers, where the default is a bold face similarly
1810 to buffer names in buffer menu buffers.
1811 (bookmark-menu-bookmark): New face to highlight bookmark names.
1812 (bookmark-insert-location): Remove duplicated text property to
1813 conform to buffer list (see `list-buffers').
1814 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1815 `bookmark-menu-bookmark' to bookmark names.
1816
1817 2013-03-07 Matthias Meulien <orontee@gmail.com>
1818 Karl Fogel <kfogel@red-bean.com>
1819
1820 * bookmark.el: Display the bookmark list header similarly to the
1821 buffer list header (see `list-buffers'), where the default is now
1822 an immovable/immutable header line.
1823 (bookmark-bmenu-use-header-line): New variable.
1824 (bookmark-bmenu-inline-header-height): New name for
1825 `bookmark-bmenu-header-height', to avoid confusion with the code
1826 for the new immovable header. All references changed.
1827 (bookmark-bmenu-set-header): New function.
1828 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1829 Conditionalize header construction accordingly.
1830 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1831 the inline header height.
1832 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1833 Conditionalize the skipping of the inline header height.
1834
1835 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1836
1837 * progmodes/js.el (js--multi-line-declaration-indentation):
1838 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1839
1840 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1841
1842 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1843 Only propertize regexp when not inside a string (Bug#13885).
1844
1845 2013-03-06 Alan Mackenzie <acm@muc.de>
1846
1847 Correct the position of point in some line-up functions.
1848 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1849 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1850 point at column 0 rather than at a random place in the line.
1851
1852 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1853
1854 * net/tramp-compat.el (tramp-compat-delete-directory):
1855 Implement TRASH argument.
1856
1857 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1858
1859 Keep pre-existing highlighting in completion candidates (Bug#13250).
1860 * minibuffer.el (completions-first-difference): State that the
1861 face is "added" in the docstring.
1862 (completions-common-part): Same. And don't inherit from default.
1863 (completion-hilit-commonality): Prepend 'completions-common-part
1864 and 'completion-first-difference faces to the 'face property,
1865 instead of replacing the value(s).
1866 (completion--insert-strings): Same with 'completions-annotations face.
1867 (completion-hilit-commonality): Use 'face instead of
1868 'font-lock-face, because it gets priority if the completion
1869 strings already have 'face set.
1870
1871 2013-03-04 Alan Mackenzie <acm@muc.de>
1872
1873 Replace `last-command-event' by `last-command-char' in XEmacs.
1874 * progmodes/cc-defs.el (c-last-command-char): New macro.
1875 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1876 (c-semi&comma-no-newlines-before-nonblanks)
1877 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1878 in place of `last-command-event'.
1879 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1880 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1881 (c-electric-paren, c-electric-continued-statement): Use the new
1882 macro in place of `last-command-event'.
1883
1884 2013-03-04 Glenn Morris <rgm@gnu.org>
1885
1886 * files.el (inhibit-local-variables-regexps):
1887 Add .diff and .patch. (Bug#13862)
1888
1889 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1890
1891 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1892 whether the "su" command is available on the device.
1893
1894 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1895
1896 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1897 (tramp-adb-handle-process-file): Remove superfluous setting.
1898 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1899 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1900 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1901
1902 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1905 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1906 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1907 Use dict-key rather than dict-name for the error message.
1908
1909 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1910
1911 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1912 when reverting (bug#13831).
1913
1914 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1915
1916 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1917 Always expand affix-file before storing to protect against changed
1918 `default-directory'.
1919 (ispell-print-if-debug): Make sure message is printed at the end
1920 of the debug buffer.
1921
1922 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1923
1924 * net/tramp.el (tramp-obsolete-methods): New defconst.
1925 (tramp-warned-obsolete-methods): New defvar.
1926 (tramp-find-method): Check for obsolete methods. Map them to a
1927 replacement method if appropriate.
1928
1929 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1930 Remove methods.
1931 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1932 "ssh2" and "plink1".
1933
1934 2013-02-28 Dale Sedivec <dale@codefu.org>
1935
1936 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1937 Return valid syntax-table property value when converting
1938 quotes within text from string syntax to punctuation syntax (bug#13844).
1939
1940 2013-02-28 Juri Linkov <juri@jurta.org>
1941
1942 * dired-aux.el (dired-diff): If file at point is a backup file,
1943 use its original as the default value, and reverse the order
1944 of arguments to the `diff' call. Doc fix. (Bug#13772)
1945
1946 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1947
1948 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1949 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1950
1951 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1952
1953 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1954
1955 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1956 Ask hunspell about available and default dictionaries.
1957 (ispell-parse-hunspell-affix-file): Extract relevant info from
1958 hunspell affix file.
1959 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1960 `ispell-dictionary-alist' entry for given dictionary after info
1961 provided by `ispell-parse-hunspell-affix-file'.
1962 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1963 of parsed hunspell dicts and associated affix files.
1964 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1965 of parsed hunspell dicts and associated parameters.
1966 (ispell-set-spellchecker-params):
1967 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1968 previously done.
1969 (ispell-start-process):
1970 Call `ispell-hunspell-fill-dictionary-entry' for current
1971 dictionary if it is not initialized.
1972
1973 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1974
1975 * imenu.el: Comment nitpicks.
1976
1977 2013-02-28 Sam Steingold <sds@gnu.org>
1978
1979 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1980 See <http://stackoverflow.com/questions/14720205>.
1981
1982 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1983
1984 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1985 (net-utils-mode): Use it.
1986 (net-utils--revert-cmd): New var.
1987 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1988 (traceroute): Use net-utils-run-simple.
1989
1990 2013-02-28 Glenn Morris <rgm@gnu.org>
1991
1992 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1993
1994 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1995
1996 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1997 (doc-view-fallback-mode): Remove overlays here.
1998 (doc-view-toggle-display): Instead of here. Don't throw away
1999 image-mode-winprops-alist.
2000 (doc-view-goto-page): Don't mess with hscroll.
2001
2002 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2003
2004 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2005 &optional (bug#13819).
2006
2007 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2008
2009 * net/tramp-adb.el (tramp-adb-parse-device-names)
2010 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2011
2012 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2013
2014 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2015 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2016 defined. POSIX environments fall back to the "C" locale then and
2017 emit a warning, which shall be suppressed.
2018
2019 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2022 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2023
2024 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2027
2028 2013-02-25 Juri Linkov <juri@jurta.org>
2029
2030 * replace.el (read-regexp): Let-bind `default' to the first
2031 element of `defaults' if it's a list, otherwise it should be
2032 a string or nil. Let-bind `suggestions' to `defaults' if it's
2033 a list, otherwise make a list with the string value. Doc fix.
2034 (Bug#13805)
2035
2036 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2037
2038 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2039 that match "\`\.#", to avoid compiling lock files, even if they
2040 are readable (as they are on MS-Windows).
2041
2042 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * files.el (basic-save-buffer): Remove redundant directory-creation.
2045
2046 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2047
2048 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2049 Add option to force `pi' to remain symbolic.
2050 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2051 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2052 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2053 derivatives, when necessary.
2054
2055 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2056
2057 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2058 (ps-mode-octal-region): Use string-make-unibyte.
2059
2060 2013-02-23 Glenn Morris <rgm@gnu.org>
2061
2062 * emulation/viper-cmd.el (viper-submit-report):
2063 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2064 * progmodes/vera-mode.el (vera-mode-help-address):
2065 * textmodes/artist.el (artist-maintainer-address):
2066 * textmodes/reftex.el (reftex-report-bug):
2067 * vc/ediff-util.el (ediff-submit-report):
2068 Add bug-gnu-emacs to bug report address.
2069
2070 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2071 Remove bug report entries.
2072 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2073
2074 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2075 (byte-compile-file, byte-compile-from-buffer):
2076 Use separate input/output buffers for each level of recursive
2077 byte-compile-file calls. (Bug#13787)
2078
2079 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2080
2081 * net/tramp.el (tramp-methods): Fix docstring.
2082 (tramp-ssh-controlmaster-options): Rename it from
2083 `tramp-ssh-controlmaster-template'. Return a string.
2084 (tramp-default-method): Adapt check for
2085 `tramp-ssh-controlmaster-options'.
2086
2087 * net/tramp-sh.el (tramp-methods):
2088 Replace `tramp-ssh-controlmaster-template' by "%c".
2089 (tramp-do-copy-or-rename-file-out-of-band)
2090 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2091 that it is applied for the first hop only.
2092
2093 2013-02-22 Juri Linkov <juri@jurta.org>
2094
2095 * isearch.el (isearch-lazy-highlight-new-loop):
2096 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2097 to `isearch-other-end' if it is not nil. (Bug#13402)
2098
2099 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2100 to `match-beg'.
2101
2102 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2103 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2104 and `isearch-error' to nil.
2105
2106 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2107
2108 * progmodes/python.el (python-info-current-defun):
2109 Enhance match-data cluttering prevention.
2110
2111 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2112
2113 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2114
2115 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2116 Handle multibyte file names.
2117
2118 2013-02-22 Glenn Morris <rgm@gnu.org>
2119
2120 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2121 (sgml-transformation-function): Give it a :set function.
2122 (sgml-tag): Doc fix.
2123
2124 * cmuscheme.el (scheme-buffer):
2125 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2126 * progmodes/tcl.el (inferior-tcl-buffer):
2127 * textmodes/tex-mode.el (tex-command): Doc fixes.
2128
2129 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2130
2131 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2132
2133 2013-02-21 Bastien Guerry <bzg@gnu.org>
2134
2135 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2136
2137 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2138
2139 * progmodes/python.el (python-info-current-defun):
2140 Enhance match-data cluttering prevention.
2141
2142 2013-02-21 Glenn Morris <rgm@gnu.org>
2143
2144 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2145 loaded while outline-regexp is let bound. (Bug#9584)
2146
2147 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2148
2149 * progmodes/python.el (python-info-current-defun): Fix failed
2150 defun name retrieval because of unwanted match-data cluttering.
2151
2152 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2153
2154 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2155 defconst. Apply independent check for ControlPersist.
2156
2157 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2158 temporarily, via "env".
2159
2160 2013-02-21 Glenn Morris <rgm@gnu.org>
2161
2162 * info.el (Info-enable-edit): Remove.
2163 (Info-edit): Disable it rather than using Info-enable.
2164 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2165 (Info-cease-edit): Make editing of Info files obsolete.
2166
2167 * informat.el (Info-tagify):
2168 Handle buffers not visiting files. (Bug#13763)
2169
2170 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2171
2172 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2173
2174 2013-02-21 Glenn Morris <rgm@gnu.org>
2175
2176 * files.el (basic-save-buffer): Move check for existing parent
2177 directory after hooks. (Bug#13773)
2178
2179 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2180
2181 * simple.el (command-execute): Move from C. Add obsolete check.
2182 (extended-command-history): Move from C.
2183
2184 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2185
2186 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2187 (jka-compr-mode-alist-additions): Handle .txz suffix for
2188 XZ-compressed tar archives (bug#13770).
2189
2190 2013-02-20 Bastien Guerry <bzg@gnu.org>
2191
2192 * outline.el (outline-regexp, outline-heading-end-regexp):
2193 Make variables, not options (bug#13731).
2194
2195 2013-02-20 Glenn Morris <rgm@gnu.org>
2196
2197 * image.el (image-current-frame): Change from variable to function.
2198 (image-show-frame): Rename from image-nth-frame. Update callers.
2199 * image-mode.el (image-multi-frame): New variable.
2200 (image-mode-map, image-mode, image-goto-frame):
2201 Use image-multi-frame rather than image-current-frame.
2202 (image-mode, image-goto-frame): Use image-current-frame as
2203 function rather than as variable.
2204
2205 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2206 * emacs-lisp/cl-macs.el (cl--make-type-test)
2207 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2208
2209 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2210
2211 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2212 (tramp-get-file-property, tramp-set-file-property)
2213 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2214 (tramp-flush-file-property, tramp-flush-directory-property):
2215 Rename argument to KEY.
2216 (tramp-flush-connection-property): Simplify a little bit.
2217 (tramp-connection-property-p): New defun.
2218 (top): Reapply saved values only if there isn't a corresponding
2219 entry in `tramp-connection-properties'.
2220
2221 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2222
2223 * progmodes/python.el (python-indent-context):
2224 Fix python-info-line-ends-backslash-p call.
2225 (python-info-line-ends-backslash-p)
2226 (python-info-beginning-of-backslash): Respect line-number argument.
2227 (python-info-current-line-comment-p):
2228 Fix behavior when not at beginning-of-line.
2229 (python-util-position): Remove function.
2230 (python-util-goto-line): New function.
2231
2232 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2233
2234 * eshell/em-unix.el (eshell/su): Require tramp.
2235 (eshell/sudo): Require tramp. Remove now unnecessary check.
2236
2237 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2238 `tramp-current-connection' in order to avoid an error when several
2239 commands are invoked in a short time in eshell and friends.
2240
2241 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2242
2243 Cleanup some of EIEIO's namespace.
2244 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2245 Use it to define all the class-* and object-* field accessors (renamed
2246 to eieio--class-* and eieio--object-*). Update all uses.
2247 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2248 class-num-slots and object-num-slots.
2249 (eieio--check-type): New macro.
2250 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2251 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2252 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2253 (object-assoc-list-safe): Use it.
2254 (eieio-defclass): Tighten regexp.
2255 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2256 Remove unreachable code.
2257 (object-class-fast): Declare obsolete.
2258 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2259 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2260 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2261 Rename from class-name, object-name, object-set-name-string,
2262 object-class, object-class-name, class-parents, class-children,
2263 class-precedence-list, class-parent; with obsolete alias.
2264 (class-of, class-direct-superclasses, class-direct-subclasses):
2265 Declare obsolete.
2266 (eieio-defmethod): Use `memq'; remove unreachable code.
2267 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2268 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2269 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2270
2271 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2272
2273 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2274 commentary.
2275
2276 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2277
2278 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2279 Use font-lock-keyword-face for macros and special forms (bug#8345).
2280
2281 2013-02-17 Didier Verna <didier@didierverna.net>
2282
2283 * net/network-stream.el (network-stream-open-starttls):
2284 Check that response to the starttls-command is non-nil. (Bug#13706)
2285
2286 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2287
2288 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2289 Don't assume all identifier chars have syntax word.
2290 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2291 Remove bar-not-symbol. Adjust callers.
2292 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2293
2294 2013-02-17 Leo Liu <sdl.web@gmail.com>
2295
2296 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2297
2298 2013-02-17 Glenn Morris <rgm@gnu.org>
2299
2300 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2301
2302 * image-mode.el (image-mode-map): Add image-dired menu entry.
2303
2304 * image-dired.el (tumme): Make this alias obsolete.
2305
2306 2013-02-16 Glenn Morris <rgm@gnu.org>
2307
2308 * image.el (image-animated-types): Remove.
2309 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2310 (image-animated-p): Make obsolete alias.
2311 (image-animate, image-nth-frame, image-animate-timeout):
2312 Use image-multi-frame-p.
2313 (image-animate-timeout): If no delay, use image-default-frame-delay.
2314 * image-mode.el (image-mode, image-toggle-animation):
2315 Use image-multi-frame-p. (Bug#763, bug#10739)
2316 (image-mode): Adjust startup message for a multi-frame image.
2317
2318 * image-mode.el (image-mode-map): Give it a menu.
2319
2320 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2321
2322 * net/tramp-cache.el (tramp-connection-properties): New customer
2323 option.
2324 (tramp-get-connection-property): Use it.
2325
2326 * net/tramp-compat.el (top): Require 'trampver.
2327
2328 * net/tramp-sh.el (tramp-remote-process-environment):
2329 Set tramp-autoload cookie.
2330
2331 2013-02-16 Kevin Ryde <user42@zip.com.au>
2332
2333 * info-look.el (info-lookup-select-mode): If major-mode has no
2334 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2335
2336 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2337
2338 * replace.el (read-regexp): Tighten the regexp that matches tag.
2339 When tag is retrieved with `find-tag-default', use regexp that
2340 matches tag at point. Also update docstring (Bug#13687).
2341
2342 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2343
2344 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2345 add watch for the file, not its parent directory, since w32notify
2346 sets up the watch for the directory internally. (Bug#13725)
2347
2348 2013-02-16 Glenn Morris <rgm@gnu.org>
2349
2350 * image.el (image-default-frame-delay): New variable.
2351 (image-animated-p): Use image-default-frame-delay.
2352 (image-minimum-frame-delay): New constant.
2353 (image-animate-timeout): Use image-minimum-frame-delay.
2354
2355 * image.el (image-nth-frame): New, split from image-animate-timeout.
2356 (image-animate-timeout): Use image-nth-frame.
2357 * image-mode.el (image-goto-frame, image-next-frame)
2358 (image-previous-frame): New commands.
2359 (image-mode-map): Add new frame commands.
2360
2361 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2362
2363 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2364 If col-desc already has help-echo, use it. (Bug#13563)
2365
2366 2013-02-16 Glenn Morris <rgm@gnu.org>
2367
2368 * image.el (image-current-frame): New variable.
2369 (image-animate-timeout): Set image-current-frame.
2370 * image-mode.el (image-mode): For animated images,
2371 display a frame counter via mode-line-process.
2372
2373 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2374
2375 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2376
2377 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2378
2379 2013-02-15 Alan Mackenzie <acm@muc.de>
2380
2381 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2382 global minor mode has been enabled, call the minor mode function
2383 for a new buffer once only, after the major mode hook, whilst
2384 allowing that hook explicitly to disable the minor mode.
2385 (MODE-disable-in-buffer): New (generated) function.
2386 (disable-MODE): New (generated) buffer local variable.
2387
2388 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2389
2390 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2391 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2392 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2393 `ido-next-match' and `ido-prev-match' resply.
2394 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2395 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2396 `icomplete-backward-completions' (Bug#13708).
2397
2398 2013-02-15 Glenn Morris <rgm@gnu.org>
2399
2400 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2401
2402 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2405 (goto-address-fontify-region): Use them instead of narrowing, so
2406 syntax-ppss has access to the whole buffer.
2407
2408 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2409
2410 * progmodes/python.el: Explain how to restore "cc-mode"-like
2411 forward-sexp movement in header documentation (Bug#13642).
2412 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2413 comments and strings (GH bug 114).
2414
2415 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2416
2417 * progmodes/python.el (python-info-current-defun): Fix current
2418 defun detection (Bug#13618).
2419
2420 2013-02-15 Chong Yidong <cyd@gnu.org>
2421
2422 * xml.el (xml-parse-string): Fix typo in handling of bad character
2423 references.
2424
2425 2013-02-15 Glenn Morris <rgm@gnu.org>
2426
2427 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2428
2429 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2430
2431 * net/tramp.el (tramp-debug-message):
2432 Add `tramp-condition-case-unless-debug'.
2433 (tramp-debug-on-error): New defvar.
2434 (tramp-condition-case-unless-debug): New defun.
2435 (tramp-file-name-handler): Use it.
2436
2437 2013-02-14 Juri Linkov <juri@jurta.org>
2438
2439 * info.el (Info-isearch-filter): Treat non-nil values of
2440 `search-invisible' including its default value `open'
2441 like the value `t' to match hidden text. (Bug#13402)
2442
2443 2013-02-14 Glenn Morris <rgm@gnu.org>
2444
2445 * help-fns.el (find-lisp-object-file-name): Give special treatment
2446 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2447
2448 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2449
2450 * net/quickurl.el (quickurl-save-urls):
2451 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2452
2453 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2454
2455 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2456 depth for unfinished percent literal. Not using it in the caller.
2457 (ruby-move-to-block): Jump over multiline literals of all types,
2458 ignoring code-looking contents inside them.
2459 (ruby-add-log-current-method): Improve performance at the expense
2460 of accuracy. `ruby-block-contains-point' is relatively slow, so
2461 only use it for method and singleton class blocks.
2462
2463 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2464
2465 Use ControlMaster where applicable. (Bug#13677)
2466
2467 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2468 replacing `tramp-detect-ssh-controlmaster'.
2469 (tramp-default-method): Use it.
2470
2471 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2472 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2473 arguments.
2474 [scpc, rsyncc]: Remove methods.
2475 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2476 and "ssh2_old".
2477 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2478 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2479
2480 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2481
2482 * emacs-lisp/package.el (package--initialized): Move before first use.
2483
2484 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2485
2486 * icomplete.el (icomplete-hide-common-prefix): New user option.
2487 (icomplete-first-match): New face.
2488 (icomplete-completions): Correct handling of "complete but not
2489 unique" (Bug#12638).
2490
2491 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2492
2493 * descr-text.el (describe-char): Display the script (bug#13698).
2494
2495 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2496
2497 * tmm.el: Use lexical-binding and current-active-maps.
2498 (tmm-menubar): Use map-keymap and pcase.
2499 (tmm--completion-table): New function.
2500 (tmm-prompt): Use it to fix the menu order.
2501 (tmm-get-keybind): Use current-active-maps.
2502
2503 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2504
2505 Add dired-hide-details-mode. (Bug#6799)
2506
2507 * locate.el (locate-mode): Set parent mode property to dired-mode.
2508
2509 * find-dired.el (find-dired): Call dired-insert-set-properties on
2510 initial information line. Set process mark on end of buffer.
2511 (find-dired-sentinel):
2512 Call dired-insert-set-properties on summary.
2513
2514 * dired.el (dired-hide-details-hide-symlink-targets)
2515 (dired-hide-details-hide-information-lines): New options.
2516 (dired-insert-directory):
2517 Set properties after final treatment of output.
2518 (dired-insert-set-properties):
2519 Set dired-hide-details-* properties.
2520 (dired-mode-map): Bind dired-hide-details-mode.
2521 (dired-mode): Set buffer-invisibility-spec to a list.
2522 (dired-next-line): Skip hidden lines.
2523 (dired-previous-line): Use dired-next-line.
2524 (dired-hide-details-mode): New minor mode.
2525 (dired-hide-details-update-invisibility-spec): New function.
2526
2527 2013-02-13 Glenn Morris <rgm@gnu.org>
2528
2529 * play/yow.el: Move to obsolete/. (Bug#9384)
2530
2531 2013-02-13 Juri Linkov <juri@jurta.org>
2532
2533 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2534 to select `ediff-control-frame' and set input focus correctly on Xfce.
2535 (Bug#12218)
2536
2537 2013-02-13 Juri Linkov <juri@jurta.org>
2538
2539 * image-mode.el (image-mode-map):
2540 * doc-view.el (doc-view-mode-map):
2541 * vc/ediff-util.el (ediff-setup-keymap):
2542 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2543
2544 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2545
2546 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2547 performance. Instead of recalculating indentation fully for each
2548 line, sum up indentation depth based only on visited lines.
2549 (ruby-parse-partial): Increase the depth after "do" even when END
2550 is right after it.
2551 (ruby-parse-partial): When END is in the middle of a percent
2552 literal, increase the depth if the delimiter chars belong to the
2553 paren syntax class.
2554
2555 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2556
2557 * play/fortune.el (fortune-compile): Also make the compiled file
2558 if it does not exist at all, not just if it is old. (Bug#5338)
2559
2560 2013-02-13 Glenn Morris <rgm@gnu.org>
2561
2562 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2563
2564 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2565
2566 * lisp/emacs-lisp/package.el (package-menu-execute):
2567 Add optional noquery argument. (Bug#13625)
2568
2569 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2570
2571 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2572 if DIR exists and PARENTS is non-nil.
2573
2574 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2575
2576 * progmodes/js.el (js--multi-line-declaration-indentation):
2577 Silence byte-compiler warning.
2578
2579 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2580
2581 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2582
2583 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2584 only if it doesn't exist.
2585
2586 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2587 Set process marker.
2588
2589 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2590
2591 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2592 UserInstallation when calling soffice to work around LibreOffice
2593 bug 37531.
2594
2595 2013-02-12 Glenn Morris <rgm@gnu.org>
2596
2597 * files.el (basic-save-buffer):
2598 Offer to create a non-existing directory. (Bug#3016)
2599
2600 * calc/calc-graph.el (calc-graph-show-dumb):
2601 * calendar/calendar.el (calendar-mode-map):
2602 * cus-edit.el (custom-mode-map):
2603 * ehelp.el (electric-help-map):
2604 * emulation/vip.el (vip-mode-map):
2605 * epa.el (epa-key-list-mode-map):
2606 * info.el (Info-mode-map):
2607 * mail/rmail.el (rmail-mode-map):
2608 * mail/rmailsum.el (rmail-summary-mode-map):
2609 * man.el (Man-mode-map):
2610 * net/newst-plainview.el (newsticker-mode-map):
2611 * progmodes/cpp.el (cpp-edit-mode-map):
2612 * progmodes/grep.el (grep-mode-map):
2613 * progmodes/idlw-help.el (idlwave-help-mode-map):
2614 * simple.el (special-mode-map):
2615 * startup.el (splash-screen-keymap):
2616 * view.el (view-mode-map):
2617 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2618
2619 2013-02-11 Elias Pipping <pipping@lavabit.com>
2620
2621 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2622 (bug#13679).
2623
2624 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2627
2628 2013-02-11 Glenn Morris <rgm@gnu.org>
2629
2630 * vc/diff.el (diff-use-labels): New variable.
2631 (diff-no-select): Use --label rather than -L, and first
2632 check that it is supported. (Bug#11067)
2633
2634 * files.el (enable-dir-local-variables): New variable.
2635 (hack-dir-local-variables): Respect enable-dir-local-variables.
2636 * tutorial.el (help-with-tutorial):
2637 Ignore directory-local variables. (Bug#11127)
2638
2639 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2640 (vc-svn-global-switches): ... to here. (Bug#13513)
2641
2642 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2643
2644 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2645 Handle "foo (bar, default: xxx): " prompts.
2646
2647 2013-02-10 Chong Yidong <cyd@gnu.org>
2648
2649 * files.el (basic-save-buffer-1): Do not set
2650 buffer-file-coding-system-explicit (Bug#4533).
2651
2652 * mail/emacsbug.el (report-emacs-bug): Change binding of
2653 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2654
2655 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2656
2657 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2658 * calc/calc-units.el (calc-convert-units): Use new variable.
2659
2660 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2661
2662 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2663
2664 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2665 buffer-file-type.
2666
2667 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2668 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2669 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2670 coding-system-for-write instead.
2671
2672 * jka-compr.el (jka-compr-write-region): Don't bind
2673 buffer-file-type.
2674
2675 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2676 buffer-file-type.
2677
2678 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2679 (insert-file-contents-literally): Remove reference to
2680 file-name-buffer-file-type-alist.
2681
2682 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2683 make-obsolete.
2684 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2685 (find-buffer-file-type-coding-system): Remove references to
2686 find-buffer-file-type-match, find-buffer-file-type, and
2687 buffer-file-type.
2688 Don't put find-buffer-file-type-coding-system into
2689 file-coding-system-alist.
2690 (find-file-binary, find-file-text): Bind coding-system-for-read
2691 instead of file-name-buffer-file-type-alist.
2692
2693 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2694
2695 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2696 converter (Bug#13622).
2697 (doc-view-unoconv-program): Make obsolete alias.
2698 (doc-view-odf->pdf-converter-program): New variable.
2699 (doc-view-odf->pdf-converter-function): New variable.
2700 (doc-view-mode-p): Use it.
2701 (doc-view-odf->pdf-converter-unoconv):
2702 Rename from `doc-view-odf->pdf-converter-unoconv'.
2703 (doc-view-odf->pdf-converter-soffice): New function.
2704 (doc-view-convert-current-doc):
2705 Use `doc-view-odf->pdf-converter-function'.
2706
2707 2013-02-09 Chong Yidong <cyd@gnu.org>
2708
2709 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2710 view-echo-area-messages (Bug#13340).
2711
2712 * help.el (view-echo-area-messages): Use display-buffer.
2713
2714 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2715 (Bug#13561).
2716
2717 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2718
2719 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2720 Eval body right away, now that we do eager macroexpansion (bug#13605).
2721
2722 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2723 (fundamental-mode): Use run-mode-hooks.
2724
2725 * eshell/esh-proc.el (eshell/kill): Fix last change.
2726 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2727
2728 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2729
2730 * eshell/esh-proc.el (eshell/kill): Rewrite.
2731
2732 * eshell/em-ls.el (show-almost-all): Declare.
2733 (eshell-do-ls): Add support for -A argument.
2734
2735 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2736
2737 * icomplete.el (icomplete-forward-completions)
2738 (icomplete-backward-completions): Handle corner case (bug#13602).
2739
2740 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2741
2742 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2743 be nil. Handle this. (Bug#13636)
2744
2745 2013-02-07 Richard Stallman <rms@gnu.org>
2746
2747 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2748 `save-buffer-coding-system'.
2749
2750 2013-02-07 Alan Mackenzie <acm@muc.de>
2751
2752 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2753 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2754 (c-parse-state-get-strategy): Don't return 'BOD any more.
2755 (c-append-lower-brace-pair-to-state-cache):
2756 Extra parameter HERE instead of narrowing.
2757 Widen to top of buffer before searching backwards for a brace pair.
2758 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2759 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2760 Narrow to parameter HERE, in place of being called narrowed.
2761 (c-remove-stale-state-cache): Extra parameter HERE in place of
2762 narrowing. Check there's an open brace in the cache before
2763 searching for its match.
2764 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2765 (c-parse-state-1): Don't narrow here for 'forward strategy,
2766 instead passing extra parameter HERE to several functions.
2767 Remove 'BOD strategy.
2768
2769 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2770
2771 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2772 used to install the package.
2773
2774 2013-02-06 Glenn Morris <rgm@gnu.org>
2775
2776 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2777 if we can't get user input. (Bug#6567)
2778
2779 * startup.el (command-line): If simple.el is missing,
2780 test and warn about for some possible causes.
2781
2782 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2783
2784 * cus-start.el (all): Add ns-use-native-fullscreen.
2785
2786 2013-02-05 Glenn Morris <rgm@gnu.org>
2787
2788 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2789
2790 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2791 Fix directory creation in fallback case.
2792
2793 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2794
2795 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2796 (vc-update-change-log): Use dolist.
2797
2798 2013-02-04 Chong Yidong <cyd@gnu.org>
2799
2800 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2801 code from ffap.el.
2802 (thing-at-point-beginning-of-url-regexp): New var.
2803 (thing-at-point-uri-schemes): Update list of URI schemes.
2804 (thing-at-point-url-regexp): Variable deleted.
2805 (thing-at-point-markedup-url-regexp): Disallow newlines.
2806 (thing-at-point-newsgroup-regexp)
2807 (thing-at-point-newsgroup-heads)
2808 (thing-at-point-default-mail-uri-scheme): New variables.
2809 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2810 method to find the possible bounds of the URI at point.
2811 New optional argument to find ill-formed URIs.
2812 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2813 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2814 the scheme-adding heuristics from ffap-url-at-point.
2815 (thing-at-point--bounds-of-well-formed-url): New function.
2816 Do parens matching to decide whether to include parens in the URI
2817 (Bug#9153).
2818
2819 * ffap.el: Require thingatpt.
2820 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2821 All URI-valid characters are now recognized (Bug#5673).
2822 (ffap-string-at-point): Use use-region-p.
2823 (ffap-url-regexp): Extra character is handled by thing-at-point.
2824 (ffap-string-at-point-mode-alist): Allow parentheses.
2825 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2826 Convert to aliases; code moved to thingatpt.el.
2827 (ffap-gnus-hook): Use setq-local.
2828
2829 2013-02-04 Glenn Morris <rgm@gnu.org>
2830
2831 * emacs-lisp/ert.el (ert--explain-format-atom):
2832 Don't try to print non-characters as characters. (Bug#13543)
2833
2834 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2835
2836 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2837 (tramp-backtrace): New defun.
2838 (tramp-handle-insert-file-contents): Use `visit' when inserting
2839 the local copy.
2840
2841 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2842 Use `remote-file-name-inhibit-cache'.
2843
2844 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2847 (bug#13614).
2848
2849 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2850 current-load-list (bug#13366).
2851
2852 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2853
2854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2855 Identify g++ template instantiation trace. (Bug#12287)
2856 (compilation-mode-hook, compilation-start-hook)
2857 (compilation-window-height): Simplify docstrings. (Bug#13379)
2858
2859 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * mouse.el (mouse-drag-track): Always deactivate the mark before
2862 running the final event's command since that command is in charge of
2863 activating the mark if needed (bug#13523).
2864
2865 2013-02-02 Juri Linkov <juri@jurta.org>
2866
2867 * replace.el (perform-replace): Move let-bindings of isearch-*
2868 variables deeper to the loop that searches for the next match.
2869 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2870 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2871 (Bug#13579)
2872
2873 * isearch.el (isearch-search-fun-default): Check for null
2874 first element of isearch-cmds as a precaution when it's used
2875 with inactive isearch.
2876
2877 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2878
2879 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2880 error when buffer in question is narrowed so position 1 is out of
2881 visible part.
2882
2883 2013-02-02 Glenn Morris <rgm@gnu.org>
2884
2885 * textmodes/remember.el (remember-clipboard): Doc fix.
2886
2887 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2888
2889 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2890 properties (bug#13179).
2891
2892 2013-02-02 Juri Linkov <juri@jurta.org>
2893
2894 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2895 instead of hard-coded default face `match'. (Bug#9438)
2896
2897 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2898
2899 * vc/vc-arch.el (vc-arch-registered):
2900 * vc/vc-bzr.el (vc-bzr-registered):
2901 * vc/vc-cvs.el (vc-cvs-registered):
2902 * vc/vc-git.el (vc-git-registered):
2903 * vc/vc-hg.el (vc-hg-registered):
2904 * vc/vc-mtn.el (vc-mtn-registered):
2905 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2906 (Bug#13139)
2907
2908 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2909 prefix argument. (Bug#11656)
2910
2911 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2912
2913 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2914
2915 2013-02-01 Glenn Morris <rgm@gnu.org>
2916
2917 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2918 if the backend is known not to support it.
2919
2920 * imenu.el (imenu-default-create-index-function):
2921 Tweak infinite loop test to check for forward motion as well as none.
2922
2923 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2924
2925 * net/soap-client.el (soap-invoke): Encode the string for
2926 `url-request-data' as UTF-8.
2927 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2928
2929 2013-02-01 Glenn Morris <rgm@gnu.org>
2930
2931 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2932
2933 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2934
2935 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2936
2937 * net/tramp.el (tramp-tramp-file-p): Comment check for
2938 `string-as-unibyte'. The function does not exist on XEmacs, and
2939 likely we need another approach.
2940
2941 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2942 `tramp-gw-*' variables are bound.
2943
2944 2013-01-31 Glenn Morris <rgm@gnu.org>
2945
2946 * files.el (basic-save-buffer-2): Choose coding system for
2947 writing the file before backing it up, to reduce delay between
2948 backing up and writing the new version. (Bug#13522)
2949
2950 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2951
2952 * simple.el (cycle-spacing): New command.
2953 (just-one-space): Use it.
2954
2955 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2958 (opascal-newline-always-indents): Remove custom.
2959 (opascal-tab, opascal-newline): Remove commands.
2960 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2961 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2962 (opascal-save-match-data): Remove, use save-match-data instead.
2963 (opascal-save-state): Use with-silent-modifications.
2964
2965 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2966 (bug#13585).
2967
2968 2013-01-30 Juri Linkov <juri@jurta.org>
2969
2970 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2971 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2972 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2973
2974 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2977 column if we're just deleting the backslashes.
2978 (makefile-fill-paragraph): Use eolp.
2979
2980 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2981
2982 * autorevert.el (auto-revert-use-notify): Fix docstring.
2983
2984 2013-01-30 Leo Liu <sdl.web@gmail.com>
2985
2986 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2987
2988 2013-01-30 Glenn Morris <rgm@gnu.org>
2989
2990 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2991 unread-command-events twice in some cases. This tries to implement
2992 the 2012-07-26 changes in a different way. (Bug#13560)
2993
2994 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2995
2996 * progmodes/python.el
2997 (python-pdbtrack-comint-output-filter-function): Enhancements on
2998 stacktrace detection. (thanks @gnovak)
2999
3000 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3003 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3004 Use defvar-local.
3005 (jit-lock-register): Use setq-local.
3006
3007 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3008
3009 * calc-units.el (math-default-units-table): Remove initial value.
3010 (calc-convert-units): Treat expressions where all the units cancel as
3011 if they didn't have units.
3012
3013 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3014
3015 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3016 (tramp-completion-reread-directory-timeout): Fix type.
3017 (tramp-connection-min-time-diff): New defcustom.
3018
3019 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3020
3021 2013-01-30 Glenn Morris <rgm@gnu.org>
3022
3023 * imenu.el (imenu-default-create-index-function):
3024 Put back a version of the infinite loop test removed 2013-01-23.
3025
3026 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3027
3028 * progmodes/python.el (python-shell-parse-command):
3029 Find python-shell-interpreter with modified environment.
3030
3031 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3034
3035 2013-01-29 Alan Mackenzie <acm@muc.de>
3036
3037 Amend to fontify /regexp/s in actions correctly.
3038 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3039 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3040 are no longer included.
3041 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3042 What used to be these variables without "-line" in the name.
3043 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3044 (c-awk-non-arith-op-bra-re): Now also matches {.
3045 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3046 "return", and "case".
3047 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3048 by /.
3049 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3050 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3051
3052 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3053
3054 * autorevert.el (auto-revert-use-notify):
3055 Use `custom-initialize-default' for initialization. (Bug#13583)
3056
3057 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3058
3059 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3060 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3061 in `tramp-file-name-handler'.
3062 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3063 compatibility.
3064 (tramp-compute-multi-hops): Check, whether
3065 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3066
3067 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3070 (bug#13297).
3071
3072 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3073
3074 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3075 checks made superfluous by the \_< operator.
3076 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3077 temporarily) broken indentation.
3078 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3079 Highlight nested constants, too. \_< broke that.
3080
3081 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3082
3083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3084 instead of "\\b".
3085
3086 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3087
3088 * autorevert.el (auto-revert-handler): Notifications which result
3089 from a saved file shall not be taken into account. (Bug#13557)
3090
3091 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3092
3093 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3094 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3095 (lisp-mode): Pass t for it. (Bug#13556)
3096
3097 2013-01-25 Alan Mackenzie <acm@muc.de>
3098
3099 AWK Mode: Fix indentation bug at top level. Bug #12274.
3100
3101 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3102 just before CASE 5D.
3103
3104 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3105
3106 * net/socks.el (socks-nslookup-host): Use string-to-number.
3107
3108 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3109
3110 * autorevert.el (auto-revert-remote-files)
3111 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3112 (auto-revert-notify-enabled, auto-revert-use-notify)
3113 (auto-revert-notify-watch-descriptor-hash-list)
3114 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3115 (auto-revert-notify-event-descriptor)
3116 (auto-revert-notify-event-action)
3117 (auto-revert-notify-event-file-name): Doc fix.
3118 (global-auto-revert-mode): Reorder checks.
3119 (auto-revert-notify-rm-watch): Respect changed values of
3120 `auto-revert-notify-watch-descriptor-hash-list'.
3121 (auto-revert-notify-add-watch): Check for
3122 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3123 `inotify-add-watch'. Watch `default-directory' instead of
3124 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3125 has a changed meaning now. (Bug#13540)
3126 (auto-revert-notify-handler): Change implementation wrt events
3127 returning from a directory.
3128 (auto-revert-handler): Reorder implementation for checks of remote
3129 files.
3130 (auto-revert-buffers): Fix parentheses error.
3131
3132 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3133
3134 * progmodes/python.el: Enhancements to header documentation about
3135 skeletons. (Bug#5716)
3136
3137 * imenu.el (imenu-default-create-index-function): Remove useless
3138 infinite loop check. (Bug#13438)
3139
3140 2013-01-25 Alan Mackenzie <acm@muc.de>
3141
3142 Fix a bug in the state cache mechanism. Refactor this a bit.
3143
3144 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3145 `cache-pos' element from the return value.
3146 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3147 buffer to enable proper searching from beyond HERE. Amend the
3148 test for detecting the sought brace pair. Amend the value written
3149 to the "brace desert cache" when the brace isn't found.
3150 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3151 and several other variables analogously.
3152 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3153 parameter to a locally calculated variable.
3154 (c-parse-state-1): Change the calling conventions to the two
3155 defuns involving `cache-pos'.
3156
3157 2013-01-25 Chong Yidong <cyd@gnu.org>
3158
3159 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3160
3161 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3162
3163 * paren.el (show-paren-function): Make sure to set 'priority and
3164 'face only if the overlay does exist.
3165
3166 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3167
3168 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3169
3170 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3171 basic attributes.
3172 (tramp-sh-handle-set-file-acl): Improve error checking.
3173
3174 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3175
3176 * doc-view.el (doc-view-display): Force mode line update until all
3177 document is converted. Suggested by Stefan Monnier (Bug#13164).
3178
3179 2013-01-23 Bastien Guerry <bzg@gnu.org>
3180
3181 * paren.el (show-paren-function): Make sure an overlay exists
3182 before trying to delete it. Also use `pos' as a position only
3183 when it is an integer.
3184
3185 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3186
3187 * play/gametree.el (gametree-break-line-here): Use point-marker.
3188
3189 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3192 Mark descriptive parts with `display' property.
3193
3194 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3195
3196 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3197 New variable to map standard dict names to hunspell ones.
3198 (ispell-set-spellchecker-params): Make sure specific dict names
3199 are used for standard dicts with hunspell.
3200
3201 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3202
3203 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3204 chars for note (%N) and url (%U).
3205 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3206
3207 2013-01-21 Juri Linkov <juri@jurta.org>
3208
3209 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3210 in addition to existing separate binding `meta f10' in `global-map'.
3211 (Bug#13484)
3212
3213 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3214
3215 Improve XEmacs compatibility.
3216
3217 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3218
3219 * net/tramp-adb.el (top): Require `time-date'.
3220 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3221 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3222 Use `tramp-file-name-handler'.
3223 (tramp-adb-maybe-open-connection):
3224 Use `tramp-compat-set-process-query-on-exit-flag'.
3225
3226 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3227 Use `tramp-compat-funcall'.
3228
3229 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3230 `tramp-compat-funcall'.
3231
3232 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3233
3234 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3235 reimplementation using "adb shell command ..." instead of running
3236 remote shell interactively.
3237
3238 2013-01-20 Glenn Morris <rgm@gnu.org>
3239
3240 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3241 Add native profiler menu entries.
3242
3243 * profiler.el (profiler-running-p): New function.
3244 (profiler-cpu-profile): Use profiler-running-p.
3245 (profiler-report-mode-map): Add some more menu entries.
3246
3247 2013-01-19 Glenn Morris <rgm@gnu.org>
3248
3249 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3250 fixes 2012-12-07 change. (Bug#13499)
3251
3252 2013-01-19 Leo Liu <sdl.web@gmail.com>
3253
3254 * dired.el (dired-get-marked-files): Prune erroneous values due to
3255 last change. (Bug#13152)
3256
3257 2013-01-19 Glenn Morris <rgm@gnu.org>
3258
3259 * progmodes/etags.el (tags-table-check-computed-list):
3260 Preserve point in tags buffer. (Bug#13412)
3261
3262 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3263
3264 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3265 Chong Yidong <cyd@gnu.org>
3266
3267 * image-mode.el (image-next-file, image-previous-file):
3268 New commands (Bug#8453).
3269 (image-mode-map): Bind them to n and p.
3270 (image-mode--images-in-directory): New helper function.
3271
3272 2013-01-19 Chong Yidong <cyd@gnu.org>
3273
3274 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3275 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3276 save and restore the old window configuration.
3277
3278 2013-01-18 Leo Liu <sdl.web@gmail.com>
3279
3280 * progmodes/js.el: Tweak autoload cookie for alias.
3281
3282 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3283
3284 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3285 buffer local, again. This was lost with the fix on 2013-01-12.
3286
3287 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3288
3289 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3290 order to support several eshell buffers in parallel.
3291
3292 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * autorevert.el (auto-revert-use-notify): In the :set function, do
3295 not modify `kill-buffer-hook'.
3296 (auto-revert-notify-rm-watch):
3297 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3298 (auto-revert-notify-add-watch): Do not call
3299 `auto-revert-notify-rm-watch', but add it to a buffer local
3300 `kill-buffer-hook'.
3301
3302 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3305 call to `eval' rather than a backquoted lambda.
3306
3307 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3308
3309 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3310 to return an explicit nil.
3311 (advice--remove-function): Change accordingly.
3312
3313 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3314 the use of nadvice.el.
3315
3316 * progmodes/which-func.el (which-function): Silence imenu errors
3317 (bug#13433).
3318
3319 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3320
3321 * progmodes/sql.el (sql-imenu-generic-expression):
3322 (sql-mode-font-lock-object-name): Match schema qualified names.
3323 (sql-connect): Use string keys.
3324 (sql-product-interactive): Wait for interpreter prompt.
3325 (sql-comint-oracle): Set process coding based on NLS_LANG.
3326
3327 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3328
3329 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3330 (sql-interactive-remove-continuation-prompt):
3331 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3332
3333 2013-01-14 Leo Liu <sdl.web@gmail.com>
3334
3335 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3336 (Bug#13420)
3337
3338 2013-01-14 Glenn Morris <rgm@gnu.org>
3339
3340 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3341 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3342
3343 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3344
3345 * progmodes/python.el (python-nav-end-of-statement):
3346 Fix cornercase when handling multiline strings.
3347
3348 2013-01-13 Richard Stallman <rms@gnu.org>
3349
3350 * mail/sendmail.el (mail-position-on-field): Add doc string.
3351
3352 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3353 Get current message boundaries and pass them to
3354 message-forward-make-body-mime. Minor style changes.
3355
3356 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3357
3358 * cus-start.el (all): Avoid warnings about
3359 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3360
3361 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3362
3363 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3364
3365 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3366
3367 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3368 (jit-lock--debug-fontifying): New var.
3369 (jit-lock--debug-fontify): New function.
3370 * subr.el (condition-case-unless-debug): Don't prevent catching the
3371 error, just let the debbugger run.
3372 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3373 timer code and don't drop errors silently.
3374
3375 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3376
3377 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3378 `permanent-local' property.
3379 (auto-revert-notify-handler): Use `file-equal-p'.
3380
3381 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3382
3383 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3384 file notification by ACTION. For filtering by file name, compare
3385 only the non-directory part of the file name.
3386
3387 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3388
3389 * autorevert.el: Use cl-lib instead of cl.
3390
3391 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3392 (vc-bzr-checkin): Use it.
3393 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3394 will preserve match-data.
3395
3396 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3397
3398 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3399 (js--declaration-keyword-re): New var.
3400 (js--multi-line-declaration-indentation): New function.
3401 (js--proper-indentation): Use it.
3402
3403 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3404
3405 * calc/calc.el (calc-highlight-selections-with-faces)
3406 (calc-dispatch):
3407 * comint.el (comint-history-isearch-message):
3408 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3409 * ffap.el (ffap-string-at-point-region, ffap-next)
3410 (ffap-string-at-point, ffap-string-around)
3411 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3412 (ffap-literally):
3413 * font-lock.el (font-lock-keywords-alist)
3414 (font-lock-removed-keywords-alist):
3415 * help-mode.el (help-xref-symbol-regexp):
3416 * info.el (Info-find-emacs-command-nodes):
3417 * international/mule.el (add-to-coding-system-list):
3418 * isearch.el (isearch-message-function, isearch-fail-pos):
3419 * misearch.el (multi-isearch-next-buffer-function):
3420 * newcomment.el (comment-box):
3421 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3422 (pr-setting-database):
3423 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3424 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3425 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3426 (pike-font-lock-keywords-3):
3427 * progmodes/compile.el (compile):
3428 * progmodes/etags.el (tags-table-files)
3429 (tags-table-files-function, tags-included-tables-function):
3430 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3431 (gdb-restore-windows):
3432 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3433 (ps-n-up-filling-database):
3434 * server.el (server-buffer, server-log):
3435 * simple.el (newline, delete-backward-char, delete-forward-char)
3436 (minibuffer-history-isearch-message, kill-line, track-eol)
3437 (temporary-goal-column):
3438 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3439 (flyspell-default-deplacement-commands):
3440 * textmodes/ispell.el (ispell-accept-output):
3441 * textmodes/sgml-mode.el (html-tag-help):
3442 * vc/compare-w.el (compare-ignore-whitespace)
3443 (compare-ignore-case, compare-windows-dehighlight):
3444 * vc/diff.el (diff):
3445 * whitespace.el (whitespace-point)
3446 (whitespace-font-lock-refontify, whitespace-bob-marker)
3447 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3448
3449 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3450
3451 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3452 (auto-revert-notify-rm-watch): Ignore errors.
3453 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3454 inotify, and '(size last-write-time) for w32notify.
3455 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3456 watch fails - this is a fallback to the file modification check.
3457 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3458 (auto-revert-notify-event-action)
3459 (auto-revert-notify-event-file-name): New defuns.
3460 (auto-revert-notify-handler): Use them. Implement first
3461 plausibility checks.
3462 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3463
3464 2013-01-11 Julien Danjou <julien@danjou.info>
3465
3466 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3467 max are almost equal. Also return the correct value for V which is
3468 already between 0 and 1.
3469
3470 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3471
3472 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3473
3474 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3475
3476 * autorevert.el (auto-revert-notify-rm-watch)
3477 (auto-revert-notify-add-watch): Fix typos in w32notify function
3478 names.
3479
3480 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3481
3482 * autorevert.el (auto-revert-notify-enabled): Move up.
3483 (auto-revert-use-notify): New defcustom.
3484 (auto-revert-mode, global-auto-revert-mode)
3485 (auto-revert-notify-add-watch, auto-revert-handler)
3486 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3487 `auto-revert-notify-enabled'.
3488
3489 2013-01-10 Elias Pipping <pipping@exherbo.org>
3490
3491 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3492 * doc-view.el (doc-view-document->bitmap):
3493 Use doc-view-single-page-converter-function instead of
3494 single-page-converter arg; adjust callers.
3495
3496 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3497
3498 * progmodes/which-func.el (which-function): Understand Semantic's use
3499 of overlays in imenu--index-alist.
3500
3501 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3502
3503 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3504 (Man-man-k-use-anchor): New var.
3505 (Man-parse-man-k): New function.
3506 (Man-completion-table): Use it.
3507 (man): Flush the completion cache between uses.
3508
3509 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3510
3511 * autorevert.el: Add file watch support.
3512 (auto-revert-notify-enabled): New defconst.
3513 (auto-revert-notify-watch-descriptor-hash-list)
3514 (auto-revert-notify-watch-descriptor)
3515 (auto-revert-notify-modified-p): New defvars.
3516 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3517 (auto-revert-notify-handler): New defuns.
3518 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3519 when mode is disabled.
3520 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3521 (auto-revert-buffers): Add file watches for active buffers.
3522
3523 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3524
3525 * cus-start.el (toplevel): Only allow float values for
3526 scroll-up-aggressively and scroll-down-aggressively.
3527 Allow any number for line-spacing.
3528
3529 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3530
3531 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3532 (doc-view-pdf->png-converter-function): Use mupdf if available.
3533 (doc-view-djvu->png-converter-function)
3534 (doc-view-ps->png-converter-function): Remove.
3535 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3536 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3537 (doc-view-already-converted-p): Adjust accordingly.
3538 (doc-view-mode-p): Simplify.
3539 (doc-view-enlarge): Use setq-local.
3540 (doc-view-pdf->png-converter-ghostscript)
3541 (doc-view-djvu->png-converter-ddjvu)
3542 (doc-view-pdf->png-converter-mupdf): Rework to call
3543 doc-view-start-process directly.
3544 (doc-view-pdf/ps->png): Simplify accordingly.
3545 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3546 (doc-view-document->bitmap): Rename from doc-view-document->png.
3547 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3548 (doc-view-set-slice-from-bounding-box): Fix completion table.
3549 (doc-view-mode): Use add-hook for after-revert-hook.
3550
3551 2013-01-10 Glenn Morris <rgm@gnu.org>
3552
3553 * emacs-lisp/authors.el (authors-ignored-files)
3554 (authors-valid-file-names, authors-renamed-files-alist):
3555 Add some more entries.
3556
3557 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3560 `t' pseudo-window entry.
3561
3562 2013-01-10 Alan Mackenzie <acm@muc.de>
3563
3564 Fix bugs in the c-parse-state mechanism. Reuse some markers
3565 instead of continually generating new ones.
3566
3567 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3568 (c-state-old-cpp-end-marker): New variables.
3569 (c-append-lower-brace-pair-to-state-cache): Start a backward
3570 search for "}" definitively outside CPP constructs.
3571 (c-remove-stale-state-cache): Inform the caller of a need to
3572 search back for a brace pair in certain circumstances.
3573 (c-state-maybe-marker): New macro.
3574 (c-parse-state): Reuse markers when appropriate.
3575
3576 2013-01-10 Glenn Morris <rgm@gnu.org>
3577
3578 * simple.el (execute-extended-command): Doc fix.
3579 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3580
3581 2013-01-10 Chong Yidong <cyd@gnu.org>
3582
3583 * faces.el (read-face-name): Doc fix.
3584
3585 2013-01-10 Roland Winkler <winkler@gnu.org>
3586
3587 * emacs-lisp/crm.el: Allow any regexp for separators.
3588 (crm-default-separator): All spaces around the default comma separator.
3589 (crm--completion-command): New macro.
3590 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3591 (crm-complete-and-exit): Handle non-single-char separators.
3592
3593 2013-01-09 Elias Pipping <pipping@lavabit.com>
3594
3595 * doc-view.el: Add support for DjVu (bug#13164).
3596 (doc-view-djvu->png-converter-function): New config var.
3597 (doc-view-single-page-converter-function, doc-view--image-type)
3598 (doc-view--image-file-extension): New vars.
3599 (doc-view-mode): Initialize them.
3600 (doc-view-goto-page): Use them.
3601 (doc-view-mode-p): Add support for ddjvu.
3602 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3603 (doc-view-set-up-single-converter): New funs.
3604 (doc-view-pdf/ps->png): Extend for djvu.
3605 (doc-view-document->png): Rename from doc-view-pdf->png.
3606 (doc-view-convert-current-doc): Handle djvu.
3607 (doc-view-insert-image, doc-view-display)
3608 (doc-view-already-converted-p): Don't hardcode png.
3609 (doc-view-set-doc-type): Recognize djvu docs.
3610
3611 2013-01-09 Elias Pipping <pipping@lavabit.com>
3612
3613 * doc-view.el: Add support for mupdf converter (bug#13164).
3614 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3615 (doc-view-ps->png-converter-function): New config vars.
3616 (doc-view-pdf->png-converter-ghostscript)
3617 (doc-view-ps->png-converter-ghostscript)
3618 (doc-view-pdf->png-converter-mupdf): New functions.
3619 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3620
3621 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3622
3623 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3624 first in session cache: When `tramp-own-remote-path' is in
3625 `tramp-remote-path', the remote path is only set in the session
3626 cache.
3627
3628 2013-01-09 Glenn Morris <rgm@gnu.org>
3629
3630 * emacs-lisp/trace.el (trace-function-foreground)
3631 (trace-function-background): Doc fix.
3632
3633 2013-01-09 Juri Linkov <juri@jurta.org>
3634
3635 * international/mule-cmds.el (read-char-by-name): Move let-binding
3636 of completion-ignore-case around completing-read to fix regression
3637 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3638 `string-match-p' using the nil value of `case-fold-search' and
3639 `completion-ignore-case' in `completion-pcm--all-completions'.
3640 (Bug#12615).
3641
3642 2013-01-09 Glenn Morris <rgm@gnu.org>
3643
3644 * progmodes/compile.el (compilation-parse-errors):
3645 Fix typo. (Bug#13369)
3646
3647 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3648
3649 * comint.el (comint-send-input): Check size of buffer before
3650 waiting for process output, in case already accepted. (Bug#13290)
3651
3652 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3653
3654 Spelling fixes.
3655 * net/tramp-adb.el (tramp-adb-get-toolbox):
3656 Fix misspelling of 'unknown'.
3657
3658 2013-01-08 Juri Linkov <juri@jurta.org>
3659
3660 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3661 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3662 Use underline style wave on terminals that support it. (Bug#13000)
3663
3664 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3665
3666 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3667 the predicate returns nil.
3668
3669 * simple.el: Use lexical-binding.
3670 (primitive-undo): Use pcase.
3671 (minibuffer-history-isearch-push-state): Use a closure.
3672
3673 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3674
3675 * simple.el (primitive-undo): Move from undo.c.
3676
3677 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3680 (cvs-mode-remove-handled): Use it (bug#13380).
3681
3682 * emacs-lisp/nadvice.el (advice--tweak): New function.
3683 (advice--remove-function, advice--subst-main): Use it.
3684
3685 * emacs-lisp/advice.el: Update commentary.
3686
3687 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3688
3689 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3690 Remove spurious entry.
3691
3692 2013-01-08 Glenn Morris <rgm@gnu.org>
3693
3694 * net/tramp.el (tramp-default-host-alist): Add :version.
3695
3696 2013-01-08 Juri Linkov <juri@jurta.org>
3697
3698 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3699 single completion. (Bug#12456)
3700 (info--manual-names): Expand node completions into an explicit list
3701 before appending it to another list. Filter out internal buffers
3702 with the leading space in the buffer name. (Bug#10771)
3703
3704 2013-01-08 Juri Linkov <juri@jurta.org>
3705
3706 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3707 that defaults to the Top node.
3708 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3709 the short format (FILENAME) goes to the Top node.
3710 (Info-build-node-completions): Rename arg `file' to `filename'.
3711 (Bug#13365)
3712
3713 2013-01-07 Bastien Guerry <bzg@gnu.org>
3714
3715 * menu-bar.el (menu-bar-search-documentation-menu):
3716 Use `apropos-user-option' and fix the help message.
3717
3718 2013-01-07 Bastien Guerry <bzg@gnu.org>
3719
3720 * apropos.el (apropos-do-all): Update docstring.
3721 (apropos-user-option-button): New face.
3722 (apropos-user-option): Rename from `apropos-variable' and update
3723 docstring.
3724 (apropos-variable): Rewrite, now show all variables by default.
3725 (apropos-print): Mention "User option" instead of "Variable" when
3726 printing doc for user options. (Bug#13276)
3727
3728 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3729
3730 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3731 Handle filename correctly, when parsing "source -> target" symlink
3732 output.
3733 (tramp-adb-handle-set-file-times): New defun.
3734
3735 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3738 advice list when the interactive-spec of ad-Advice-* changes.
3739
3740 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3741
3742 * wid-edit.el (widget-default-get): Work for inlined elements.
3743 (Bug#12670)
3744
3745 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3746
3747 * net/tramp.el (tramp-default-host-alist): New defcustom.
3748 (tramp-find-host): Use it.
3749 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3750 `eshell-directory-change-hook'.
3751
3752 * net/tramp-adb.el (top): Add adb specific entry in
3753 `tramp-default-host-alist'.
3754 (tramp-adb-file-name-host): Remove function.
3755 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3756 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3757
3758 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3759
3760 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3761
3762 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3763
3764 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3765
3766 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3767 consist of more than one digit.
3768 (tramp-adb-file-name-handler-alist):
3769 Use `tramp-handle-file-exists-p' consistently.
3770 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3771 (tramp-adb-handle-file-exists-p): Remove function.
3772 (tramp-adb-file-name-host): New defun.
3773 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3774 Use it.
3775 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3776
3777 2013-01-06 Chong Yidong <cyd@gnu.org>
3778
3779 * vc/vc.el (vc-next-action): Detect buffer modifications
3780 conflicting with locking VCS operation (Bug#11490).
3781
3782 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3783
3784 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3785
3786 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3787 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3788
3789 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3790
3791 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3792 parsing of ls output using regular expression (handle filenames
3793 with spaces). Use virtual device number.
3794 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3795 cleanup).
3796
3797 2013-01-04 Daiki Ueno <ueno@gnu.org>
3798
3799 * epg.el: Silence byte-compiler warnings.
3800 (epg--start): Use delete-char instead of delete-backward-char.
3801 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3802
3803 2013-01-04 Daiki Ueno <ueno@gnu.org>
3804
3805 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3806 Suggested by Eli Zaretskii <eliz@gnu.org>.
3807
3808 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3811 non-negative integers. Otherwise, the default values are used.
3812 (tramp-convert-file-attributes): Convert uid and gid to integers.
3813
3814 2013-01-04 Glenn Morris <rgm@gnu.org>
3815
3816 * term.el (term-handle-colors-array): Ensure face attributes
3817 are fully specified, not nil. (Bug#13337)
3818
3819 * term.el (term-default-fg-color, term-default-bg-color):
3820 Fix custom type.
3821
3822 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3823 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3824 rather than 'jka-compr being loaded. (Bug#13338)
3825
3826 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3827
3828 * icomplete.el (icomplete-completions):
3829 Honor icomplete-prospects-height once more following
3830 2012-11-29 changes. (Bug#13224)
3831
3832 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3833
3834 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3835 of called-interactively-p as well (bug#13237).
3836
3837 * view.el (view--enable, view--disable): Rename from view-mode-enable
3838 and view-mode-disable and assume it's called from view-mode.
3839 (view-mode-enable, view-mode-disable): Redefine as obsolete
3840 compatibility layer above view-mode.
3841 (view-mode-enter): Call `view-mode'.
3842
3843 * files.el (after-find-file): Call `view-mode'.
3844
3845 * doc-view.el (doc-view-scale-internally): New var.
3846 (doc-view-enlarge, doc-view-insert-image): Obey it.
3847
3848 2013-01-03 Daiki Ueno <ueno@gnu.org>
3849
3850 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3851 exist. (Bug#13344)
3852
3853 2013-01-03 Glenn Morris <rgm@gnu.org>
3854
3855 * mail/rmail.el (rmail-set-header-1): Ignore case.
3856 Handle multi-line headers. (Bug#13330)
3857
3858 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3859 Handle paragraph starting at beginning of buffer.
3860
3861 * subr.el (eval-after-load): Don't purecopy the form, so that it
3862 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3863
3864 * emacs-lisp/byte-run.el (defun): Place cl declarations
3865 after any interactive spec. (Bug#13265)
3866
3867 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3868
3869 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3870 defun. Don't check for DECL if DOCSTRING isn't a string.
3871 (defun): Likewise.
3872
3873 2013-01-02 Glenn Morris <rgm@gnu.org>
3874
3875 * eshell/em-cmpl.el (eshell-pcomplete):
3876 More thoroughly imitate pcomplete. (Bug#13293)
3877
3878 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3879 Return nil for empty path elements. (Bug#13296)
3880
3881 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3882
3883 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3884 order to improve efficiency (Based on Daniel Colascione's
3885 <dancol@dancol.org> patch). (Bug#13182)
3886
3887 2013-01-02 Glenn Morris <rgm@gnu.org>
3888
3889 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3890
3891 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3892
3893 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3894 neither DOCSTRING nor DECL was given. (Bug#13316)
3895
3896 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3897
3898 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3899 `error' call.
3900 (tramp-do-copy-or-rename-file): Ignore errors when calling
3901 `set-file-extended-attributes'.
3902
3903 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3904 Add handler for `file-acl'.
3905 (tramp-smb-handle-file-acl): New defun.
3906
3907 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3908
3909 * calc/README: Mention ISO 8601 week-numbering dates.
3910
3911 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3912
3913 * view.el (view-mode-enable): New argument run-view-mode-hook.
3914 Run view-mode-hook only when it's non-nil (Bug#13315).
3915 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3916 argument t.
3917
3918 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3919
3920 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3921 (No device connected, invalid device name). (Bug #13299)
3922
3923 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3924
3925 * window.el (window-resizable--p): Rename to window-resizable-p.
3926 (window-resize-no-error): New function.
3927
3928 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3929 broken in fix from 2012-12-28.
3930
3931 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3932
3933 * subr.el (special-form-p): Don't signal errors on undef aliases.
3934
3935 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3936
3937 * calc/calc-forms.el (math-parse-date): Try using
3938 `math-parse-iso-date' when it looks like it might be needed.
3939 Allow times of 24:00.
3940 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3941 of 24:00.
3942
3943 2012-12-30 Glenn Morris <rgm@gnu.org>
3944
3945 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3946 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3947 (rmail-summary-displayed, rmail-summary): Declare.
3948 (mairix-rmail-display): Just require rmail.
3949
3950 2012-12-30 Chong Yidong <cyd@gnu.org>
3951
3952 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3953 check for the tarball contents.
3954
3955 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3956
3957 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3958 tarfile content listings (Bug#13136).
3959
3960 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3961
3962 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3963 Insert the undecoded text of the message being forwarded. (Bug#9521)
3964
3965 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3966
3967 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3968 integers, if they are real numbers. (Bug#13282)
3969
3970 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3971 Return `t' on success.
3972
3973 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3974 Add handler for `set-file-selinux-context'.
3975
3976 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3977
3978 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3979 (tramp-sh-handle-set-file-acl): Return `t' on success.
3980
3981 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3982
3983 * files.el (backup-buffer-copy, basic-save-buffer-2):
3984 If set-file-extended-attributes fails, fall back on set-file-modes
3985 instead of signaling an error. (Bug#13298)
3986 (basic-save-buffer): Likewise.
3987
3988 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3989
3990 * progmodes/python.el: Support other commands triggering
3991 python-indent-line so indentation cycling continues to work.
3992 (python-indent-trigger-commands): New defcustom.
3993 (python-indent-line): Use it.
3994
3995 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3996
3997 * progmodes/python.el (python-shell-send-region): Add blank lines
3998 for non sent code so backtraces remain correct.
3999
4000 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4001
4002 * progmodes/python.el: Remove cl dependency.
4003 (python-syntax-count-quotes): Replace incf call.
4004 (python-fill-string): Replace setf call.
4005
4006 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4007
4008 * info.el (info-other-window): New arg, for consistency with info.
4009
4010 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4011
4012 * mail/rmail.el (rmail-maybe-display-summary):
4013 Rewrite (Bug#13066).
4014
4015 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4016
4017 * epg.el (epg--start): Modify process-environment locally.
4018
4019 2012-12-28 Daiki Ueno <ueno@gnu.org>
4020
4021 * epg.el: Support pinentry-curses.
4022 Suggested by Werner Koch in
4023 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4024 (epg-agent-file, epg-agent-mtime): New variable.
4025 (epg--start): Record the modified time of gpg-agent socket file,
4026 to restore Emacs frame after pinentry-curses termination.
4027 (epg-wait-for-completion): Restore Emacs frame here.
4028
4029 2012-12-27 Juri Linkov <juri@jurta.org>
4030
4031 * info.el (Info-file-completions): New variable.
4032 (Info-read-node-name-1): Complete node names in the Info file
4033 when a file name is given. Call `Info-build-node-completions'
4034 with a file name.
4035 (Info-build-node-completions): Add new arg `file'. When it is
4036 non-nil, visit it in a temporary buffer and cache its completions in
4037 `Info-current-file-completions'. Move most of the function body to
4038 `Info-build-node-completions-1'.
4039 (Info-build-node-completions-1): New function with the body from
4040 `Info-build-node-completions'. (Bug#12456)
4041
4042 2012-12-27 Juri Linkov <juri@jurta.org>
4043
4044 * frame.el (frame-maximization-style): Remove user option.
4045 (cycle-frame-maximized): Remove function.
4046 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4047 (toggle-frame-fullscreen): New command bound to <f11> instead of
4048 `toggle-frame-maximized'.
4049 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4050
4051 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4054
4055 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4056 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4057 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4058 for `file-accessible-directory-p'. (Bug#13275)
4059
4060 2012-12-27 Sam Steingold <sds@gnu.org>
4061
4062 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4063 continuations, see <http://stackoverflow.com/questions/3582436>.
4064
4065 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4066
4067 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4068 "module" and "def" to have indentation before them.
4069 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4070
4071 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4072
4073 2012-12-27 Alan Mackenzie <acm@muc.de>
4074
4075 Speed up fontification where there's large brace blocks.
4076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4077 to a call of c-beginning-of-decl-1.
4078
4079 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4080
4081 * comint.el (comint-adjust-window-point): New function.
4082 (comint-postoutput-scroll-to-bottom):
4083 Call comint-adjust-window-point (Bug#13248).
4084
4085 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4086
4087 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4088 Rakefile regexp.
4089 (auto-mode-alist): Associate .gemspec files with ruby-mode
4090 (https://bugs.ruby-lang.org/issues/5453).
4091
4092 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4093
4094 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4095 Suppress coloring, if possible (required for BusyBox based systems like
4096 CyanogenMod).
4097 (tramp-adb-handle-file-attributes)
4098 (tramp-adb-handle-insert-directory)
4099 (tramp-adb-handle-file-name-all-completions): Use it.
4100 (tramp-adb-get-toolbox): New defun. Check for remote shell
4101 implementation (BusyBox or Toolbox).
4102
4103 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4104
4105 * startup.el (initial-buffer-choice): Allow function as value
4106 (Bug#13251).
4107 (command-line-1): Handle case where initial-buffer-choice
4108 specifies a function.
4109 * server.el (server-execute): Handle case where
4110 initial-buffer-choice specifies a function.
4111
4112 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4113
4114 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4115 its own function.
4116 (smtpmail-try-auth-methods): Forget the user name/password if the
4117 login is unsuccessful (bug#12424).
4118
4119 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4120
4121 * notifications.el (notifications-notify): Protect body with
4122 `with-demoted-errors'.
4123
4124 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4125 Check properties of remote device. Restart connection, if there is a
4126 change.
4127
4128 2012-12-21 Chong Yidong <cyd@gnu.org>
4129
4130 * sort.el (sort-subr): Doc fix (Bug#13056).
4131
4132 2012-12-21 Bastien Guerry <bzg@gnu.org>
4133
4134 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4135
4136 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4137
4138 * simple.el (process-file): Overwrite stderr file, if exists.
4139
4140 2012-12-21 Daiki Ueno <ueno@gnu.org>
4141
4142 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4143 (epg-error): Set `error-message' property.
4144
4145 2012-12-21 Chong Yidong <cyd@gnu.org>
4146
4147 * international/mule-cmds.el (read-char-by-name): Signal an error
4148 if the user does not supply a valid character (Bug#13177).
4149
4150 * simple.el (transpose-subr-1): Preserve marker positions by
4151 changing the insertion sequence (Bug#13122).
4152
4153 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4154
4155 * simple.el (kill-region): Deactivate mark even for empty regions
4156 (Bug#13169).
4157
4158 2012-12-21 Chong Yidong <cyd@gnu.org>
4159
4160 * help-fns.el (describe-variable): Make sure we get the right
4161 buffer name (Bug#13105). Suggested by Kelly Dean.
4162
4163 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4164
4165 * comint.el (comint-redirect-previous-input-string): New variable.
4166 (comint-redirect-setup, comint-redirect-cleanup)
4167 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4168 (comint-redirect-preoutput-filter): Fix verbose message.
4169
4170 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4171
4172 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4173 is too long for Tramp. See discussion in
4174 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4175
4176 * progmodes/compile.el (compilation-start): Remove line escape
4177 template.
4178
4179 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4180
4181 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4182 Adjust comment.
4183
4184 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4185
4186 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4187 following non-comment text (bug#13207).
4188 (lm-header-multiline): Continuation lines need to be indented more than
4189 the first line.
4190 (lm-homepage): New function.
4191 (lm-with-file): Don't be confused if narrowing is in effect.
4192
4193 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4194
4195 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4196 very beginning of a hunk (e.g. killing the first line).
4197
4198 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4199
4200 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4201 and text properties from returned ACL string.
4202 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4203 for "setfacl" command.
4204
4205 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4206
4207 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4208 `tramp-cleanup-this-connection', when the process has died.
4209 (Bug#13151)
4210
4211 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4212
4213 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4214
4215 2012-12-17 Kevin Ryde <user42@zip.com.au>
4216
4217 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4218
4219 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4220
4221 Add support for preserving ACL entries of files.
4222
4223 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4224 `set-file-acl' handlers.
4225
4226 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4227 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4228
4229 * net/tramp-compat.el (tramp-compat-copy-file):
4230 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4231
4232 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4233 Add `file-acl' and `set-file-acl' handlers.
4234 (tramp-gvfs-handle-copy-file):
4235 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4236 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4237 New defuns.
4238
4239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4240 Add `file-acl' and `set-file-acl' handlers.
4241 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4242 (tramp-sh-handle-set-file-acl): New defuns.
4243 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4244 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4245
4246 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4247 Add `file-acl' and `set-file-acl' handlers.
4248 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4249
4250 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4251
4252 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4253 use pop-to-buffer with NORECORD argument t. As buffer name, use
4254 *Metahelp* with a leading space (Bug#13190).
4255
4256 2012-12-16 Romain Francoise <romain@orebokech.com>
4257
4258 * files.el (file-extended-attributes)
4259 (set-file-extended-attributes): New functions.
4260 (backup-buffer): Use them to handle both SELinux context and ACL
4261 entries.
4262 (backup-buffer-copy): Work with an alist of extended attributes,
4263 rather than an SELinux context.
4264 (basic-save-buffer-2): Ditto.
4265
4266 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4267
4268 * battery.el (battery-bsd-apm): New function.
4269
4270 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4271
4272 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4273 standard date formats.
4274
4275 2012-12-15 Juri Linkov <juri@jurta.org>
4276
4277 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4278 `isearch-insert-char-by-name'.
4279 (with-isearch-suspended): New defmacro with body mostly from
4280 `isearch-edit-string' except the part that sets
4281 `isearch-new-string' and `isearch-new-message'.
4282 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4283 body that sets `isearch-new-string' and `isearch-new-message'.
4284 (isearch-insert-char-by-name): New command.
4285 * international/mule-cmds.el (read-char-by-name): Let-bind
4286 `enable-recursive-minibuffers' to t.
4287 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4288
4289 2012-12-15 Juri Linkov <juri@jurta.org>
4290
4291 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4292 (Bug#13175)
4293
4294 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4295
4296 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4297 the prompt. (Bug#13045)
4298
4299 2012-12-14 Glenn Morris <rgm@gnu.org>
4300
4301 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4302 Try to include filename in non-bytecomp warning. (Bug#13132)
4303
4304 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4305
4306 Fix permissions bugs with setgid directories etc. (Bug#13125)
4307 * files.el (backup-buffer): Don't rely on 9th output of
4308 file-attributes, as it's now a placeholder. Instead, use the new
4309 optional arg of file-ownership-preserved-p.
4310 (file-ownership-preserved-p): New optional arg GROUP.
4311 Fix mishandling of setuid directories that would cause this
4312 function to return t when it should have returned nil.
4313 Document what happens if the file does not exist, and when
4314 it's not known whether the ownership will be preserved.
4315 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4316 Likewise.
4317 (tramp-get-local-gid): Use group-gid for integer, as that's
4318 faster and more reliable.
4319
4320 2012-12-14 Julien Danjou <julien@danjou.info>
4321
4322 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4323 Update keywords list, data type and PL/pgSQL.
4324
4325 2012-12-14 Dave Abrahams <dave@boostpro.com>
4326
4327 * vc/ediff-util.el (ediff-buffer-type): New function.
4328 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4329 rather than taking it as as argument.
4330 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4331
4332 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4333
4334 * json.el: Add pretty-print option (bug#12634).
4335 (json-encoding-separator, json-encoding-default-indentation)
4336 (json--encoding-current-indentation, json-encoding-pretty-print)
4337 (json-encoding-lisp-style-closings): New vars.
4338 (json--with-indentation): New macro.
4339 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4340 (json-encode-array): Use it to obey json-encoding-pretty-print.
4341 (json-pretty-print-buffer, json-pretty-print): New commands.
4342
4343 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4344
4345 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4346 Extract `ruby-syntax-propertize-expansions'.
4347 (ruby-syntax-propertize-expansions): Only change syntax on
4348 certain string delimiters, to punctuation. This way the common
4349 functions like forward-word and thing-at-point still work.
4350 (ruby-match-expression-expansion): Improve readability.
4351 (ruby-block-contains-point): New function.
4352 (ruby-add-log-current-method): Handle several edge cases.
4353
4354 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4355
4356 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4357 unload-feature finishes even when aborting an ongoing edebug session.
4358 Also, do not worry about edebug-mode, unload-feature takes care of it.
4359
4360 2012-12-13 Andreas Schwab <schwab@suse.de>
4361
4362 * net/tls.el (tls-program): Update customize type.
4363
4364 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4367 (edebug-setup-hook, cl-read-load-hooks): Use it.
4368 (edebug-unload-function): New function. (Bug#13163)
4369
4370 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4371
4372 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4373 Otherwise, there could be errors in autoloading. (Bug#13151)
4374
4375 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4376
4377 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4378 sequences.
4379
4380 2012-12-13 Alan Mackenzie <acm@muc.de>
4381
4382 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4383 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4384 around `forward-comment' not recognizing ^M as whitespace.
4385
4386 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4387
4388 * progmodes/python.el (python-skeleton-class)
4389 (python-skeleton-def): Do not add space after defun name.
4390
4391 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4394 (cl--symbol-function): Remove (now that funbound is like nil).
4395
4396 2012-12-12 Glenn Morris <rgm@gnu.org>
4397
4398 * button.el (button--area-button-p): Fix typo.
4399
4400 2012-12-12 Sam Steingold <sds@gnu.org>
4401
4402 * frame.el (frame-maximization-style): New user option.
4403 (toggle-frame-maximized): Toggle frame maximization according to
4404 `frame-maximization-style', bound to <f11>.
4405 (cycle-frame-maximized): Cycle between all maximization styles and
4406 non-maximized frame, bound to shift-<f11>.
4407
4408 2012-12-12 David Cadé <codename68@gmail.com>
4409
4410 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4411
4412 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4413
4414 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4415 (eieio-override-prin1): Don't quote kewords and booleans.
4416 (object-write) <eieio-default-superclass>: Don't put closing parens
4417 on new line, avoid needless empty lines, align values that are objects
4418 with the slot keyword (instead of beginning on the same line).
4419 (eieio-list-prin1): Align value with slot keyword; increase
4420 eieio-print-depth before printing members of the list.
4421
4422 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4425 a display text-property.
4426 (report-emacs-bug-hook): Don't bother deleting it any more.
4427
4428 * hilit-chg.el (highlight-save-buffer-state): Delete.
4429 Use with-silent-modifications instead.
4430 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4431
4432 * button.el: Handle buttons in display text-properties.
4433 (button--area-button-p, button--area-button-string):
4434 Use (STRING . STRING-POS) representation instead of just STRING.
4435
4436 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4437
4438 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4439 subdirectory be skipped.
4440
4441 2012-12-11 Glenn Morris <rgm@gnu.org>
4442
4443 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4444
4445 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4446 Treat preprocessor lines embedded in continuations like comments.
4447 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4448
4449 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4450
4451 * calc/calc.el (calc-standard-date-formats): Add more date
4452 formats.
4453 * calc/calc-forms.el (math-parse-iso-date): New function.
4454 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4455 (math-parse-iso-date-validate): Add extra error checking.
4456 (calc-date-notation): Add ability to access new date formats.
4457
4458 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4461 font-lock as well as when there's no text-property.
4462
4463 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4464
4465 * hi-lock.el: Refine the choice of default face.
4466 (hi-lock-keyword->face): New function. Use it wherever we used
4467 cadadadr instead.
4468 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4469 (hi-lock--last-face): Remove var.
4470 (hi-lock--unused-faces): New var to replace it.
4471 (hi-lock-read-face-name): Use/maintain it.
4472 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4473 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4474 if it has another face.
4475
4476 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4477
4478 * subr.el (w32notify-handle-event): New function.
4479 (inotify-handle-event): Doc fix.
4480
4481 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4482
4483 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4484
4485 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4486
4487 * simple.el (just-one-space): Doc fix.
4488
4489 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4490
4491 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4492
4493 2012-12-10 Le Wang <l26wang@gmail.com>
4494
4495 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4496 narrowed buffer (bug#12361).
4497
4498 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4499
4500 * vc/vc-hooks.el (vc-state): Doc fix.
4501
4502 2012-12-10 Glenn Morris <rgm@gnu.org>
4503
4504 * mail/rmail.el (rmail-maybe-display-summary):
4505 Preserve buffer, in case select-window changes it. (Bug#13066)
4506
4507 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4510 cl-load-hook where they belong.
4511
4512 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4513
4514 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4515
4516 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4517
4518 Parallelize byte compilation on MS-Windows.
4519 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4520 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4521 (WINS_BASIC): Define as concatenation of the above.
4522 (compile): Subdivide into 4 separate and independent jobs that can
4523 be run in parallel.
4524 (compile0-CMD, compile0-SH): New targets for compiling
4525 COMPILE_FIRST files, which are prerequisites for the rest of the
4526 byte-compilation.
4527 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4528 New targets for parallel compilation with cmd.exe.
4529 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4530 compiling under a Unixy shell.
4531
4532 2012-12-09 Chong Yidong <cyd@gnu.org>
4533
4534 * simple.el (set-mark-default-inactive): Delete this
4535 accidentally-introduced option.
4536 (set-mark-command, exchange-point-and-mark): Remove calls.
4537
4538 2012-12-09 Glenn Morris <rgm@gnu.org>
4539
4540 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4541 Respect a defcustom's :set function, if appropriate. (Bug#109)
4542 (eval-defun): Doc fix.
4543
4544 2012-12-08 Juri Linkov <juri@jurta.org>
4545
4546 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4547 (Info-fontify-node, Info-bookmark-make-record): Remove the
4548 file extension from Info-current-file (Bug#13016).
4549
4550 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4551
4552 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4553 point, still provide some default.
4554 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4555 names, since we don't use it right now. Actually return the list.
4556 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4557
4558 2012-12-07 Chong Yidong <cyd@gnu.org>
4559
4560 * novice.el (disabled-command-function): Remove a spurious help
4561 xref (Bug#13043). Suggested by Kelly Dean.
4562
4563 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4564 syntax is specified (Bug#13025).
4565
4566 * info.el (Info-set-mode-line): Remove the file extension from
4567 Info-current-file if there is one (Bug#13016).
4568
4569 2012-12-07 Glenn Morris <rgm@gnu.org>
4570
4571 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4572 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4573 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4574 and rmail-mime-decoded. (Bug#9841)
4575
4576 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4577 (batch-unrmail, unrmail): Doc fixes.
4578 (unrmail): Respect unrmail-mbox-format.
4579 * mail/rmail.el (rmail-mbox-format): New option.
4580 (rmail-show-message-1): Respect rmail-mbox-format.
4581
4582 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4585
4586 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4589 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4590 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4591 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4592 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4593 (cl-progv): Don't rely on dynamic scoping to find the body.
4594 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4595 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4596 (cl-declaim): Use backquotes.
4597 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4598 Use "cl--" prefix for the object's tag.
4599
4600 * ses.el: Use advice-add/remove.
4601 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4602 (copy-region-as-kill, yank): Use advice-add.
4603 (ses-unload-function): Use advice-remove.
4604
4605 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4606
4607 * button.el: Make them work in header-lines (bug#12817).
4608 (button-map): Add bindings for header-line and mode-line use.
4609 (button-get, button-put, button-label): `button' may now be a string.
4610 (button-activate): Don't make it a defsubst.
4611 (button--area-button-p, button--area-button-string): New functions.
4612 (make-text-button): Fix the return value when `beg' was a string.
4613 (push-button): Handle the mode-line case.
4614
4615 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4616
4617 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4618 (sql-signum): Remove. Use `cl-signum' instead.
4619 (sql-read-passwd): Remove; use read-passwd instread.
4620 (sql-get-login-ext): Use read-string.
4621 (sql-get-login): Use dolist and pcase.
4622 (sql--completion-table): Rename from sql-try-completion.
4623 Use complete-with-action.
4624 (sql-mode): Don't change abbrev-all-caps globally.
4625 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4626 (sql-postgres-completion-object): Initialize vars in their `let'.
4627 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4628 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4629 (sql-comint-interbase): Use a single append, without setq.
4630 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4631
4632 * hi-lock.el: Rework the default face and the serialize regexp code.
4633 (hi-lock--auto-select-face-defaults): Remove.
4634 (hi-lock-string-serialize-serial): Remove.
4635 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4636 make weak.
4637 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4638 equal string.
4639 (hi-lock-set-pattern): Adjust accordingly.
4640 (hi-lock--regexps-at-point): Simplify accordingly.
4641 (hi-lock--auto-select-face-defaults): Remove.
4642 (hi-lock--last-face): New var to replace it.
4643 (hi-lock-read-face-name): Rewrite (bug#11095).
4644 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4645
4646 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4647
4648 * net/tramp.el (tramp-replace-environment-variables):
4649 Hide compiler warning.
4650 (tramp-file-name-for-operation): Remove `executable-find',
4651 `start-process', `call-process' and `call-process-region'.
4652
4653 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4654
4655 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4656 compatibility.
4657
4658 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4659
4660 2012-12-06 Chong Yidong <cyd@gnu.org>
4661
4662 * ffap.el (ffap-replace-file-component): Fix typo.
4663
4664 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4665
4666 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4667 fix open-paren-like token test (bug#12785).
4668
4669 2012-12-06 Glenn Morris <rgm@gnu.org>
4670
4671 * mail/rmailsum.el (rmail-new-summary): Tweak for
4672 rmail-maybe-display-summary changing buffer. (Bug#13066)
4673
4674 2012-12-06 Juri Linkov <juri@jurta.org>
4675
4676 * info.el (Info-fontify-node): Don't hide the last newline.
4677 (Bug#12272)
4678
4679 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4680
4681 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4682 so as to enable message-read-from-minibuffer to expand mail aliases.
4683
4684 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4687 the `intangible' property.
4688 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4689
4690 2012-12-05 Deniz Dogan <deniz@dogan.se>
4691
4692 * net/rcirc.el (rcirc-urls): Update documentation.
4693 (rcirc-condition-filter): New function.
4694 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4695 and exclude consecutive duplicate URLs (Bug#6082).
4696
4697 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4698
4699 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4700 Check return code of copy command.
4701
4702 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4703 Use group `tramp'. Add version.
4704
4705 2012-12-05 Chong Yidong <cyd@gnu.org>
4706
4707 * ffap.el (ffap-url-regexp): Don't require matching at front of
4708 string (Bug#4952).
4709 (ffap-url-p): If only a substring matches, return that.
4710 (ffap-url-at-point): Use the return value of ffap-url-p.
4711 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4712 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4713 (ffap-guess-file-name-at-point): Likewise.
4714 (ffap-replace-file-component): Fix typo.
4715
4716 * info.el (info-display-manual): Add existing Info buffers, whose
4717 files may not be in Info-directory-list, to the completion.
4718 (info--manual-names): New helper function.
4719
4720 2012-12-05 Glenn Morris <rgm@gnu.org>
4721
4722 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4723 New functions, for detecting and resolving conflicts. (Bug#10709)
4724
4725 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4726
4727 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4728 (hi-lock-auto-select-face-defaults): New buffer local variable.
4729 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4730 (hi-lock-unface-buffer): Prompt user with useful defaults.
4731 With prefix arg, unhighlight all hi-lock patterns in buffer.
4732
4733 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4736
4737 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4738
4739 * Makefile.in (TRAMP_SRC):
4740 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4741
4742 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4743
4744 * net/tramp-adb.el: New package.
4745
4746 2012-12-04 Chong Yidong <cyd@gnu.org>
4747
4748 * terminal.el: Move to obsolete/.
4749
4750 * longlines.el: Move to obsolete/.
4751
4752 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4753 Remove code referring to longlines mode.
4754
4755 2012-12-03 Juri Linkov <juri@jurta.org>
4756
4757 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4758
4759 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4760
4761 * textmodes/ispell.el (ispell-init-process)
4762 (ispell-start-process, ispell-internal-change-dictionary):
4763 Make sure personal dictionary name is expanded after initial
4764 `default-directory' value. Use expanded strings for
4765 keep/restart checks and for value (Bug#13019).
4766
4767 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4768
4769 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4770
4771 2012-12-03 Leo Liu <sdl.web@gmail.com>
4772
4773 * files.el (dir-locals-read-from-file): Check file non-empty
4774 before reading. (Bug#13038)
4775
4776 2012-12-03 Glenn Morris <rgm@gnu.org>
4777
4778 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4779 Remove any version extension before checking filename. (Bug#13006)
4780 (jka-compr-compression-info-list): Belated :version bump.
4781
4782 2012-12-03 Chong Yidong <cyd@gnu.org>
4783
4784 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4785
4786 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4787 (buffer-menu): Doc fix (Bug#12294).
4788
4789 2012-12-03 Roland Winkler <winkler@gnu.org>
4790
4791 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4792 of diary-show-all-entries in the diary buffer (Bug#12994).
4793
4794 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4795
4796 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4797 "<STDIN>". This is binary safe.
4798
4799 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4800
4801 * calc/calc-forms.el (math-absolute-from-iso-dt)
4802 (math-date-to-iso-dt, math-parse-iso-date-validate)
4803 (math-iso-dt-to-date): New functions.
4804 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4805 (math-fd-isoweekday): New variables.
4806 (calc-date-notation, math-parse-standard-date, math-format-date)
4807 (math-format-date-part): Add support for more formatting codes.
4808
4809 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4810
4811 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4812 current buffer's file name when called interactively (Bug#12488).
4813
4814 2012-12-02 Juri Linkov <juri@jurta.org>
4815
4816 * info.el (info-display-manual): Don't clobber an existing Info
4817 buffer (Bug#10770). Add completion (Bug#10771).
4818
4819 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4820
4821 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4822 before using it for comparison (Bug#5297).
4823
4824 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4825
4826 * textmodes/css-mode.el (css-current-defun-name): New function.
4827 (css-mode): Use it.
4828
4829 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4830 (html-mode): Use it.
4831
4832 2012-12-01 Chong Yidong <cyd@gnu.org>
4833
4834 Modularize add-log-current-defun (Bug#2224).
4835 Suggested by Jari Aalto.
4836
4837 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4838 (add-log-current-defun): Move mode-specific code to other files.
4839 (add-log-lisp-like-modes, add-log-c-like-modes)
4840 (add-log-tex-like-modes): Variables deleted.
4841
4842 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4843 (lisp-mode-variables): Use it.
4844
4845 * progmodes/cc-mode.el (c-common-init):
4846 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4847 add-log-current-defun-function.
4848
4849 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4850 (m4-mode): Use it.
4851
4852 * progmodes/perl-mode.el (perl-current-defun-name): New.
4853 (perl-mode): Use it.
4854
4855 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4856 Use lisp-current-defun-name.
4857
4858 * textmodes/tex-mode.el (tex-current-defun-name): New.
4859 (tex-common-initialization): Use it.
4860
4861 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4862 (texinfo-mode): Use it.
4863
4864 2012-12-01 Chong Yidong <cyd@gnu.org>
4865
4866 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4867 * progmodes/autoconf.el (autoconf-mode):
4868 * progmodes/js.el (js-mode):
4869 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4870 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4871 * progmodes/perl-mode.el (perl-mode):
4872 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4873 * textmodes/css-mode.el (css-mode):
4874 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4875 (sgml-tags-invisible, sgml-guess-indent):
4876 * textmodes/tex-mode.el (tex-common-initialization)
4877 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4878 (doctex-mode, plain-tex-mode, latex-mode):
4879 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4880
4881 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4882
4883 * vc/vc-hg.el (vc-hg-next-revision):
4884 Ensure use of default "tip" output format. (Bug#6968)
4885
4886 2012-12-01 Kim F. Storm <storm@cua.dk>
4887
4888 * startup.el (fancy-startup-tail): Add a clickable link
4889 (Bug#2176).
4890
4891 2012-12-01 Chong Yidong <cyd@gnu.org>
4892
4893 * startup.el (fancy-startup-tail): Improve the message about
4894 auto-save files (Bug#2176).
4895
4896 * files.el (recover-session): Improve the descriptive message, and
4897 use substitute-command-keys.
4898
4899 2012-12-01 Glenn Morris <rgm@gnu.org>
4900
4901 * ido.el (ido-file-internal):
4902 Handle other-window, other-frame for dired. (Bug#13036)
4903
4904 2012-11-30 Glenn Morris <rgm@gnu.org>
4905
4906 * icomplete.el (icomplete-separator): Fix :version.
4907
4908 2012-11-30 Chong Yidong <cyd@gnu.org>
4909
4910 * shell.el (shell): For C-u M-x shell, use an inactive shell
4911 buffer as the default (Bug#1975).
4912 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4913 (shell-mode): Use them to reapply ansi colorization if Shell mode
4914 is re-enabled.
4915
4916 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4917
4918 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4919
4920 2012-11-30 Samuel Bronson <naesten@gmail.com>
4921
4922 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4923 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4924
4925 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4926
4927 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4928 by move-to-column (Bug#3234).
4929
4930 2012-11-30 Chong Yidong <cyd@gnu.org>
4931
4932 * longlines.el (longlines-wrap-line, longlines-encode-region):
4933 Preserve text properties (Bug#1425).
4934
4935 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4936
4937 * vc/vc.el (vc-register): Allow registering a file which is
4938 already registered with a different backend (Bug#10589).
4939
4940 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4941 Stefan Monnier <monnier@iro.umontreal.ca>
4942
4943 * icomplete.el: Change separator; add ido-style commands.
4944 (icomplete-show-key-bindings): Remove custom var.
4945 (icomplete-get-keys): Remove function.
4946 (icomplete-forward-completions, icomplete-backward-completions):
4947 New commands.
4948 (icomplete-minibuffer-map): New var.
4949 (icomplete-minibuffer-setup): Use it.
4950 (icomplete-exhibit): Don't delay if the list of completions is known.
4951 (icomplete-separator): New custom.
4952 (icomplete-completions): Use it.
4953 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4954 (minibuffer-force-complete-and-exit): New command.
4955 (minibuffer--complete-and-exit): New function extracted from
4956 minibuffer-complete-and-exit.
4957 (minibuffer-complete-and-exit): Use it.
4958
4959 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4960 error message when the file doesn't exist (bug#12974).
4961
4962 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4963
4964 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4965
4966 2012-11-29 Glenn Morris <rgm@gnu.org>
4967
4968 * files.el (hack-dir-local-variables): Warn if try to set
4969 coding via dir-locals, since it doesn't work. (Bug#7169)
4970
4971 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4972 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4973 Set buffer-local value of desktop-save-buffer.
4974 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4975 New functions.
4976 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4977 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4978
4979 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4980 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4981 Doc fix.
4982 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4983 Doc fixes.
4984
4985 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4986
4987 * calc/calc-forms.el (calc-date-notation): Fix regexp
4988 used to find time codes. Fix symbol for seconds.
4989
4990 2012-11-27 Glenn Morris <rgm@gnu.org>
4991
4992 * emacs-lisp/derived.el (derived-mode-make-docstring):
4993 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4994
4995 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4996
4997 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4998 lexically scoped variables (bug#13005).
4999
5000 2012-11-27 Glenn Morris <rgm@gnu.org>
5001
5002 * vc/vc-hooks.el (vc-mistrust-permissions):
5003 Default to t, to avoid data-loss. (Bug#11490)
5004
5005 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5006
5007 * progmodes/python.el (python-indent-guess-indent-offset):
5008 If indentation is guessed make python-indent-offset buffer-local.
5009
5010 Fix Imenu regression.
5011 * progmodes/python.el (python-nav-beginning-of-defun):
5012 Fix forward movement when statement(s) separates point from defun.
5013 (python-imenu-prev-index-position): New function.
5014
5015 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5016
5017 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5018
5019 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5020 Don't set buffer-file-type. Return nil. (Bug#12989)
5021
5022 2012-11-27 Glenn Morris <rgm@gnu.org>
5023
5024 * hippie-exp.el (hippie-expand-try-functions-list):
5025 Re-autoload it. (Bug#12982)
5026
5027 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5028
5029 * descr-text.el (describe-char-padded-string):
5030 Call internal-char-font only on GUI frames. (Bug#11964)
5031
5032 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5033
5034 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5035 and obsoletion message.
5036
5037 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5040 the constructs to keep outside of the `cl-block' (bug#12977).
5041
5042 2012-11-27 Chong Yidong <cyd@gnu.org>
5043
5044 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5045 keep reading until we get the up-event anyway, in order to process
5046 the up-event for mouse-1-click-follows-link (Bug#12971).
5047
5048 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5049
5050 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5051 base function is not yet defined (bug#12965).
5052 (ad-activate-advised-definition): Use ad-compile-function.
5053 (ad-activate): Use cond.
5054
5055 2012-11-25 Leo Liu <sdl.web@gmail.com>
5056
5057 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5058 (Bug#12979)
5059
5060 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5061
5062 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5063 reftex-section-info-function in order to be compatible with
5064 Texinfo integration.
5065
5066 * textmodes/reftex.el (reftex-section-pre-regexp)
5067 (reftex-section-post-regexp, reftex-section-info-function):
5068 New variable.
5069 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5070 reftex-section-post-regexp, and reftex-section-info-function in order
5071 to be compatible with Texinfo integration.
5072
5073 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5074 use reftex-section-pre-regexp variable in order to be compatible with
5075 Texinfo integration.
5076
5077 2012-11-25 Chong Yidong <cyd@gnu.org>
5078
5079 * faces.el: Make face-spec-set more analogous to setq.
5080 (face-spec-set): Change the third arg to specify whether this
5081 function is being called via defface, customize, or a third party.
5082 Set the appropriate symbol properties. Clear the override spec if
5083 setting via Custom. Initialize face if necessary. (Bug#4988)
5084 (face-spec-recalc): Allow theme faces to completely replace the
5085 defface spec, in the same way as custom faces (Bug#8454).
5086
5087 * cus-face.el (custom-declare-face): Move face initialization to
5088 face-spec-set.
5089 (custom-theme-set-faces): Don't initialize the face name here, as
5090 that is now done in face-spec-set.
5091
5092 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5093 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5094 Simplify by using the new arg to face-spec-set.
5095
5096 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5097 reset face-override-spec too, and use custom-declare-face.
5098
5099 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5100
5101 * term/ns-win.el (ns-initialize-window-system): Move creation of
5102 fontsets here (Bug#11964).
5103
5104 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5105
5106 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5107 cell renaming.
5108
5109 2012-11-24 Chong Yidong <cyd@gnu.org>
5110
5111 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5112 obsolete.
5113
5114 * custom.el (custom-theme-set-variables): Use a topological sort
5115 for ordering by custom dependencies (Bug#12952).
5116 (custom--sort-vars, custom--sort-vars-1): New functions.
5117
5118 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5119
5120 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5121 lexical-binding (bug#12938).
5122
5123 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5124
5125 * image-mode.el (image-transform-check-size): Use assertions only
5126 for images of type imagemagick.
5127
5128 Otherwise no error, image-transform-fit-to-{width,height} is
5129 silently ignored, as before. Doc fix.
5130
5131 2012-11-24 Chong Yidong <cyd@gnu.org>
5132
5133 * faces.el (color-defined-p): Doc fix (Bug#12853).
5134
5135 2012-11-24 Juri Linkov <juri@jurta.org>
5136
5137 * dired.el (dired-mark): Add optional arg `interactive'.
5138 Check for `use-region-p' if `interactive' is non-nil.
5139 (dired-unmark, dired-flag-file-deletion): Add optional arg
5140 `interactive'. Call `dired-mark' with the arg `interactive'.
5141 (Bug#10624)
5142
5143 * wdired.el: Revert 2012-10-17 change partly and replace it with
5144 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5145 (wdired-finish-edit): Add marks for new file names to
5146 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5147 after `revert-buffer'.
5148 (wdired-do-renames): Remove calls to `dired-remove-file',
5149 `dired-add-file', `dired-add-entry'. (Bug#11795)
5150
5151 2012-11-24 Alan Mackenzie <acm@muc.de>
5152
5153 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5154
5155 Fix bugs in the state cache. Enhance a debugging mechanism.
5156 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5157 "brace at column zero" strategy for C++.
5158 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5159 (c-parse-state-point): New variable.
5160 (c-record-parse-state-state): Record old parse state with
5161 `copy-tree'. Record previous value of point.
5162 (c-debug-parse-state-double-cons): New debugging function.
5163 (c-debug-parse-state): Call the above new function.
5164 (c-toggle-parse-state-debug): Output a confirmatory message.
5165
5166 * progmodes/cc-mode.el (c-before-change, c-after-change):
5167 Call c-invalidate-state-cache from `c-before-change' instead of
5168 `c-after-change'.
5169
5170 2012-11-23 Chong Yidong <cyd@gnu.org>
5171
5172 * find-cmd.el (find-constituents): Add executable, ipath,
5173 readable, samefile, writable, daystart, regextype (Bug#12856).
5174
5175 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5178
5179 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5180
5181 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5182 definition. This fixes a bootstrap failure.
5183 (calc-gregorian-switch): In menu, put dates before regions.
5184 This is easier to follow, lines up better in the menu, and lets us
5185 coalesce regions that switch at the same time. Give country
5186 names, not "Vatican", as that's better for non-expert users.
5187 Use names that are stable between the date of switch and now, e.g.,
5188 Bohemia and Moravia (which existed then and now) and not
5189 Czechoslovakia (which didn't exist then and doesn't exist now).
5190 What is now the U.S. mostly did not switch at the same time as
5191 Britain, so omit the U.S. Correct spelling of "Britain".
5192 Catholic Switzerland was too much of a mess, so omit it.
5193
5194 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5195
5196 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5197 after the variable is changed.
5198
5199 2012-11-21 Daniel Colascione <dancol@dancol.org>
5200
5201 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5202 in SQL declarations for font-lock.
5203 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5204
5205 2012-11-21 Glenn Morris <rgm@gnu.org>
5206
5207 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5208 (face-italic-p): Add optional argument "inherit".
5209
5210 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5211 Remove -p suffix from names, for consistency with other set-face-*.
5212 (set-face-inverse-video): Fix interactive spec.
5213 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5214 * textmodes/table.el (table--update-cell-face):
5215 Use set-face-inverse-video rather than now obsolete alias.
5216
5217 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5218
5219 * simple.el (line-move): Don't call line-move-partial if
5220 scroll-conservatively is in effect. (Bug#12927)
5221
5222 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5225 Fallback on completion-at-point rather than
5226 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5227 (eshell-cmpl-initialize): Setup completion-at-point.
5228
5229 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5230
5231 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5232
5233 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5234
5235 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5236 are remote, check out-of-band property for both.
5237
5238 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5239
5240 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5241 code rewrite.
5242
5243 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5244
5245 More minor time fixes.
5246 * calendar/time-date.el: Commentary fix.
5247 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5248 too much other code depends on (0 0) time stamps.
5249 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5250 Add a couple of FIXME comments.
5251
5252 Minor cleanup for times as lists of four integers.
5253 * files.el (dir-locals-directory-cache):
5254 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5255 Doc fixes.
5256 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5257 * ps-bdf.el (bdf-file-newer-than-time):
5258 Process four-integers time stamps, not two. Doc fixes.
5259
5260 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5261
5262 * uniquify.el (uniquify-managed): Use defvar-local.
5263 (rename-buffer, create-file-buffer): Advise with advice-add.
5264 (uniquify-unload-function): Unadvise accordingly.
5265
5266 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5267 (trace-buffer): Don't purecopy.
5268 (trace-entry-message, trace-exit-message): Add `context' arg.
5269 (trace--timer): New var.
5270 (trace-make-advice): Adjust for use in nadvice.
5271 Add `context' argument. Delay `display-buffer' via a timer.
5272 (trace-function-internal): Use advice-add.
5273 (trace--read-args): New function.
5274 (trace-function-foreground, trace-function-background): Use it.
5275 (trace-function): Rename to trace-function-foreground and redefine as
5276 an alias to that new name.
5277 (untrace-function, untrace-all): Adjust to the use of nadvice.
5278
5279 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5280
5281 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5282
5283 * subr.el (called-interactively-p-functions): New var.
5284 (internal--called-interactively-p--get-frame): New macro.
5285 (called-interactively-p, interactive-p): Rewrite in Lisp.
5286 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5287 (called-interactively-p-functions): Use it.
5288 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5289 (called-interactively-p-functions): Use it.
5290 * allout.el (allout-called-interactively-p): Don't assume
5291 called-interactively-p is a subr.
5292
5293 2012-11-20 Glenn Morris <rgm@gnu.org>
5294
5295 * profiler.el (profiler-report-mode-map): Add a menu.
5296 No need to bind `q' because we derive from special-mode.
5297 (profiler-report-find-entry): Handle calls from the menu-bar.
5298
5299 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * emacs-lisp/byte-run.el (defun-declarations-alist):
5302 Allow a compiler-macro to be a lambda expression.
5303
5304 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5305 eval-when-compile.
5306 (python-syntax-context): Add compiler-macro.
5307 (python-font-lock-keywords): Simplify with De Morgan.
5308
5309 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5310
5311 * files.el (load-file): Require match in minibuffer selection, as was
5312 the case in Emacs-20 before we changed the spec to allow .elc files
5313 (bug#12935).
5314
5315 * json.el: Don't require cl since we don't use it.
5316 * color.el: Don't require cl.
5317 (color-complement): `caddr' -> `nth 2'.
5318
5319 * calendar/time-date.el (time-to-seconds): De-obsolete.
5320
5321 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5322
5323 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5324 year numbers.
5325 (math-date-to-julian-dt): Adjust the initial approximation for the
5326 year to deal with the new definition of the DATE.
5327
5328 2012-11-19 Daniel Colascione <dancol@dancol.org>
5329
5330 * term/w32-win.el (cygwin-convert-path-from-windows):
5331 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5332
5333 2012-11-18 Chong Yidong <cyd@gnu.org>
5334
5335 * filecache.el (file-cache--read-list): New function.
5336 (file-cache-add-directory-list, file-cache-add-file-list)
5337 (file-cache-delete-file-list, file-cache-delete-directory-list):
5338 Use it to read a list of files or directories (Bug#12846).
5339 (file-cache-add-file, file-cache-add-directory)
5340 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5341 (file-cache-delete-directory): Print an message.
5342
5343 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5344
5345 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5346 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5347
5348 2012-11-18 Glenn Morris <rgm@gnu.org>
5349
5350 * image.el (insert-image, insert-sliced-image): Doc fix.
5351
5352 2012-11-18 Chong Yidong <cyd@gnu.org>
5353
5354 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5355 (Bug#12810).
5356
5357 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5358
5359 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5360 response when the target file is in a subdirectory (Bug#12757).
5361
5362 2012-11-18 Chong Yidong <cyd@gnu.org>
5363
5364 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5365
5366 2012-11-18 Glenn Morris <rgm@gnu.org>
5367
5368 * emacs-lisp/cl-lib.el (face-underline-p):
5369 Use set-face-underline rather than the alias set-face-underline-p.
5370
5371 * window.el (with-temp-buffer-window): Doc fix.
5372 * subr.el (with-output-to-temp-buffer):
5373 Add doc xref to with-temp-buffer-window.
5374
5375 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5376
5377 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5378 * calc/calc.el (math-format-date-cache): Declare.
5379
5380 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5381
5382 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5383 It also uses January 1, 1 AD as its day number 1.
5384 * calc/calc-forms.el (math-julian-date-beginning)
5385 (math-julian-date-beginning-int): Implement this.
5386
5387 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5388
5389 * descr-text.el (quail-find-key):
5390 * dired.el (desktop-file-name):
5391 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5392 * generic-x.el (comint-mode, comint-exec):
5393 * image-dired.el (widget-forward):
5394 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5395 (speedbar-change-expand-button-char)
5396 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5397 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5398 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5399 (widget-field-action, widget-value-set):
5400 * speedbar.el (imenu--make-index-alist):
5401 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5402 (ring-length, ring-insert):
5403 * vcursor.el (compare-windows-skip-whitespace):
5404 * woman.el (dired-get-filename):
5405 Declare functions.
5406
5407 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5408
5409 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5410
5411 * calc/calc.el (calc-gregorian-switch): New variable.
5412
5413 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5414 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5415 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5416 (math-leap-year-p): Add option to distinguish between Julian
5417 and Gregorian calendars.
5418 (math-day-number): Use `math-day-in-year' to do the computations.
5419 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5420 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5421 to do the computations.
5422 (math-date-to-dt): Use `math-date-to-julian-dt' and
5423 `math-date-to-gregorian-dt' to do the computations.
5424 (calcFunc-weekday, math-format-date-part): Use the new version of
5425 the DATE to determine the weekday.
5426 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5427 when necessary.
5428
5429 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5430
5431 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5432 Cygwin; otherwise use 'file:'. (Bug#12914)
5433 (cygwin-convert-path-from-windows): Declare, to avoid
5434 byte-compiler warnings.
5435
5436 2012-11-17 Andreas Politz <politza@fh-trier.de>
5437
5438 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5439 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5440 prefix and negative numeric prefix args (Bug#12795).
5441
5442 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5443
5444 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5445 Don't signal an error with a score that is too low to add to the
5446 list of top scores. (Bug#12779)
5447
5448 2012-11-17 Chong Yidong <cyd@gnu.org>
5449
5450 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5451
5452 * filecache.el (file-cache-add-file): Handle relative file name in
5453 the argument (Bug#12694).
5454
5455 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5456
5457 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5458
5459 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5462
5463 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5464
5465 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5466
5467 * window.el (enlarge-window, shrink-window): Don't mention return
5468 value in doc-string (Bug#12896).
5469 (window--display-buffer): Don't resize frames - it won't work
5470 with all window managers and defeat pop-up-frame-alist.
5471 (display-buffer-alist): In doc-string explain that CONDITION can
5472 be a function and which arguments are passed to it (Bug#12854).
5473 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5474 expressions (Bug#12854).
5475 (display-buffer): Pass ACTION argument to
5476 display-buffer-assq-regexp.
5477
5478 2012-11-16 Glenn Morris <rgm@gnu.org>
5479
5480 * window.el (fit-frame-to-buffer-bottom-margin)
5481 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5482
5483 * faces.el (face-underline-p): Use face-attribute-specified-or.
5484
5485 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5486
5487 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5488
5489 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5490
5491 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5492
5493 2012-11-16 Glenn Morris <rgm@gnu.org>
5494
5495 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5496 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5497
5498 * faces.el (face-underline-p): Doc fix. Handle :underline being
5499 things other than `t' (a string, a list).
5500 (face-inverse-video-p): Doc fix.
5501 (set-face-underline): Rename it back from set-face-underline-p.
5502 Doc fix. Allow interactive input of values other than t.
5503 (read-face-attribute): Apply formatting to :underline,
5504 since like :box and :stipple it can take list values.
5505
5506 * term.el (ansi-term): Don't let C-x escape-char binding
5507 clobber the more standard C-c binding. (Bug#12842)
5508
5509 * subr.el (set-temporary-overlay-map): Doc fix.
5510
5511 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5512
5513 * window.el (record-window-buffer)
5514 (display-buffer-record-window): When copying the markers to
5515 window-point preserve window-point-insertion-type. (Bug#12588)
5516
5517 2012-11-16 Glenn Morris <rgm@gnu.org>
5518
5519 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5520 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5521 Use new names for hooks rather than obsolete aliases.
5522
5523 2012-11-15 Daniel Colascione <dancol@dancol.org>
5524
5525 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5526 prefix instead of "file:" so that when FILE-NAME begins with "//",
5527 as it does when the target file is on a network share, url-handler
5528 isn't confused.
5529
5530 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5533 a preactivated advice from an old advice.el; they're not compatible!
5534
5535 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5536
5537 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5538 Fix string-spec case.
5539
5540 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5541
5542 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5543
5544 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5545 (advice--buffer-local-function-sample): New var.
5546 (advice--set-buffer-local, advice--buffer-local): New functions.
5547 (add-function, remove-function): Use them.
5548
5549 2012-11-15 Drew Adams <drew.adams@oracle.com>
5550
5551 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5552
5553 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5556 potential binding of print-gensym to t, and prettify (back)quotes in
5557 case they appear in args's default values (bug#12884).
5558
5559 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5562 (advice-eval-interactive-spec): New function.
5563 (advice--make-interactive-form): Support around advice (bug#12844).
5564
5565 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5566
5567 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5568 more strict. Add docstring.
5569 (ruby-expression-expansion-re): Extract from
5570 `ruby-match-expression-expansion'.
5571 (ruby-syntax-propertize-function): After everything else, search
5572 for expansions in string literals, mark their insides as
5573 whitespace syntax and save match data for font-lock.
5574 (ruby-font-lock-keywords): Use the 2nd group from expression
5575 expansion matches.
5576 (ruby-match-expression-expansion): Use the match data saved to the
5577 text property in ruby-syntax-propertize-function.
5578
5579 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5580
5581 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5582 (bug#12879).
5583
5584 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5585
5586 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5587 start/end keyword a bit harder. Works with different values of N.
5588 Add more comments.
5589 (ruby-end-of-block): Update accordingly.
5590
5591 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5592
5593 * woman.el (woman-file-name): Don't mess with unread-command-events
5594 (bug#12861).
5595
5596 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5597 Remove out of date self-require hack.
5598 (ad-do-advised-functions): Use simple `dolist'.
5599 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5600 (ad-advice-definition): Redefine as functions.
5601 (ad-advice-classes): Move before first use.
5602 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5603 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5604 (ad--defalias-fset): Remove functions.
5605 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5606 (ad-get-orig-definition): Rewrite.
5607 (ad-make-advised-definition-docstring): Change base docstring.
5608 (ad-real-orig-definition): Rewrite.
5609 (ad-map-arglists): Change name of called function.
5610 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5611 (ad-make-advised-definition): Simplify.
5612 (ad-assemble-advised-definition): Tweak for new calling context.
5613 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5614 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5615 function and call ad-activate if needed.
5616 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5617 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5618 (ad-compile-function): Compile ad-Advice-*.
5619 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5620 (ad-start-advice, ad-stop-advice): Remove.
5621
5622 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5623
5624 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5625 period before class method names, not after. Remove handling of
5626 one impossible case. Add comments.
5627
5628 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5629
5630 * emacs-lisp/advice.el: Remove support for freezing.
5631 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5632 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5633 Remove support for `freeze'.
5634
5635 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5636 override the default.
5637 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5638 cl--dotimes/dolist.
5639 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5640 `cl' is loaded.
5641
5642 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5643 from add-advice.
5644 (advice--strip-macro): New function.
5645 (advice--defalias-fset): Use them to handle macros.
5646 (advice-add): Use them.
5647 (advice-member-p): Correctly handle macros.
5648
5649 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5650
5651 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5652 Never font-lock the beginning of singleton class as heredoc.
5653
5654 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5657
5658 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5659
5660 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5661 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5662 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5663
5664 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5665
5666 Fix end-of-defun misbehavior.
5667 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5668 python-beginning-of-defun-function. Handle nested defuns
5669 correctly.
5670 (python-nav-end-of-defun): Rename from
5671 python-end-of-defun-function. Ensure forward movement.
5672 (python-info-current-defun): Reimplement to work as intended
5673 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5674 parent defuns as soon as possible.
5675
5676 2012-11-13 Glenn Morris <rgm@gnu.org>
5677
5678 * progmodes/flymake.el (flymake-error-bitmap)
5679 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5680 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5681
5682 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5683
5684 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5685 backward, always stop at indentation. Reverts the change from
5686 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5687
5688 2012-11-13 Glenn Morris <rgm@gnu.org>
5689
5690 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5691 Add ibuffer-filter-by-derived-mode.
5692
5693 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5694 the same name shadowing each other.
5695
5696 * window.el (with-temp-buffer-window): Doc tweak.
5697
5698 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5699
5700 * help.el (temp-buffer-max-height):
5701 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5702 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5703
5704 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * emacs-lisp/nadvice.el: New package.
5707 * subr.el (special-form-p): New function.
5708 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5709 (elp-all-instrumented-list): Remove var.
5710 (elp-not-profilable): Remove elp-wrapper.
5711 (elp-profilable-p): Use autoloadp and special-form-p.
5712 (elp--advice-name): New const.
5713 (elp-instrument-function): Use advice-add.
5714 (elp--instrumented-p): New predicate.
5715 (elp-restore-function): Use advice-remove.
5716 (elp-restore-all, elp-reset-all): Use mapatoms.
5717 (elp-set-master): Use elp--instrumented-p.
5718 (elp--make-wrapper): Rename from elp-wrapper, return a function
5719 suitable for advice-add. Use cl-inf.
5720 (elp-results): Use mapatoms+elp--instrumented-p.
5721 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5722 (debug-function-list): Remove var.
5723 (debug): Rename arg, and then let-bind it explicitly inside.
5724 (debugger-setup-buffer): Rename arg.
5725 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5726 (debugger-frame-number): Adjust to new debug-on-entry setup.
5727 (debug--implement-debug-on-entry): Rename from
5728 implement-debug-on-entry, add argument.
5729 (debugger-special-form-p): Remove, use special-form-p instead.
5730 (debug-on-entry): Use advice-add.
5731 (debug--function-list): New function.
5732 (cancel-debug-on-entry): Use it, along with advice-remove.
5733 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5734 (debugger-list-functions): Use debug--function-list instead of
5735 debug-function-list.
5736 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5737 (ad-special-form-p): Remove, use special-form-p instead.
5738 (ad-set-advice-info): Use add-function and remove-function.
5739 (ad--defalias-fset): Adjust accordingly.
5740
5741 2012-11-10 Glenn Morris <rgm@gnu.org>
5742
5743 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5744 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5745 (report-emacs-bug-create-existing-bugs-buffer)
5746 (report-emacs-bug-parse-query-results)
5747 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5748
5749 * term.el (term-default-fg-color, term-default-bg-color):
5750 Make obsolete, rather than just saying "deprecated" in the doc.
5751
5752 * term.el (term): Rename from `term-face'.
5753 (term-current-face, ansi-term-color-vector)
5754 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5755 Update all users.
5756
5757 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5758
5759 * server.el (server-create-window-system-frame): Handle Nextstep
5760 specially (Bug#12780).
5761
5762 2012-11-10 Glenn Morris <rgm@gnu.org>
5763
5764 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5765 Unautoload, and make obsolete. (Bug#7449)
5766
5767 2012-11-10 Chong Yidong <cyd@gnu.org>
5768
5769 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5770 rename from diff-remove-trailing-whitespace (Bug#12831).
5771
5772 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5775 miscompilation of trace.el.
5776
5777 2012-11-10 Glenn Morris <rgm@gnu.org>
5778
5779 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5780
5781 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5784 (bug#12812).
5785
5786 2012-11-10 Chong Yidong <cyd@gnu.org>
5787
5788 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5789 a defcustom with an appropriate :set function.
5790 (minibuffer-default--in-prompt-regexps): New function.
5791
5792 2012-11-10 Glenn Morris <rgm@gnu.org>
5793
5794 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5795 (define-modify-macro): Doc fixes.
5796
5797 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5798 (gv-define-simple-setter): Update doc of `fix-return'.
5799
5800 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5803 twice when `fix-return' is set (bug#12813).
5804
5805 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5806 gv-define-simple-setter (bug#12812).
5807
5808 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5809 (bug#12756).
5810
5811 2012-11-10 Glenn Morris <rgm@gnu.org>
5812
5813 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5814
5815 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5816 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5817 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5818 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5819
5820 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5821
5822 2012-11-10 Leo Liu <sdl.web@gmail.com>
5823
5824 * ido.el (ido-set-matches-1): Improve flex matching performance by
5825 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5826
5827 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5828
5829 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5830 (ad--defalias-fset): New function.
5831 (ad-safe-fset): Remove.
5832 (ad-make-freeze-definition): Use cl-letf*.
5833
5834 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5835
5836 * subr.el (dolist): Don't bind VAR in RESULT.
5837
5838 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5839 (fset, documentation): Don't save real def since we don't advise.
5840 (ad-do-advised-functions): Remove problematic `result-form'.
5841 (ad-safe-fset): `ad-real-fset' => `fset'.
5842 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5843 uses CL's dolist internally.
5844 (ad-arglist): Remove unused arg `name'.
5845 (ad-docstring, ad-make-advised-docstring):
5846 `ad-real-documentation' => `documentation'.
5847 (warning-suppress-types): Declare.
5848 (ad-set-arguments): Simple CSE.
5849 (ad-recover-normality): Sanity check.
5850
5851 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5852 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5853
5854 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5855
5856 * ses.el: symbol to coordinate mapping is made by symbol property
5857 `ses-cell'. This means that the same mapping is done for all SES
5858 sheets. That is good enough for cells with standard A1 names, but
5859 not for named cell. So a hash map is added for the latter.
5860 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5861 (ses-sym-rowcol): Use hashmap for named cell.
5862 (ses-is-cell-sym-p): New defun.
5863 (ses-decode-cell-symbol): New defun.
5864 (ses-create-cell-variable): Add cell to hashmap when name is not
5865 A1-like.
5866 (ses-rename-cell): Check that cell new name is not already in
5867 spreadsheet with the use of ses-is-cell-sym-p
5868 (ses-rename-cell): Use hash map for named cells, but accept also
5869 renaming back to A1-like.
5870
5871 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * emacs-lisp/advice.el: Use new dynamic docstrings.
5874 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5875 Use dynamic-docstring-function instead of ad-advice-info.
5876 (ad--make-advised-docstring): New function extracted from
5877 ad-make-advised-docstring.
5878 (ad-make-advised-docstring): Use it.
5879 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5880 from sql-help.
5881 (sql-help): Use it with dynamic-docstring-function.
5882
5883 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5884
5885 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * files.el (hack-one-local-variable--obsolete): New function.
5888 (hack-one-local-variable): Use it for obsolete settings.
5889
5890 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5891 the new name.
5892
5893 * progmodes/js.el (js--filling-paragraph): New var.
5894 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5895 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5896 less sneaky.
5897
5898 2012-11-08 Julien Danjou <julien@danjou.info>
5899
5900 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5901 `auto-mode-alist' (Bug#12835).
5902
5903 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5904
5905 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5906 (perl--prettify-symbols-alist): New const.
5907 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5908 New functions.
5909 (perl-font-lock-keywords-2): Use them.
5910 (perl-electric-noindent-p): New function.
5911 (perl-mode): Use it to set up electric-indent-mode.
5912 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5913 (perl-mode-map): Remove bindings for them.
5914 (perl-imenu-generic-expression, perl-outline-level):
5915 Match functions&packages in column>0.
5916
5917 * env.el (env--substitute-vars-regexp): New const.
5918 (substitute-env-vars): Use it. Add `only-defined' arg.
5919 * net/tramp.el (tramp-replace-environment-variables): Use it.
5920
5921 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5922 Byte-compile *before* eval in eval-and-compile.
5923 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5924 (byte-compile-file-form-autoload): Don't hide actual definition.
5925 (byte-compile-maybe-guarded): Accept `functionp' as well.
5926
5927 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5928
5929 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5930
5931 * notifications.el (notifications-get-server-information-method):
5932 New defconst.
5933 (notifications-get-capabilities): Fix docstring.
5934 (notifications-get-server-information): New defun.
5935
5936 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5937
5938 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5939 readability.
5940
5941 * textmodes/ispell.el: Experimental support for support debugging.
5942 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5943 buffer for ispell.
5944 (ispell-print-if-debug): New function to print stuff to
5945 `ispell-debug-buffer' if debugging is enabled.
5946 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5947 show some debugging info.
5948 (ispell-buffer-with-debug): New function that creates a debugging
5949 buffer and calls `ispell-buffer' with debugging enabled.
5950
5951 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5952 comment in autoconf mode. (Bug#12768)
5953
5954 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5955
5956 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5957 frame-first-window, frame-root-window, frame-selected-window,
5958 minibuffer-selected-window, minibuffer-window,
5959 window-absolute-pixel-edges, window-at, window-body-height,
5960 window-body-width, window-display-table, window-combination-limit,
5961 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5962 window-inside-edges, window-inside-pixel-edges, window-left-child,
5963 window-left-column, window-margins, window-next-buffers,
5964 window-next-sibling, window-new-normal, window-new-total,
5965 window-normal-size, window-parameter, window-parameters, window-parent,
5966 window-pixel-edges, window-point, window-prev-buffers,
5967 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5968 window-start, window-text-height, window-top-child, window-top-line,
5969 window-total-height, window-total-width and window-use-time to the list
5970 of functions without side-effects.
5971 (toplevel): Add window-valid-p to the list of error-free functions
5972 without side-effects.
5973
5974 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5975
5976 * textmodes/ispell.el (ispell-program-name):
5977 Update spellchecker parameters when customized.
5978
5979 2012-11-04 Glenn Morris <rgm@gnu.org>
5980
5981 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5982
5983 2012-11-04 Chong Yidong <cyd@gnu.org>
5984
5985 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5986 same-window-* variables.
5987
5988 2012-11-04 Juri Linkov <juri@jurta.org>
5989
5990 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5991 (isearch-describe-key, isearch-describe-mode): Use a display
5992 action instead of binding same-window-* variables (Bug#10040).
5993
5994 2012-11-03 Glenn Morris <rgm@gnu.org>
5995
5996 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5997 Rename handler properties back from cl-- to cl-. (Bug#12788)
5998
5999 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6000
6001 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6002
6003 * term/pc-win.el: Don't load term/internal from here.
6004
6005 * loadup.el: Load term/internal from here.
6006
6007 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6008
6009 * progmodes/python.el (inferior-python-mode): Fix hang in
6010 jit-lock (Bug#12645).
6011
6012 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6013
6014 * window.el (switch-to-visible-buffer)
6015 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6016
6017 2012-11-03 Glenn Morris <rgm@gnu.org>
6018
6019 * emacs-lisp/cl-lib.el (cl--random-time):
6020 Rename from cl-random-time. (Bug#12773)
6021 (cl--gensym-counter, cl--random-state): Update callers.
6022 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6023
6024 2012-11-03 Chong Yidong <cyd@gnu.org>
6025
6026 * cus-start.el: Make cursor-type customizable (Bug#11633).
6027
6028 2012-11-02 Glenn Morris <rgm@gnu.org>
6029
6030 * filecache.el: No need to load find-lisp when compiling.
6031 (find-lisp-find-files): Autoload it.
6032 (file-cache-add-directory-recursively): Don't require find-lisp.
6033
6034 * image.el (image-type-from-file-name): Trivial simplification.
6035
6036 * emacs-lisp/bytecomp.el (byte-compile-eval):
6037 Decouple "noruntime" and "cl-functions" warnings.
6038
6039 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6040
6041 * play/gomoku.el (gomoku-display-statistics): Update mode line
6042 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6043
6044 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6045
6046 * window.el (quit-restore-window): If the window has been
6047 created on an existing frame and ended up as the sole window on
6048 that frame, do not delete it (Bug#12764).
6049
6050 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6051
6052 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6053 Rename from sh--inside-arithmetic-expression, handle more cases
6054 (bug#11263).
6055
6056 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6057 (sh-font-lock-open-heredoc): Use it (bug#12770).
6058
6059 2012-10-30 Glenn Morris <rgm@gnu.org>
6060
6061 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6062
6063 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6064
6065 2012-10-29 Chong Yidong <cyd@gnu.org>
6066
6067 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6068 function key is stored in a keyboard macro (Bug#4894).
6069
6070 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6071
6072 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6073
6074 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6075 header comments".
6076 (diff-unified->context, diff-context->unified)
6077 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6078
6079 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6080
6081 * files.el (find-alternate-file): Only ask one question (bug#12487).
6082
6083 2012-10-29 Chong Yidong <cyd@gnu.org>
6084
6085 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6086 Suggested by Dan Nicolaescu (Bug#6326).
6087
6088 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6089
6090 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6091
6092 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6093
6094 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6095
6096 * face-remap.el (face-remap-add-relative): Handle the case where a
6097 face-remapping-alist entry is a cons cell (Bug#12762).
6098
6099 2012-10-29 Kevin Ryde <user42@zip.com.au>
6100
6101 * woman.el (woman-parse-numeric-value): Handle picas correctly
6102 (Bug#12639).
6103
6104 2012-10-29 Glenn Morris <rgm@gnu.org>
6105
6106 * emacs-lisp/cl.el (defsetf): Doc fix.
6107
6108 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6109
6110 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6111 syntax to the matching opener, if any (bug#12547).
6112 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6113 matching open as a "case-(".
6114 (sh-smie-rc-grammar): Add a corresponding rule for it.
6115
6116 2012-10-28 Daniel Hackney <dan@haxney.org>
6117
6118 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6119 "PKGNAME-autoloads.el" in case we created it.
6120
6121 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6124 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6125 (completion--twq-all): Disable too-strict assertions.
6126
6127 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6128
6129 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6130
6131 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6132 text to match the real keybindings.
6133
6134 2012-10-27 Juri Linkov <juri@jurta.org>
6135
6136 * wdired.el (wdired-keep-marker-rename): New defcustom.
6137 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6138 (Bug#11795)
6139
6140 * dired.el (dired-keep-marker-rename): Add reference to
6141 `wdired-keep-marker-rename' in the docstring.
6142 Add default character value ?R to display initially in
6143 Customization UI instead of ?@.
6144
6145 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6146
6147 * window.el (display-buffer): In doc-string describe
6148 window-height and window-width alist entries.
6149
6150 * time.el (display-time-world): Restore fit-window-to-buffer
6151 behavior.
6152
6153 2012-10-27 Chong Yidong <cyd@gnu.org>
6154
6155 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6156
6157 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6158
6159 * minibuffer.el (completion-category-overrides): New completion
6160 category `bookmark' (bug#11131).
6161
6162 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6165 Silence bogus compiler warnings for ad-do-it.
6166
6167 * bookmark.el (bookmark-completing-read): Set the completion category
6168 to `bookmark' (bug#11131).
6169
6170 2012-10-26 Bastien <bzg@altern.org>
6171 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * face-remap.el: Use lexical-binding.
6174 (text-scale-adjust): Improve docstring. Use itself for the temporary
6175 overlay-map bindings, so as to repeat the "Use..." message each time.
6176
6177 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * emacs-lisp/macroexp.el (macroexp--expand-all):
6180 Obey byte-compile-warning-enabled-p (bug#12486).
6181
6182 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6183 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6184
6185 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6186
6187 * mouse.el (mouse-drag-line): Move last form into preceding when
6188 clause (Bug#12731).
6189
6190 * help.el (resize-temp-buffer-window): Fix doc-string.
6191
6192 2012-10-25 David Engster <deng@randomsample.de>
6193
6194 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6195 Remove. This feature is already integrated in imenu.
6196
6197 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6198 always loaded. Require `speedbar' unconditionally.
6199
6200 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6201
6202 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6203
6204 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6205
6206 * net/ldap.el (ldap-search-internal): The official ldif format starts
6207 with a "version: 1" header (bug#12724).
6208
6209 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6210 (bug#12721).
6211
6212 2012-10-25 Glenn Morris <rgm@gnu.org>
6213
6214 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6215
6216 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6217
6218 * minibuffer.el (minibuffer-force-complete): Use one more marker
6219 for the temporary-overlay-map command (bug#12619).
6220
6221 2012-10-24 Chong Yidong <cyd@gnu.org>
6222
6223 * time.el (display-time-world-mode): Derive from special-mode.
6224 (display-time-world): Use display-buffer (Bug#12708).
6225 (display-time-world-mode-map): Variable deleted.
6226 (display-time-world-display): Wrap the final delete-char inside
6227 inhibit-read-only.
6228
6229 2012-10-24 Chong Yidong <cyd@gnu.org>
6230
6231 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6232 Doc fix.
6233
6234 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6235
6236 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6237
6238 * minibuffer.el (completion--all-sorted-completions-location): New var.
6239 (completion--cache-all-sorted-completions)
6240 (completion--flush-all-sorted-completions): Use it.
6241 (completion-in-region, completion-in-region--postch)
6242 (completion-at-point, completion-help-at-point): Use markers in
6243 completion-in-region--data (bug#12619).
6244
6245 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * progmodes/compile.el (compilation-start): Try to handle common
6248 quoting of `cd' argument (bug#12640).
6249
6250 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6251 (bug#12671).
6252
6253 2012-10-23 Glenn Morris <rgm@gnu.org>
6254
6255 * progmodes/gud.el (gud-menu-map):
6256 Check gdb-active-process is bound. (Bug#12358)
6257
6258 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * repeat.el (repeat): Set real-this-command (bug#12232).
6261
6262 * htmlfontify.el (hfy-post-html-hook):
6263 * filesets.el (filesets-cache-fill-content-hook):
6264 * arc-mode.el (archive-extract-hook):
6265 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6266 * net/rcirc.el (rcirc-sentinel-functions)
6267 (rcirc-receive-message-functions, rcirc-activity-functions)
6268 (rcirc-print-functions):
6269 * net/dbus.el (dbus-event-error-functions):
6270 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6271 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6272 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6273 * term/sun.el (sun-raw-prefix-hooks):
6274 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6275
6276 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6277
6278 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6279 Set `tramp-chunksize' to 1. This improves the performance.
6280 (tramp-smb-wait-for-output): Add timeout to
6281 `tramp-accept-process-output' calls.
6282
6283 2012-10-23 Chong Yidong <cyd@gnu.org>
6284
6285 * faces.el (font-list-limit): Define as an obsolete variable.
6286
6287 * startup.el (command-line):
6288 * cus-start.el: Don't refer to font-list-limit.
6289
6290 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6291
6292 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6293
6294 * subr.el (internal-temp-output-buffer-show): Rename from
6295 temp-output-buffer-show, since previously compiled files expect this name.
6296
6297 2012-10-23 Glenn Morris <rgm@gnu.org>
6298
6299 * image.el (image-type-from-file-name): If multiple types match,
6300 return the first one that is supported. (Bug#9045)
6301
6302 2012-10-22 Glenn Morris <rgm@gnu.org>
6303
6304 * image.el (imagemagick-enabled-types): Doc fix.
6305
6306 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6307
6308 * progmodes/which-func.el (which-func-current): The hash-table may have
6309 an explicit nil (bug#12338).
6310
6311 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * electric.el (electric-pair-delete-selection-self-insert-function):
6314 Rename to electric-pair-will-use-region, return a boolean.
6315 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6316
6317 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6318 (delete-selection-pre-hook): Use use-region-p.
6319 (delete-selection-self-insert-function): Remove.
6320 (self-insert-command): Obey self-insert-uses-region-functions.
6321 (self-insert-iso): Revert to previous setting, since we don't actually
6322 know what that command does.
6323 (delete-selection-self-insert-hooks): Remove.
6324
6325 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6326
6327 * delsel.el (delete-selection-helper): New function, extracted from
6328 delete-selection-pre-hook.
6329 (delete-selection-pre-hook): Use it.
6330 (delete-selection-self-insert-function): New function.
6331 (delete-selection-self-insert-hooks): New hook.
6332 (self-insert-command, self-insert-iso): Use it.
6333 * electric.el (electric-pair-syntax): New function, extracted from
6334 electric-pair-post-self-insert-function.
6335 (electric-pair-post-self-insert-function): Use it.
6336 (electric-pair-delete-selection-self-insert-function): New function.
6337 (electric-pair-mode): Require delsel and setup
6338 delete-selection-self-insert-hooks (bug#11520).
6339
6340 2012-10-20 Chong Yidong <cyd@gnu.org>
6341
6342 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6343 no changes to show (Bug#12586).
6344
6345 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6346 list explicitly (Bug#12571).
6347
6348 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6349
6350 * progmodes/flymake.el (flymake-create-temp-inplace):
6351 Use file-truename.
6352
6353 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6354
6355 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6356
6357 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6358
6359 * calc/calc-units.el (math-extract-units): Properly extract powers
6360 of units.
6361
6362 2012-10-20 Daniel Colascione <dancol@dancol.org>
6363
6364 * frame.el (make-frame): Set x-display-name as we used to in order
6365 to unbreak creating an X11 frame from an Emacs daemon started
6366 without a display.
6367
6368 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6369
6370 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6371 the same completion-field (bug#12221).
6372
6373 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6374
6375 * emacs-lisp/debug.el (debug): Record height of debugger window
6376 also when debugger will be back (Bug#8789).
6377
6378 2012-10-18 Chong Yidong <cyd@gnu.org>
6379
6380 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6381 Convert to defcustom.
6382 (gdb-get-source-file): Don't bind pop-up-windows.
6383
6384 * progmodes/gud.el (gud-display-line): Don't specially re-use
6385 other frames for the gdb-mi case (Bug#12648).
6386
6387 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/advice.el: Clean up commentary a bit.
6390 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6391 (byte-code-function-p): Never redefine.
6392
6393 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6394
6395 2012-10-18 Glenn Morris <rgm@gnu.org>
6396
6397 * dired.el (dired-sort-toggle): Some ls implementations only allow
6398 a single option string. (Bug#12666)
6399
6400 * minibuffer.el (completion-cycle-threshold): Doc fix.
6401
6402 2012-10-17 Kenichi Handa <handa@gnu.org>
6403
6404 * international/mule.el (set-keyboard-coding-system):
6405 Recover input meta mode when the new coding system doesn not use 8-bit.
6406 Supply TERMINAL arg to set-input-meta-mode.
6407
6408 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6409
6410 * wdired.el (wdired-old-marks): New variable.
6411 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6412 (wdired-do-renames): Move point with renamed file and don't lose
6413 mark status (Bug#11795).
6414
6415 2012-10-16 Juri Linkov <juri@jurta.org>
6416
6417 * replace.el (query-replace-help): Mention multi-buffer replacement
6418 keys in the Help message. (Bug#12655)
6419
6420 2012-10-15 Chong Yidong <cyd@gnu.org>
6421
6422 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6423
6424 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6425
6426 * window.el (display-buffer): Doc fix.
6427
6428 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6429 Adjust the msft regexp to the output of Studio 2010, and move msft
6430 before edg-1. See the discussion on emacs-devel,
6431 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6432 for the details.
6433
6434 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6435
6436 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6437 (oset): Move uses of object-class-fast macro after its definition.
6438
6439 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6440
6441 2012-10-13 Chong Yidong <cyd@gnu.org>
6442
6443 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6444 enabled, re-enable it (Bug#11963).
6445
6446 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6447
6448 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6449 non-nil, restore window configuration (Bug#12623).
6450
6451 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * help-fns.el (describe-variable, describe-function-1):
6454 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6455
6456 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6457
6458 2012-10-12 Glenn Morris <rgm@gnu.org>
6459
6460 * mail/rmailsum.el (rmail-header-summary):
6461 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6462
6463 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6464
6465 * progmodes/python.el (python-mode-map):
6466 Replace subtitute-key-definition with proper command remapping.
6467 (python-nav--up-list): Fix behavior for blocks on the same level.
6468
6469 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6470
6471 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6472
6473 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6474 changes to the format of load-history.
6475
6476 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6477 completion-ignore-case in case that var is buffer-local (bug#12615).
6478
6479 2012-10-11 Kenichi Handa <handa@gnu.org>
6480
6481 * international/eucjp-ms.el: Re-generated.
6482
6483 2012-10-10 Kenichi Handa <handa@gnu.org>
6484
6485 * select.el (xselect--encode-string): If a coding is specified for
6486 selection, and that is compatible with COMPOUND_TEXT, use it.
6487
6488 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6489
6490 * window.el (switch-to-buffer-preserve-window-point): New option.
6491 (switch-to-buffer):
6492 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6493
6494 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6497 Don't document nil as a useful value (bug#12583).
6498
6499 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6500
6501 * net/tramp.el (tramp-debug-message):
6502 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6503 (with-tramp-progress-reporter): Rename from
6504 `tramp-with-progress-reporter'.
6505 (with-tramp-file-property, with-tramp-connection-property):
6506 Move from tramp-cache.el, rename from `with-file-property' and
6507 `with-connection-property', respectively.
6508
6509 * net/tramp-cache.el: Remove `with-file-property' and
6510 `with-connection-property'.
6511
6512 * net/tramp.el:
6513 * net/tramp-gvfs.el:
6514 * net/tramp-sh.el:
6515 * net/tramp-smb.el: Adapt callees.
6516
6517 * net/trampver.el: Update release number.
6518
6519 2012-10-09 Glenn Morris <rgm@gnu.org>
6520
6521 * w32-fns.el (set-message-beep):
6522 * term/w32-win.el (set-message-beep): Update declarations.
6523
6524 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6525
6526 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6527 (mode-line-widen, mode-line-input-method-map)
6528 (mode-line-coding-system-map, mode-line-remote)
6529 (mode-line-unbury-buffer, mode-line-bury-buffer)
6530 (mode-line-next-buffer, mode-line-previous-buffer):
6531 Replace save-selected-window+select-window => with-selected-window.
6532
6533 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6534 * progmodes/cc-vars.el (bq-process): Remove, unused.
6535
6536 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6537
6538 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6539
6540 Implemented `backward-up-list'-like navigation.
6541 * progmodes/python.el (python-nav-up-list)
6542 (python-nav-backward-up-list): New functions.
6543 (python-mode-map): Define substitute key for backward-up-list to
6544 python-nav-backward-up-list.
6545
6546 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6547
6548 * progmodes/python.el (python-fill-paragraph): Rename from
6549 python-fill-paragraph-function. Fixed fill-paragraph for
6550 decorators (Bug#12605).
6551
6552 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6553
6554 * progmodes/python.el (python-shell-output-filter): Handle extra
6555 carriage return in OSX (Bug#12409).
6556
6557 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6558
6559 Fix shell handling of unbalanced quotes and parens in output.
6560 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6561 (python-syntax-propertize-function): Use it.
6562 (python-shell-output-syntax-table): New var.
6563 (inferior-python-mode): Prevent unbalanced parens/quotes from
6564 previous output mess with current input context.
6565
6566 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6567
6568 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6569 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6570
6571 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6572
6573 * ffap.el (ffap-replace-file-component): Support Tramp file name
6574 syntax, not only ange-ftp's one.
6575
6576 2012-10-08 Glenn Morris <rgm@gnu.org>
6577
6578 * cus-start.el (message-log-max): Set :version.
6579
6580 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6581
6582 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6583
6584 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6585 the minibuffer window (Bug#10851).
6586
6587 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6588
6589 Enhancements on forward-sexp movement.
6590 * progmodes/python.el (python-nav-beginning-of-statement)
6591 (python-nav-end-of-statement): Return point-marker.
6592 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6593 (python-info-current-symbol)
6594 (python-info-statement-starts-block-p): Rename from
6595 python-info-beginning-of-block-p.
6596 (python-info-statement-ends-block-p): Rename from
6597 python-info-end-of-block-p.
6598 (python-info-beginning-of-statement-p)
6599 (python-info-end-of-statement-p)
6600 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6601 New functions.
6602
6603 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6604
6605 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6606 frame-selected-windows.
6607
6608 2012-10-08 Daniel Colascione <dancol@dancol.org>
6609
6610 * battery.el (battery-status-function): Check for
6611 w32-battery-status itself, not system-time windows-nt.
6612
6613 * frame.el: Require cl-lib.
6614 (display-format-alist): New variable mapping frame types to
6615 functions that initialize them.
6616 (window-system-for-display): New function: interprets
6617 display-format-alist.
6618 (make-frame-on-display): Remove existing display-selection logic
6619 and just forward to make-frame, which will now DTRT.
6620 (make-frame): Restructure to use window-system-for-display to
6621 figure out how to create a frame on a given display.
6622 (display-mouse-p): Look for frame-type w32, not a particular
6623 system-type.
6624
6625 * loadup.el: Load w32 lisp code when we have the w32 feature.
6626
6627 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6628 system-type windows-nt.
6629
6630 * server.el (server-create-window-system-frame): Look for window
6631 type.
6632 (server-proces-filter): Only force a window system when windows-nt
6633 _and_ w32. Explain why.
6634
6635 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6636 of window systems we configure for the mode.
6637
6638 * startup.el (command-line): Mark window system is initialized
6639 after we've done it.
6640
6641 * common-win.el (x-select-text): Look for w32, not windows-nt.
6642
6643 * ns-win.el: Require cl-lib. Add ourselves to
6644 display-format-alist.
6645 (ns-initialize-window-system): Assert we're not initialized twice.
6646
6647 * w32-win.el: Enable lexical binding; require cl-lib; add
6648 ourselves to display-format-alist.
6649 (w32-handle-dropped-file): Convert incoming dropped files from
6650 Windows paths to Cygwin ones before passing them on to the rest of
6651 Emacs.
6652 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6653 (w32-initialize-window-system): Assert we're not initialized twice.
6654
6655 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6656 (x-initialize-window-system): Assert we're not initialized twice.
6657
6658 * w32-common-fns.el: New File.
6659 (w32-version, w32-using-nt, w32-get-clipboard-data)
6660 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6661 (w32-charset-info-alist, x-last-selected, text)
6662 (x-get-selection-value, x-selection-value): Move here.
6663
6664 * w32-fns.el: Require w32-common-fns.
6665 (w32-version, w32-using-nt, w32-get-clipboard-data)
6666 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6667 (w32-charset-info-alist, x-last-selected, text)
6668 (x-get-selection-value, x-selection-value): Move to
6669 w32-common-fns.
6670
6671 * w32-vars.el:
6672 (w32-allow-system-shell, w32-system-shells): Define only in
6673 non-cygwin case.
6674
6675 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6678 (read-passwd): Remove a few more potential sources of leaks.
6679
6680 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6681
6682 * progmodes/python.el (inferior-python-mode)
6683 (python-shell-make-comint): Fix initialization of local
6684 variables copied from parent buffer.
6685
6686 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6687
6688 * term/ns-win.el (ns-read-file-name): Update declaration to match
6689 nsfns.m.
6690 (ns-respond-to-change-font): Change fontsize separately so we are sure
6691 it is set when font is acted upon.
6692
6693 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6694
6695 Enhancements to indentation.
6696 * progmodes/python.el (python-indent-context): Give priority to
6697 inside-string context. Make comments indentation markers.
6698 (python-indent-region): Do not mess with strings, unless it's the
6699 enclosing set of quotes.
6700
6701 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * window.el (internal--before-save-selected-window)
6704 (internal--after-save-selected-window): New functions extracted from
6705 save-selected-window. Make sure we return the `alist' we construct.
6706 (save-selected-window): Use them.
6707
6708 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6709 Use with-selected-window.
6710
6711 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6712 forms that define macros (bug#12593).
6713
6714 2012-10-07 Kenichi Handa <handa@gnu.org>
6715
6716 * international/mule-conf.el (compound-text-with-extensions):
6717 Add :mime-charset property as x-ctext.
6718
6719 2012-10-07 Stefan Merten <smerten@oekonux.de>
6720
6721 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6722 (rst-indent-literal-normal, rst-indent-literal-minimized)
6723 (rst-indent-comment): Correct :version tag.
6724 (rst-official-cvs-rev): Correct version string.
6725
6726 2012-10-07 Glenn Morris <rgm@gnu.org>
6727
6728 * mail/rmailmm.el (rmail-mime-process-multipart):
6729 Do not confuse a multipart message with an epilogue
6730 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6731
6732 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6733
6734 Fix shell output retrieval and comint-prompt-regexp init.
6735 * progmodes/python.el (inferior-python-mode):
6736 (python-shell-make-comint): Fix initialization of
6737 comint-prompt-regexp from copied file local variables.
6738 (python-shell-fetched-lines): Remove var.
6739 (python-shell-output-filter-in-progress): Rename from
6740 python-shell-fetch-lines-in-progress.
6741 (python-shell-output-filter-buffer): Rename from
6742 python-shell-fetch-lines-string.
6743 (python-shell-fetch-lines-filter): Delete function.
6744 (python-shell-output-filter): New function.
6745 (python-shell-send-string-no-output): Use them.
6746
6747 2012-10-07 Glenn Morris <rgm@gnu.org>
6748
6749 * hi-lock.el (hi-lock-process-phrase):
6750 Try to make it less fragile. (Bug#7161)
6751
6752 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6753
6754 2012-10-06 Glenn Morris <rgm@gnu.org>
6755
6756 * ehelp.el (electric-help-mode): Use help-mode rather than
6757 non-existent mode `help'.
6758 (electric-help-map): Use button-buffer-map. (Bug#10917)
6759
6760 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6761 (reftex-create-bibtex-footer): Fix custom types.
6762
6763 * progmodes/sh-script.el (sh-indent-after-continuation):
6764 Add explicit :group.
6765
6766 * textmodes/rst.el (rst-preferred-decorations)
6767 (rst-shift-basic-offset): Clarify obsolescence versions.
6768
6769 * profiler.el (profiler): Add missing group :version tag.
6770 * avoid.el (mouse-avoidance-banish-position):
6771 * proced.el (proced-renice-command):
6772 * calc/calc.el (calc-ensure-consistent-units):
6773 * calendar/icalendar.el (icalendar-import-format-uid):
6774 * net/tramp.el (tramp-save-ad-hoc-proxies):
6775 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6776 * progmodes/flymake.el (flymake-error-bitmap)
6777 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6778 * progmodes/sh-script.el (sh-indent-after-continuation):
6779 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6780 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6781 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6782 (vhdl-array-index-record-field-in-sensitivity-list)
6783 (vhdl-indent-comment-like-next-code-line):
6784 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6785 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6786 (reftex-cite-key-separator, reftex-create-bibtex-header)
6787 (reftex-create-bibtex-footer):
6788 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6789 (rst-indent-literal-normal, rst-indent-literal-minimized)
6790 (rst-indent-comment): Add missing custom :version tags.
6791
6792 * calendar/timeclock.el (timeclock-modeline-display):
6793 Add missing obsolete alias for renamed user option.
6794
6795 * strokes.el (strokes-modeline-string):
6796 * emulation/crisp.el (crisp-mode-modeline-string):
6797 * eshell/esh-mode.el (eshell-status-in-modeline):
6798 Aliases to defcustoms must come before the defcustom.
6799
6800 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6801 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6802 (cal-tex-cursor-week-monday): Doc fixes.
6803 (cal-tex-cursor-week2-summary): Doc fix.
6804 Rename from cal-tex-cursor-week-at-a-glance.
6805
6806 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6807 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6808
6809 * calendar/calendar.el (calendar-mode-map):
6810 Add cal-tex-cursor-week2-summary.
6811
6812 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6815
6816 * subr.el (read-passwd-map): New var.
6817 (read-passwd): Use `read-string' again.
6818 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6819
6820 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6821
6822 * register.el (append-to-register, prepend-to-register):
6823 Deactivate mark, as does `copy-to-register' (bug#12389).
6824
6825 2012-10-06 Chong Yidong <cyd@gnu.org>
6826
6827 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6828
6829 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6830
6831 * international/characters.el: Fix simple mistake ((car chars) ->
6832 elt), delete duplicated code.
6833
6834 2012-10-06 Glenn Morris <rgm@gnu.org>
6835
6836 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6837
6838 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6839
6840 * color.el (color-hsl-to-rgb): Fix incorrect results for
6841 small and large hue values. (Bug#12559)
6842
6843 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6844
6845 Enhancements to docstring formatting when filling paragraphs.
6846 * progmodes/python.el (python-fill-docstring-style): Rename from
6847 python-fill-string-style. Added new style.
6848 (python-fill-string): Use new style. Better checks for
6849 docstrings.
6850
6851 2012-10-05 Glenn Morris <rgm@gnu.org>
6852
6853 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6854
6855 * color.el (color-name-to-rgb, color-rgb-to-hex)
6856 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6857 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6858 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6859 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6860
6861 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6862
6863 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6864
6865 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6866 to get the correct size across symlinks.
6867
6868 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6869
6870 2012-10-04 Juri Linkov <juri@jurta.org>
6871
6872 * replace.el (query-replace-interactive): Declare obsolete.
6873 (query-replace-read-from): Add the last incremental search string
6874 to the list of default values accessible via M-n.
6875 (map-query-replace-regexp): Use `read-regexp'.
6876 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6877 (map-query-replace-regexp, replace-string, replace-regexp):
6878 Fix docstrings to replace mentions of `query-replace-interactive'
6879 with alternatives. (Bug#12526)
6880
6881 2012-10-04 Juri Linkov <juri@jurta.org>
6882
6883 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6884 (dired-pop-to-buffer): Declare obsolete.
6885 (dired-mark-pop-up): Doc fix.
6886
6887 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6888
6889 Allow user to set docstring style for fill-paragraph.
6890 * progmodes/python.el
6891 (python-fill-comment-function, python-fill-string-function)
6892 (python-fill-decorator-function, python-fill-paren-function):
6893 Remove :safe for defcustoms.
6894 (python-fill-string-style): New defcustom
6895 (python-fill-paragraph-function): Enhance context detection.
6896 (python-fill-string): Honor python-fill-string-style settings.
6897
6898 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6899
6900 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6901 after setting its buffer (Bug#10805).
6902
6903 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6904
6905 Fix cornercase for string syntax.
6906 * progmodes/python.el (python-syntax-propertize-function):
6907 Simplify and enhance the regexp for unescaped quotes. Now it also
6908 matches quotes in weird situations like the single quote in
6909 "something\"'".
6910 (python-syntax-stringify): Simplify num-quotes detecting code.
6911
6912 2012-10-03 Glenn Morris <rgm@gnu.org>
6913
6914 * help-macro.el (three-step-help):
6915 Revert 2012-09-29 change. (Bug#12567)
6916
6917 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6918
6919 * menu-bar.el (kill-this-buffer): Don't do anything when
6920 `menu-frame' is not alive or visible (Bug#8184).
6921
6922 * emacs-lisp/debug.el (debug): When quitting the debugger window
6923 restore current buffer (Bug#12502).
6924
6925 2012-10-02 Chong Yidong <cyd@gnu.org>
6926
6927 * progmodes/hideif.el (hif-lookup, hif-defined):
6928 Handle semantic-c-takeover-hideif.
6929
6930 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6931
6932 Change sampling interval units from ms to ns.
6933 * profiler.el (profiler-sampling-interval): Change units
6934 from ms to ns, multiplying the default by 1000000 so that
6935 it remains 1 ms.
6936 (profiler-report-cpu-line-format): Give enough room for
6937 the maximum counters on 64-bit hosts.
6938 (profiler-report-render-calltree-1): Call them "CPU samples",
6939 not "Time (ms)", since they are not milliseconds now (and
6940 never really were).
6941
6942 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6943
6944 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6945 Fix querying BBDB for entries without a last name (Bug#11580).
6946
6947 2012-10-02 Chong Yidong <cyd@gnu.org>
6948
6949 * emacs-lisp/eieio.el: Restore Version header.
6950
6951 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6952
6953 * vc/diff-mode.el (diff--auto-refine-data): New var.
6954 (diff-hunk): Use it to delay refinement.
6955 (diff-mode): Remove overlays when we turn off font-lock.
6956
6957 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6958 (table-initialize-table-fixed-width-mode)
6959 (table-set-table-fixed-width-mode): Remove functions.
6960 (table-command-list): Move initialization into declaration.
6961 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6962 (table-with-cache-buffer): Use `declare'.
6963 (table-span-cell): Simplify via CSE.
6964 (table-fixed-width-mode): Use define-minor-mode.
6965 (table-call-interactively, table-funcall, table-apply): Remove.
6966 (table-function): New function, to replace them.
6967
6968 * bookmark.el (bookmark-search-pattern): Remove var.
6969 (bookmark-read-search-input): Remove function.
6970 (bookmark-bmenu-search): Reimplement using a minibuffer.
6971
6972 * faces.el (modeline): Remove obsolete face name.
6973
6974 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6975 and give a non-nil default value.
6976 (add-change-log-entry): Simplify accordingly.
6977
6978 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6979
6980 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6981 (vc-git-log-edit-toggle-amend): New function.
6982 (vc-git-log-edit-toggle-signoff): New function.
6983 (vc-git-log-edit-mode): New major mode.
6984 (vc-git-log-edit-mode-map): Keymap for it.
6985 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6986
6987 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6988 header names.
6989 (log-edit-toggle-header): New function.
6990 (log-edit-extract-headers): Accept function values in HEADERS alist.
6991
6992 2012-10-01 David Engster <deng@randomsample.de>
6993
6994 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6995 from symbol property and change message to be more consistent with
6996 Emacs proper.
6997 (eieio-describe-generic): Add filename for each implementation.
6998 Fix indices for generic and normal methods.
6999 (eieio-method-def, eieio-class-def): New buttons.
7000 (eieio-help-find-method-definition)
7001 (eieio-help-find-class-definition): New functions.
7002 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7003 class, constructor and method definitions.
7004
7005 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7006 information in symbol property.
7007 (scoped-class): Remove.
7008 (eieio-slot-name-index, call-next-method): Check if it is bound.
7009
7010 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7011
7012 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7013 (eieio-custom-mode): New major mode.
7014 (eieio-customize-object): Use it.
7015
7016 2012-10-01 Eric Ludlam <zappo@gnu.org>
7017
7018 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7019 specifying the expected class, and whether subclassing is allowed.
7020 (eieio-persistent-convert-list-to-object):
7021 (eieio-persistent-validate/fix-slot-value)
7022 (eieio-persistent-slot-type-is-class-p): New functions.
7023 (eieio-named::slot-missing): Doc fix.
7024
7025 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7026 Stop using unused publd variable.
7027
7028 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7029 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7030 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7031 (eieio-speedbar-handle-click): Do not specify a class for the
7032 method. Fixes method invocation order problems with EDE.
7033
7034 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7035
7036 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7037 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7038
7039 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7040
7041 * bookmark.el (bookmark-version-control): Give tags in the
7042 :type choices (Bug#12309), and improve doc string.
7043 (bookmark-write-file): Bind `print-circle' to `t' to allow
7044 circular custom bookmark types. (Bug#12503)
7045
7046 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7047
7048 Revert the FOLLOW-SYMLINKS change for file-attributes.
7049 * files.el (remote-file-name-inhibit-cache, after-find-file):
7050 * time.el (display-time-file-nonempty-p): Undo last change.
7051
7052 * profiler.el (profiler-sampling-interval): Change default back to 1.
7053 See Stefan Monnier in
7054 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7055
7056 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7057
7058 Shell output catching a la gud-gdb.
7059 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7060 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7061 New Vars.
7062 (python-shell-fetch-lines-filter): New function.
7063 (python-shell-send-string-no-output): Use them.
7064
7065 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7066
7067 * profiler.el (profiler-sampling-interval): Rename from
7068 profiler-sample-interval.
7069 (profiler-sampling-interval): Default to 10.
7070 (profiler-find-profile): New command (was profiler-find-log).
7071 (profiler-find-profile-other-window): New command.
7072 (profiler-find-profile-other-frame): New command.
7073 (profiler-profile): Introduce API-level data structure.
7074
7075 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7076
7077 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7078 * files.el (remote-file-name-inhibit-cache):
7079 * time.el (display-time-file-nonempty-p): Use it.
7080 * files.el (after-find-file): Don't chase links before calling
7081 file-exists-p, as file-exists-p already does the right thing.
7082
7083 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7084
7085 Merge from standalone RefTeX repository.
7086
7087 The following ChangeLog entries are shortened versions of the
7088 original ones with file paths adapted. A not so strongly edited
7089 version of the original ChangeLog can be found in the commit log.
7090
7091 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7092 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7093 Correctly handle new value type returned by `reftex-citation'.
7094
7095 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7096 that entries with whitespace at various places are found.
7097 Doc fix. Include entries that are cross-referenced from cited entries.
7098 Include @String definitions in the resulting bib file. Add header
7099 and footer defined in `reftex-create-bibtex-header' and
7100 `reftex-create-bibtex-footer'.
7101 (reftex-do-citation): Make it possible again to insert
7102 non-existent entries. Save match data when asking for optional
7103 arguments. Return all keys, not just the first one.
7104 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7105 all citations in the same line.
7106 (reftex-parse-bibtex-entry): Accept additional optional argument
7107 `raw' and keep quotes or braces if it is non-nil. Match fields
7108 containing hyphens besides word constituents.
7109 (reftex-get-string-refs): New function.
7110 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7111 and ask if it should be reread in case it did.
7112 (reftex-pop-to-bibtex-entry)
7113 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7114 entries with spaces or tabs in front of arguments.
7115 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7116 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7117 Match entries containing numbers and symbol constituents.
7118 (reftex-do-citation, reftex-figure-out-cite-format):
7119 Use `reftex-cite-key-separator'.
7120
7121 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7122 (reftex-mouse-view-crossref): Explain why point is set.
7123
7124 * textmodes/reftex-global.el: Whitespace changes.
7125
7126 * textmodes/reftex-index.el: Move provide statement to end of
7127 file.
7128 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7129 (reftex-index-visit-phrases-buffer): Set marker when visiting
7130 buffer. This allows for returning from the phrases file to the
7131 file one was just editing instead of the file where the last
7132 phrases was added from.
7133 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7134 punctuation syntax as it usually is not used as string quote in
7135 TeX-related modes and may occur unmatched. The change also
7136 prevents fontification of quoted content.
7137 (reftex-index-phrases-mode): Use it.
7138
7139 * textmodes/reftex-parse.el (reftex-parse-from-file):
7140 Move backward one char if a `\' was matched after a section macro.
7141 (reftex-parse-from-file): Use beginning of match instead of end as
7142 bound.
7143
7144 * textmodes/reftex-ref.el: Adapt creation of
7145 `reftex-<package>-<macro>' functions to new structure of
7146 `reftex-ref-style-alist'.
7147 (reftex-reference): Use `reftex-ref-style-list' function.
7148 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7149 reference macro if `reftex-ref-macro-prompt' is non-nil.
7150 (reftex-reference): Pass refstyle to `reftex-format-special'.
7151 Determine reference macro by looking at
7152 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7153 Use only one special format function.
7154 (reftex-varioref-vref, reftex-fancyref-fref)
7155 (reftex-fancyref-Fref): Remove definitions. The functions are now
7156 generated from `reftex-ref-style-alist'.
7157 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7158 Remove.
7159 (reftex-format-special): New function.
7160
7161 * textmodes/reftex-sel.el
7162 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7163 of `reftex-ref-style-alist'. Remove code for testing macro type.
7164 (reftex-select-toggle-varioref)
7165 (reftex-select-toggle-fancyref): Remove.
7166 (reftex-select-cycle-ref-style-internal)
7167 (reftex-select-cycle-ref-style-forward)
7168 (reftex-select-cycle-ref-style-backward): New functions.
7169 (reftex-select-label-map): Use `v' and `V' for general cycling
7170 through reference styles. Add `p' for switching between number
7171 and page reference types.
7172
7173 * textmodes/reftex-toc.el (reftex-re-enlarge):
7174 Call `enlarge-window' only if there is something to do because in Emacs
7175 the horizontal version throws an error even if the parameter is 0.
7176
7177 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7178 (reftex-plug-into-AUCTeX): Doc fix.
7179 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7180 string. Adapt to new name.
7181 (reftex-ref-style-alist): Change structure so that it is not
7182 possible to use multiple different package names within a style.
7183 Remove the symbols for symbols for macro type distinction.
7184 Add characters for macro selection.
7185 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7186 (reftex-create-bibtex-footer): New variables.
7187 (reftex-format-ref-function): Mention third argument of special
7188 format function.
7189 (reftex-ref-style-alist, reftex-ref-style-default-list):
7190 New variables.
7191 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7192 to new implementation. Mark as obsolete. Add compatibility code
7193 for honoring the variable values in case they are set.
7194 (reftex-cite-format-builtin, reftex-bibliography-commands):
7195 Add support for ConTeXt.
7196 (reftex-format-ref-function, reftex-format-cite-function):
7197 Fix custom type.
7198 (reftex-cite-key-separator): New variable.
7199
7200 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7201 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7202 `reftex-syntax-table' because parens have to retain their paren
7203 syntax in order for parsing of BibTeX entries like @book(...) to
7204 work.
7205 (reftex-in-comment): Do not error out if `comment-start-skip' is
7206 not set. Deal correctly with escaped comment characters.
7207 (reftex-tie-multifile-symbols): Add doc string.
7208 Initialize `reftex-ref-style-list'.
7209 (reftex-untie-multifile-symbols): Add doc string.
7210 (reftex-add-index-macros): Doc fix.
7211 (reftex-ref-style-activate, reftex-ref-style-toggle)
7212 (reftex-ref-style-list): New functions.
7213 (reftex-mode-menu): Use them. Adapt to new structure of
7214 `reftex-ref-style-alist'.
7215 (reftex-select-with-char): Kill the RefTeX Select buffer when
7216 done.
7217 (reftex-remove-if): New function.
7218 (reftex-erase-all-selection-and-index-buffers)
7219 (reftex-mode-menu): Reference styles are now computed from
7220 `reftex-ref-style-alist'. Fix typo.
7221 (reftex-report-bug): New function.
7222 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7223 algorithms with O(n log n). Introduce optional argument SORT (not
7224 yet used).
7225
7226 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7227
7228 Enhancements for triple-quote string syntax.
7229 * progmodes/python.el (python-syntax-propertize-function):
7230 Match both quote cases in one regexp.
7231 (python-syntax-stringify): Handle matches properly.
7232
7233 2012-09-30 Juri Linkov <juri@jurta.org>
7234
7235 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7236 to nil around the call to `insert' to prevent
7237 directory time modification by lock_file. (Bug#2295)
7238 * tar-mode.el (tar-summarize-buffer): Idem.
7239
7240 2012-09-30 Juri Linkov <juri@jurta.org>
7241
7242 * facemenu.el (list-colors-sort): Add option "Luminance".
7243 (list-colors-sort-key): Implement it.
7244
7245 * vc/diff-mode.el (diff-refine-removed):
7246 * vc/ediff-init.el (ediff-fine-diff-A):
7247 * vc/smerge-mode.el (smerge-refined-removed):
7248 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7249
7250 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7251
7252 * term/ns-win.el (x-file-dialog): New function.
7253
7254 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * ido.el (ido-max-directory-size): Default to nil; the current
7257 default is small for POSIX systems, and impractical on Windows 7
7258 now that lstat returns directory sizes for NTFS.
7259
7260 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7261
7262 In buffer display functions handle window-height/window-width
7263 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7264 * window.el (window--display-buffer): New argument ALIST.
7265 Obey window-height and window-width alist entries.
7266 (window--try-to-split-window): New argument ALIST.
7267 Bind window-combination-limit to t when the window's size shall be
7268 changed and window-combination-limit equals `window-size'.
7269 (display-buffer-in-atom-window)
7270 (display-buffer-in-major-side-window)
7271 (display-buffer-in-side-window, display-buffer-same-window)
7272 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7273 (display-buffer-pop-up-window, display-buffer-below-selected)
7274 (display-buffer-at-bottom, display-buffer-in-previous-window)
7275 (display-buffer-use-some-window): Adjust all callers of
7276 window--display-buffer and window--try-to-split-window.
7277 (fit-frame-to-buffer): New option.
7278 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7279 is non-nil.
7280 (display-buffer-in-major-side-window): Evaluate window-height /
7281 window-width alist entries.
7282
7283 * help.el (temp-buffer-resize-frames)
7284 (temp-buffer-resize-regexps): Remove options.
7285 (temp-buffer-resize-mode): Adjust doc-string.
7286 (resize-temp-buffer-window): Don't consult
7287 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7288 temp-buffer-resize-frames.
7289
7290 * dired.el (dired-mark-pop-up):
7291 Call display-buffer-below-selected with a fit-window-to-buffer alist
7292 entry.
7293
7294 2012-09-30 Chong Yidong <cyd@gnu.org>
7295
7296 * server.el (server-host): Document the security implications.
7297 (server-auth-key): Doc fix.
7298
7299 * startup.el (initial-buffer-choice): Doc fix.
7300
7301 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7302
7303 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7304 restriction change.
7305
7306 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7307
7308 * help-fns.el (help-fns--obsolete): Fix last change.
7309
7310 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7313 (minor-mode-map-alist): Remove redundant code.
7314
7315 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7316 visited in a buffer.
7317 (cvs-insert-visited-file): New function.
7318 (find-file-hook): Use it.
7319
7320 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7321
7322 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7323 chose face.
7324 (log-edit-empty-buffer-p): Don't require a space after a header.
7325
7326 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7327
7328 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7329
7330 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7331 a proper minor-mode.
7332
7333 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7334
7335 2012-09-29 Glenn Morris <rgm@gnu.org>
7336
7337 * winner.el (winner-mode): Remove variable (let define-minor-mode
7338 handle it).
7339 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7340 Doc fixes.
7341 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7342 (winner-mode): Use define-minor-mode.
7343
7344 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7345 the full definition in loaddefs, rather than duplicating it.
7346
7347 * help-macro.el (three-step-help): No need to autoload defcustom.
7348
7349 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7350 (inferior-lisp-program, inferior-lisp-load-command)
7351 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7352 No need to autoload defcustoms.
7353
7354 * hippie-exp.el (hippie-expand-try-functions-list)
7355 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7356 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7357 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7358 (hippie-expand-only-buffers): No need to autoload defcustoms.
7359 * progmodes/vhdl-mode.el (vhdl-line-expand):
7360 Explicitly load hippie-exp, so it does not get autoloaded
7361 while hippie-expand-try-functions-list is let-bound.
7362
7363 2012-09-28 Glenn Morris <rgm@gnu.org>
7364
7365 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7366
7367 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7368 Only "cl.el" counts as cl these days.
7369
7370 2012-09-28 Juri Linkov <juri@jurta.org>
7371
7372 Display archive errors in the echo area instead of inserting
7373 to the file buffer.
7374
7375 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7376 to STDERR-TEST that can be a regexp matching a successful output.
7377 Create a temporary file and redirect stderr to it. Search for
7378 STDERR-TEST in the stderr output and display it in the echo area
7379 if no match is found.
7380 (archive-extract-by-file): New function like
7381 `archive-extract-by-stdout' but extracting archives to files
7382 and looking for successful matches in stdout. Function body is
7383 mostly copied from `archive-rar-extract'.
7384 (archive-rar-extract): Use `archive-extract-by-file'.
7385 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7386
7387 2012-09-28 Leo Liu <sdl.web@gmail.com>
7388
7389 * pcomplete.el (pcomplete-show-completions):
7390 Use minibuffer-message to make pcomplete usable in minibuffer.
7391
7392 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7393
7394 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * type-break.el: Use lexical-binding.
7397 (type-break-mode): Use define-minor-mode.
7398
7399 * emacs-lisp/pcase.el (pcase--mark-used): New.
7400 (pcase--u1): Use it (bug#12512).
7401
7402 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7403 in load-history with the right file name.
7404
7405 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7406
7407 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7408 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7409 (doc-view-get-bounding-box): Make bounding box slicing work for
7410 ODF and DVI documents.
7411
7412 2012-09-28 Glenn Morris <rgm@gnu.org>
7413
7414 * type-break.el (type-break-mode, type-break-interval)
7415 (type-break-good-rest-interval, type-break-keystroke-threshold):
7416 No need to autoload.
7417 (type-break-good-rest-interval, type-break-keystroke-threshold):
7418 Add :set-after.
7419
7420 2012-09-28 Chong Yidong <cyd@gnu.org>
7421
7422 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7423 Add :version tag.
7424
7425 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7428
7429 2012-09-27 Glenn Morris <rgm@gnu.org>
7430
7431 * faces.el (x-display-name): Declare (for without-x builds).
7432
7433 * linum.el (linum-format): Don't autoload it. Improve :type.
7434
7435 * progmodes/tcl.el: Don't require outline when compiling.
7436 (outline-regexp, outline-level): Declare.
7437 * textmodes/sgml-mode.el: Don't require outline when compiling.
7438 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7439
7440 * term.el (term-ansi-reset):
7441 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7442
7443 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7444 files for RCS and SCCS. (Bug#9781)
7445
7446 2012-09-27 Chong Yidong <cyd@gnu.org>
7447
7448 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7449 change; value should be t.
7450
7451 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7452
7453 * image-mode.el: Use lexical-binding.
7454 (image-mode-winprops): Use t to stand for the window of
7455 a buffer that's not displayed.
7456 * doc-view.el (doc-view-new-window-function): Handle the new
7457 t in winprops.
7458 (doc-view-enlarge): Make it a real nop if the size is not changed.
7459 (doc-view-display): Handle the case where the buffer is not (yet?)
7460 displayed in any window.
7461 (doc-view-saved-settings): New var.
7462 (doc-view-mode): Use it.
7463 (doc-view-fallback-mode): Set it.
7464
7465 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7466 Set lexical-binding.
7467 (minibuffer-eldef-shorten-default): New var.
7468 (minibuffer-default-in-prompt-regexps): Use it for new default.
7469 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7470
7471 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * international/uni-bidi.el:
7474 * international/uni-category.el:
7475 * international/uni-name.el:
7476 * international/uni-numeric.el: Regenerate.
7477
7478 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7479 Stefan Monnier <monnier@iro.umontreal.ca>
7480
7481 * profiler.el: New file.
7482
7483 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7484
7485 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7486 (testcover-reinstrument): Simplify with CSE.
7487
7488 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7489
7490 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7491
7492 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7493
7494 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7495 (verilog-auto-input, verilog-auto-insert-lisp)
7496 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7497 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7498 (verilog-auto-unused, verilog-auto-wire)
7499 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7500 newline. Reported by Andrew Jones.
7501 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7502 Reported by Brad Dobbie.
7503 (verilog-batch-delete-trailing-whitespace):
7504 Create verilog-batch-delete-trailing-whitespace.
7505 Reported by Brad Dobbie.
7506 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7507 parameters from another module. Reported by Dan Katz.
7508 (verilog-auto, verilog-auto-assign-modport)
7509 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7510 AUTOINOUTMODPORT for UVM interface module shell generation.
7511 Reported by Brad Dobbie.
7512 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7513 standard behavior.
7514 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7515 Reported by Matt Martin.
7516
7517 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7518
7519 * window.el (window--resize-child-windows): When resizing child
7520 windows proportionally, process them in reverse order to
7521 preserve the "when splitting a window the new one gets the odd
7522 line" behavior.
7523 (window--resize-root-window-vertically): When resizing the
7524 minibuffer window try to affect only windows at the bottom of the
7525 frame. (Bug#12419)
7526
7527 2012-09-25 Chong Yidong <cyd@gnu.org>
7528
7529 * subr.el (declare): Doc fix.
7530
7531 * help-fns.el (help-fns--obsolete): Handle macros properly.
7532
7533 2012-09-25 Chong Yidong <cyd@gnu.org>
7534
7535 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7536 this function obsolete.
7537
7538 * calendar/cal-x.el (calendar-two-frame-setup)
7539 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7540 * calendar/calendar.el (american-calendar, european-calendar)
7541 (calendar-for-loop):
7542 * comint.el (comint-dynamic-simple-complete)
7543 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7544 * desktop.el (desktop-load-default):
7545 * dired-x.el (dired-omit-here-always)
7546 (dired-hack-local-variables, dired-default-directory):
7547 * emacs-lisp/derived.el (derived-mode-class):
7548 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7549 * emacs-lock.el (toggle-emacs-lock):
7550 * epa.el (epa-display-verify-result):
7551 * epg.el (epg-sign-keys, epg-start-sign-keys)
7552 (epg-passphrase-callback-function):
7553 * eshell/esh-util.el (eshell-for):
7554 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7555 (eshell-add-to-window-buffer-names):
7556 * files.el (locate-file-completion):
7557 * imenu.el (imenu-example--create-c-index)
7558 (imenu-example--create-lisp-index)
7559 (imenu-example--lisp-extract-index-name)
7560 (imenu-example--name-and-position):
7561 * international/mule-cmds.el (princ-list):
7562 * international/mule-diag.el (decode-codepage-char):
7563 * international/mule-util.el (detect-coding-with-priority):
7564 * iswitchb.el (iswitchb-read-buffer):
7565 * mail/mailalias.el (mail-complete):
7566 * mail/sendmail.el (mail-sent-via):
7567 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7568 (mouse-major-mode-menu):
7569 * password-cache.el (password-read-and-add):
7570 * pcomplete.el (pcomplete-parse-comint-arguments):
7571 * progmodes/sh-script.el (sh-maybe-here-document):
7572 * replace.el (query-replace-regexp-eval):
7573 * savehist.el (savehist-load):
7574 * simple.el (choose-completion-delete-max-match):
7575 * term.el (term-dynamic-simple-complete):
7576 * vc/ediff-init.el (ediff-check-version):
7577 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7578 * vc/vc.el (vc-diff-switches-list):
7579 * view.el (view-return-to-alist-update): Likewise.
7580
7581 * subr.el (eval-next-after-load, makehash, insert-string)
7582 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7583 mark obsolete.
7584 (mode-line-inverse-video): Variable deleted.
7585
7586 * international/mule-util.el (string-to-sequence): Remove.
7587
7588 * calendar/calendar.el (calendar-version):
7589 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7590 (icalendar-convert-diary-to-ical):
7591 * cus-edit.el (custom-mode):
7592 * ansi-color.el (ansi-color-unfontify-region):
7593 * international/latin1-disp.el (latin1-char-displayable-p):
7594 * progmodes/cwarn.el (turn-on-cwarn-mode):
7595 * progmodes/which-func.el (which-func-update-1):
7596 Use define-obsolete-function-alias.
7597
7598 * net/newst-backend.el (newsticker-cache-filename):
7599 * net/newst-treeview.el (newsticker-groups-filename):
7600 Fix incorrect obsolescence declaration.
7601
7602 * allout.el (allout-passphrase-hint-string): Likewise.
7603 (allout-init): Use a declare form to mark obsolete.
7604
7605 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7606 this applies to functions.
7607
7608 * iswitchb.el (iswitchb-read-buffer): Move code of
7609 iswitchb-define-mode-map here, and delete that obsolete function.
7610
7611 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7612 font-lock-reference-face.
7613
7614 2012-09-25 Glenn Morris <rgm@gnu.org>
7615
7616 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7617 Doc fixes.
7618
7619 * eshell/em-term.el (eshell-term-name):
7620 Default to term-term-name. (Bug#12485)
7621
7622 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7623
7624 * progmodes/python.el (python-shell-send-buffer): Better handling
7625 of "if __name__ == '__main__':" conditionals when sending the buffer.
7626
7627 2012-09-24 Glenn Morris <rgm@gnu.org>
7628
7629 * eshell/esh-cmd.el (eshell-find-alias-function):
7630 Tighten up file-name regexp. (Bug#12499)
7631
7632 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7633
7634 Enhancements for triple-quote string syntax.
7635 * progmodes/python.el (python-quote-syntax): Remove.
7636 (python-syntax-propertize-function): New value.
7637 (python-syntax-count-quotes, python-syntax-stringify):
7638 New functions.
7639
7640 2012-09-24 Chong Yidong <cyd@gnu.org>
7641
7642 * mail/supercite.el (sc-version): Remove obsolete function.
7643 (sc-describe): Don't mark as obsolete, since it is bound.
7644 (sc-submit-bug-report): Remove.
7645
7646 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7647 (cvs-commit-buffer-require-final-newline): Remove.
7648 (log-edit-require-final-newline)
7649 (log-edit-changelog-full-paragraphs): Default to t.
7650
7651 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7652 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7653 * vc/vc.el (vc-checkout-carefully): Likewise.
7654
7655 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7656 (emerge-version): Remove.
7657
7658 * progmodes/compile.el (compile-internal): Remove.
7659 (compilation-parse-errors-function): Fix typo.
7660
7661 * international/mule.el (set-char-table-default): Remove.
7662 (set-coding-priority, make-coding-system, generic-char-p)
7663 (charset-list, charset-bytes, charset-id): Use declare to mark
7664 functions as obsolete.
7665
7666 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7667 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7668 * vc/vc-hooks.el (vc-default-registered): Don't use
7669 vc-master-templates.
7670
7671 * font-lock.el (font-lock-reference-face):
7672 Use define-obsolete-variable-alias.
7673
7674 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7675 * calendar/calendar.el (calendar-font-lock-keywords):
7676 * calendar/diary-lib.el (diary-font-lock-keywords)
7677 (diary-fancy-font-lock-keywords):
7678 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7679 * textmodes/reftex-index.el (reftex-insert-index):
7680 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7681 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7682 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7683 * progmodes/prolog.el (prolog-font-lock-keywords):
7684 * progmodes/idlwave.el (idlwave-idl-keywords):
7685 * progmodes/ada-mode.el (ada-font-lock-keywords):
7686 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7687
7688 2012-09-24 Glenn Morris <rgm@gnu.org>
7689
7690 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7691
7692 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7693
7694 * progmodes/python.el (python-indent-line): More consistent cursor
7695 movement behavior.
7696
7697 2012-09-23 Stefan Merten <smerten@oekonux.de>
7698
7699 * textmodes/rst.el: Fix compiler warning.
7700
7701 2012-09-23 Roland Winkler <winkler@gnu.org>
7702
7703 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7704 Transcribe also LaTeX hyphenation.
7705 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7706 bibtex-reformat-previous-options.
7707
7708 2012-09-23 Roland Winkler <winkler@gnu.org>
7709
7710 * proced.el (proced-renice-command): New variable.
7711 (proced-marked-processes): New function.
7712 (proced-with-processes-buffer): New macro.
7713 (proced-send-signal): Use them.
7714 (proced-renice): New command bound to r.
7715
7716 2012-09-23 Roland Winkler <winkler@gnu.org>
7717
7718 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7719 ibuffer-saved-filter-groups has one element, shortcut the call of
7720 completing-read. (Bug#12331)
7721
7722 2012-09-23 Chong Yidong <cyd@gnu.org>
7723
7724 * bindings.el (mode-line-toggle-read-only):
7725 * bs.el (bs-toggle-readonly):
7726 * buff-menu.el (Buffer-menu-toggle-read-only):
7727 * dired.el (dired-toggle-read-only):
7728 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7729
7730 2012-09-23 Chong Yidong <cyd@gnu.org>
7731
7732 * image.el (image-type-available-p): Adapt to init-image-library
7733 argument changes.
7734
7735 2012-09-22 Juri Linkov <juri@jurta.org>
7736
7737 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7738 `dired-toggle-read-only'. (Bug#12462)
7739
7740 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7741
7742 * subr.el (temp-output-buffer-show): New function.
7743 (with-output-to-temp-buffer): Call temp-output-buffer-show
7744 instead of internal-temp-output-buffer-show.
7745
7746 2012-09-22 Chong Yidong <cyd@gnu.org>
7747
7748 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7749 (Bug#12462).
7750
7751 * repeat.el (repeat): Doc fix (Bug#12348).
7752
7753 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7754 (Bug#10909).
7755
7756 * simple.el (shell-command-on-region): Doc fix.
7757 (read-only-mode): Doc fix.
7758
7759 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7760
7761 * emacs-lisp/timer.el (run-with-idle-timer)
7762 (timer-activate-when-idle): Warn against reinvoking an idle timer
7763 from within its own timer action. (Bug#12447)
7764
7765 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7766
7767 * cus-start.el (window-combination-limit): Add new optional
7768 values.
7769 * window.el (temp-buffer-window-show)
7770 (window--try-to-split-window): Handle new values of
7771 window-combination-limit (Bug#1806).
7772 (split-window): Test window-combination-limit for t instead of
7773 non-nil.
7774 (display-buffer-at-bottom): New buffer display action function.
7775 * help.el (temp-buffer-resize-regexps): New option.
7776 (temp-buffer-resize-mode): Rewrite doc-string.
7777 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7778 Don't resize reused window. Suggested by Glenn Morris.
7779
7780 2012-09-22 Stefan Merten <smerten@oekonux.de>
7781
7782 * textmodes/rst.el: Revamp section title faces.
7783 (rst-official-version)
7784 (rst-package-emacs-version-alist): Sync with official version
7785 V1.4.0.
7786 (rst-faces-defaults, rst-set-level-default)
7787 (rst-level-face-max, rst-level-face-base-color)
7788 (rst-level-face-base-light, rst-level-face-format-light)
7789 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7790 (rst-adornment-faces-alist): Match new setup.
7791 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7792 (rst-level-5, rst-level-6): New faces.
7793
7794 2012-09-22 Chong Yidong <cyd@gnu.org>
7795
7796 * simple.el (undo): Handle indirect buffers (Bug#8207).
7797
7798 2012-09-21 Leo Liu <sdl.web@gmail.com>
7799
7800 IDO: Disable match re-ordering for buffer switching.
7801 * ido.el (ido-buffer-disable-smart-matches): New variable.
7802 (ido-set-matches-1): Use it. (Bug#2042)
7803
7804 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7805
7806 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7807 Fix 2011-05-17 change. (Bug#12418)
7808
7809 2012-09-21 Leo Liu <sdl.web@gmail.com>
7810
7811 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7812
7813 2012-09-21 Glenn Morris <rgm@gnu.org>
7814
7815 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7816 Be more robust about locating simple.el.
7817
7818 2012-09-21 Glenn Morris <rgm@gnu.org>
7819
7820 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7821
7822 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7823
7824 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7825
7826 2012-09-20 Juri Linkov <juri@jurta.org>
7827
7828 * replace.el (query-replace-read-from): Use `read-regexp' instead
7829 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7830 (occur-read-primary-args): Use `read-regexp' instead of
7831 `read-string'.
7832 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7833 `read-from-minibuffer'.
7834 * isearch.el (isearch-occur): Use `read-regexp' instead of
7835 `read-string'.
7836 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7837 `read-from-minibuffer'.
7838 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7839 of `read-string'. (Bug#7567)
7840
7841 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7842 and allow accepting a list of strings prepended to a list of
7843 standard default values. Doc fix. (Bug#12321)
7844
7845 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7846
7847 * replace.el (read-regexp): Don't add ": " when PROMPT already
7848 ends with a colon and space. (Bug#12321)
7849
7850 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7851
7852 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7853 error.
7854
7855 2012-09-20 Stefan Merten <smerten@oekonux.de>
7856
7857 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7858 Fixes feature request bug#11711.
7859 (rst-mode): Create `imenu-create-index-function'.
7860 (rst-get-stripped-line): Delete after refactoring.
7861 (rst-section-tree, rst-section-tree-rec)
7862 (rst-section-tree-point): Refactor and document properly.
7863 (rst-imenu-find-adornments-for-position)
7864 (rst-imenu-convert-cell, rst-imenu-create-index):
7865 New function.
7866
7867 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7868
7869 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7870 (macroexp--expand-all): Use it.
7871 (macroexp--funcall-and-return): Remove by folding it into its sole
7872 caller (macroexp--warn-and-return).
7873 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7874 Use macroexp--obsolete-warning.
7875
7876 * calc/calc.el: Fix last change by removing the whole chunk, since it
7877 was only needed back when Calc was not bundled.
7878
7879 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7880
7881 * emacs-lisp/debug.el (debug): Restore assignment to
7882 debugger-old-buffer removed on 2012-09-08.
7883
7884 2012-09-20 Juri Linkov <juri@jurta.org>
7885
7886 * dired-aux.el (dired-diff): Remove (require 'diff) since
7887 `diff-latest-backup-file' is now autoloaded.
7888
7889 2012-09-20 Chong Yidong <cyd@gnu.org>
7890
7891 * vc/diff.el (diff-latest-backup-file): Autoload.
7892
7893 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7894
7895 * calc/calc.el: Remove redundant autoload shape check.
7896 (sel-mode): Don't defvar.
7897 (calc-get-stack-element): Add `sel-mode' arg instead.
7898 (calc-top, calc-top-list): Pass it this additional argument.
7899 * calc/calc-store.el (calc-store-map):
7900 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7901 (calc-map-equation, calc-outer-product, calc-inner-product):
7902 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7903
7904 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7905
7906 2012-09-19 Juri Linkov <juri@jurta.org>
7907
7908 * dired-aux.el (dired-diff): Add (require 'diff) because
7909 `diff-latest-backup-file' is not autoloaded.
7910 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7911 of `dired-get-filename' to t to not report error when there is
7912 no default file on the current line.
7913
7914 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7915
7916 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7917 macroexp--eval-if-compile.
7918 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7919 (macroexp--expand-all): Use them (bug#12371).
7920
7921 * doc-view.el (doc-view-guess-paper-size)
7922 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7923
7924 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7925
7926 New feature: set optimal slice from BoundingBox information.
7927 * doc-view.el (doc-view-mode-map): Add keybinding.
7928 (doc-view-menu): Add menu entry.
7929 (doc-view-set-slice): Adapt docstring.
7930 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7931 (doc-view-scale-bounding-box)
7932 (doc-view-set-slice-from-bounding-box): New functions.
7933 (doc-view-paper-sizes): New defvar.
7934
7935 2012-09-19 Glenn Morris <rgm@gnu.org>
7936
7937 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7938 (byte-compile-log-warning): Autoload. (Bug#12371)
7939
7940 * calendar/calendar.el (calendar-american-month-header)
7941 (calendar-european-month-header, calendar-iso-month-header)
7942 (calendar-month-header): New options.
7943 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7944 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7945
7946 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7947
7948 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7949
7950 2012-09-18 Juri Linkov <juri@jurta.org>
7951
7952 * dired-aux.el (dired-diff): Restore original functionality of
7953 getting the default value, but keep new feature of using the
7954 latest existing backup file (`diff-latest-backup-file').
7955
7956 2012-09-18 Juri Linkov <juri@jurta.org>
7957
7958 * dired.el (dired-mark): If the region is active in Transient Mark
7959 mode, mark all files in the active region. Doc fix.
7960 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7961 Doc fix. (Bug#10624)
7962
7963 2012-09-18 Juri Linkov <juri@jurta.org>
7964
7965 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7966 attributes for M-n are pulled from the file at point.
7967 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7968 Suggested by Drew Adams. (Bug#10624)
7969
7970 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7971
7972 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7973 whitespace after "end".
7974 (ruby-do-end-to-brace): Collapse block to one line if it fits
7975 within fill-column.
7976
7977 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7978
7979 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7980 value.
7981 (debug): Don't remove debugger window when debugger is expected
7982 to be back.
7983
7984 2012-09-18 Chong Yidong <cyd@gnu.org>
7985
7986 * custom.el (defface): Doc fix.
7987
7988 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7989
7990 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7991
7992 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7993 to initialize query-on-exit; then test that instead (bug#12288).
7994
7995 2012-09-17 Stefan Merten <smerten@oekonux.de>
7996
7997 * textmodes/rst.el: Add support for `testcover'.
7998 (rst-defcustom-testcover, rst-testcover-add-compose)
7999 (rst-testcover-add-1value): New functions.
8000 (rst-portable-mark-active-p): Replace by `use-region-p'.
8001 (rst-update-section, rst-classify-adornment)
8002 (rst-find-title-line): Mark `1value' forms.
8003 (rst-classify-adornment): Remove superfluous form.
8004 (rst-update-section, rst-get-adornments-around)
8005 (rst-adornment-complete-p, rst-get-next-adornment)
8006 (rst-adjust, rst-promote-region)
8007 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8008 (rst-find-pfx-in-region, rst-section-tree-rec)
8009 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8010 (rst-toc-node, rst-toc, rst-forward-section)
8011 (rst-iterate-leftmost-paragraphs)
8012 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8013 (rst-bullet-list-region)
8014 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8015 (rst-compile-find-conf, rst-compile)
8016 (rst-repeat-last-character): Fix style.
8017
8018 2012-09-17 Chong Yidong <cyd@gnu.org>
8019
8020 * comint.el (comint--complete-file-name-data): Don't add a space
8021 if the status is `sole'; that adds a gratuitous space in the
8022 completion-cycling case (Bug#12092).
8023
8024 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8025
8026 2012-09-17 Richard Stallman <rms@gnu.org>
8027
8028 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8029 only in the mime-shown mode, not in raw mode.
8030 (rmail-mime): Toggle off mime by displaying the message without
8031 mime processing. (Bug#12305)
8032
8033 * mail/rmail.el (rmail-retry-failure):
8034 Turn off mime processing first. (Bug#12037)
8035
8036 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8037
8038 2012-09-17 Chong Yidong <cyd@gnu.org>
8039
8040 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8041 (shell-dynamic-complete-functions): Convert to defcustom.
8042 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8043
8044 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8045 * comint.el (comint-prompt-read-only):
8046 * custom.el (defcustom):
8047 * hi-lock.el (hi-lock-mode):
8048 * ibuffer.el (ibuffer-formats):
8049 * ielm.el (ielm-prompt-read-only):
8050 * novice.el (disable-command):
8051 * saveplace.el (toggle-save-place):
8052 * speedbar.el (speedbar-supported-extension-expressions):
8053 * startup.el (auto-save-list-file-prefix, init-file-user)
8054 (after-init-hook, inhibit-startup-echo-area-message):
8055 * strokes.el (strokes-help):
8056 * time-stamp.el (time-stamp):
8057 * calendar/calendar.el (calendar, diary-file):
8058 * calendar/diary-lib.el (diary-mail-entries, diary)
8059 (diary-list-entries-hook):
8060 * calendar/holidays.el (holidays, calendar-holidays):
8061 * calendar/lunar.el (lunar-phases):
8062 * calendar/solar.el (sunrise-sunset):
8063 * emulation/edt.el (edt-load-keys):
8064 * emulation/viper.el (viper-mode):
8065 * eshell/em-alias.el (eshell-command-aliases-list):
8066 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8067 * international/ogonek.el (ogonek-information):
8068 * net/tramp-cmds.el (tramp-bug):
8069 * net/quickurl.el (quickurl-reread-hook-postfix):
8070 * play/decipher.el (decipher-font-lock-keywords):
8071 * progmodes/cc-styles.el (c-set-style):
8072 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8073 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8074 * progmodes/octave-mod.el (octave-mode):
8075 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8076 * progmodes/verilog-mode.el (verilog-read-defines):
8077 * textmodes/two-column.el (2C-mode): Likewise.
8078
8079 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8080
8081 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8082 that holds many addresses.
8083
8084 2012-09-16 Chong Yidong <cyd@gnu.org>
8085
8086 * align.el (align-areas): Call the indication function with
8087 positions instead of markers for arguments (Bug#12343).
8088
8089 * files.el (parse-colon-path): Use split-string (Bug#12351).
8090
8091 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8092 (display-buffer-function): Mark as obsolete.
8093
8094 * progmodes/compile.el (compilation-parse-errors): Accept list
8095 values similar to font-lock-keywords (Bug#12136).
8096 Suggested by Oleksandr Manzyuk.
8097 (compilation-error-regexp-alist): Doc fix.
8098
8099 2012-09-15 Glenn Morris <rgm@gnu.org>
8100
8101 * version.el (emacs-bzr-version-bzr): New function.
8102 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8103
8104 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8105 checkouts, check the parent dirstate matches the branch.
8106 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8107 empty string.
8108
8109 * version.el (emacs-bzr-version): Doc fix.
8110 (emacs-bzr-version-dirstate): New function.
8111 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8112 is local try and check that it matches the branch. If not, just
8113 use dirstate information. (Bug#12441)
8114
8115 2012-09-14 Juri Linkov <juri@jurta.org>
8116
8117 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8118 (Bug#12399)
8119
8120 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8123
8124 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8125 Remove obsolete byte-compiler hack that tried to silence some warnings.
8126 (edebug-submit-bug-report): Remove.
8127 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8128 Remove aliases, use the un-prefixed name instead.
8129 (edebug-pop-to-buffer): Consider other frames.
8130 (edebug-original-read):: Make it more obvious that it's always defined.
8131 (edebug--make-form-data-entry, edebug--form-data-name)
8132 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8133 single-dashed name, and implement with cl-defstruct.
8134 (edebug-set-form-data-entry): Use the standard accessors.
8135 (edebug-make-top-form-data-entry): Use push.
8136 (edebug-no-match): Drop useless `funcall'.
8137 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8138 to functions.
8139 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8140 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8141 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8142 (easy-menu-define, with-custom-print): Remove redundant specs.
8143 (edebug-outside-overriding-local-map)
8144 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8145 (edebug--display): Bind unread-command-events directly to nil rather
8146 than binding it to unread-command-events and later setting it to nil.
8147 (edebug--display): Kill edebug-eval-buffer here...
8148 (edebug--recursive-edit): ...rather than here.
8149 Bind standard-output and standard-input.
8150 (edebug-eval): Check cl-macroexpand-all is fboundp.
8151 (edebug-temp-display-freq-count): Fix last change.
8152
8153 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8154 * subr.el (noreturn, 1value): Add `debug' spec.
8155 * emacs-lisp/advice.el: Require cl-lib.
8156 (ad-copy-tree): Remove, use copy-tree instead.
8157 (ad-dolist): Remove use dolist or cl-dolist instead.
8158 (ad-do-return): Remove, use cl-return instead.
8159 (defadvice): Add `debug' spec.
8160
8161 2012-09-13 Juri Linkov <juri@jurta.org>
8162
8163 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8164 (Bug#12399)
8165
8166 2012-09-13 Glenn Morris <rgm@gnu.org>
8167
8168 * calc/calc.el (math-compose-expr):
8169 * calc/calc-ext.el (math-compose-expr):
8170 * progmodes/cc-defs.el (cl-macroexpand-all):
8171 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8172 (cl-macroexpand-all): Update declarations.
8173
8174 * vc/vc.el: No need to require ediff.
8175 (ediff-load-version-control): Declare.
8176 (ediff-vc-internal): Fix declaration.
8177 (vc-version-ediff): Require ediff.
8178
8179 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8180
8181 Use a more backwards-compatible timer format (Bug#12430).
8182 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8183 being right after USECS, as that better supports old code that
8184 inadvisedly looked directly at the timer vector.
8185
8186 2012-09-13 Kenichi Handa <handa@gnu.org>
8187
8188 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8189 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8190 `coding-priority' property of these language environment.
8191
8192 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8193
8194 Fix glitches caused by addition of psec to timers (Bug#12430).
8195 * image.el (image-animate-timer):
8196 * time.el (display-time-world-timer):
8197 Use timer--function and timer--args rather than raw access to
8198 timer vector.
8199
8200 2012-09-13 Glenn Morris <rgm@gnu.org>
8201
8202 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8203 If not compiling a file, try using load-file-name.
8204
8205 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8208 Fix last change.
8209 (edebug-update-eval-list): Use `push'.
8210
8211 * emacs-lisp/edebug.el: Use lexical-binding.
8212 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8213 Mark unused args with underscore.
8214 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8215 (edebug-form-data): Use defvar-local.
8216 (edebug-make-before-and-after-form, edebug-make-after-form):
8217 Use backquote.
8218 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8219 Not dynamically scoped any more.
8220 (edebug--enter-trace): Add arguments `function' and `args'.
8221 Rename from edebug-enter-trace.
8222 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8223 (edebug--update-coverage): Add `after-index' and `value' args.
8224 Rename from edebug-update-coverage.
8225 (edebug-slow-after): Call it accordingly.
8226 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8227 edebug-recursive-edit.
8228 (edebug--display): Call it accordingly. Add args `value',
8229 `offset-index', and `arg-mode'. Rename from edebug-display.
8230 (edebug-debugger, edebug): Call it accordingly.
8231 (edebug-eval-display-list): Use dolist.
8232
8233 2012-09-12 Juri Linkov <juri@jurta.org>
8234
8235 * info.el (Info-search): Don't check for isearch-mode and
8236 isearch-regexp before let-binding search-spaces-regexp to
8237 Info-search-whitespace-regexp.
8238 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8239 search-whitespace-regexp if isearch-lax-whitespace or
8240 isearch-regexp-lax-whitespace is non-nil.
8241 (Info-mode): Don't set local variable search-whitespace-regexp.
8242 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8243
8244 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8245
8246 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8247 (debugger-env-macro): Remove support for unread-command-char.
8248
8249 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8250 the temporary map re-appearing on emulation-mode-map-alists.
8251
8252 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8253 since 22.1.
8254
8255 * ehelp.el (with-electric-help): Accept functions in
8256 electric-help-form-to-execute.
8257 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8258 And replace unread-command-char -> unread-command-events.
8259
8260 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8261
8262 Sync with Tramp 2.2.6.
8263
8264 * net/tramp.el (tramp-accept-process-output): Don't use
8265 JUST-THIS-ONE in the XEmacs case.
8266
8267 * net/trampver.el: Update release number.
8268
8269 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8270
8271 * emacs-lisp/debug.el (debugger-previous-window-height):
8272 New variable.
8273 (debug): When debugger-jumping-flag is non-nil try to restore
8274 height of debugger window. (Bug#8789)
8275
8276 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8279 overriding-local-map and pre/post-command-hook here.
8280 (edebug-recursive-edit): Do it here instead (bug#12345).
8281 (edebug-outside-unread-command-char): Remove all uses of
8282 unread-command-char.
8283
8284 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8285 inhibit-debugger is bound instead.
8286
8287 2012-09-11 Bastien Guerry <bzg@gnu.org>
8288
8289 * subr.el (set-temporary-overlay-map): Add a docstring.
8290 (Bug#12346)
8291
8292 2012-09-11 Bastien Guerry <bzg@gnu.org>
8293
8294 * minibuffer.el (completion-table-subvert): Fix docstring.
8295 (Bug#12347)
8296
8297 2012-09-11 Bastien Guerry <bzg@gnu.org>
8298
8299 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8300
8301 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8302
8303 * progmodes/sql.el: Version 3.1
8304 (sql-db2-escape-newlines): New variable.
8305 (sql-escape-newlines-filter): Use it.
8306
8307 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8308
8309 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8310
8311 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8312
8313 * vc/diff-mode.el (diff-mode-menu):
8314 Bind diff-remove-trailing-whitespace.
8315
8316 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8319 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8320 (emacs-lisp-byte-code-mode): New functions.
8321 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8322 (eval-defun-2): Remove bogus interactive spec.
8323 (lisp-indent-line): Remove redundant whole-exp code, now done in
8324 indent-according-to-mode.
8325 (save-match-data): Remove redundant indent data.
8326
8327 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8328 Use `declare'.
8329
8330 2012-09-09 Juri Linkov <juri@jurta.org>
8331
8332 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8333 (replace-lax-whitespace, query-replace-regexp)
8334 (query-replace-regexp-eval, replace-regexp): Doc fix.
8335 (perform-replace, replace-highlight): Let-bind
8336 isearch-lax-whitespace to replace-lax-whitespace and
8337 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8338
8339 * isearch.el (isearch-query-replace): Let-bind
8340 replace-lax-whitespace to isearch-lax-whitespace and
8341 replace-regexp-lax-whitespace to
8342 isearch-regexp-lax-whitespace. (Bug#10885)
8343
8344 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8347
8348 2012-09-09 Alan Mackenzie <acm@muc.de>
8349
8350 * progmodes/cc-engine.el (c-state-cache-init):
8351 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8352 (c-record-parse-state-state):
8353 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8354
8355 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8356
8357 * register.el (register-separator): Rename from
8358 separator-register. All uses changed. Doc fix.
8359 (register): Fix version.
8360
8361 2012-09-09 Chong Yidong <cyd@gnu.org>
8362
8363 * replace.el (query-replace-map): Bind four new symbols for
8364 requesting window scrolling.
8365
8366 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8367 query-replace-map (Bug#8948).
8368
8369 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8370
8371 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8372 since they are now in query-replace-map.
8373
8374 * window.el (scroll-other-window-down): Make the arg optional.
8375
8376 2012-09-09 Chong Yidong <cyd@gnu.org>
8377
8378 * files.el (hack-local-variables-confirm): Use quit-window to kill
8379 the *Local Variables* buffer.
8380
8381 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8382
8383 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8384 not just expect to be at its beginning. Adjust callees.
8385 Succeed when do-end block has no space before the pipe character.
8386 (ruby-brace-to-do-end): When the original block is one-liner,
8387 convert to multiline. Reindent the result.
8388
8389 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8390
8391 * register.el (register): New group.
8392 (separator-register): New user option.
8393 (increment-register): Route it to `append-to-register', if
8394 register contains text. Implication is that `C-x r +' can now be
8395 used for appending to a text register (bug#12217).
8396 (append-to-register, prepend-to-register): Add separator based on
8397 `separator-register'.
8398
8399 2012-09-08 Alan Mackenzie <acm@muc.de>
8400
8401 AWK Mode: make auto-newline work when there's "==" in the pattern.
8402 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8403 correctly.
8404 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8405 Test more rigorously for "=" token.
8406
8407 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8408
8409 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8410 Only fail when reached LIMIT.
8411
8412 2012-09-08 Chong Yidong <cyd@gnu.org>
8413
8414 * dired.el (dired-mode-map): Don't bind M-=.
8415
8416 * dired-aux.el (dired-diff): Use backup file as default.
8417
8418 2012-09-08 Drew Adams <drew.adams@oracle.com>
8419
8420 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8421
8422 2012-09-08 Chong Yidong <cyd@gnu.org>
8423
8424 * subr.el (syntax-after, syntax-class): Doc fix.
8425
8426 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8427
8428 * window.el (display-buffer-in-previous-window): New buffer
8429 display action function.
8430
8431 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8432 (debugger-previous-window): New variable.
8433 (debug): Rewrite using display-buffer-in-previous-window,
8434 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8435
8436 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8439
8440 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8441
8442 * progmodes/python.el (python-shell-send-string):
8443 When default-directory is remote, create temp file on remote
8444 filesystem.
8445 (python-shell-send-file): When file is remote, pass local view of
8446 file paths to remote Python interpreter. (Bug#12340)
8447
8448 2012-09-07 Chong Yidong <cyd@gnu.org>
8449
8450 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8451
8452 * files.el (after-find-file): Don't fail on a read-only buffer if
8453 require-final-newline is `visit' or `visit-save' (Bug#11156).
8454
8455 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8456
8457 * userlock.el (ask-user-about-supersession-threat):
8458 Use read-char-choice (Bug#12093).
8459
8460 2012-09-07 Chong Yidong <cyd@gnu.org>
8461
8462 * subr.el (buffer-narrowed-p): New function.
8463
8464 * ses.el (ses-widen):
8465 * simple.el (count-words--buffer-message):
8466 * net/browse-url.el (browse-url-of-buffer): Use it.
8467
8468 * simple.el (count-words-region): Don't signal an error if there
8469 is a non-nil prefix arg and the mark is not set.
8470
8471 * help.el (describe-key-briefly): Allow the message to be seen
8472 when invoked from the minibuffer (Bug#7014).
8473
8474 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8475
8476 * progmodes/ruby-mode.el (ruby-end-of-defun)
8477 (ruby-beginning-of-defun): Simplify, allow indentation before
8478 block beginning and end keywords.
8479 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8480 (ruby-end-of-defun): Expect that the point is at the beginning of
8481 the defun.
8482
8483 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8484
8485 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8486 (bug#12367).
8487 (cl--make-usage-args): Strip _ from argument names.
8488
8489 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8490
8491 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8492 obsolete alias speedbar-key-map.
8493 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8494 (vhdl-index-menu-init): Don't use obsolete variable
8495 font-lock-maximum-size.
8496
8497 2012-09-06 Chong Yidong <cyd@gnu.org>
8498
8499 * frame.el (window-system-version): Mark as obsolete.
8500
8501 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8502 of obsolete variable speedbar-key-map.
8503
8504 2012-09-06 Juri Linkov <juri@jurta.org>
8505
8506 * replace.el (replace-lax-whitespace): New defcustom.
8507 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8508 (replace-string, replace-regexp): Mention it in docstrings.
8509 (perform-replace, replace-highlight): Let-bind
8510 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8511 to the values of replace-lax-whitespace and regexp-flag.
8512 Don't let-bind search-whitespace-regexp. (Bug#10885)
8513
8514 * isearch.el (isearch-query-replace): Let-bind
8515 replace-lax-whitespace instead of let-binding
8516 replace-search-function and replace-re-search-function.
8517 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8518 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8519 (isearch-toggle-symbol): Set isearch-regexp to nil
8520 in isearch-word mode (like in isearch-toggle-word).
8521
8522 2012-09-06 Juri Linkov <juri@jurta.org>
8523
8524 * replace.el (replace-search-function)
8525 (replace-re-search-function): Set default values to nil.
8526 (perform-replace): Let-bind isearch-related variables based on
8527 replace-related values, call `isearch-search-fun' and let-bind
8528 the result to `search-function'. Remove code that sets
8529 `search-function' and `search-string' separately for
8530 `delimited-flag'.
8531 (replace-highlight): Add new argument `delimited-flag' and
8532 rename other arguments to the names used in `perform-replace'.
8533 Let-bind `isearch-word' to the argument `delimited-flag'.
8534 (Bug#10885, bug#10887)
8535
8536 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8537
8538 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8539 ruby-beginning-of-indent, simplify, allow all keywords to have
8540 indentation before them.
8541 (ruby-beginning-of-indent): Adjust for above. Search until the
8542 found point is not inside a string or comment.
8543 (ruby-font-lock-keywords): Allow symbols to start with "@"
8544 character, give them higher priority than variables.
8545 (ruby-syntax-propertize-function)
8546 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8547 matchers. Expression expansions are not comments when inside a
8548 string, and there comment syntax status is irrelevant.
8549 (ruby-match-expression-expansion): New function. Check that
8550 expression expansion is inside a string, and it's not escaped.
8551 (ruby-font-lock-keywords): Use it.
8552
8553 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8554
8555 * help.el (temp-buffer-max-height): New default value.
8556 (temp-buffer-resize-frames): New option.
8557 (resize-temp-buffer-window): Optionally resize frame.
8558
8559 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8560 (fit-frame-to-buffer): New function.
8561
8562 2012-09-05 Glenn Morris <rgm@gnu.org>
8563
8564 * emulation/cua-rect.el (cua--init-rectangles):
8565 * textmodes/picture.el (picture-mode-map):
8566 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8567 like forward-char and backward-char. (Bug#12317)
8568
8569 2012-09-05 Leo Liu <sdl.web@gmail.com>
8570
8571 * progmodes/flymake.el (flymake-warning-re): New variable.
8572 (flymake-parse-line): Use it.
8573
8574 2012-09-05 Glenn Morris <rgm@gnu.org>
8575
8576 * calendar/holidays.el (holiday-christian-holidays):
8577 Rename an entry. (Bug#12289)
8578
8579 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8580
8581 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8582 (bug#12222).
8583
8584 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8585
8586 * loadup.el: Load macroexp. Remove hack.
8587 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8588 (macroexp--expand-all): Use it to get better warnings.
8589 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8590 (internal-macroexpand-for-load): New functions.
8591 (macroexp--pending-eager-loads): New var.
8592 (emacs-startup-hook): New hack to replace one in loadup.el.
8593 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8594 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8595 (cl-psetf): Simplify.
8596 (cl-defstruct): Add indent rule.
8597
8598 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8599
8600 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8601 over `user-mail-address' for the SMTP MAIL FROM envelope.
8602 (smtpmail-via-smtp): Ditto.
8603
8604 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8605
8606 * progmodes/ruby-mode.el: Clean up keybindings.
8607 (ruby-mode-map): Don't bind ruby-electric-brace,
8608 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8609 backward-kill-word, reindent-then-newline-and-indent.
8610 (ruby-mark-defun): Remove.
8611 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8612 (ruby-mode): Set local beginning-of-defun-function and
8613 end-of-defun-function values.
8614
8615 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8616
8617 * window.el (temp-buffer-window-setup-hook)
8618 (temp-buffer-window-show-hook): New hooks.
8619 (temp-buffer-window-setup, temp-buffer-window-show)
8620 (with-temp-buffer-window): New functions.
8621 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8622 (special-display-popup-frame): Make sure the window used shows BUFFER.
8623
8624 * help.el (temp-buffer-resize-mode): Fix doc-string.
8625 (resize-temp-buffer-window): New optional argument WINDOW.
8626
8627 * files.el (recover-file, save-buffers-kill-emacs):
8628 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8629
8630 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8633 remote definition of `default-directory', ensure we can connect.
8634
8635 2012-09-02 Juri Linkov <juri@jurta.org>
8636
8637 Toggle whitespace matching mode with M-s SPC.
8638 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8639
8640 * isearch.el (search-whitespace-regexp): Doc fix.
8641 Remove cons cell customization.
8642 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8643 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8644 New variables.
8645 (isearch-forward, isearch-forward-regexp): Doc fix.
8646 (isearch-toggle-lax-whitespace): New command.
8647 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8648 (re-search-forward-lax-whitespace)
8649 (re-search-backward-lax-whitespace): New functions.
8650 (isearch-whitespace-regexp): Remove function.
8651 (isearch-query-replace): Let-bind replace-search-function and
8652 replace-re-search-function.
8653 (isearch-occur): Let-bind search-spaces-regexp according to the
8654 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8655 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8656 condition for C-q SPC.
8657 (isearch-search-fun-default): Use new functions mentioned above.
8658 (isearch-search-forward, isearch-search-backward): Remove functions.
8659 (isearch-search): Don't let-bind search-spaces-regexp.
8660 (isearch-lazy-highlight-space-regexp): Remove variable.
8661 (isearch-lazy-highlight-lax-whitespace)
8662 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8663 (isearch-lazy-highlight-new-loop): Use them.
8664 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8665
8666 2012-09-02 Chong Yidong <cyd@gnu.org>
8667
8668 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8669
8670 2012-09-02 Glenn Morris <rgm@gnu.org>
8671
8672 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8673
8674 2012-09-01 Glenn Morris <rgm@gnu.org>
8675
8676 * term.el: Tidy up menu definitions.
8677 (term-mode-map): Use easymenu for In/Out, Complete menus.
8678 (term-pager-break-map): Initialize in the defvar.
8679 (term-terminal-menu, term-signals-menu): Define with easymenu.
8680 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8681 (term-pager-menu): New, extracted from term-process-pager.
8682 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8683 (term-update-mode-line): Propertize line/char and page items.
8684 (term-process-pager): Move keymap initialization elsewhere.
8685
8686 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8687
8688 * window.el (switch-to-prev-buffer): Handle additional values of
8689 BURY-OR-KILL argument. Don't switch in minibuffer window.
8690 (switch-to-next-buffer): Don't switch in minibuffer window.
8691 (quit-restore-window): New function based on quit-window.
8692 Handle additional values of former KILL argument.
8693 (quit-window): Call quit-restore-window with appropriate
8694 interpretation of KILL argument.
8695 (display-buffer-below-selected): New buffer display action
8696 function.
8697
8698 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8699
8700 * minibuffer.el (completion-at-point-functions): Complete docstring
8701 (bug#12254).
8702
8703 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8704
8705 Better seed support for (random).
8706 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8707 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8708 * play/mpuz.el, play/tetris.el, play/zone.el:
8709 * calc/calc-comb.el (math-init-random-base):
8710 * play/blackbox.el (bb-init-board):
8711 * play/life.el (life):
8712 * server.el (server-use-tcp):
8713 * type-break.el (type-break):
8714 Remove unnecessary call to (random t).
8715 * net/sasl.el (sasl-unique-id-function):
8716 Change (random t) to (random), now that the latter is more random.
8717 * play/life.el (life-initialized): Remove no-longer-needed var.
8718
8719 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8720
8721 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8722 Consider frame's buffer predicate when choosing the buffer.
8723 (Bug#12081)
8724
8725 2012-08-30 Richard Stallman <rms@gnu.org>
8726
8727 * simple.el (special-mode-map): Delete binding for `z'.
8728
8729 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8730
8731 * progmodes/compile.el (compilation-always-kill): Doc fix.
8732
8733 2012-08-30 Chong Yidong <cyd@gnu.org>
8734
8735 * window.el (display-buffer-reuse-frames): Make the obsolescence
8736 message more informative.
8737
8738 2012-08-30 Glenn Morris <rgm@gnu.org>
8739
8740 * paren.el (show-paren-delay):
8741 Add a :set function. Doc fix. (Bug#12297)
8742
8743 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8744
8745 * progmodes/compile.el (compilation-always-kill): New var.
8746 (compilation-start): Use it.
8747
8748 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8749
8750 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8751 * files.el (read-only-mode): Move to simple.el.
8752
8753 * files.el (read-only-mode): New minor mode.
8754 (toggle-read-only): Use it and mark obsolete.
8755 (find-file--read-only):
8756 * vc/vc.el (vc-next-action, vc-checkout):
8757 * vc/vc-cvs.el (vc-cvs-checkout):
8758 * obsolete/vc-mcvs.el (vc-mcvs-update):
8759 * ffap.el (ffap--toggle-read-only): Update callers.
8760
8761 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8762
8763 * eshell/esh-ext.el (eshell-external-command): Do not examine
8764 remote shell scripts.
8765 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8766
8767 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8768 "/usr/local/sbin".
8769
8770 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8773
8774 2012-08-28 Leo Liu <sdl.web@gmail.com>
8775
8776 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8777 completion-at-point. (Bug#12220)
8778
8779 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8780
8781 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8782
8783 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8786 be buffer-local; add delete-trailing-whitespace (bug#12259).
8787
8788 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8789
8790 * progmodes/hideif.el (hif-compress-define-list):
8791 Fix typo. (Bug#11951)
8792
8793 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8794
8795 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8796 buffer local setting.
8797
8798 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8799 rcirc-encode-coding-system.
8800
8801 2012-08-28 Leo Liu <sdl.web@gmail.com>
8802
8803 * net/rcirc.el (rcirc-split-message): New function.
8804 (rcirc-send-message): Use it. (Bug#12051)
8805
8806 2012-08-28 Juri Linkov <juri@jurta.org>
8807
8808 * info.el (Info-fontify-node): Hide empty lines at the end of
8809 the node. (Bug#12272)
8810
8811 2012-08-27 Drew Adams <drew.adams@oracle.com>
8812
8813 * dired.el (dired-pop-to-buffer): Make window start at beginning
8814 of buffer (Bug#12281).
8815
8816 2012-08-26 Chong Yidong <cyd@gnu.org>
8817
8818 * window.el (special-display-regexps, special-display-frame-alist)
8819 (special-display-buffer-names, special-display-function)
8820 (display-buffer-reuse-frames): Mark as obsolete.
8821
8822 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8823
8824 * help.el (help-print-return-message): Don't treat
8825 display-buffer-reuse-frames specially.
8826
8827 2012-08-26 Chong Yidong <cyd@gnu.org>
8828
8829 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8830 New variable, replacing gdb-frame-parameters.
8831 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8832 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8833 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8834 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8835 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8836 the functions directly with gdb-display-buffer-other-frame-action.
8837 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8838 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8839 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8840 (gdb-display-registers-buffer): Define directly.
8841 (def-gdb-display-buffer): Macro deleted.
8842 (gdb-display-buffer): Remove second and third args, callers don't
8843 use them. Defer to the default display-buffer behavior, apart
8844 from making windows dedicated.
8845 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8846
8847 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8848
8849 * window.el (display-buffer-pop-up-frame): Handle a
8850 pop-up-frame-parameters alist entry.
8851 (display-buffer): Document it.
8852
8853 2012-08-26 Chong Yidong <cyd@gnu.org>
8854
8855 * isearch.el (search-whitespace-regexp): Make string and nil
8856 values apply to both ordinary and regexp search. Allow a cons
8857 cell value to distinguish between the two.
8858 (isearch-whitespace-regexp, isearch-search-forward)
8859 (isearch-search-backward): New functions.
8860 (isearch-occur, isearch-search-fun-default, isearch-search)
8861 (isearch-lazy-highlight-new-loop): Use them.
8862 (isearch-forward, isearch-forward-regexp): Doc fix.
8863
8864 2012-08-26 Chong Yidong <cyd@gnu.org>
8865
8866 * faces.el (help-argument-name): Always inherit from italic
8867 (Bug#12213).
8868
8869 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8870
8871 * window.el (window--even-window-heights): Even heights when
8872 WINDOW and the selected window form a vertical combination.
8873 (display-buffer-use-some-window): Provide that window used gets
8874 sized back by quit-window. (Bug#11880) and (Bug#12091)
8875
8876 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8877
8878 Fix file time stamp problem with bzr and CVS (Bug#12001).
8879 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8880 in the file's time stamp, since the version control system loses
8881 that information.
8882
8883 2012-08-22 Juri Linkov <juri@jurta.org>
8884
8885 * info.el (Info-fontify-node): Hide the suffix of the
8886 Info file name in the header line. (Bug#12187)
8887
8888 2012-08-22 Glenn Morris <rgm@gnu.org>
8889
8890 * calendar/cal-tex.el (cal-tex-weekly-common):
8891 Restore leading blank page.
8892
8893 2012-08-22 Le Wang <l26wang@gmail.com>
8894
8895 * misc.el (forward-to-word, backward-to-word): Activate or extend
8896 the region under `shift-select-mode'. (Bug#12231)
8897
8898 2012-08-22 Bastien Guerry <bzg@gnu.org>
8899
8900 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8901 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8902 gives details on why the space is never needed.
8903
8904 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8905
8906 * window.el (walk-window-tree, window-with-parameter):
8907 New optional argument MINIBUF to control whether these functions
8908 should run on the minibuffer window.
8909 (window-at-side-list): Don't operate on minibuffer window.
8910 (window-in-direction): Simplify and rewrite doc-string.
8911 (window--size-ignore): Rename to window--size-ignore-p.
8912 Update callers.
8913 (display-buffer-in-atom-window, window--major-non-side-window)
8914 (window--major-side-window, display-buffer-in-major-side-window)
8915 (delete-side-window, display-buffer-in-side-window):
8916 New functions.
8917 (window--side-check, window-deletable-p, delete-window)
8918 (delete-other-windows, split-window): Handle side windows and
8919 atomic windows appropriately.
8920 (window--display-buffer): Call display-buffer-record-window also
8921 when the window buffer did not change.
8922
8923 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8924
8925 * help-fns.el (help-fns--key-bindings):
8926 Abbreviate non-symbol remap targets. (Bug#12174)
8927
8928 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8929
8930 * dired.el (dired-mark-remembered): Don't clobber point.
8931 (Bug#11795)
8932
8933 2012-08-22 Glenn Morris <rgm@gnu.org>
8934
8935 * progmodes/bug-reference.el (bug-reference): New custom group.
8936 (bug-reference-bug-regexp): Make it a defcustom.
8937
8938 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8939
8940 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8941 (js-paren-indent-offset, js-square-indent-offset)
8942 (js-curly-indent-offset): Add :safe (Bug#12257).
8943
8944 2012-08-22 Edward O'Connor <hober0@gmail.com>
8945
8946 * json.el (json-key-format): Add error properties.
8947 (json-encode-key): New function.
8948 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8949 Use json-encode-key.
8950
8951 2012-08-22 Glenn Morris <rgm@gnu.org>
8952
8953 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8954 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8955 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8956 Update for above change.
8957
8958 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8959
8960 * cus-face.el (custom-face-attributes): Fix customize type for the
8961 :underline attribute. (Bug#11805)
8962
8963 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8964
8965 * window.el (window-point-1, set-window-point-1): Remove.
8966 (window-in-direction, record-window-buffer)
8967 (set-window-buffer-start-and-point, split-window-below)
8968 (window--state-get-1, display-buffer-record-window):
8969 Replace calls to window-point-1 and set-window-point-1 by calls to
8970 window-point and set-window-point respectively.
8971
8972 2012-08-21 Glenn Morris <rgm@gnu.org>
8973
8974 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8975 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8976 Use it.
8977
8978 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8979 (cal-tex-shortday): New function.
8980 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8981 (cal-tex-cursor-filofax-daily): Use the above.
8982
8983 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8984 New functions.
8985 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8986 (cal-tex-cursor-filofax-week): Use them.
8987
8988 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8989 New constants.
8990 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8991 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8992
8993 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8994 (cal-tex-end-document): Don't rely on buffer name.
8995
8996 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8997 Use cal-tex-vspace.
8998 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8999 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9000 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9001 Use cal-tex-arg.
9002
9003 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9004 (cal-tex-cursor-week, cal-tex-cursor-week2)
9005 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9006 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9007 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9008 (cal-tex-insert-preamble, cal-tex-b-document)
9009 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9010 Improve cal-tex-cmd usage.
9011
9012 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9013 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9014 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9015 (cal-tex-weekly-paper): New function.
9016 (cal-tex-cursor-week, cal-tex-cursor-week2)
9017 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9018 (cal-tex-cursor-day): Use it.
9019
9020 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9021 (cal-tex-cursor-filofax-week): Remove leading blank page.
9022
9023 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9024 Add autoload cookie. For now at least, don't use color, since
9025 no other cal-tex function does.
9026
9027 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9028 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9029 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9030
9031 2012-08-21 Juri Linkov <juri@jurta.org>
9032
9033 * info.el (Info-file-attributes): New variable.
9034 (info-insert-file-contents): Add file attributes to
9035 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9036 `Info-toc-nodes' when previous modtime of the Info file is less
9037 than new modtime.
9038 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9039 of info.el. (Bug#12230)
9040
9041 2012-08-20 Glenn Morris <rgm@gnu.org>
9042
9043 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9044 * calendar/holidays.el (calendar-holiday-list):
9045 Report errors with display-warning rather than beep'n'sleep.
9046
9047 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9048
9049 * net/tramp.el (tramp-accept-process-output): Accept only output
9050 from PROC. Otherwise, process filters and sentinels might be
9051 confused. (Bug#12145)
9052
9053 2012-08-20 Chong Yidong <cyd@gnu.org>
9054
9055 * descr-text.el (describe-text-properties-1): Use overlays-in to
9056 report on empty overlays (Bug#3322).
9057
9058 2012-08-20 Glenn Morris <rgm@gnu.org>
9059
9060 * mail/rmailout.el (rmail-output-read-file-name):
9061 Trap and report errors in rmail-output-file-alist elements.
9062
9063 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9064 since most non-font-lock faces are not also variables).
9065
9066 2012-08-20 Edward Reingold <reingold@iit.edu>
9067
9068 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9069 New function. (Bug12160)
9070
9071 2012-08-19 Glenn Morris <rgm@gnu.org>
9072
9073 * mail/rmailout.el (rmail-output-read-file-name):
9074 Fix previous change (when the alist is nil or does not match).
9075
9076 2012-08-19 Chong Yidong <cyd@gnu.org>
9077
9078 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9079 (Bug#12228).
9080
9081 2012-08-18 Chong Yidong <cyd@gnu.org>
9082
9083 * simple.el (yank-handled-properties): New defcustom.
9084 (yank-excluded-properties): Add font-lock-face and category.
9085 (yank): Doc fix.
9086
9087 * subr.el (remove-yank-excluded-properties):
9088 Obey yank-handled-properties. The special handling of font-lock-face
9089 and category is now done this way, instead of being hard-coded.
9090 (insert-for-yank-1): Remove font-lock-face handling.
9091 (yank-handle-font-lock-face-property)
9092 (yank-handle-category-property): New function.
9093
9094 2012-08-17 Glenn Morris <rgm@gnu.org>
9095
9096 * mail/rmailout.el (rmail-output-read-file-name):
9097 Check rmail-output-file-alist against the full message body
9098 in the correct rmail buffer. (Bug#12214)
9099
9100 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9101
9102 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9103 Eliminate superfluous prompt. (Bug#12203)
9104
9105 2012-08-17 Chong Yidong <cyd@gnu.org>
9106
9107 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9108 font spec, set the font directly (Bug#3228).
9109
9110 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9111
9112 * window.el (delete-window): Fix last fix.
9113
9114 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9115
9116 * window.el (window-valid-p): Move to window.c.
9117 (window-child, window-child-count, window-last-child)
9118 (window-normalize-window, window-combined-p)
9119 (window-combinations, window-atom-root, window-min-size)
9120 (window-sizable, window-sizable-p, window-size-fixed-p)
9121 (window-min-delta, window-max-delta, window--resizable)
9122 (window--resizable-p, window-resizable, window-total-size)
9123 (window-full-height-p, window-full-width-p, window-body-size)
9124 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9125 (minimize-window, window-deletable-p, delete-window)
9126 (delete-other-windows, set-window-buffer-start-and-point)
9127 (next-buffer, previous-buffer, split-window, balance-windows-2)
9128 (set-window-text-height, window-buffer-height)
9129 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9130 (truncated-partial-width-window-p): Minor code adjustments.
9131 In doc-strings state whether the argument window has to denote a
9132 live, valid or any window.
9133
9134 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9135
9136 * progmodes/subword.el (subword-forward-function)
9137 (subword-backward-function, subword-forward-regexp)
9138 (subword-backward-regexp): New variables.
9139 (subword-forward, subword-forward-internal, subword-backward-internal):
9140 Use new variables, eg so that different "word" definitions
9141 can be easily used. (Bug#11411)
9142
9143 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9146 for composite selectors.
9147 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9148 operation just because we can't find a previous revision.
9149
9150 2012-08-15 Chong Yidong <cyd@gnu.org>
9151
9152 * frame.el (set-frame-font): Accept font objects.
9153
9154 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9157
9158 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9159
9160 * man.el (Man-overstrike-face, Man-underline-face)
9161 (Man-reverse-face): Remove variables.
9162 (Man-overstrike, Man-underline, Man-reverse): New faces.
9163 (Man-fontify-manpage): Use them instead of the variables.
9164 (Man-cleanup-manpage): Comment change.
9165 (Man-ansi-color-map): New variable.
9166 (Man-fontify-manpage): Use it.
9167 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9168
9169 Implement ANSI SGR parameters 22-27 (bug#12146).
9170 * ansi-color.el (ansi-colors): Doc fix.
9171 (ansi-color-context, ansi-color-context-region): Doc fix.
9172 (ansi-color--find-face): New function.
9173 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9174 Rename the local variable `face' to `codes' since it is now a list of
9175 ansi codes. Doc fix.
9176 (ansi-color-get-face): Remove.
9177 (ansi-color-parse-sequence): New function, derived from
9178 ansi-color-get-face.
9179 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9180 codes 22-27.
9181
9182 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * subr.el (read-passwd): Allow use from a minibuffer.
9185
9186 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9187
9188 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9189 inside comments and strings as identifiers.
9190
9191 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9192 expression to evaluate. This allows to evaluate expressions with
9193 embedded whitespace.
9194 (gud-tooltip-tips): Add a blank before the newline in the
9195 message-box text, for the benefit of message-box emulation on
9196 MS-Windows.
9197
9198 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9199 messages from GDB, pop them up in a tooltip to give feedback to
9200 user.
9201 (gdb-tooltip-print-1): Quote the expression to evaluate.
9202 This allows to evaluate expressions with embedded whitespace.
9203 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9204 if the TTY name is nil or empty (which happens when communicating
9205 with the inferior via pipes, e.g. on MS-Windows).
9206 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9207 don't send that to the GUD buffer.
9208
9209 2012-08-14 Glenn Morris <rgm@gnu.org>
9210
9211 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9212 Optimize away setq-default with no args, as for setq. (Bug#12195)
9213
9214 2012-08-14 Chong Yidong <cyd@gnu.org>
9215
9216 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9217
9218 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9219 (Bug#12085).
9220
9221 2012-08-14 Glenn Morris <rgm@gnu.org>
9222
9223 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9224
9225 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9226
9227 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9228 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9229 Use cached shell name.
9230
9231 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9232
9233 * progmodes/python.el (python-shell-send-string):
9234 (python-shell-send-setup-code): Do not use `format' with `message'.
9235
9236 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9237
9238 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9239 (ruby-percent-literal-beg-re): New constant.
9240 (ruby-syntax-general-delimiters-goto-beg): Rename to
9241 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9242 (ruby-syntax-propertize-general-delimiters): Rename to
9243 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9244 popular term. Adjust comments everywhere.
9245 (ruby-syntax-propertize-percent-literal): Only propertize when not
9246 inside a simple string or comment. When the literal is unclosed,
9247 leave the text after it unpropertized.
9248 (ruby-syntax-methods-before-regexp): New constant.
9249 (ruby-syntax-propertize-function): Use it to recognize regexps.
9250 Don't look at the text after regexp, just use the whitelist.
9251
9252 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9253
9254 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9255 non-nil always load the compiled file if it exists. (Bug#12197)
9256
9257 2012-08-14 Chong Yidong <cyd@gnu.org>
9258
9259 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9260 (hi-lock-set-pattern): When deciding whether to use font lock or
9261 overlays, look at font-lock-mode instead of font-lock-fontified
9262 (Bug#12168).
9263 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9264 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9265
9266 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9267
9268 * subr.el (internal--after-with-selected-window): Fix typo
9269 (Bug#12193).
9270
9271 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9272
9273 Use `completion-table-dynamic' for completion functions.
9274 * progmodes/python.el
9275 (python-shell-completion--do-completion-at-point)
9276 (python-shell-completion--get-completions):
9277 Remove functions.
9278 (python-shell-completion-complete-at-point): New function.
9279 (python-completion-complete-at-point): Use it.
9280
9281 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9282
9283 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9284 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9285
9286 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * subr.el (function-get): Refine `autoload' arg so it can also
9289 autoload functions for gv.el (bug#12191).
9290 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9291 autoloads macros.
9292
9293 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9294 Prefer pcase-let over destructuring-bind.
9295 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9296 Also, remove whitespace as we go, rather than after accumulating the
9297 various places.
9298
9299 * subr.el (internal--before-with-selected-window)
9300 (internal--after-with-selected-window): Fix typo seleted->selected.
9301 (with-selected-window): Adjust callers.
9302 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9303
9304 2012-08-13 Bastien Guerry <bzg@gnu.org>
9305
9306 * window.el (special-display-popup-frame): Minor docstring
9307 enhancement. (Bug#12172)
9308
9309 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9310
9311 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9312 type 1-6.
9313 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9314 extended headers.
9315
9316 * files.el (hack-local-variables-filter): Remove useless eval.
9317
9318 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9319
9320 * subr.el (with-selected-window): Fix last change.
9321
9322 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9323
9324 * subr.el (internal--before-with-seleted-window)
9325 (internal--after-with-seleted-window): New functions.
9326 (with-selected-window): Use them, to replace dependency on
9327 tty-top-frame.
9328
9329 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9330
9331 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9332 binding for `newline'.
9333 (ruby-move-to-block): When moving backward, stop at block opening,
9334 not indentation.
9335 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9336 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9337 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9338 `ruby-toggle-block'.
9339
9340 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * ibuffer.el (ibuffer-do-toggle-read-only):
9343 * dired.el (dired-toggle-read-only):
9344 * buff-menu.el (Buffer-menu-toggle-read-only):
9345 * bindings.el (mode-line-toggle-read-only):
9346 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9347
9348 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9349
9350 * descr-text.el (describe-char): Put the overlays over the
9351 "displayed as" character.
9352
9353 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9354
9355 * calc/calc-units.el (math-default-units-table): Give an
9356 initial value.
9357 (math-put-default-units): Add options to put composite units and
9358 unit systems in the default units table.
9359 (calc-convert-units): Send composite units to
9360 `math-put-default-units' when appropriate.
9361
9362 2012-08-11 Glenn Morris <rgm@gnu.org>
9363
9364 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9365
9366 * tutorial.el (help-with-tutorial):
9367 * emacs-lisp/copyright.el (copyright-update-directory):
9368 * emacs-lisp/autoload.el (autoload-find-generated-file)
9369 (autoload-find-file): Disable local eval: (for insurance).
9370
9371 * files.el (hack-local-variables-filter): If an eval: form is not
9372 known to be safe, and enable-local-variables is :safe, then ignore
9373 the form totally, as is done for non-eval forms. (Bug#12155)
9374 This is CVE-2012-3479.
9375
9376 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9379 (rx-form): Simplify.
9380
9381 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9382
9383 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9384 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9385 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9386 (ruby-syntax-propertize-function): Adjust for changes in
9387 `ruby-syntax-propertize-heredoc'.
9388
9389 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9390
9391 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9392 binding (use `M-;' instead).
9393 (ruby-singleton-class-p): New function.
9394 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9395
9396 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9397
9398 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9399
9400 2012-08-10 Chong Yidong <cyd@gnu.org>
9401
9402 * progmodes/python.el (python-shell-get-process-name): Don't mess
9403 with same-window-buffer-names.
9404
9405 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9406 (eshell-remove-from-window-buffer-names): Make obsolete.
9407 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9408 (eshell): Just use pop-to-buffer-same-window instead.
9409
9410 2012-08-10 Chong Yidong <cyd@gnu.org>
9411
9412 * bindings.el: Bind M-= back to count-words-region.
9413
9414 * simple.el (count-words-region): Accept a prefix arg for acting
9415 on the entire buffer.
9416 (count-words--buffer-message): New helper function.
9417
9418 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9419
9420 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9421 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9422 (event-start, event-end): Use posn-at-point to return a more
9423 informative posn.
9424 (posnp): New function.
9425 * mouse.el (popup-menu-normalize-position): Use it.
9426
9427 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9428
9429 * mouse.el (popup-menu-normalize-position): New function.
9430 (popup-menu): Use `popup-menu-normalize-position' to normalize
9431 the form for POSITION argument.
9432
9433 * term/x-win.el (x-menu-bar-open):
9434 Use the value returend from (posn-at-point) as position
9435 passed to `popup-menu'.
9436
9437 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9438
9439 * calc/calccomp.el (math-compose-expr): Add extra argument
9440 indicating that parentheses should be put around products in
9441 denominators. Give multiplication precedence over division during
9442 composition.
9443
9444 2012-08-09 Chong Yidong <cyd@gnu.org>
9445
9446 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9447 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9448 (Man-untabify-command, manual-program): Convert to defcustom
9449 (Bug#10429).
9450
9451 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9452
9453 * descr-text.el (describe-char): Don't insert extra newlines
9454 (Bug#10127).
9455
9456 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9457 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9458
9459 * align.el (align-region): Delete temporary markers (Bug#10047).
9460 Plus some code cleanups.
9461
9462 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9463
9464 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9465 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9466 (python-shell-internal-last-output): Use make-local-variable
9467 instead of make-variable-buffer-local.
9468
9469 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9470
9471 * progmodes/python.el: Enhancements to forward-sexp.
9472 (python-nav-forward-sexp): Rename from
9473 python-nav-forward-sexp-function.
9474 (python-nav--forward-sexp, python-nav--backward-sexp):
9475 New functions.
9476
9477 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9478
9479 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9480 modes and simplification modes.
9481
9482 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * delsel.el (delete-selection-pre-hook): Don't propagate the
9485 file-supersession signals (bug#12161).
9486
9487 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9488
9489 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9490 (cl-map-extents): Add compatibility aliases (bug#12135).
9491
9492 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9493
9494 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9495 tests by `ignore-error'.
9496 (tramp-find-shell): Open also a new shell, when cache is already
9497 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9498
9499 2012-08-08 Juri Linkov <juri@jurta.org>
9500
9501 * bookmark.el: Add `defaults' property to the bookmark record.
9502 (bookmark-current-buffer): Doc fix.
9503 (bookmark-make-record): Add `defaults' property with default values
9504 to the bookmark record.
9505 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9506 with `bookmark-insert-current-bookmark'.
9507 (bookmark-set): Get `defaults' property from the bookmark record
9508 and use it in `read-from-minibuffer'.
9509 (bookmark-insert-current-bookmark): Remove function.
9510
9511 * info.el (Info-bookmark-make-record): Add `defaults' property
9512 with values of canonical Info node name, the current Info file
9513 name and the current Info node name. (Bug#12107)
9514
9515 2012-08-08 Juri Linkov <juri@jurta.org>
9516
9517 * files.el (basic-save-buffer): Use `buffer-name' as the default
9518 of `read-file-name' when buffer is not visiting a file (bug#12128).
9519
9520 2012-08-08 Juri Linkov <juri@jurta.org>
9521
9522 * info.el (Info-isearch-search): Doc fix.
9523 (Info-search): Change search-failed message from "initial node" to
9524 "end of node" (bug#12078).
9525 (Info-isearch-search): Change `isearch-string-state' to
9526 `isearch--state-string'.
9527
9528 2012-08-08 Glenn Morris <rgm@gnu.org>
9529
9530 * language/persian.el: Remove file.
9531 * language/misc-lang.el: Move unique part of persian.el here.
9532 * loadup.el: Remove language/persian.
9533
9534 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9535
9536 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9537
9538 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9539
9540 * progmodes/python.el: Fix defsubst warning.
9541 (python-syntax-context) Rename from python-info-ppss-context.
9542 (python-syntax-context-type): Rename from
9543 python-info-ppss-context-type.
9544 (python-syntax-comment-or-string-p): Rename from
9545 python-info-ppss-comment-or-string-p.
9546
9547 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9548
9549 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9550
9551 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9552
9553 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9554 a defcustom that is quoted with backquote.
9555
9556 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9557 Fix handling of interactive spec when the body uses return.
9558 (math-do-arg-check, math-define-function-body): Use backquote forms.
9559 * calc/calc-ext.el (math-defcache): Likewise.
9560 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9561 * allout.el (allout-new-exposure): Likewise.
9562 * calc/calcalg2.el (math-tracing-integral): Likewise.
9563 * info.el (Info-last-menu-item): Likewise.
9564 * emulation/vip.el (vip-loop): Likewise.
9565 * textmodes/artist.el (artist-funcall): Likewise.
9566 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9567 Construct menu-item directly.
9568
9569 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9570 Don't declare.
9571
9572 2012-08-07 Chong Yidong <cyd@gnu.org>
9573
9574 * simple.el (deactivate-mark): Preserve text properties when
9575 saving the primary selection (Bug#8384).
9576
9577 2012-08-07 Kevin Ryde <user42@zip.com.au>
9578
9579 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9580 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9581 and continue processing (Bug#12110).
9582
9583 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9586 syntax-propertize-function (bug#10095).
9587
9588 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9589
9590 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9591 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9592 describe-function-1.
9593 (describe-function-1): Use them. Move compiler macro after sig.
9594 (help-fns--compiler-macro): Use function-get. Assume we're already in
9595 standard-output. Adjust layout to new call order.
9596
9597 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9598 re-binding a symbol that has a symbol-macro (bug#12119).
9599
9600 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9601
9602 * language/persian.el: New file. (Bug#11812)
9603 * loadup.el: Add language/persian.el.
9604
9605 2012-08-06 Chong Yidong <cyd@gnu.org>
9606
9607 * window.el (window--maybe-raise-frame): New function.
9608 (window--display-buffer): Split off from here.
9609 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9610 (display-buffer-pop-up-window, display-buffer-use-some-window):
9611 Obey an inhibit-switch-frame action alist entry.
9612 (display-buffer): Update doc.
9613
9614 * replace.el (occur-after-change-function): Avoid losing focus by
9615 using the inhibit-switch-frame display parameter (Bug#12139).
9616
9617 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9618
9619 Make internal shell process buffer names start with space.
9620 * progmodes/python.el (python-shell-make-comint): Add optional
9621 argument INTERNAL.
9622 (run-python-internal): Use it.
9623 (python-shell-internal-get-or-create-process): Check for new
9624 internal buffer names.
9625
9626 2012-08-06 Glenn Morris <rgm@gnu.org>
9627
9628 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9629 Do less getting and setting of environment variables.
9630
9631 2012-08-05 Chong Yidong <cyd@gnu.org>
9632
9633 * proced.el (proced): Add substitution string to docstring to
9634 trigger autoloading of the proced library on C-h f (Bug#1768).
9635
9636 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9637 Don't show defvars which have no second argument (Bug#8638).
9638
9639 * imenu.el (imenu-generic-expression): Move documentation here
9640 from imenu--generic-function.
9641 (imenu--generic-function): Refer to imenu-generic-expression.
9642
9643 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9644
9645 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9646 indentation declaration.
9647 (viper-loop): Add indentation declaration (Bug#7025).
9648
9649 2012-08-05 Chong Yidong <cyd@gnu.org>
9650
9651 * help-fns.el (describe-variable): Add hyperlink for
9652 directory-local variables files. Improve buffer-local and
9653 permanent-local reporting; suggested by MON KEY (Bug#6644).
9654
9655 * help-mode.el (help-dir-local-var-def): New button type.
9656
9657 * files.el (kill-buffer-hook): Provide a defvar.
9658
9659 2012-08-05 Glenn Morris <rgm@gnu.org>
9660
9661 * eshell/esh-ext.el (eshell/addpath):
9662 Also update eshell-path-env. (Bug#12013)
9663
9664 2012-08-05 Chong Yidong <cyd@gnu.org>
9665
9666 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9667
9668 * fringe.el (fringe-styles): Add docstring.
9669 (fringe--check-mode): New function.
9670 (set-fringe-mode, set-fringe-style): Use it.
9671 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9672
9673 * files.el (set-auto-mode): Fix invalid setq call.
9674
9675 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * isearch.el: Misc simplification; use defstruct.
9678 (isearch-mode-map): Dense maps now work like sparse ones.
9679 (isearch--state): New defstruct.
9680 (isearch-string-state, isearch-message-state, isearch-point-state)
9681 (isearch-success-state, isearch-forward-state)
9682 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9683 (isearch-wrapped-state, isearch-barrier-state)
9684 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9685 replaced by defstruct's accessors.
9686 (isearch--set-state): Rename from isearch-top-state and change
9687 calling convention.
9688 (isearch-push-state): Use new isearch--get-state.
9689 (isearch-toggle-word): Disable regexp when enabling word.
9690 (isearch-message-prefix): Remove unused arg _c-q-hack.
9691 (isearch-message-suffix): Remove unused arg _ellipsis.
9692
9693 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9694
9695 * simple.el (list-processes--refresh): For a server use :host or
9696 :local as the address.
9697 (list-processes): Doc fix.
9698
9699 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9700
9701 * lisp/mpc.el: Support password in host argument.
9702 (mpc--proc-connect): Parse and use new password element.
9703 Set mpc-proc variable instead of returning process.
9704 (mpc-proc): Adjust accordingly.
9705
9706 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9707
9708 * whitespace.el (whitespace-display-mappings): Use Unicode
9709 codepoints, instead of emacs-mule codepoints. See
9710 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9711 for the details.
9712
9713 * files.el (file-truename): Don't skip symlink-chasing part on
9714 windows-nt. Incorporate the resolution of 8+3 short aliases on
9715 Windows into the loop that recursively chases symlinks.
9716 Compare directory and its parent case-insensitively on MS-Windows and
9717 MS-DOS.
9718
9719 2012-08-03 Chong Yidong <cyd@gnu.org>
9720
9721 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9722
9723 * sort.el (sort-regexp-fields): Doc fix.
9724
9725 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9726
9727 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9728 labels regex position point at the expected place.
9729
9730 2012-08-03 MON KEY <monkey@sandpframing.com>
9731
9732 * net/imap.el (imap-interactive-login, imap-authenticate)
9733 (imap-mailbox-lsub, imap-mailbox-list)
9734 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9735 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9736 (imap-parse-response): Doc fix.
9737
9738 2012-08-03 João Távora <joaotavora@gmail.com>
9739
9740 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9741 if sexp scanning does not move point (Bug#5734).
9742
9743 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9744
9745 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9746 Add listings, minted, and ctable packages.
9747 (reftex-label-alist-builtin): Move listings, minted, and ctable
9748 entries before LaTeX.
9749 (reftex-label-alist): Docfix.
9750
9751 2012-08-02 Bastien Guerry <bzg@gnu.org>
9752
9753 * replace.el (occur): Fix docstring (bug#12122).
9754
9755 2012-08-02 Glenn Morris <rgm@gnu.org>
9756
9757 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9758
9759 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9760
9761 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9762 * international/mule-cmds.el: Create
9763 inactivate-current-input-method-function as an obsolete alias for
9764 deactivate-current-input-method-function. See Katsumi Yamaoka in
9765 <http://bugs.gnu.org/10150#46>.
9766
9767 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9768
9769 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9770 of nested `if's.
9771
9772 2012-08-01 Glenn Morris <rgm@gnu.org>
9773
9774 * progmodes/autoconf.el (autoconf-definition-regexp):
9775 Add AH_TEMPLATE, adjust submatch numbering.
9776 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9777 (autoconf-current-defun-function): Update for above change.
9778 (autoconf-current-defun-function): First skip to end of current word.
9779
9780 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9781
9782 * calendar/cal-html.el (cal-html-insert-agenda-days):
9783 Fix typo. (Bug#12018)
9784
9785 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9786
9787 Shell processes: enhancements to startup and CEDET compatibility.
9788 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9789 (python-shell-make-comint): accept-process-output at startup.
9790 (run-python-internal): Set inferior-python-mode-hook to nil.
9791 (python-shell-internal-get-or-create-process): call sit-for.
9792 (python-preoutput-result): Add obsolete alias.
9793 (python-shell-internal-send-string): Use it.
9794 (python-shell-send-setup-code): Remove call to
9795 accept-process-output.
9796
9797 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9798
9799 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9800 (Bug#12108)
9801
9802 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9803
9804 * calc-mode.el (calc-basic-simplification-mode): Rename from
9805 `calc-limited-simplification-mode'.
9806 (calc-alg-simplification-mode): New function.
9807 (calc-set-simplify-mode): Adjust message.
9808
9809 * calc.el (calc-set-mode-line): Adjust mode line display for
9810 basic simplification mode.
9811
9812 * calc-help.el (calc-m-prefix-help): Update help message.
9813
9814 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9815 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9816
9817 2012-07-31 Bastien Guerry <bzg@gnu.org>
9818
9819 * man.el (man): Fix comment. (bug#12101)
9820
9821 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9822
9823 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9824 Don't return a non-nil value when no suitable buffer was found.
9825
9826 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9827
9828 * progmodes/python.el (run-python-internal): Disable font lock for
9829 internal shells.
9830
9831 2012-07-30 Stefan Merten <smerten@oekonux.de>
9832
9833 * textmodes/rst.el: Silence `checkdoc-ispell'.
9834 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9835 (rst-official-version, rst-official-cvs-rev)
9836 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9837 (rst-mode-map): New key binding.
9838
9839 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9840
9841 Update .PHONY listings in makefiles.
9842 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9843 autoloads, update-subdirs, updates, bzr-update, update-authors,
9844 compile-onefile, compile-calc, backup-compiled-files,
9845 compile-after-backup, compile-one-process, mh-autoloads,
9846 bootstrap-clean, distclean, maintainer-clean.
9847
9848 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9849
9850 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9851 (calc-set-mode-line): Don't display "AlgSimp ".
9852
9853 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9854 (calc-lim-simplify-mode): New function.
9855 (calc-set-simplify-mode): Default to 'alg.
9856 (calc-default-simplify-mode): Make algebraic simplifications
9857 the default.
9858
9859 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9860 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9861
9862 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9863 indicate new simplification modes.
9864
9865 * calc/README: Mention new default simplification mode.
9866
9867 * calc/calc.el (math-normalize-error): New variable.
9868 (math-normalize): Set `math-normalize-error' to t
9869 when there's an error.
9870
9871 * calc/calc-alg.el (math-simplify): Don't simplify when
9872 `math-normalize' returns an error.
9873
9874 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9875
9876 * international/mule-cmds.el (set-locale-environment): Revert last
9877 change, since display-graphic-p returns nil when this function is
9878 called during startup. Instead...
9879
9880 * term/w32console.el (terminal-init-w32console): ...setup the
9881 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9882
9883 2012-07-29 Juri Linkov <juri@jurta.org>
9884
9885 * simple.el (goto-line): Don't display default line number in the
9886 prompt because it should be displayed by `read-number' (bug#9952).
9887 Add the current line number to the defaults of `goto-line' to
9888 allow its easier modification by users with `M-n' (bug#9201).
9889
9890 * subr.el (read-number): Support multiple default values like in
9891 other minibuffer reading functions. Replace `read' with
9892 `string-to-number' for consistency with `number-to-string'.
9893
9894 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9895
9896 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9897 * emulation/viper-init.el (viper-deactivate-input-method-action):
9898 Rename from viper-inactivate-input-method-action.
9899 (viper-deactivate-input-method):
9900 Rename from viper-inactivate-input-method.
9901 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9902 * international/mule-cmds.el (deactivate-input-method):
9903 Rename from inactivate-input-method.
9904 Also run input-method-deactivate-hook.
9905 (deactivate-current-input-method-function):
9906 Rename from inactivate-current-input-method-function.
9907 (input-method-deactivate-hook): New hook.
9908 (input-method-inactivate-hook): Mark obsolete.
9909 (inactivate-input-method): Mark obsolete.
9910
9911 * international/quail.el (quail-activate):
9912 Also run quail-deactivate-hook.
9913 (quail-deactivate): Rename from quail-inactivate.
9914 * international/robin.el (robin-activate):
9915 Also run robin-deactivate-hook.
9916 (robin-deactivate): Rename from robin-inactivate.
9917
9918 2012-07-29 Chong Yidong <cyd@gnu.org>
9919
9920 * simple.el (indicate-copied-region): New function.
9921 (kill-ring-save): Split off from here.
9922
9923 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9924 (kill-rectangle): Set deactivate-mark to t on read-only error.
9925
9926 * register.el (copy-to-register, copy-rectangle-to-register):
9927 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9928 (append-to-register, prepend-to-register): Call indicate-copied-region.
9929
9930 2012-07-29 Juri Linkov <juri@jurta.org>
9931
9932 * simple.el (async-shell-command-buffer): New defcustom.
9933 (shell-command): Use it. (Bug#4719)
9934
9935 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9936
9937 * international/mule-cmds.el (set-locale-environment): In a
9938 console session on MS-Windows, set up keyboard and terminal
9939 encoding from the OEM codepage, not the ANSI codepage.
9940 (Bug#12055)
9941
9942 2012-07-28 Chong Yidong <cyd@gnu.org>
9943
9944 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9945 gdb-get-location.
9946
9947 2012-07-28 Leo Liu <sdl.web@gmail.com>
9948
9949 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9950 the alist (bug#12029).
9951
9952 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9953
9954 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9955 (compile-always, compile-first)
9956 ($(lisp)/calendar/cal-loaddefs.el)
9957 ($(lisp)/calendar/diary-loaddefs.el)
9958 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9959 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9960 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9961 instead of on update-subdirs.
9962 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9963
9964 2012-07-28 Chong Yidong <cyd@gnu.org>
9965
9966 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9967 directory if vc-deduce-backend returns nil (Bug#7350).
9968
9969 * simple.el (delete-trailing-lines): New option.
9970 (delete-trailing-whitespace): Obey it (Bug#11879).
9971
9972 2012-07-28 David Engster <deng@randomsample.de>
9973
9974 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9975 Explanation of new 'symbol-qnames feature in doc-strings.
9976 (xml-maybe-do-ns): Return expanded names as plain symbols if
9977 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9978 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9979
9980 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9981
9982 Consistent completion in inferior python with emacs -nw.
9983 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9984 binding in inferior-python-mode-map with "\t".
9985 (python-shell-completion-complete-at-point)
9986 (python-completion-complete-at-point): Remove interactive spec.
9987
9988 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9989
9990 * calc/calccomp.el (math-compose-expr): Undo previous change.
9991
9992 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9993
9994 * progmodes/python.el (python-mode-map): Add keybinding for
9995 run-python.
9996 (python-shell-make-comint): Fix pop-to-buffer call.
9997 (run-python): Autoload. New arg SHOW.
9998 (python-shell-get-or-create-process): Do not pop python process
9999 buffer.
10000
10001 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10002
10003 * notifications.el (notifications-on-action-signal)
10004 (notifications-on-closed-signal): Use also the bus address for the map.
10005 (notifications-notify, notifications-close-notification)
10006 (notifications-get-capabilities): Add optional argument BUS.
10007
10008 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10009
10010 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10011 Add support for the lstlisting and minted environments, and for the
10012 ctable macro.
10013 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10014 labels written in keyvals syntax.
10015
10016 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10017
10018 * calc/calccomp.el (math-compose-expr): Use parentheses when
10019 there is a product in the denominator of a fraction.
10020
10021 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10022
10023 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10024 ($(lisp)/calendar/diary-loaddefs.el)
10025 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10026 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10027 Fixes failures in parallel bootstrap because subdirs.el is being
10028 rewritten while the autoload files are built at the same time,
10029 which needs to load subdirs.el.
10030
10031 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10032
10033 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10034 (mouse-drag-line): Don't exit tracking when a switch-frame or
10035 switch-window event occurs (Bug#12006).
10036
10037 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10038
10039 * mouse.el (popup-menu): Fix last change.
10040
10041 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 Autoload from Lisp with more care. Follow aliases when looking for
10044 function properties.
10045 * subr.el (autoloadp): New function.
10046 (symbol-file): Use it.
10047 (function-get): New function.
10048 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10049 autoload-do-load.
10050 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10051 (lisp-indent-function):
10052 * emacs-lisp/gv.el (gv-get):
10053 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10054 * emacs-lisp/byte-opt.el (byte-optimize-form):
10055 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10056 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10057 Use function-get.
10058 * emacs-lisp/cl.el: Don't propagate function properties any more.
10059
10060 * speedbar.el (speedbar-add-localized-speedbar-support):
10061 * emacs-lisp/disass.el (disassemble-internal):
10062 * desktop.el (desktop-load-file):
10063 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10064 (describe-function-1):
10065 * emacs-lisp/find-func.el (find-function-noselect):
10066 * emacs-lisp/elp.el (elp-instrument-function):
10067 * emacs-lisp/advice.el (ad-has-proper-definition):
10068 * apropos.el (apropos-safe-documentation, apropos-macrop):
10069 * emacs-lisp/debug.el (debug-on-entry):
10070 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10071 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10072 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10073
10074 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10075
10076 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10077 function, not an obsolete variable (Bug#12046).
10078
10079 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10080
10081 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10082
10083 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10084
10085 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10086 window only if it is still live (Bug#12034).
10087
10088 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10089
10090 * subr.el (redirect-frame-focus): Add advertised calling
10091 convention (Bug#12030).
10092
10093 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10094
10095 Prefer typical American spelling for "acknowledgment".
10096 * vc/add-log.el (change-log-acknowledgment): Rename from
10097 change-log-acknowledgement, with an alias for the old name.
10098
10099 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10100
10101 * calc-alg.el (math-simplify-divide): Don't cross multiply
10102 in an equation when the lhs is a variable.
10103
10104 2012-07-24 Julien Danjou <julien@danjou.info>
10105
10106 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10107 Remove, unused.
10108
10109 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10110
10111 * startup.el (command-line): Don't display an empty user name in
10112 the error message about non-existent home directory, when
10113 init-file-user was set to an empty string. See
10114 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10115 for the details and context.
10116
10117 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10118
10119 * ses.el (ses-cell-formula-aset): New macro.
10120 (ses-cell-references-aset): New macro.
10121 (ses-cell-p): New function.
10122 (ses-rename-cell): Do no longer rely on complex operations like
10123 ses-cell-set-formula or ses-set-cell to change the cell and handle
10124 the undo at the same time, but rather use lower level new macros
10125 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10126 the undo directly. Refresh the mode line.
10127
10128 2012-07-21 Leo Liu <sdl.web@gmail.com>
10129
10130 * progmodes/cc-cmds.el (c-defun-name):
10131 Use match-string-no-properties instead for consistency.
10132
10133 2012-07-20 Leo Liu <sdl.web@gmail.com>
10134
10135 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10136 (Bug#7879)
10137
10138 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10139
10140 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10143 * progmodes/bug-reference.el, misearch.el: Provide themselves
10144 (bug#11915).
10145
10146 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10147 of narrowed buffer (bug#11966).
10148
10149 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10150
10151 * ses.el (ses-rename-cell): Set new name also in reference list of
10152 cells of which the renamed cell depends.
10153
10154 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10155
10156 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10157 to check whether menu-bar is shown or not. If not shown,
10158 show the menu-bar as a popup menu instead of using tmm.
10159 * mouse.el (popup-menu): Accept `point' as `position' argument.
10160
10161 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10162
10163 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10164 up inside string symbol literal (bug#11923).
10165
10166 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10167
10168 * startup.el (fancy-startup-text): Read the whole tutorial, not
10169 just its first 256 bytes. Prevents gibberish in display of the
10170 tutorial title.
10171
10172 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10173
10174 Drop idle buffer compaction due to an absence of the
10175 proved efficiency.
10176 * compact.el: Remove.
10177
10178 2012-07-19 Sam Steingold <sds@gnu.org>
10179
10180 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10181 vc-bzr-pull & vc-bzr-merge-branch.
10182 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10183 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10184 for consistency with compilation-error-regexp-alist.
10185 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10186 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10187 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10188 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10189
10190 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10191
10192 * emacs-lisp/chart.el: Use lexical-binding.
10193 (chart-emacs-storage): Don't hardcode the list of entries.
10194
10195 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10196
10197 Next round of tweaks caused by Fgarbage_collect changes.
10198 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10199
10200 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10201
10202 Compact buffers when idle.
10203 * compact.el: New file.
10204
10205 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * subr.el (eventp): Presume that if it looks vaguely like an event,
10208 it's an event (bug#10190).
10209
10210 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10211
10212 Enhancements to ppss related code (thanks Stefan).
10213 * progmodes/python.el (python-indent-context)
10214 (python-indent-calculate-indentation, python-indent-dedent-line)
10215 (python-indent-electric-colon, python-nav-forward-block)
10216 (python-mode-abbrev-table)
10217 (python-info-assignment-continuation-line-p): Simplify checks
10218 for ppss context.
10219 (python-info-continuation-line-p): Cleanup.
10220 (python-info-ppss-context): Do not catch 'quote.
10221 (python-info-ppss-context-type)
10222 (python-info-ppss-comment-or-string-p): Simplify.
10223
10224 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10225
10226 * progmodes/python.el: Enhancements to eldoc support.
10227 (python-info-current-symbol): New function.
10228 (python-eldoc-at-point): Use python-info-current-symbol.
10229 (python-info-current-defun): Fix cornercase on first defun scan.
10230 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10231 and signal error when no inferior python process is available.
10232
10233 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10234
10235 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10236 assume it's always t.
10237 (vc-git-registered): Remove caching, the function is only called
10238 once.
10239 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10240
10241 2012-07-18 Chong Yidong <cyd@gnu.org>
10242
10243 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10244
10245 * simple.el (count-words): Report on narrowing (Bug#9959).
10246
10247 * bindings.el: Bind M-= to count-words.
10248
10249 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10250
10251 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10252
10253 * progmodes/sh-script.el (sh-imenu-generic-expression):
10254 Capture a function with `function' keyword and without parentheses
10255 like "function FOO" (bug#11856).
10256
10257 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10258
10259 * window.el (split-window-sensibly): Make WINDOW argument
10260 optional.
10261
10262 2012-07-18 Chong Yidong <cyd@gnu.org>
10263
10264 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10265
10266 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10267 and make C-x 8 RET exit isearch (Bug#11439).
10268
10269 * international/iso-transl.el: Move isearch-mode-map key
10270 definitions to isearch.el.
10271
10272 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10275 (eieio-defclass): Use gv-define-setter when possible.
10276
10277 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10278
10279 Reflect recent changes in Fgarbage_collect.
10280 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10281 reflect new format of data returned by Fgarbage_collect.
10282
10283 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10284
10285 New utility functions + python-info-ppss-context fix (Bug#11910).
10286 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10287 (python-info-ppss-comment-or-string-p): New functions.
10288 (python-info-ppss-context): Small fix for string check.
10289
10290 2012-07-17 Juri Linkov <juri@jurta.org>
10291
10292 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10293 (dired-do-async-shell-command): Don't add `*' at the end of the
10294 command (Bug#11815).
10295 (dired-do-shell-command): Doc fix.
10296 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10297 Join the individual commands using either "&" or ";" as the
10298 separator depending on the values of these trailing characters.
10299 At the end re-add the trailing "&". (Bug#10598)
10300
10301 * simple.el (async-shell-command): Sync the interactive spec with
10302 `shell-command'. Doc fix.
10303 (shell-command): Doc fix.
10304
10305 2012-07-17 Juri Linkov <juri@jurta.org>
10306
10307 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10308
10309 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10310
10311 Final renames and doc fixes for movement commands (bug#11899).
10312 * progmodes/python.el (python-nav-beginning-of-statement):
10313 Rename from python-nav-statement-start.
10314 (python-nav-end-of-statement): Rename from
10315 python-nav-statement-end.
10316 (python-nav-beginning-of-block): Rename from
10317 python-nav-block-start.
10318 (python-nav-end-of-block): Rename from python-nav-block-end.
10319
10320 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10321
10322 * progmodes/python.el (python-shell-send-string-no-output):
10323 Allow accept-process-output to quit, keeping shell process ready for
10324 future interactions (Bug#11868).
10325
10326 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10329
10330 * emacs-lisp/elint.el (elint-find-args-in-code):
10331 Use help-function-arglist, so as to handle lexical byte-code.
10332
10333 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10334 change (bug#11826).
10335
10336 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10339 Avoid spuriously marking the buffer as modified because of c-is-sws.
10340
10341 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10342 as not-a-comment (bug#11946).
10343
10344 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10345 for uninterned vars.
10346
10347 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10348 Use read-event since we don't really want to read chars but bytes.
10349
10350 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10351 $$..$$ but also $..$ using regexps (bug#11953).
10352 Use tex-verbatim for \url and \path.
10353 (tex-font-lock-keywords): Define as defconst like the others.
10354 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10355
10356 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10357
10358 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10359 alias for insert-char.
10360
10361 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10362
10363 * progmodes/python.el: Simplified imenu implementation.
10364 (python-nav-jump-to-defun): Remove command.
10365 (python-mode-map): Use `imenu' instead.
10366 (python-nav-list-defun-positions-cache)
10367 (python-imenu-include-defun-type, python-imenu-make-tree)
10368 (python-imenu-subtree-root-label, python-imenu-index-alist):
10369 Remove vars.
10370 (python-nav-list-defun-positions, python-nav-read-defun)
10371 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10372 (python-imenu-make-tree, python-imenu-create-index):
10373 Remove functions.
10374 (python-mode): Update to interact with imenu by setting
10375 `imenu-extract-index-name-function' only.
10376
10377 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10378
10379 * progmodes/python.el: Enhancements to navigation commands.
10380 (python-nav-backward-sentence)
10381 (python-nav-forward-sentence): Remove.
10382 (python-nav-backward-statement, python-nav-forward-statement)
10383 (python-nav-statement-start, python-nav-statement-end)
10384 (python-nav-backward-block, python-nav-forward-block)
10385 (python-nav-block-start, python-nav-block-end)
10386 (python-nav-forward-sexp-function)
10387 (python-info-current-line-comment-p)
10388 (python-info-current-line-empty-p): New functions.
10389 (python-indent-context): Use `python-nav-statement-start'.
10390
10391 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10392
10393 * eshell/em-ls.el (eshell/ls): Use `apply'.
10394
10395 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10396 multi-hops, instead of Tramp internals.
10397
10398 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10399
10400 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10401 when F1 and F2 are located on different hosts.
10402
10403 2012-07-14 Chong Yidong <cyd@gnu.org>
10404
10405 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10406 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10407 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10408 (xterm-mouse--read-event-sequence-1000)
10409 (xterm-mouse--read-event-sequence-1006): New functions. For old
10410 mouse protocol, handle M-mouse-X events correctly.
10411 (xterm-mouse-event): New arg specifying mouse protocol.
10412 (turn-on-xterm-mouse-tracking-on-terminal)
10413 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10414 sequence to toggle extended coordinates on newer XTerms.
10415 This appears to be harmless on terminals which do not support this.
10416
10417 2012-07-14 Leo Liu <sdl.web@gmail.com>
10418
10419 Add fringe bitmap indicators for flymake. (Bug#11253)
10420 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10421 (flymake-make-overlay): New arg BITMAP.
10422 (flymake-error-bitmap, flymake-warning-bitmap)
10423 (flymake-fringe-indicator-position): New user variables.
10424
10425 * fringe.el: New bitmap exclamation-mark.
10426
10427 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10428
10429 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10430 also (Bug#7879).
10431
10432 2012-07-14 Chong Yidong <cyd@gnu.org>
10433
10434 * electric.el (electric-pair-post-self-insert-function): Fix pair
10435 insertion in empty-region case (Bug#11520).
10436
10437 2012-07-14 Chong Yidong <cyd@gnu.org>
10438
10439 * bindings.el: Consolidate ctl-x-r-map bindings.
10440 Bind copy-rectangle-as-kill to C-x r w.
10441
10442 * rect.el, register.el: Move bindings to bindings.el.
10443
10444 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10445
10446 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10447
10448 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10449
10450 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10451
10452 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10453
10454 * bindings.el (top): Use `mapc' instead of `mapcar'.
10455
10456 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10457
10458 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10459
10460 * progmodes/sql.el (sql-comint): Suppress the check for program on
10461 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10462 (Bug#11908)
10463
10464 2012-07-13 Chong Yidong <cyd@gnu.org>
10465
10466 * bindings.el: Assign a non-nil permanent-local property to
10467 per-buffer variables which lack a default value (Bug#11930).
10468
10469 * help-fns.el (describe-variable): In the "automatically becomes
10470 local" notice, take note of permanent-local variables.
10471
10472 2012-07-13 Chong Yidong <cyd@gnu.org>
10473
10474 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10475 to allow printing the message when called from Lisp.
10476
10477 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10478 Remove toggle-read-only.
10479
10480 * bs.el (bs-toggle-readonly):
10481 * buff-menu.el (Buffer-menu-toggle-read-only):
10482 Remove with-no-warnings around toggle-read-only.
10483
10484 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10485 Remove with-no-warnings around toggle-read-only.
10486 (ffap-read-only, ffap-read-only-other-window)
10487 (ffap-read-only-other-frame): Callers changed.
10488
10489 * help-mode.el: Don't require view package.
10490 (help-mode-finish): Set buffer-read-only instead of calling
10491 toggle-read-only.
10492
10493 * bindings.el (mode-line-toggle-read-only):
10494 * dired.el (dired-toggle-read-only):
10495 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10496 with non-nil second arg.
10497
10498 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10499 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10500 directly.
10501
10502 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10503
10504 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10505 not incf.
10506
10507 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10508
10509 More CL cleanups and reduction of use of cl.el.
10510 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10511 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10512 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10513 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10514 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10515 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10516 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10517 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10518 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10519 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10520 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10521 * eshell/em-cmpl.el, eshell/em-banner.el:
10522 * calendar/parse-time.el: Use cl-lib.
10523 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10524 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10525 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10526 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10527 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10528 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10529 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10530 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10531 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10532 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10533 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10534 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10535 `lambda' rather than with `quote'.
10536 (eshell-do-opt): Adjust accordingly.
10537 (eshell-process-option): Simplify.
10538 * eshell/esh-var.el:
10539 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10540 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10541 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10542 to `pcase--dontcare'.
10543 * emacs-lisp/cl.el (labels): Mark obsolete.
10544 (cl--letf, letf): Move to cl-lib.
10545 (cl--letf*, letf*): Remove.
10546 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10547 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10548 (cl-progv): Rewrite.
10549 (cl--letf, cl-letf): Move from cl.el.
10550 (cl-letf*): New macro.
10551 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10552
10553 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10554
10555 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10556
10557 2012-07-11 Chong Yidong <cyd@gnu.org>
10558
10559 * vc/log-edit.el (log-edit-vc-backend): New variable.
10560 (log-edit): Doc fix.
10561
10562 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10563 argument of log-edit to set up all local variables.
10564 (vc-start-logentry): New optional arg specifying VC backend.
10565
10566 * vc/vc.el (vc-checkin): Use it.
10567 (vc-deduce-fileset): Handle Log Edit buffers.
10568 (vc-diff): Make first argument optional too.
10569
10570 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10571
10572 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10573
10574 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10575 command, just in case. The function is not needed anymore.
10576 (eshell-external-command): Do not call `eshell-remote-command'.
10577
10578 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10579
10580 Reduce use of (require 'cl).
10581 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10582 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10583 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10584 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10585 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10586 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10587 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10588 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10589 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10590 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10591 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10592 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10593 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10594 (byte-compile-unfold-bcf, byte-compile-check-variable):
10595 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10596 (byte-compile-nilconstp):
10597 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10598 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10599
10600 * emacs-lisp/gv.el (cond): Make it a valid place.
10601 (if): Simplify slightly.
10602
10603 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10604 (pcase--self-quoting-p): New function.
10605 (pcase--u1): Use it.
10606
10607 2012-07-10 Glenn Morris <rgm@gnu.org>
10608
10609 * emacs-lisp/authors.el (authors-fixed-entries):
10610 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10611
10612 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10613
10614 Rename configure.in to configure.ac (Bug#11603).
10615 * emacs-lisp/authors.el (authors-canonical-file-name):
10616 * progmodes/autoconf.el (autoconf-mode):
10617 Prefer configure.ac to configure.in.
10618
10619 2012-07-08 Chong Yidong <cyd@gnu.org>
10620
10621 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10622 Implement the mouse-1-click-follows-link handling properly.
10623
10624 * info.el (Info-link-keymap): Use follow-link mechanism for
10625 header-line links (Bug#374).
10626
10627 * simple.el (deactivate-mark): Do not set the primary selection
10628 if another program has acquired it (Bug#11772).
10629
10630 2012-07-07 Kevin Ryde <user42@zip.com.au>
10631
10632 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10633 (woman-decode-region): Replace escaped-escapes without destroying
10634 bold or underline (Bug#11552).
10635 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10636
10637 2012-07-07 Chong Yidong <cyd@gnu.org>
10638
10639 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10640 (interprogram-cut-function, interprogram-paste-function):
10641 Mention that we typically mean the clipboard.
10642
10643 2012-07-06 Glenn Morris <rgm@gnu.org>
10644
10645 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10646
10647 * files.el (toggle-read-only): Restrict message to interactive use.
10648
10649 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10650
10651 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10652
10653 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10654
10655 2012-07-06 Glenn Morris <rgm@gnu.org>
10656
10657 * Makefile.in (compile-one-process): Rename from "recompile".
10658
10659 * Makefile.in (bzr-update): "compile" is the same as "recompile
10660 autoloads", but parallelizable, so use that instead.
10661
10662 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10663
10664 * window.el (quit-window): Always restore window height when
10665 it's saved in quit-restore parameter (Bug#11810).
10666
10667 2012-07-06 Glenn Morris <rgm@gnu.org>
10668
10669 * simple.el (kill-whole-line): Doc tweak.
10670
10671 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10672
10673 * files.el (file-relative-name): Compare file names
10674 case-insensitively if on MS-Windows or MS-DOS, or if
10675 read-file-name-completion-ignore-case is non-nil. Don't use
10676 case-fold-search for this purpose. (Bug#11827)
10677
10678 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10679
10680 * calendar/cal-dst.el (calendar-current-time-zone):
10681 Return calendar-current-time-zone-cache if non-nil.
10682
10683 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10684 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10685
10686 * calendar/cal-dst.el (calendar-current-time-zone):
10687 Return calendar-current-time-zone-cache if non-nil.
10688
10689 2012-07-06 Glenn Morris <rgm@gnu.org>
10690
10691 * Makefile.in (cvs-update): Remove old alias.
10692
10693 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10694
10695 Sync with Tramp 2.2.6-pre.
10696
10697 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10698 compatible declaration.
10699
10700 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10701 Protect `list-load-path-shadows' call.
10702
10703 * net/tramp-compat.el (top): Require packages, which aren't
10704 autoloaded anymore for XEmacs. Protect call of
10705 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10706 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10707 it hurts at least for SXEmacs.
10708 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10709 standard-value for `temporary-file-directory'.
10710
10711 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10712 Redirect stderr to /dev/null.
10713 (tramp-sh-handle-write-region): uid and gid can be floats.
10714 Reported by Russell Sim <russell.sim@gmail.com>.
10715 (tramp-sh-handle-vc-registered): Hide errors.
10716 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10717 and `start-file-process'.
10718 (tramp-maybe-open-connection): Check also whether `non-essential'
10719 is bound.
10720
10721 2012-07-04 Chong Yidong <cyd@gnu.org>
10722
10723 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10724 (xml-parse-tag): Likewise, and avoid changing entity tables.
10725 (xml-syntax-table): Define from scratch, making sure not to give
10726 x2000 and other Unicode spaces whitespace syntax, since those are
10727 not spaces in XML.
10728 (xml-parse-fragment): Delete unused function.
10729 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10730 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10731 (xml-entity-ref, xml-pe-reference-re)
10732 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10733 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10734 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10735 (xml-entity-value-re): Use syntax references in regexps where
10736 possible; no need to define inside a let-binding.
10737 (xml-parse-dtd): Use xml-pe-reference-re.
10738 (xml-entity-or-char-ref-re): New defconst.
10739 (xml-parse-string, xml-substitute-special): Use it.
10740
10741 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10744 (find-file--read-only): New function.
10745 (find-file-read-only, find-file-read-only-other-window)
10746 (find-file-read-only-other-frame): Use it.
10747 (insert-file-contents-literally): Don't `fset'.
10748 (get-free-disk-space): Use locate-dominating-file.
10749
10750 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10751 function is already compiled.
10752
10753 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10754
10755 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10756
10757 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10758 files on the same host.
10759
10760 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10761
10762 * help-fns.el (describe-function-1): Only call
10763 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10764
10765 2012-07-03 Chong Yidong <cyd@gnu.org>
10766
10767 * xml.el: Protect parser against XML bombs.
10768 (xml-entity-expansion-limit): New variable.
10769 (xml-parse-string, xml-substitute-special): Use it.
10770 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10771
10772 2012-07-03 Glenn Morris <rgm@gnu.org>
10773
10774 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10775 Allow linking to specific messages in debbugs reports (eg 123#5).
10776
10777 2012-07-02 Chong Yidong <cyd@gnu.org>
10778
10779 * xml.el: Fix entity and character reference expansion, allowing
10780 them to expand into markup as per XML spec.
10781 (xml-default-ns): New variable.
10782 (xml-entity-alist): Use XML spec definitions for lt and amp.
10783 (xml-parse-region): Make first two arguments optional.
10784 Discard text properties.
10785 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10786 All callers changed.
10787 (xml-parse-tag): Call xml-parse-tag-1. For backward
10788 compatibility, this function should not modify buffer contents.
10789 (xml-parse-tag-1): Fix opening-tag regexp.
10790 (xml-parse-string): Rewrite, handling entity and character
10791 references properly.
10792 (xml--entity-replacement-text): Signal an error if a parameter
10793 entity is undefined.
10794
10795 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10796
10797 * comint.el (comint-output-filter): Filter out repeated prompts.
10798
10799 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10800 and file-name-absolute-p.
10801 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10802 internal calls.
10803
10804 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10805
10806 Spelling fixes.
10807 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10808 Rename from byte-compile--refiy-function. All uses changed.
10809
10810 2012-07-01 Chong Yidong <cyd@gnu.org>
10811
10812 * xml.el (xml--parse-buffer): New function. Move most of
10813 xml-parse-region here.
10814 (xml-parse-region): Copy region into a temporary buffer, since
10815 parameter entity substitution requires changing buffer contents.
10816 Use xml--parse-buffer.
10817 (xml-parse-file): Use xml--parse-buffer.
10818 (xml-parse-dtd): Make parameter entity substitution work right.
10819 Use proper regexps for ELEMENT declarations (Bug#7172).
10820
10821 2012-06-30 Glenn Morris <rgm@gnu.org>
10822
10823 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10824
10825 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10826 Remove outdated and unnecessary dbus declarations.
10827
10828 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10829
10830 * emacs-lisp/timer.el (timer-until): Subtract results of
10831 float-time, instead of taking float-time of the result of
10832 time-subtract, since float-time signals an error for negative time
10833 arguments.
10834
10835 2012-06-30 Chong Yidong <cyd@gnu.org>
10836
10837 * xml.el (xml-*-re): Convert defvars into defconsts, and
10838 eval-and-compile them so eval-and-compile works on derivatives.
10839 (xml--entity-replacement-text): Use eval-and-comple.
10840
10841 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10842
10843 * vc/vc-git.el (vc-git-registered): Use cache property
10844 `git-registered'.
10845 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10846 `vc-git-working-revision' in order to benefit from the cache.
10847 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10848
10849 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10850
10851 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10852 removed (likely outside Emacs). (Bug#11757)
10853
10854 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * emacs-lisp/cl-lib.el: Require macroexp.
10857
10858 2012-06-30 Chong Yidong <cyd@gnu.org>
10859
10860 * xml.el: Implement XML parameter entities.
10861 (xml-parameter-entity-alist): New variable.
10862 (xml-parse-region, xml-parse-fragment): Preserve previous values
10863 of xml-entity-alist and xml-parameter-entity-alist, so that
10864 repeated calls on different documents do not change them.
10865 (xml-parse-tag): Fix doctype regexp.
10866 (xml--entity-replacement-text): New function.
10867 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10868 properly requires url retrieval which is unimplemented.
10869 (xml-escape-string): Doc fix.
10870
10871 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10874
10875 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10876
10877 * fringe.el (fringe-mode): Doc fix.
10878
10879 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10880
10881 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10882 is non-nil.
10883 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10884 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10885
10886 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10887
10888 * calendar/cal-dst.el (calendar-current-time-zone):
10889 Return calendar-current-time-zone-cache if non-nil.
10890
10891 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10892
10893 * progmodes/which-func.el (which-func-format):
10894 Add mouse-face. (Bug#11698)
10895
10896 2012-06-29 Leo Liu <sdl.web@gmail.com>
10897
10898 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10899
10900 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10901
10902 * minibuffer.el (minibuffer-confirm-exit-commands):
10903 Add completion-at-point (bug#11725).
10904
10905 2012-06-29 Glenn Morris <rgm@gnu.org>
10906
10907 * progmodes/f90.el (f90-font-lock-keywords-2):
10908 Add some preprocessor elements. (Bug#10499)
10909
10910 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10911
10912 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10913 Use syntax-propertize (bug#11739).
10914
10915 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10916
10917 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10918
10919 2012-06-28 Julien Danjou <julien@danjou.info>
10920
10921 * term.el (term-handle-colors-array): Use a set of new faces to
10922 color the terminal. Also uses :inverse-video property.
10923 (term-default-fg-color): Set to nil by default, deprecate in favor
10924 of `term-face'.
10925 (term-default-bg-color): Set to nil by default, deprecate in favor
10926 of `term-face'.
10927 (term-current-face): Use `term-face' by default.
10928 (term-bold-attribute): Variable deleted.
10929
10930 2012-06-28 Glenn Morris <rgm@gnu.org>
10931
10932 * simple.el (completion-list-mode-finish):
10933 Don't use toggle-read-only. (Since completion-list-mode has
10934 a special mode-class, it wasn't doing anything extra anyway.)
10935
10936 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 Make inlining of other-mode interpreted functions work (bug#11799).
10939 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10940 (byte-compile): Use it to fix compilation of lexical-binding closures.
10941 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10942 function, if needed.
10943
10944 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10945
10946 * help-mode.el (help-make-xrefs): Don't just withstand
10947 cyclic-variable-indirection but any error in documentation-property.
10948
10949 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10950 memory use.
10951 * bindings.el (bindings--define-key): New function.
10952 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10953 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10954 * bindings.el: Use it to purecopy define-key bindings.
10955
10956 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10957
10958 * emacs-lisp/cl.el (flet): Mark obsolete.
10959 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10960 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10961 * progmodes/js.el (js-c-fill-paragraph):
10962 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10963 (ebrowse-switch-member-buffer-to-derived-class):
10964 * play/5x5.el (5x5-solver): Use cl-flet.
10965
10966 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10967 (cl--symbol-function): New macro.
10968 (cl--letf, cl--letf*): Use it.
10969
10970 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10971 Strip "toggle-" if any.
10972
10973 2012-06-27 Glenn Morris <rgm@gnu.org>
10974
10975 * info.el (Info-default-directory-list): Move here from paths.el.
10976 * paths.el: Remove file, which is now empty.
10977 * loadup.el: No longer load "paths".
10978
10979 * custom.el (custom-initialize-delay): Doc fix.
10980
10981 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10982 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10983 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10984 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10985 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10986 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10987 * eshell/eshell.el (eshell-defgroup): Remove alias.
10988
10989 2012-06-27 Chong Yidong <cyd@gnu.org>
10990
10991 * help.el (help-enable-auto-load): New variable.
10992
10993 * help-fns.el (help-fns--autoloaded-p): New function.
10994 (describe-function-1): Refer to a function as "autoloaded" if it
10995 was autoloaded at any time in the past. Perform autoloading if
10996 help-enable-auto-load is non-nil.
10997
10998 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10999
11000 * makefile.w32-in (compile, compile-always): Depend on
11001 update-subdirs, not on subdirs.el. Otherwise, several different
11002 sub-targets of 'bootstrap' running in parallel could
11003 simultaneously write to subdirs.el, producing a garbled file.
11004
11005 2012-06-26 Sam Steingold <sds@gnu.org>
11006
11007 * files.el (file-name-base): New convenience function.
11008 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11009 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11010 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11011 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11012 * textmodes/ispell.el, textmodes/reftex-ref.el:
11013 * textmodes/tex-mode.el: Use it.
11014 Did not touch cedet and org because they are maintained elsewhere.
11015
11016 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11017
11018 * calendar/calendar.el (calendar-exit): Don't try to delete or
11019 iconify last frame. See:
11020 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11021
11022 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11023
11024 * server.el (server-process-filter): Remember dir in the
11025 process's `server-client-directory' properties.
11026
11027 2012-06-24 Chong Yidong <cyd@gnu.org>
11028
11029 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11030 non-tag text.
11031
11032 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11033
11034 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11035
11036 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * help-fns.el (describe-variable): Don't croak when doc is not found.
11039 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11040 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11041 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11042 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11043 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11044 ((lambda ..) ..).
11045 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11046
11047 2012-06-23 Chong Yidong <cyd@gnu.org>
11048
11049 * info.el (Info-mouse-follow-link): Accept symbol values of
11050 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11051 (Info-fontify-node): Use Info-link-keymap for all navigation
11052 buttons, with link-args property to perform the desired action.
11053 (Info-link-keymap): Doc fix.
11054 (Info-next-link-keymap, Info-prev-link-keymap)
11055 (Info-up-link-keymap): Delete now-unused keymaps.
11056
11057 2012-06-23 Chong Yidong <cyd@gnu.org>
11058
11059 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11060
11061 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11062 system abbrevs.
11063
11064 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11065
11066 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11067
11068 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11069 (bug#11719).
11070
11071 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11072 the requote function doesn't work properly (bug#11714).
11073
11074 2012-06-23 Glenn Morris <rgm@gnu.org>
11075
11076 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11077
11078 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11079
11080 Further GV/CL cleanups.
11081 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11082 gv-expander.
11083 (gv--defun-declaration): New function.
11084 (defun-declarations-alist): Use it.
11085 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11086 (gv-place): Autoload.
11087 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11088 original definition of dotimes and dolist.
11089 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11090 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11091 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11092 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11093 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11094 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11095 to the function's definition.
11096 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11097 * window.el:
11098 * files.el:
11099 * faces.el:
11100 * env.el: Don't use CL.
11101
11102 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11103
11104 Support higher-resolution time stamps (Bug#9000).
11105
11106 * calendar/time-date.el (with-decoded-time-value): New arg
11107 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11108 (encode-time-value): New optional arg PICO. New type 3.
11109 (time-to-seconds) [!float-time]: Support the new picoseconds
11110 component if it's used.
11111 (seconds-to-time, time-subtract, time-add):
11112 Support ps-resolution time stamps as well.
11113
11114 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11115 (timerp): Timer vectors now have length 9, not 8.
11116 (timer--time): Support new-style (4-part) time stamps.
11117 (timer-next-integral-multiple-of-time): Time stamps now have
11118 picosecond resolution, so take a bit more care about rounding.
11119 (timer-relative-time, timer-inc-time): New optional arg psecs.
11120 (timer-set-time-with-usecs): Set psecs to 0.
11121 (timer--activate): Check psecs component, too.
11122
11123 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11124
11125 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11128 Move the non-essential binding to the post/pre-command-hook where it is
11129 more obviously correct.
11130
11131 * subr.el (read-passwd): Don't use a history at all.
11132 * savehist.el (savehist-save): Remove password saved accidentally
11133 because of the above bug.
11134
11135 2012-06-22 Bastien Guerry <bzg@gnu.org>
11136
11137 * files.el (toggle-read-only): Display a message telling whether
11138 the buffer is read-only or not (bug#11726).
11139
11140 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11141
11142 * emacs-lisp/gv.el: New file.
11143 * subr.el (push, pop): Extend to generalized variables.
11144 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11145 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11146 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11147 gv-define-simple-setter, and gv-define-expander.
11148 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11149 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11150 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11151 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11152 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11153 gv-letplace.
11154 (cl-defstruct): Don't define setf-method any more.
11155 * emacs-lisp/cl.el (flet): Don't autoload.
11156 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11157 (define-setf-expander, defsetf, define-modify-macro)
11158 (cl-struct-setf-expander): Move from cl-lib.el.
11159 * emacs-lisp/syntax.el:
11160 * emacs-lisp/ewoc.el:
11161 * emacs-lisp/smie.el:
11162 * emacs-lisp/cconv.el:
11163 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11164 (timer--time): Use gv-define-simple-setter.
11165 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11166 to avoid coding-system problems in subr.el. Adjust all users.
11167 (macroexp--maxsize, macroexp-small-p): New functions.
11168 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11169 * scroll-bar.el (scroll-bar-mode):
11170 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11171 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11172 * winner.el (winner-configuration, winner-make-point-alist)
11173 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11174 * files.el (locate-file-completion-table): Avoid list*.
11175
11176 2012-06-22 Chong Yidong <cyd@gnu.org>
11177
11178 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11179 (dired-create-files): Doc fix (Bug#11329).
11180 (dired-do-copy): Doc fix (Bug#11334).
11181 (dired-mark-read-string): Doc fix (Bug#11553).
11182
11183 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11184 Doc fix (Bug#11326).
11185 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11186 (dired-dwim-target): Doc fix.
11187
11188 * wdired.el (wdired-mode): Doc fix.
11189
11190 2012-06-22 Glenn Morris <rgm@gnu.org>
11191
11192 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11193 (pcmpl-rpm-cache-stamp-file): New constant.
11194 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11195 (pcmpl-rpm-packages): Optionally cache list of packages.
11196
11197 * pcmpl-rpm.el (pcmpl-rpm): New group.
11198 (pcmpl-rpm-query-options): New option.
11199 (pcmpl-rpm-packages): No need to inline it.
11200 Use pcmpl-rpm-query-options.
11201
11202 * calendar/calendar.el (calendar-in-read-only-buffer):
11203 Avoid some needless mode changes.
11204
11205 2012-06-21 Chong Yidong <cyd@gnu.org>
11206
11207 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11208 (desktop-path): Remove . from the default value (Bug#10977).
11209 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11210
11211 2012-06-20 Chong Yidong <cyd@gnu.org>
11212
11213 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11214
11215 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11216
11217 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11218 (bug#11201).
11219
11220 2012-06-20 Chong Yidong <cyd@gnu.org>
11221
11222 * term.el (term-window-width): Handle the case of a missing right
11223 fringe (Bug#8837).
11224 (term-check-size): Use window-text-height (Bug#5445).
11225 (term-mode): Use define-derived-mode. Minor cleanups.
11226 Set font-lock-defaults (Bug#7692).
11227 (term-move-columns, term-insert-char, term-emulate-terminal)
11228 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11229
11230 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11231
11232 * net/ange-ftp.el (ange-ftp-get-passwd):
11233 Bind `enable-recursive-minibuffers'.
11234 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11235
11236 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11237
11238 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11239
11240 2012-06-19 Glenn Morris <rgm@gnu.org>
11241
11242 * progmodes/python.el (python-mode): Derive from prog-mode.
11243
11244 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11245
11246 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11247 (edt-user-menu-bar-update-buffers): New functions.
11248 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11249
11250 2012-06-19 Chong Yidong <cyd@gnu.org>
11251
11252 * subr.el (with-selected-window): Preserve the selected window's
11253 terminal's top-frame (Bug#4702).
11254
11255 * window.el (save-selected-window): Likewise.
11256
11257 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * progmodes/python.el (python-rx-constituents): Move backquote.
11260 (python-skeleton-define, python-define-auxiliary-skeleton):
11261 Use `declare'.
11262
11263 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11264
11265 * minibuffer.el (read-file-name-default): Revert the patch from
11266 2012-06-17.
11267
11268 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11271 (pcase--u1, pcase--q1): Don't use apply-partially.
11272
11273 2012-06-18 Glenn Morris <rgm@gnu.org>
11274
11275 * progmodes/python.el (python-proc, python-buffer)
11276 (python-send-receive, python-send-string): Fix obsolete versions.
11277
11278 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11279
11280 * window.el (special-display-p): Completely remove stringp
11281 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11282
11283 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11284
11285 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11286
11287 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11288
11289 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11290 * net/tramp-sh.el (tramp-maybe-open-connection):
11291 Throw if `non-essential' is non-nil.
11292
11293 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11294
11295 * window.el (special-display-p): Signal an error if BUFFER-NAME
11296 is not a string (Bug#11713).
11297
11298 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11299
11300 * progmodes/python.el (python-info-beginning-of-backslash):
11301 Rename from python-info-beginning-of-backlash, as a spelling fix.
11302
11303 2012-06-17 Chong Yidong <cyd@gnu.org>
11304
11305 * term.el (term-emulate-terminal): If term-check-size is called,
11306 move point to the process mark without resetting point (Bug#4635).
11307
11308 2012-06-17 Glenn Morris <rgm@gnu.org>
11309
11310 * international/mule-cmds.el (mule-menu-keymap)
11311 (set-language-environment, set-locale-environment): Doc tweaks.
11312
11313 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11314
11315 * cus-face.el (custom-face-attributes): Add wave-style underline
11316 attribute.
11317 * faces.el (set-face-attribute): Update docstring to describe
11318 wave-style underline attribute.
11319
11320 2012-06-16 Chong Yidong <cyd@gnu.org>
11321
11322 * term/xterm.el (terminal-init-xterm): Discard input before
11323 querying background mode (Bug#10959).
11324
11325 2012-06-16 Stefan Merten <smerten@oekonux.de>
11326
11327 * textmodes/rst.el: Added and corrected some comments.
11328 (rst-re-alist-def): Improve symbol syntax.
11329 (rst-mode-syntax-table): Correct syntax entries.
11330 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11331 (rst-official-version, rst-official-cvs-rev): Update version
11332 information.
11333
11334 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11335
11336 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11337 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11338
11339 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11340
11341 * progmodes/python.el: New python.el merge.
11342 (python-guess-indent): Obsolete var.
11343 (python-indent-guess-indent-offset): New defcustom.
11344 (python-indent): Obsolete var.
11345 (python-indent-offset): New defcustom.
11346 (python-python-command, python-jython-command): Delete var.
11347 (python-shell-interpreter): New defcustom.
11348 (python-pdbtrack-do-tracking-p): Delete var.
11349 (python-pdbtrack-activate): New defcustom.
11350 (python-use-skeletons): Obsolete var.
11351 (python-skeleton-autoinsert): New defcustom.
11352 (inferior-python-filter-regexp, python-continuation-offset)
11353 (python-honour-comment-indentation, python-indent-string-contents)
11354 (python-jython-packages, python-mode-hook)
11355 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11356 (python-shell-prompt-alist)
11357 (python-source-modes): Delete defcustoms.
11358 (python-check-buffer-name, python-eldoc-setup-code)
11359 (python-eldoc-string-code, python-ffap-setup-code)
11360 (python-ffap-string-code, python-fill-comment-function)
11361 (python-fill-decorator-function, python-fill-paren-function)
11362 (python-fill-string-function, python-imenu-include-defun-type)
11363 (python-imenu-make-tree, python-imenu-subtree-root-label)
11364 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11365 (python-shell-compilation-regexp-alist)
11366 (python-shell-completion-module-string-code)
11367 (python-shell-completion-pdb-string-code)
11368 (python-shell-completion-setup-code)
11369 (python-shell-completion-string-code)
11370 (python-shell-enable-font-lock, python-shell-exec-path)
11371 (python-shell-extra-pythonpaths)
11372 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11373 (python-shell-process-environment)
11374 (python-shell-prompt-block-regexp)
11375 (python-shell-prompt-output-regexp)
11376 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11377 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11378 (python-shell-virtualenv-path): New defcustoms.
11379 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11380 (inferior-python-mode-syntax-table, python--prompt-regexp)
11381 (python-buffer, python-command python-python-command)
11382 (python-default-template, python-imports, python-indent-index)
11383 (python-indent-list, python-indent-list-length)
11384 (python-mode-running, python-pdbtrack-is-tracking-p)
11385 (python-preoutput-continuation, python-preoutput-leftover)
11386 (python-preoutput-result, python-preoutput-skip-next-prompt)
11387 (python-prev-dir/file, python-recursing)
11388 (python-saved-check-command, python-version-checked)
11389 (python-which-func-length-limit)
11390 (view-return-to-alist): Delete vars.
11391 (python-check-custom-command, python-dotty-syntax-table)
11392 (python-imenu-index-alist, python-indent-current-level)
11393 (python-indent-dedenters, python-indent-levels)
11394 (python-nav-beginning-of-defun-regexp)
11395 (python-nav-list-defun-positions-cache)
11396 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11397 (python-shell-internal-buffer)
11398 (python-skeleton-available): New vars.
11399 (def-python-skeleton): Delete macro.
11400 (python-skeleton-define): New macro.
11401 (python-define-auxiliary-skeleton, python-rx): New macros.
11402 (python-insert-class): Delete command.
11403 (python-skeleton-class): New command.
11404 (python-insert-def): Delete command.
11405 (python-skeleton-def): New command.
11406 (python-insert-for): Delete command.
11407 (python-skeleton-for): New command.
11408 (python-insert-if): Delete command.
11409 (python-skeleton-if): New command.
11410 (python-insert-try/except, python-insert-try/finally): Delete commands.
11411 (python-skeleton-try): New command.
11412 (python-insert-while): Delete command.
11413 (python-skeleton-while): New command.
11414 (python-backspace): Delete command.
11415 (python-indent-dedent-line-backspace): New command.
11416 (python-electric-colon): Delete command.
11417 (python-indent-electric-colon): New command.
11418 (python-guess-indent): Delete command.
11419 (python-indent-guess-indent-offset): New command.
11420 (python-shift-left): Delete command.
11421 (python-indent-shift-left): New command.
11422 (python-shift-right): Delete command.
11423 (python-indent-shift-right): New command.
11424 (python-find-function): Delete command.
11425 (python-nav-jump-to-defun): New command.
11426 (python-next-statement): Delete command.
11427 (python-nav-forward-sentence): New command.
11428 (python-previous-statement): Delete command.
11429 (python-nav-backward-sentence): New command.
11430 (python-fill-paragraph): Delete command.
11431 (python-fill-paragraph-function): New command.
11432 (python-send-buffer): Delete command.
11433 (python-shell-send-buffer): New command.
11434 (python-send-defun): Delete command.
11435 (python-shell-send-defun): New command.
11436 (python-send-region, python-send-region-and-go): Delete commands.
11437 (python-shell-send-region)
11438 (python-shell-switch-to-shell): New commands.
11439 (python-send-string): Delete command.
11440 (python-shell-send-string): New command.
11441 (python-switch-to-python): Delete command.
11442 (python-shell-switch-to-shell): New command.
11443 (python-describe-symbol): Delete command.
11444 (python-eldoc-at-point): New command.
11445 (python--set-prompt-regexp, python-args-to-list)
11446 (python-after-info-look, python-check-version)
11447 (python-check-comint-prompt, python-find-imports)
11448 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11449 (python-unload-function, python-expand-template)
11450 (python-maybe-jython, python-preoutput-filter)
11451 (python-pdbtrack-get-source-buffer)
11452 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11453 (python-pdbtrack-toggle-stack-tracking)
11454 (python-pdbtrack-track-stack-file, python-initial-text)
11455 (python-first-word, python-comment-line-p, python-send-command)
11456 (python-setup-brm, python-sentinel, python-set-proc)
11457 (python-skip-out, python-input-filter, python-outdent-p)
11458 (python-outline-level, python-backslash-continuation-line-p)
11459 (python-end-of-block, python-end-of-statement, python-mark-block)
11460 (python-beginning-of-block, python-beginning-of-statement)
11461 (python-blank-line-p, python-beginning-of-string)
11462 (python-open-block-statement-p): Delete functions.
11463 (python-indent-line, python-indent-line-1): Delete functions.
11464 (python-indent-line): New function.
11465 (python-indentation-levels): Delete function.
11466 (python-indent-calculate-levels): New function.
11467 (python-proc): Delete function.
11468 (python-shell-get-process): New function.
11469 (python-send-receive): Delete function.
11470 (python-shell-send-string-no-output): New function.
11471 (python-module-path): Delete function.
11472 (python-ffap-module-path): New function.
11473 (python-completion-at-point)
11474 (python-symbol-completions): Delete functions.
11475 (python-completion-complete-at-point): New function.
11476 (python-load-file): Delete function.
11477 (python-shell-send-file): New function.
11478 (python-calculate-indentation): Delete function.
11479 (python-indent-calculate-indentation): New function.
11480 (python-skip-comments/blanks): Delete function.
11481 (python-util-forward-comment): New function.
11482 (python-continuation-line-p): Delete function.
11483 (python-info-continuation-line-p): New function.
11484 (python-which-func, python-current-defun): Delete function.
11485 (python-info-current-defun): New function.
11486 (python-beginning-of-defun): Delete function.
11487 (python-nav-beginning-of-defun): New function.
11488 (python-close-block-statement-p)
11489 (python-block-end-p): Delete function.
11490 (python-info-closing-block): New function.
11491 (python-comint-output-filter-function)
11492 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11493 (python-fill-comment, python-fill-decorator, python-fill-paren)
11494 (python-fill-string, python-imenu-make-element-tree)
11495 (python-imenu-make-tree, python-imenu-tree-assoc)
11496 (python-indent-context, python-indent-dedent-line)
11497 (python-indent-line-function)
11498 (python-indent-post-self-insert-function)
11499 (python-indent-toggle-levels)
11500 (python-info-assignment-continuation-line-p)
11501 (python-info-beginning-of-backlash)
11502 (python-info-block-continuation-line-p)
11503 (python-info-closing-block-message)
11504 (python-info-line-ends-backslash-p)
11505 (python-info-looking-at-beginning-of-defun)
11506 (python-info-ppss-context, python-info-ppss-context-type)
11507 (python-nav-list-defun-positions, python-nav-read-defun)
11508 (python-nav-sentence-end, python-nav-sentence-start)
11509 (python-pdbtrack-comint-output-filter-function)
11510 (python-pdbtrack-set-tracked-buffer)
11511 (python-shell-calculate-exec-path)
11512 (python-shell-calculate-process-environment)
11513 (python-shell-completion--do-completion-at-point)
11514 (python-shell-completion--get-completions)
11515 (python-shell-completion-complete-at-point)
11516 (python-shell-completion-complete-or-indent)
11517 (python-shell-get-or-create-process)
11518 (python-shell-get-process-name)
11519 (python-shell-internal-get-or-create-process)
11520 (python-shell-internal-get-process-name)
11521 (python-shell-internal-send-string, python-shell-make-comint)
11522 (python-shell-parse-command, python-shell-send-setup-code)
11523 (python-skeleton-add-menu-items)
11524 (python-util-clone-local-variables, python-util-position)
11525 (run-python-internal, python-indentation-levels)
11526 (python-nav-beginning-of-defun)
11527 (python-completion-complete-at-point): New functions.
11528 (run-python): Change arguments. New API requirements.
11529
11530 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11531
11532 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11533 (bug#11649).
11534
11535 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11536 (macroexp--expand-all): Use it.
11537
11538 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11539 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11540 Use `cl-function' instead.
11541
11542 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11543
11544 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11545 Suggested by Stefan Monnier while discussing bug#11657.
11546
11547 2012-06-14 Sam Steingold <sds@gnu.org>
11548
11549 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11550
11551 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11552
11553 * play/doctor.el (doctor-doc): Remove parameter and use
11554 doctor-sent instead of sent.
11555 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11556
11557 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * files.el: Require cl-lib.
11560 (file-name-non-special): Replace case -> cl-case.
11561
11562 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11563
11564 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11565 mapping from #' to function*.
11566
11567 2012-06-13 Chong Yidong <cyd@gnu.org>
11568
11569 * mouse.el (mouse-drag-track): Do not set the mark if the user
11570 releases the mouse without selecting anything (Bug#11588).
11571
11572 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11575 as well (bug#11646).
11576
11577 * loadup.el: Count byte-code functions as well.
11578
11579 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11580 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11581
11582 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11583 (bug#11649). Add cl-defun and cl-defmacro.
11584
11585 2012-06-13 Drew Adams <drew.adams@oracle.com>
11586
11587 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11588 Fix last change.
11589
11590 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11591
11592 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11593 Otherwise, it blocks in batch mode.
11594
11595 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11596
11597 * help-mode.el (bookmark-make-record-default): Declare.
11598
11599 2012-06-13 Chong Yidong <cyd@gnu.org>
11600
11601 * emacs-lisp/package.el (list-packages): Compute a list of
11602 packages that are newly-available since the last list-packages
11603 invocation.
11604 (package-menu--new-package-list): New var.
11605 (package-menu--generate, package-menu--print-info)
11606 (package-menu--status-predicate, package-menu-mark-install):
11607 Handle new status label "new".
11608
11609 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11612 conversion to backquotes.
11613
11614 2012-06-12 Chong Yidong <cyd@gnu.org>
11615
11616 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11617 Rename from gud-inhibit-global-bindings.
11618
11619 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11620
11621 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11622 hook from nxml-glyph-set-hook.
11623
11624 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11625 declaration.
11626
11627 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11628
11629 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11630 Convert to defcustom.
11631
11632 2012-06-12 Drew Adams <drew.adams@oracle.com>
11633
11634 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11635 New functions.
11636 (help-mode): Use them.
11637
11638 2012-06-11 Glenn Morris <rgm@gnu.org>
11639
11640 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11641 Use preprocessor face for directives.
11642 (fortran-directive-re): Doc fix.
11643
11644 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11645
11646 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11647 conversion to backquotes (bug#11652).
11648
11649 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11650 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11651 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11652 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11653 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11654 (cl-ninth, cl-tenth): Mark them as inlinable.
11655 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11656 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11657 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11658 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11659 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11660 (cl-list*, cl-adjoin): Don't put an autoload manually.
11661 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11662 (cl--compiler-macro-list*): Add autoload cookie.
11663 (cl--compiler-macro-cXXr): New function.
11664
11665 * help-fns.el (help-fns--compiler-macro): New function extracted from
11666 describe-function-1; follow aliases and use `compiler-macro' property.
11667 (describe-function-1): Use it.
11668
11669 2012-06-11 Chong Yidong <cyd@gnu.org>
11670
11671 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11672 is uninstalled, if imagemagick is installed.
11673
11674 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * emacs-lisp/cl-lib.el: Use lexical-binding.
11677 (cl-map-extents, cl-maclisp-member): Remove.
11678 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11679 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11680 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11681 * emacs-lisp/cl-extra.el: Use lexical-binding.
11682 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11683 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11684 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11685 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11686 * emacs-lisp/cl-seq.el: Use lexical-binding.
11687 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11688 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11689 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11690 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11691 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11692 CL's internals.
11693
11694 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11695
11696 Sync with Tramp 2.2.6-pre.
11697
11698 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11699 `print-length' and `print-level' to nil, in order to avoid
11700 truncation. Reported by Christopher Schmidt
11701 <christopher@ristopher.com>.
11702
11703 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11704
11705 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11706 New defmacro.
11707 (tramp-compat-copy-directory): Add optional argument
11708 COPY-CONTENTS. It is not handled yet.
11709
11710 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11711 (tramp-ftp-file-name-p): Simplify.
11712
11713 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11714 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11715 connection vector.
11716
11717 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11718 (tramp-methods): Do not use `tramp-password-end-of-line'.
11719 (tramp-completion-function-alist-putty): Handle UNIX case.
11720 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11721 (tramp-do-file-attributes-with-stat)
11722 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11723 gid as real numbers. They could run out of integer range on cygwin.
11724 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11725 (tramp-sh-handle-expand-file-name): Handle hops.
11726 (tramp-open-connection-setup-interactive-shell):
11727 Use `tramp-cleanup'. Move check for busyboxes ...
11728 (tramp-find-shell): ... here. Simplify implementation.
11729 Set "remote-shell" property also for alternative shells.
11730 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11731 If failing, a regular file would be written otherwise.
11732 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11733 (tramp-find-inline-encoding): Cache the coding commands in the
11734 process cache. Apply test command on the remote side, if defined.
11735 (tramp-find-inline-compress): Cache the compress commands in the
11736 process cache.
11737 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11738 when requested. Handle hops.
11739 (tramp-current-connection): New defvar.
11740 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11741 Throw `suppress', if there was a failed connection shortly before.
11742 Handle user interrupt. (Bug#10187)
11743 (tramp-get-inline-compress, tramp-get-inline-coding):
11744 Read connection properties from the process cache.
11745
11746 * net/tramp-smb.el (tramp-smb-server-version)
11747 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11748 New defconsts.
11749 (tramp-smb-prompt): Extend for powershell prompt.
11750 (tramp-smb-file-name-handler-alist): Add handlers for
11751 `process-file', `shell-command' and `start-file-process'.
11752 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11753 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11754 (tramp-smb-file-name-p): Simplify.
11755 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11756 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11757 (tramp-smb-shell-quote-argument): New defuns.
11758 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11759 Implement using "tar". By this, time-stamps are preserved.
11760 (tramp-smb-handle-copy-file): Handle also the case of directories.
11761 (tramp-smb-do-file-attributes-with-stat)
11762 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11763 Use `tramp-get-connection-buffer').
11764 (tramp-smb-handle-rename-file): Use "rename", when source and
11765 target are on the same share.
11766 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11767 Use `tramp-smb-server-version'.
11768 (tramp-smb-wait-for-output): Remove prompt.
11769
11770 * net/tramp.el (top): Require 'cl.
11771 (tramp-methods, tramp-rsh-end-of-line):
11772 Remove `tramp-password-end-of-line' from docstring.
11773 (tramp-save-ad-hoc-proxies): New defcustom.
11774 (tramp-completion-function-alist): Adapt docstring.
11775 (tramp-default-password-end-of-line): Remove defcustom.
11776 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11777 (tramp-user-regexp, tramp-file-name-regexp-unified)
11778 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11779 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11780 (tramp-remote-file-name-spec-regexp): New defconst.
11781 (tramp-file-name-structure): Extend structure for hops.
11782 (tramp-get-method-parameter): Move up.
11783 (tramp-file-name-p, tramp-dissect-file-name)
11784 (with-parsed-tramp-file-name): Handle hops.
11785 (tramp-file-name-hop): New defun.
11786 (tramp-make-tramp-file-name): New optional arg HOP.
11787 (tramp-message-show-progress-reporter-message): New defvar.
11788 (tramp-with-progress-reporter): Use it. We cannot use
11789 `tramp-message-show-message' here, because this suppresses also
11790 error buffers.
11791 (tramp-error-with-buffer): Suppress buffer view, if
11792 `tramp-message-show-message' is nil.
11793 Use `tramp-get-connection-buffer'.
11794 (tramp-cleanup): New defun.
11795 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11796 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11797 an error unchanged.
11798 (tramp-completion-handle-file-name-all-completions): Handle hops.
11799 Fix an error when called from ido.
11800 (tramp-completion-dissect-file-name): Use better local variable
11801 name. Add hop to the vector.
11802 (tramp-handle-insert-file-contents): Use progress-reporter for the
11803 whole scenario.
11804 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11805 to `t'.
11806 (tramp-check-for-regexp): Simplify search.
11807 (tramp-enter-password): Remove it. Move implementation ...
11808 (tramp-action-password): ... here.
11809 (tramp-mode-string-to-int, tramp-local-host-p)
11810 (tramp-make-tramp-temp-file, tramp-read-passwd)
11811 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11812 Set tramp-autoload cookie.
11813
11814 * net/trampver.el: Update release number.
11815
11816 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11817 Michael Albinus <michael.albinus@gmx.de>
11818
11819 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11820 (tramp-parse-group, tramp-parse-file)
11821 (tramp-parse-shostkeys-sknownhosts): New defuns.
11822 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11823 (tramp-parse-shosts-group, tramp-parse-sconfig)
11824 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11825 (tramp-parse-sknownhosts, tramp-parse-hosts)
11826 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11827 Use them.
11828 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11829 (tramp-parse-putty-group): Don't narrow.
11830 (tramp-parse-putty): Make a loop.
11831 (tramp-file-name-handler): Catch the `suppress' signal.
11832
11833 2012-06-11 Chong Yidong <cyd@gnu.org>
11834
11835 * image.el (imagemagick-register-types): Put the ImageMagick entry
11836 at the end of image-type-file-name-regexps.
11837
11838 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11839
11840 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11841 (pcase, pcase-let*, pcase-dolist): Use them.
11842
11843 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11844
11845 * emacs-lisp/pcase.el (pcase--let*): New function.
11846 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11847 (pcase--expand): Use macroexp-let².
11848
11849 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11850
11851 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11852 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11853 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11854 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11855 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11856 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11857
11858 2012-06-10 Glenn Morris <rgm@gnu.org>
11859
11860 * mail/rmail.el (rmail-yank-current-message): Leave point at
11861 correct position. (Bug#11660)
11862
11863 2012-06-10 Chong Yidong <cyd@gnu.org>
11864
11865 * allout-widgets.el: Fix code header.
11866
11867 2012-06-10 Chong Yidong <cyd@gnu.org>
11868
11869 * cus-edit.el (customize-changed-options-previous-release):
11870 Bump to 24.1.
11871
11872 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11873
11874 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11875
11876 2012-06-09 Chong Yidong <cyd@gnu.org>
11877
11878 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11879
11880 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11881
11882 * window.el (special-display-popup-frame): Don't use
11883 window--display-buffer (Bug#11651).
11884
11885 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11886
11887 Fix parallel builds: make sure loaddefs.el is not being written
11888 while Lisp files are compiled.
11889 (compile): Don't depend on 'mh-autoloads'.
11890 (compile-CMD, compile-SH): Depend on 'autoloads'.
11891 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11892
11893 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11894
11895 2012-06-09 Chong Yidong <cyd@gnu.org>
11896
11897 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11898 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11899 Doc fixes (Bug#11225).
11900
11901 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11902
11903 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11904 a function if there's a clear indication that it has a compiler-macro.
11905 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11906 (macro-declarations-alist): Add arglist to declaration functions.
11907 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11908 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11909 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11910 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11911 Also add autoload to find the compiler macro.
11912 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11913 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11914 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11915 (cl--compiler-macro-get): New functions, replacing calls to
11916 cl-define-compiler-macro.
11917 (cl-typep) [compiler-macro]: Use macroexp-let².
11918
11919 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11920
11921 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11922 string properly, fixes Bug#11473.
11923
11924 2012-06-08 Chong Yidong <cyd@gnu.org>
11925
11926 * faces.el (set-face-attribute): Doc fix.
11927 (modify-face): Don't use :bold and :italic.
11928 (error, warning, success): Tweak definitions.
11929
11930 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11931 (custom-modified, custom-set, custom-changed, custom-themed)
11932 (custom-saved, custom-button, custom-button-mouse)
11933 (custom-button-pressed, custom-state, custom-comment-tag)
11934 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11935 (custom-group-subtitle): Use new-style face specs.
11936 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11937 (custom-set-face, custom-changed-face, custom-saved-face)
11938 (custom-button-face, custom-button-pressed-face)
11939 (custom-documentation-face, custom-state-face)
11940 (custom-comment-face, custom-comment-tag-face)
11941 (custom-variable-tag-face, custom-variable-button-face)
11942 (custom-face-tag-face, custom-group-tag-face-1)
11943 (custom-group-tag-face): Remove obsolete face alias.
11944
11945 * epa.el (epa-validity-high, epa-validity-medium)
11946 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11947 (epa-field-name, epa-field-body):
11948 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11949 (font-lock-keyword-face, font-lock-builtin-face)
11950 (font-lock-function-name-face, font-lock-variable-name-face)
11951 (font-lock-type-face, font-lock-constant-face):
11952 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11953 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11954 * speedbar.el (speedbar-button-face, speedbar-file-face)
11955 (speedbar-directory-face, speedbar-tag-face)
11956 (speedbar-selected-face, speedbar-highlight-face)
11957 (speedbar-separator-face):
11958 * whitespace.el (whitespace-newline, whitespace-space)
11959 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11960 (whitespace-line, whitespace-space-before-tab)
11961 (whitespace-space-after-tab, whitespace-indentation)
11962 (whitespace-empty):
11963 * emulation/cua-base.el (cua-global-mark):
11964 * eshell/em-prompt.el (eshell-prompt):
11965 * net/newst-plainview.el (newsticker-new-item-face)
11966 (newsticker-old-item-face, newsticker-immortal-item-face)
11967 (newsticker-obsolete-item-face, newsticker-date-face)
11968 (newsticker-statistics-face, newsticker-default-face):
11969 * net/newst-reader.el (newsticker-feed-face)
11970 (newsticker-extra-face, newsticker-enclosure-face):
11971 * net/newst-treeview.el (newsticker-treeview-face)
11972 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11973 (newsticker-treeview-immortal-face)
11974 (newsticker-treeview-obsolete-face)
11975 (newsticker-treeview-selection-face):
11976 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11977 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11978 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11979 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11980 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11981 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11982 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11983 (mpuz-text):
11984 * progmodes/vera-mode.el (vera-font-lock-number)
11985 (vera-font-lock-function, vera-font-lock-interface):
11986 * textmodes/table.el (table-cell): Use new-style face specs, and
11987 don't use the old :bold and :italic attributes.
11988
11989 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11990 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11991 (ebrowse-member-class, ebrowse-progress): Likewise.
11992 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11993 (ebrowse-file-name-face, ebrowse-default-face)
11994 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11995 (ebrowse-progress-face): Remove obsolete faces.
11996
11997 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11998 Inherit from error and warning faces respectively.
11999
12000 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12001 Likewise.
12002 (flyspell-incorrect-face, flyspell-duplicate-face):
12003 Remove obsolete aliases.
12004
12005 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12008 Avoid infloop.
12009
12010 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * startup.el (argv, argi): Make lexically scoped.
12013 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12014 * emacs-lisp/cl-macs.el: Use lexical-binding.
12015 Rename cl-bind-* to cl--bind-*.
12016 * files.el: Don't require `cl' since it doesn't use it.
12017 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12018
12019 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12020
12021 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12022 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12023 instead of calling external sort utility.
12024 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12025
12026 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12027
12028 * descr-text.el (describe-char): Mention how to insert the
12029 character, if the current input method doesn't support it.
12030 See the discussion in this thread for the details:
12031 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12032
12033 2012-06-08 Sam Steingold <sds@gnu.org>
12034
12035 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12036 XF86Back to previous-buffer.
12037 (minibuffer-local-map): Bind them to next-history-element and
12038 previous-history-element respectively.
12039 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12040 help-go-back respectively.
12041 * info.el (Info-mode-map): Bind them to Info-history-forward and
12042 Info-history-back respectively.
12043 These are the keys next to Up on the ThinkPad keyboard.
12044
12045 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12046
12047 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12048 * emacs-lisp/cl-macs.el: Provide itself.
12049 (cl--labels-convert-cache): New var.
12050 (cl--labels-convert): New function.
12051 (cl-flet, cl-labels): New implementation with new semantics, relying on
12052 lexical-binding.
12053 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12054 (cl-closure-vars, cl--function-convert-cache)
12055 (cl--function-convert): Move from cl-macs.el.
12056 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12057 rename by removing the "cl-" prefix.
12058 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12059
12060 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12061
12062 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12063 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12064 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12065 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12066 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12067 (cl-hash-table-count): Add old compatibility aliases.
12068
12069 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12070 Use macroexpand-all-environment instead.
12071 (cl--old-macroexpand): New var.
12072 (cl--sm-macroexpand): New function.
12073 (cl-symbol-macrolet): Use it during macro expansion.
12074 (cl--function-convert-cache): New var.
12075 (cl--function-convert): New function, extracted from
12076 cl-macroexpand-all.
12077 (cl-lexical-let): Use it.
12078
12079 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12080 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12081 (cl-member): Remove old alias.
12082
12083 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12084 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12085 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12086 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12087 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12088 (cl-macroexpand-cmacs): Remove var.
12089 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12090 Use macroexpand-all instead.
12091
12092 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12093
12094 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12095 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12096 (macroexp-copyable-p): New functions and macros.
12097 * emacs-lisp/edebug.el (edebug-unwrap):
12098 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12099 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12100 (pcase--let*): Remove.
12101 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12102 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12103 macroexp-const-p instead.
12104 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12105
12106 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12107 instead of "cl-" for internal definitions. Use macroexp-const-p.
12108 (cl-old-bc-file-form): Remove var.
12109 (cl-const-exprs-p): Remove fun.
12110 (cl-labels, cl-macrolet): Use backquote.
12111 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12112 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12113 (cl-define-setf-expander): Rename from cl-define-setf-method.
12114 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12115
12116 * international/mule-cmds.el: Don't require CL.
12117 (view-hello-file): Don't use `letf'.
12118
12119 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12120
12121 * tmm.el (tmm-prompt): Use string-prefix-p.
12122 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12123 (tmm-add-prompt): Use minibuffer-completion-help.
12124 (tmm-delete-map): Remove.
12125
12126 * subr.el (kbd): Make it its own function.
12127
12128 2012-06-07 Stefan Merten <smerten@oekonux.de>
12129
12130 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12131 Silence compiler warnings. Fix versions.
12132 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12133 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12134 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12135 (rst-package-emacs-version-alist): Correct Emacs version to
12136 represent major merge with upstream.
12137 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12138
12139 2012-06-06 Glenn Morris <rgm@gnu.org>
12140
12141 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12142 Only print environment variables if set.
12143
12144 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12145
12146 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12147 (macroexp--cons): Rename from maybe-cons.
12148 (macroexp--accumulate): Rename from macroexp-accumulate.
12149 (macroexp--all-forms): Rename from macroexpand-all-forms.
12150 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12151 (macroexp--expand-all): Rename from macroexpand-all-1.
12152
12153 2012-06-06 Sam Steingold <sds@gnu.org>
12154
12155 * calendar/calendar.el (calendar-in-read-only-buffer):
12156 Call `special-mode' to enable the standard read-only keybindings.
12157
12158 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12159
12160 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12161 with "loading" messages (bug#11635).
12162
12163 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12164
12165 * files.el (enable-remote-dir-locals): New option.
12166 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12167
12168 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12169 Ensure, that the temp directory is local.
12170
12171 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12172 `temporary-file-directory'.
12173
12174 * progmodes/python.el (python-send-region): Ensure, that the
12175 temporary file is created also in the remote case.
12176
12177 2012-06-06 Glenn Morris <rgm@gnu.org>
12178
12179 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12180 (vc-rcs-update-changelog): Use it.
12181
12182 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12183
12184 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12185 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12186 (vc-sccs-diff): Replace use of the external vcdiff script.
12187
12188 2012-06-05 Glenn Morris <rgm@gnu.org>
12189
12190 * ledit.el: Move to obsolete/.
12191
12192 2012-06-05 Sam Steingold <sds@gnu.org>
12193
12194 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12195 patch (Bug#11140).
12196
12197 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12198
12199 * emacs-lisp/cust-print.el: Move to obsolete.
12200
12201 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12202 compiler-macro expansion.
12203
12204 Add native compiler-macro support.
12205 * emacs-lisp/macroexp.el (macroexpand-all-1):
12206 Support compiler-macros directly. Properly follow aliases and apply
12207 the compiler macros more thoroughly.
12208 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12209 macroexpand now properly follows aliases.
12210 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12211 (cl-compiler-macroexpand): Use new prop.
12212 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12213
12214 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12215
12216 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12217
12218 * window.el (get-lru-window, get-mru-window, get-largest-window):
12219 New argument NOT-SELECTED to avoid picking the selected window.
12220 (window--display-buffer-1, window--display-buffer-2): Replace by
12221 new function window--display-buffer
12222 (display-buffer-same-window, display-buffer-reuse-window)
12223 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12224 Use window--display-buffer.
12225 (display-buffer-use-some-window): Remove temporary dedication
12226 hack by calling get-lru-window and get-largest-window with
12227 NOT-SELECTED argument non-nil. Call window--display-buffer.
12228
12229 2012-06-05 Glenn Morris <rgm@gnu.org>
12230
12231 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12232 Replace external vcdiff script.
12233
12234 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12235
12236 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12237
12238 2012-06-04 Chong Yidong <cyd@gnu.org>
12239
12240 * image.el (imagemagick-types-inhibit): Revert last change.
12241 Add INFO and M.
12242 (imagemagick-enabled-types): Remove CIN and EPS*.
12243
12244 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12245
12246 * emacs-lisp/cl-lib.el: Rename from cl.el.
12247 * emacs-lisp/cl.el: New compatibility file.
12248 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12249 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12250 to obey the "cl-" prefix.
12251 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12252
12253 2012-06-03 Glenn Morris <rgm@gnu.org>
12254
12255 * emacs-lisp/authors.el (authors-aliases): Addition.
12256
12257 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12258 Fix :version.
12259
12260 2012-06-03 Stefan Merten <smerten@oekonux.de>
12261
12262 * textmodes/rst.el: Add comments.
12263 (rst-transition, rst-adornment): New faces.
12264 (rst-adornment-faces-alist): Make default safe to reevaluate.
12265 Fixes
12266 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12267 Improve customization tags.
12268 (rst-define-level-faces): Clarify meaning.
12269
12270 2012-06-03 Chong Yidong <cyd@gnu.org>
12271
12272 * progmodes/compile.el (compilation-mode-line-fail)
12273 (compilation-mode-line-run, compilation-mode-line-exit):
12274 New faces.
12275 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12276
12277 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12278
12279 * progmodes/which-func.el (which-func-update-ediff-windows):
12280 New function. Use it in ediff-select-hook (Bug#11478).
12281
12282 2012-06-03 Chong Yidong <cyd@gnu.org>
12283
12284 * bindings.el: Remove explicit help text from format-mode-line.
12285 It is now supplied by mode-line-default-help-echo.
12286 (mode-line-front-space, mode-line-end-spaces)
12287 (mode-line-misc-info): New variables.
12288 (mode-line-modes, mode-line-position): Move the default value to
12289 the variable definition.
12290 (mode-line-default-help-echo): New defcustom.
12291 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12292 (mode-line-modified-help-echo): New functions.
12293 (mode-line-mule-info, mode-line-modified): Use them.
12294 (mode-line-eol-desc, propertized-buffer-identification):
12295 Consistency fixes for help text.
12296 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12297 set-buffer-file-coding-system (Bug#289).
12298 (mode-line-mule-info-help-echo): Update help text.
12299
12300 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12301
12302 * simple.el (execute-extended-command): Set real-this-command
12303 (bug#11506).
12304
12305 2012-06-02 Chong Yidong <cyd@gnu.org>
12306
12307 Remove incorrect uses of "modeline" in comments, docstrings, and
12308 function/variable names (Bug#10329).
12309
12310 * cus-edit.el (mode-line):
12311 * dframe.el (dframe-mouse-hscroll):
12312 * emacs-lisp/re-builder.el:
12313 * emacs-lisp/easy-mmode.el (define-minor-mode):
12314 * frame.el (set-frame-name):
12315 * help.el (lookup-minor-mode-from-indicator):
12316 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12317 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12318 (c-toggle-hungry-state):
12319 * progmodes/antlr-mode.el (antlr-language-alist):
12320 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12321 * progmodes/vhdl-mode.el (vhdl-mode):
12322 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12323 * term/ns-win.el (ns-face-at-pos):
12324 * term/sup-mouse.el (sup-mouse-report):
12325 * textmodes/flyspell.el (flyspell-mode-line-string):
12326 * textmodes/ispell.el (ispell-highlight-face):
12327 * textmodes/reftex-global.el:
12328 * vc/vc-arch.el (vc-arch-mode-line-string):
12329 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12330 * vc/vc-git.el (vc-git-mode-line-string):
12331 * vc/vc-hooks.el (vc-display-status)
12332 (vc-default-mode-line-string):
12333 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12334
12335 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12336
12337 * dired.el (dired-sort-set-mode-line): Rename from
12338 dired-sort-set-modeline. All callers changed.
12339
12340 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12341 eshell-status-in-modeline.
12342
12343 * foldout.el (foldout-mode-line-string): Rename from
12344 foldout-modeline-string. All callers changed.
12345 (foldout-update-mode-line): Rename from foldout-update-modeline.
12346
12347 * subr.el (redraw-modeline): Make into obsolete alias.
12348
12349 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12350 timeclock-modeline-display. Make old name an alias.
12351 (timeclock-update-mode-line): Likewise. All callers changed.
12352 (timeclock-mode-line-display): No need to check before using
12353 add-hook.
12354 (timeclock-relative, timeclock-day-over-hook)
12355 (timeclock-use-elapsed, timeclock-mode-string)
12356 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12357
12358 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12359 crisp-mode-modeline-string.
12360
12361 * play/solitaire.el (solitaire-build-mode-line): Rename from
12362 solitaire-build-modeline. All callers changed.
12363
12364 * play/zone.el (zone-hiding-mode-line): Rename from
12365 zone-hiding-modeline. All callers changed.
12366 (zone): Remove unusued `modeline-hidden-level' property.
12367
12368 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12369 xscheme-modeline-initialize. All callers changed.
12370
12371 * strokes.el (strokes-lighter): Rename from
12372 strokes-modeline-string.
12373
12374 * textmodes/sgml-mode.el (html-face-tag-alist)
12375 (html-tag-face-alist): Use mode-line face instead of obsolete
12376 alias modeline.
12377
12378 2012-06-02 Stefan Merten <smerten@oekonux.de>
12379
12380 * textmodes/rst.el: Always require `cl'.
12381 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12382
12383 2012-06-02 Chong Yidong <cyd@gnu.org>
12384
12385 * image.el (imagemagick-enabled-types): Rename from
12386 imagemagick-types-enable. Add many more types.
12387 (imagemagick-types-inhibit): Change default to nil.
12388 (imagemagick-filter-types): Caller changed.
12389
12390 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * emacs-lisp/cl-macs.el: Use backquotes.
12393 (cl-transform-function-property): Use eval-and-compile rather than
12394 abusing `require'.
12395 (defstruct): Use declare-function instead of with-no-warnings.
12396
12397 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12398 (byte-compile-output-docform): Re-add the print-circle bindings.
12399 (byte-compile-fix-header): Use #$ just because it's shorter.
12400 (byte-compile-output-file-form): Remove defun/defmacro.
12401
12402 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12403
12404 * simple.el (choose-completion): Remove now obsolete binding for
12405 owindow.
12406
12407 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12408
12409 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12410 in order to avoid "Stack overflow in regexp matcher".
12411
12412 2012-05-31 Glenn Morris <rgm@gnu.org>
12413
12414 * image.el: For clarity, call imagemagick-register-types at
12415 top-level, rather than relying on a custom :initialize.
12416 (imagemagick-types-enable): New option. (Bug#11557)
12417 (imagemagick-filter-types): New function. (Bug#7406)
12418 (imagemagick-register-types): Use imagemagick-filter-types.
12419 If disabling support, remove elements altogether rather
12420 than using an impossible regexp.
12421 (imagemagick-types-inhibit): Give it the default init function.
12422
12423 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12426 Handle arbitrary file name lengths (Bug#11585).
12427
12428 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12429
12430 * desktop.el (desktop-read): Clear previous and next buffers for
12431 all windows and bury *Messages* buffer (bug#11556).
12432
12433 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 Add `declare' for `defun'. Align `defmacro's with it.
12436 * emacs-lisp/easy-mmode.el (define-minor-mode)
12437 (define-globalized-minor-mode): Don't autoload the var definitions.
12438 * emacs-lisp/byte-run.el: Use lexical-binding.
12439 (defun-declarations-alist, macro-declarations-alist): New vars.
12440 (defmacro, defun): Use them.
12441 (make-obsolete, define-obsolete-function-alias)
12442 (make-obsolete-variable, define-obsolete-variable-alias):
12443 Use `declare'.
12444 (macro-declaration-function): Mark obsolete.
12445 * emacs-lisp/autoload.el: Use lexical-binding.
12446 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12447
12448 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12449
12450 * textmodes/ispell.el (ispell-with-no-warnings):
12451 Define as a macro.
12452 (ispell-kill-ispell, ispell-change-dictionary):
12453 Use `called-interactively-p' for Emacs instead of obsolete
12454 `interactive-p'.
12455
12456 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12457
12458 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12459 (macro-declaration-function): Move var from C code.
12460 (macro-declaration-function): Define function with defalias.
12461 * emacs-lisp/macroexp.el (macroexpand-all-1):
12462 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12463 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12464 defun/defmacro any more.
12465 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12466 Provide fallback for unknown arglist.
12467 (byte-compile-arglist-warn): Change calling convention.
12468 (byte-compile-output-file-form): Move print-vars binding.
12469 (byte-compile-output-docform): Simplify accordingly.
12470 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12471 (byte-compile-defmacro-declaration): Remove.
12472 (byte-compile-file-form-defmumble): Generalize to defalias.
12473 (byte-compile-output-as-comment): Return byte-positions.
12474 Simplify callers accordingly.
12475 (byte-compile-lambda): Use `assert'.
12476 (byte-compile-defun, byte-compile-defmacro): Remove.
12477 (byte-compile-file-form-defalias):
12478 Use byte-compile-file-form-defmumble.
12479 (byte-compile-defalias-warn): Remove.
12480
12481 2012-05-29 Stefan Merten <smerten@oekonux.de>
12482
12483 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12484 possible. Fix authors. Improve comments. Improve loading of `cl'.
12485
12486 (rst-mode-abbrev-table): Merge definition.
12487 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12488 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12489
12490 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12491
12492 * calendar/icalendar.el
12493 (icalendar-export-region): Export UID properly.
12494
12495 2012-05-29 Leo Liu <sdl.web@gmail.com>
12496 * calendar/icalendar.el (icalendar-import-format):
12497 Add `icalendar-import-format-uid' (Bug#11525).
12498 (icalendar-import-format-uid): New.
12499 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12500 Export UID.
12501
12502 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12505 different alternative patterns.
12506 (pcase-codegen): Be more careful to preserve identity.
12507 (pcase--u1): Don't forget to mark vars as used.
12508
12509 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12510 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12511 (byte-compile-from-buffer): ...rather than here.
12512
12513 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12514 functions from byte-compile-function-environment.
12515
12516 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12517
12518 * window.el (window-deletable-p): Avoid deleting the root window
12519 of a frame with an active minibuffer.
12520
12521 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12522
12523 * simple.el (choose-completion): Use quit-window (Bug#11567).
12524
12525 2012-05-29 Chong Yidong <cyd@gnu.org>
12526
12527 * whitespace.el (whitespace-cleanup): Fix usage of
12528 whitespace-empty-at-bob-regexp (Bug#11492).
12529
12530 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12531
12532 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12533 revert (Bug#11488).
12534
12535 2012-05-29 Juri Linkov <juri@jurta.org>
12536
12537 * isearch.el (isearch-mode-map): Bind `M-s _' to
12538 `isearch-toggle-symbol'. Bind `M-s c' to
12539 `isearch-toggle-case-fold'.
12540 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12541 (isearch-forward): Add `M-s _' to the docstring.
12542 (isearch-forward-symbol, isearch-toggle-case-fold)
12543 (isearch-symbol-regexp): New functions. (Bug#11381)
12544
12545 2012-05-29 Juri Linkov <juri@jurta.org>
12546
12547 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12548 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12549 a function, call it to get the regexp.
12550 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12551 property `isearch-message-prefix' instead of the string "word ".
12552 (isearch-search-fun-default): For the case of `isearch-word',
12553 return a lambda that calls re-search-forward/re-search-backward
12554 with a regexp returned by `word-search-regexp' or by the function
12555 in `isearch-word'.
12556
12557 2012-05-29 Juri Linkov <juri@jurta.org>
12558
12559 * isearch.el (isearch-search-fun-default): New function.
12560 (isearch-search-fun): Move default part to the new function
12561 `isearch-search-fun-default'.
12562 (isearch-search-fun-function): Set the default value to
12563 `isearch-search-fun-default'. (Bug#11381)
12564
12565 * comint.el (comint-history-isearch-end):
12566 Use `isearch-search-fun-default'.
12567 (comint-history-isearch-search): Use `isearch-search-fun-default'
12568 and remove spacial case for `isearch-word'.
12569 (comint-history-isearch-wrap): Remove spacial case for
12570 `isearch-word'.
12571
12572 * hexl.el (hexl-isearch-search-function):
12573 Use `isearch-search-fun-default'.
12574
12575 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12576 Use `word-search-regexp' for `isearch-word'.
12577
12578 * misearch.el (multi-isearch-search-fun):
12579 Use `isearch-search-fun-default'.
12580
12581 * simple.el (minibuffer-history-isearch-search):
12582 Use `isearch-search-fun-default' and remove spacial case for
12583 `isearch-word'.
12584 (minibuffer-history-isearch-wrap): Remove spacial case for
12585 `isearch-word'.
12586
12587 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12588 Remove spacial case for `isearch-word'.
12589 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12590
12591 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12592
12593 Decrease XEmacs incompatibilities.
12594 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12595 Use `string-match'.
12596 (flyspell-delete-region-overlays): Use alternative definition for
12597 XEmacs.
12598 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12599 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12600 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12601 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12602 `define-obsolete-face-alias' under XEmacs, but old method.
12603
12604 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12605 `with-no-warnings' definition or Emacs alias.
12606 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12607 (ispell-word): Do not use `region-p' if XEmacs.
12608
12609 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12610
12611 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12612 Check for `ispell-dictionary-base-alist' instead of full
12613 `ispell-dictionary-alist'.
12614 (ispell-init-process): Show spellchecker when starting new Ispell
12615 process.
12616
12617 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12618
12619 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12620 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12621
12622 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12623
12624 * version.el (motif-version-string, gtk-version-string)
12625 (ns-version-string): Declare.
12626
12627 2012-05-27 Juri Linkov <juri@jurta.org>
12628
12629 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12630 after the `eval-defun-1' specialcaseing
12631 like in `edebug-eval-defun' (bug#10181).
12632
12633 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12634 like in `eval-defun-1'.
12635
12636 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12637
12638 * mail/sendmail.el (mail-yank-region):
12639 Recognize rmail-yank-current-message in addition to insert-buffer.
12640 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12641 a *mail* buffer created through rmail-start-mail with sendmail as
12642 mail-user-agent.
12643
12644 2012-05-27 Chong Yidong <cyd@gnu.org>
12645
12646 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12647 Default to 256 (Bug#11267).
12648
12649 * help.el (describe-mode): Doc fix.
12650
12651 2012-05-26 Glenn Morris <rgm@gnu.org>
12652
12653 * w32-fns.el (w32-init-info): Remove.
12654 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12655
12656 * info.el (info-initialize): For self-contained NS builds, put the
12657 included info/ directory at the front. (Bug#2791)
12658
12659 * paths.el (Info-default-directory-list): Make it a defcustom,
12660 mainly so that we can use custom-initialize-delay.
12661
12662 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * subr.el (buffer-has-markers-at): Mark obsolete.
12665
12666 * subr.el (lambda): Use declare.
12667
12668 * emacs-lisp/lisp-mode.el (lambda):
12669 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12670
12671 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12672
12673 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12674
12675 2012-05-26 Glenn Morris <rgm@gnu.org>
12676
12677 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12678
12679 2012-05-25 Glenn Morris <rgm@gnu.org>
12680
12681 * paths.el: Remove no-byte-compile.
12682 * loadup.el: No need to load paths.el uncompiled.
12683
12684 * image.el (imagemagick-types-inhibit): Doc fix.
12685
12686 * version.el: Remove no-byte-compile and associated formatting.
12687 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12688 is ancient code from when there was an "inc-vers.el".
12689
12690 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12691
12692 * progmodes/gdb-mi.el: Minor style changes.
12693 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12694 Turn into minor modes.
12695 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12696 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12697 (gdb-shell): Remove unneeded let-binding.
12698 (gdb-get-many-fields): Eliminate O(n²) behavior.
12699
12700 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12701
12702 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12703 platforms that don't link in fontset.c.
12704
12705 2012-05-25 Juri Linkov <juri@jurta.org>
12706
12707 Use the same diff color scheme as in modern VCSes (bug#10181).
12708
12709 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12710 to avoid confusion with `diff-added' that now uses green colors.
12711 (diff-removed): Use shades of red.
12712 (diff-added): Use shades of green.
12713 (diff-changed): Leave just the yellow color.
12714 (diff-use-changed-face): New variable.
12715 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12716 how to highlight context diff changes.
12717 (diff-refine-change): Use shades of yellow.
12718 (diff-refine-removed): New face that uses shades of red.
12719 (diff-refine-added): New face that uses shades of green.
12720 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12721 `diff-refine-removed' in the call to `smerge-refine-subst'
12722 depending on the value of `diff-use-changed-face'.
12723
12724 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12725 (smerge-other): Use shades of green.
12726 (smerge-base): Use shades of yellow.
12727 (smerge-refined-change): Empty face.
12728 (smerge-refined-removed): New face that uses shades of red.
12729 (smerge-refined-added): New face that uses shades of green.
12730 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12731 args `props-r' and `props-a', and use them. Doc fix.
12732 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12733 on its value use different faces `smerge-refined-change',
12734 `smerge-refined-removed', `smerge-refined-added' in the call to
12735 `smerge-refine-subst'.
12736
12737 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12738 Add face condition `min-colors 88' with shades of red.
12739 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12740 `min-colors 88' with shades of green.
12741 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12742 `min-colors 88' with shades of yellow.
12743
12744 2012-05-24 Glenn Morris <rgm@gnu.org>
12745
12746 * paths.el (prune-directory-list, remote-shell-program): Move to...
12747 * files.el (prune-directory-list, remote-shell-program): ...here.
12748 For the latter, delay initialization, prefer ssh, just search PATH.
12749
12750 * paths.el (term-file-prefix): Move to faces.el (the only user).
12751 * faces.el (term-file-prefix): Move here, make it a defcustom.
12752
12753 * paths.el (news-directory, news-path, news-inews-program):
12754 Move to gnus/nnspool.el.
12755
12756 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12757
12758 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12759 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12760 Make the latter a defcustom, with a delayed initialization.
12761
12762 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12763 These were deleted from Gnus itself late 2010.
12764
12765 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12766
12767 * progmodes/which-func.el (which-func-ff-hook):
12768 Check against user-error, not error.
12769
12770 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12771 cl-specs.el, which no longer exists.
12772
12773 2012-05-22 Glenn Morris <rgm@gnu.org>
12774
12775 * info.el (info-emacs-bug): New command.
12776 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12777 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12778
12779 2012-05-21 Glenn Morris <rgm@gnu.org>
12780
12781 * makefile.w32-in (update-subdirs-SH):
12782 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12783
12784 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12787
12788 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12789 Simplify Maven regexp, and make sure the file can't start with a space
12790 (bug#11517).
12791
12792 2012-05-21 Glenn Morris <rgm@gnu.org>
12793
12794 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12795 Scrap superfluous subshells.
12796
12797 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12800 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12801
12802 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12803
12804 * calc/calc.el (calc-ensure-consistent-units): New variable.
12805
12806 * calc/calc-units.el (math-consistent-units-p)
12807 (math-check-unit-consistency): New functions.
12808 (calc-quick-units, calc-convert-units):
12809 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12810 is non-nil.
12811 (calc-extract-units): Fix typo.
12812
12813 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12814
12815 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12816
12817 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12818 (flyspell-default-deplacement-commands): Don't spell check after
12819 repeated window/frame switches (e.g. triggered by mouse-movement).
12820 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12821 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12822 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12823 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12824 Remove unused vars.
12825 (flyspell-get-casechars, flyspell-get-not-casechars):
12826 Simplify; Don't bother removing a ] just to add it back.
12827 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12828
12829 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12830
12831 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12832 New functions.
12833 (math-function-table): Add support for more C functions.
12834
12835 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12836
12837 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12838 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12839 Protect delay handling for otherchars against empty otherchars.
12840
12841 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12844 their respective macro declarations.
12845 * skeleton.el (define-skeleton):
12846 * progmodes/compile.el (define-compilation-mode):
12847 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12848 (define-ibuffer-filter):
12849 * emacs-lisp/generic.el (define-generic-mode):
12850 * emacs-lisp/easy-mmode.el (define-minor-mode)
12851 (define-globalized-minor-mode):
12852 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12853 * emacs-lisp/byte-run.el (defsubst):
12854 * custom.el (deftheme): Add doc-string metadata.
12855
12856 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12859
12860 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12861
12862 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12863
12864 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12865 * emacs-lisp/cl-macs.el: Idem.
12866 * emacs-lisp/cl-specs.el: Remove.
12867
12868 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 Minor renaming of internal CL functions and variables.
12871 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12872 (cl--position): Rename from cl-position.
12873 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12874 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12875 (cl--random-state): Rename from *random-state*.
12876
12877 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12880 parens around the arg list (bug#11499).
12881
12882 2012-05-17 Juri Linkov <juri@jurta.org>
12883
12884 * isearch.el (word-search-regexp, word-search-backward)
12885 (word-search-forward, word-search-backward-lax)
12886 (word-search-forward-lax): Move functions from search.c
12887 (bug#10145, bug#11381).
12888
12889 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12890
12891 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12892 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12893 Delay for otherchars as for normal word components.
12894
12895 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * minibuffer.el (completion--sifn-requote): Fix last change.
12898 (minibuffer-local-must-match-filename-map):
12899 Move define-obsolete-variable-alias before its var.
12900
12901 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12902
12903 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12904
12905 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12906 behavior.
12907 (completion--string-equal-p): New function.
12908 (completion--twq-all): Use it to get better assertion failure data.
12909
12910 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12911 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12912 (shell--requote-argument): New functions.
12913 (shell-completion-vars): Use them.
12914 (shell--parse-pcomplete-arguments): Rename from
12915 shell-parse-pcomplete-arguments.
12916 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12917 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12918 Obey comint-file-name-quote-list.
12919
12920 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12921 (smie-indent-keyword): Use it.
12922
12923 2012-05-14 Stefan Merten <smerten@oekonux.de>
12924
12925 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12926
12927 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12928
12929 * net/rlogin.el (rlogin-mode-map): Fix last change.
12930
12931 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12932
12933 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12934 the following \r\n using a single `process-send-string', since the
12935 Lotus SMTP server refuses to accept any commands if they are sent
12936 with two `process-send-string's (Bug#11444).
12937
12938 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12939
12940 * shell.el (shell-parse-pcomplete-arguments):
12941 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12942
12943 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12944
12945 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12946 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12947 (image-transform-width, image-transform-fit-width): New functions.
12948 (image-transform-properties): Use them.
12949 (image-transform-check-size): New function.
12950 (image-toggle-display-image): Use it (for testing).
12951 (image-transform-set-rotation): Reduce angle mod 360.
12952 Delete obsolete comment.
12953
12954 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12955
12956 * image-mode.el: Fix scaling (bug#11399).
12957 (image-transform-resize): Doc fix.
12958 (image-transform-properties): Default scale is 1 and height should
12959 be an integer.
12960
12961 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12962
12963 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12964 than hard-coding `car', to fix misbehavior when moving forward.
12965
12966 2012-05-13 Chong Yidong <cyd@gnu.org>
12967
12968 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12969 (tabulated-list-entries, tabulated-list-padding)
12970 (tabulated-list-sort-key): Make permanent-local.
12971
12972 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12973 (electric-buffer-list): Put electric buffer menu
12974 command descriptions in this docstring, instead of the docstring
12975 of electric-buffer-menu-mode. Code cleanups.
12976 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12977 Electric-buffer-menu-mode.
12978 (electric-buffer-update-highlight): Minor code cleanup.
12979
12980 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12981
12982 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12983 (Bug#11447)
12984
12985 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 Move define-obsolete-variable-alias before the var's definition.
12988 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12989 * tooltip.el (tooltip-hook):
12990 * textmodes/reftex-toc.el (reftex-toc-map):
12991 * textmodes/reftex-sel.el (reftex-select-label-map)
12992 (reftex-select-bib-map):
12993 * textmodes/reftex-index.el (reftex-index-map)
12994 (reftex-index-phrases-map):
12995 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12996 * progmodes/meta-mode.el (meta-mode-map):
12997 * novice.el (disabled-command-hook):
12998 * loadhist.el (unload-hook-features-list):
12999 * frame.el (blink-cursor):
13000 * files.el (find-file-not-found-hooks, write-file-hooks)
13001 (write-contents-hooks):
13002 * emulation/tpu-edt.el (GOLD-map):
13003 * emacs-lock.el (emacs-lock-from-exiting):
13004 * emacs-lisp/generic.el (generic-font-lock-defaults):
13005 * emacs-lisp/chart.el (chart-map):
13006 * dos-fns.el (register-name-alist):
13007 * dired-x.el (dired-omit-files-p):
13008 * desktop.el (desktop-enable):
13009 * cus-edit.el (custom-mode-hook):
13010 * buff-menu.el (buffer-menu-mode-hook):
13011 * bookmark.el (bookmark-read-annotation-text-func)
13012 (bookmark-exit-hooks):
13013 * allout.el (allout-mode-deactivate-hook)
13014 (allout-exposure-change-hook, allout-structure-added-hook)
13015 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13016 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13017 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13018 comes before the corresponding variable's definition.
13019
13020 2012-05-12 Chong Yidong <cyd@gnu.org>
13021
13022 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13023 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13024 (Buffer-menu-mode-map): Bind it.
13025 (Buffer-menu--pretty-name): Add a mouse-face property.
13026
13027 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13030 (prolog-upper-case-string, prolog-lower-case-string)
13031 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13032 (prolog-use-smie, prolog-smie-grammar): New vars.
13033 (prolog-smie-forward-token, prolog-smie-backward-token)
13034 (prolog-smie-rules): New funs.
13035 (prolog-comment-indent): Remove.
13036 (prolog-mode-variables): Use default comment indentation instead.
13037 Setup SMIE.
13038 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13039 (prolog-mode): Don't call them any more.
13040 (prolog-electric-colon, prolog-electric-dash)
13041 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13042
13043 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13044
13045 * minibuffer.el (completion--twq-all): Again, allow case differences.
13046
13047 * term.el: Move keymap initialization code to be more idiomatic.
13048 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13049 (term-terminal-menu): Move initialization into declaration.
13050 (term-escape-char): Let the user set it in her .emacs.
13051
13052 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13053 Provide SMIE-based indentation (not enabled by default yet).
13054 (sh-mode-map): Don't bind electric keys.
13055 Use electric-pair-mode instead of skeleton-pair.
13056 (sh-assignment-regexp): Fit within 80 columns.
13057 (sh-indent-supported): Specify actual shell name instead of boolean.
13058 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13059 (sh-maybe-here-document): Use it. Make obsolete.
13060 (sh-electric-here-document-mode) New minor mode.
13061 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13062 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13063 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13064 (sh-smie-rc-grammar, sh-use-smie): New vars.
13065 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13066 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13067 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13068 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13069 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13070 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13071 (sh-set-shell): Use smie-setup if requested.
13072
13073 * term.el (term-set-escape-char): Properly set term-escape-char.
13074 See http://stackoverflow.com/questions/10524656.
13075
13076 2012-05-10 Chong Yidong <cyd@gnu.org>
13077
13078 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13079 Use url-generic-parse-url, and handle host names and Windows
13080 filenames properly.
13081 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13082 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13083 URL schemes to work on.
13084 (ffap--toggle-read-only): New function.
13085 (ffap-read-only, ffap-read-only-other-window)
13086 (ffap-read-only-other-frame): Use it.
13087 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13088 necessary for ffap-url-unwrap-remote.
13089
13090 2012-05-10 Dave Abrahams <dave@boostpro.com>
13091
13092 * cus-start.el (create-lockfiles): Add it.
13093
13094 2012-05-09 Chong Yidong <cyd@gnu.org>
13095
13096 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13097 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13098
13099 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13100
13101 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13102
13103 2012-05-09 Chong Yidong <cyd@gnu.org>
13104
13105 * ansi-color.el (ansi-color-process-output): Check for validity of
13106 comint-last-output-start before using it. This avoids a bad
13107 interaction with gdb-mi's input/output buffer.
13108
13109 2012-05-09 Glenn Morris <rgm@gnu.org>
13110
13111 * files.el (dir-locals-read-from-file):
13112 Mention dir-locals in any error message.
13113
13114 2012-05-09 Chong Yidong <cyd@gnu.org>
13115
13116 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13117 package (Bug#11410).
13118
13119 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13120 variables into description.
13121
13122 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13123
13124 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13125 shell-delimiter-argument-list (bug#11348).
13126 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13127
13128 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * textmodes/rst.el: Silence byte-compiler warnings.
13131 (rst-re-alist, rst-reset-section-caches): Move around.
13132 (rst-re): Use `characterp', not `char-valid-p'.
13133 (font-lock-beg, font-lock-end): Declare.
13134
13135 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13136 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13137
13138 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13139
13140 2012-05-08 Glenn Morris <rgm@gnu.org>
13141
13142 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13143
13144 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13145
13146 * vc/log-edit.el: Add GNU coding standards highlighting.
13147 (log-edit-font-lock-gnu-style)
13148 (log-edit-font-lock-gnu-keywords): New vars.
13149 (log-edit-font-lock-keywords): New fun.
13150 (log-edit-mode): Don't fold case in font-lock.
13151 (log-edit-font-lock-keywords): Do not assume case-folding.
13152
13153 * imenu.el: Misc cleanup. Make docstrings out of comments.
13154 Use lexical-binding.
13155 (imenu--index-alist, imenu--last-menubar-index-alist)
13156 (imenu-menubar-modified-tick): Use defvar-local.
13157 (imenu--split-menu): Remove unused var.
13158 (imenu--cleanup-seen): Declare as global.
13159 (imenu--cleanup): Use dolist.
13160
13161 * subr.el (defvar-local): Add debug spec and doc-string position.
13162
13163 2012-05-08 Glenn Morris <rgm@gnu.org>
13164
13165 * language/burmese.el, language/cham.el, language/czech.el:
13166 * language/english.el, language/georgian.el, language/greek.el:
13167 * language/japanese.el, language/khmer.el, language/korean.el:
13168 * language/lao.el, language/misc-lang.el, language/romanian.el:
13169 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13170 * language/thai.el, language/utf-8-lang.el:
13171 Remove no-byte-compile setting.
13172
13173 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13174
13175 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13176
13177 * progmodes/make-mode.el (makefile-browse):
13178 Remove unnecessary interactive. (Bug#11324)
13179
13180 2012-05-07 Glenn Morris <rgm@gnu.org>
13181
13182 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13183
13184 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13185
13186 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13187
13188 * loadup.el: Preload newcomment.el.
13189 * newcomment.el: Move autoload-only code to toplevel.
13190
13191 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13192 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13193 Handle new :right-align column property.
13194 (tabulated-list-print-col): Idem, plus use `display' text-property to
13195 try and preserve alignment for variable pitch fonts.
13196
13197 2012-05-07 Chong Yidong <cyd@gnu.org>
13198
13199 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13200 (tabulated-list-use-header-line): New var.
13201 (tabulated-list-init-header): Use it.
13202 (tabulated-list-print-fake-header): New function.
13203 (tabulated-list-print): Use it.
13204 (tabulated-list-sort-button-map): Add non-header-line commands.
13205 (tabulated-list-init-header): Add column name property to basic
13206 labels as well.
13207 (tabulated-list-col-sort): Handle non-header-line button case.
13208 (tabulated-list--sort-by-column-name): Fix a corner case.
13209
13210 * buff-menu.el (list-buffers--refresh):
13211 Handle Buffer-menu-use-header-line.
13212
13213 2012-05-06 Chong Yidong <cyd@gnu.org>
13214
13215 * buff-menu.el: Convert to Tabulated List mode.
13216 (Buffer-menu-buffer+size-width): Make obsolete.
13217 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13218 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13219 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13220 documentation into docstring of buffer-menu.
13221 (Buffer-menu-toggle-files-only): Add an informative message.
13222 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13223 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13224 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13225 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13226 (Buffer-menu-execute, Buffer-menu-select)
13227 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13228 (Buffer-menu-bury): Use Tabulated List machinery.
13229 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13230 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13231 Delete.
13232 (list-buffers--refresh): New function.
13233 (list-buffers-noselect): Use it.
13234 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13235 (Buffer-menu--pretty-file-name): New helper functions.
13236
13237 * loadup.el: Preload tabulated-list.
13238
13239 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13240 tabulated-list-sort-column.
13241 (tabulated-list-init-header): Add the initial aligning space even
13242 if tabulated-list-padding is zero.
13243
13244 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13245
13246 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13247 whose cdr is not a cons cell correctly (bug#11038).
13248
13249 2012-05-06 Chong Yidong <cyd@gnu.org>
13250
13251 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13252 Accept additional plist in column descriptors.
13253 (tabulated-list-init-header): Obey it.
13254 (tabulated-list-get-entry): New function.
13255 (tabulated-list-put-tag): Use it. Use string-width instead of
13256 length.
13257 (tabulated-list--column-number): New function.
13258 (tabulated-list-print): Use it.
13259 (tabulated-list-print-col): New function.
13260 Set `tabulated-list-column-name' property on each column's text.
13261 (tabulated-list-print-entry): Use it.
13262 (tabulated-list-delete-entry, tabulated-list-set-col):
13263 New functions.
13264 (tabulated-list-sort-column): New command (Bug#11337).
13265
13266 * buff-menu.el (list-buffers): Move C-x C-b binding from
13267 buff-menu.el to bindings.el.
13268
13269 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13270 :advertised-binding feature.
13271
13272 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13273
13274 * progmodes/compile.el (compilation-internal-error-properties):
13275 Calculate start position correctly when end-col is set but
13276 end-line is not (Bug#11382).
13277
13278 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13279
13280 * man.el (Man-unindent): Use text-property-default-nonsticky to
13281 prevent untabify from inheriting face properties (Bug#11408).
13282
13283 2012-05-05 Stefan Merten <smerten@oekonux.de>
13284
13285 * textmodes/rst.el: Major merge with upstream development up to
13286 Docutils SVN r7399 / rst.el V1.2.1.
13287
13288 Clarify maintainership and authors.
13289
13290 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13291 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13292 (rst-official-version, rst-official-cvs-rev, rst-version)
13293 (rst-package-emacs-version-alist): New functions and variables
13294 for version information.
13295
13296 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13297 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13298 (rst-mode-syntax-table, rst-mode): New and corrected functions
13299 and variables representing reStructuredText features.
13300
13301 (rst-re): New function for reStructuredText regexes. Use in
13302 many places.
13303
13304 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13305 (rst-mode-map): Rebind keys.
13306
13307 (rst-mode-lazy, rst-font-lock-keywords)
13308 (rst-font-lock-extend-region)
13309 (rst-font-lock-extend-region-internal)
13310 (rst-font-lock-extend-region-extend)
13311 (rst-font-lock-find-unindented-line-limit)
13312 (rst-font-lock-find-unindented-line-match)
13313 (rst-adornment-level, rst-font-lock-adornment-level)
13314 (rst-font-lock-adornment-match)
13315 (rst-font-lock-handle-adornment-pre-match-form)
13316 (rst-font-lock-handle-adornment-matcher): Major revision of
13317 font-locking. Integrate with other code. Use `jit-lock-mode'.
13318
13319 (rst-preferred-adornments, rst-adjust-hook)
13320 (rst-new-adornment-down, rst-preferred-bullets)
13321 (rst-preferred-bullets, rst-indent, rst-indent-width)
13322 (rst-indent-field, rst-indent-literal-normal)
13323 (rst-indent-literal-minimized, rst-indent-comment): Change,
13324 extend and improve customization.
13325
13326 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13327 (rst-normalize-cursor-position, rst-get-decoration)
13328 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13329 (rst-rstrip, rst-toc-insert-find-delete-contents)
13330 (rst-shift-fill-region, rst-compute-bullet-tabs)
13331 (rst-debug-print-tabs, rst-debug-mark-found)
13332 (rst-shift-region-guts, rst-shift-region-right)
13333 (rst-shift-region-left, rst-use-char-classes)
13334 (rst-font-lock-keywords-function)
13335 (rst-font-lock-indentation-point)
13336 (rst-font-lock-find-unindented-line-begin)
13337 (rst-font-lock-find-unindented-line-end)
13338 (rst-font-lock-find-unindented-line)
13339 (rst-font-lock-adornment-point, rst-font-lock-level)
13340 (rst-adornment-level-alist): Remove functions and variables.
13341
13342 (rst-compare-adornments, rst-get-adornment-match)
13343 (rst-suggest-new-adornment, rst-get-adornments-around)
13344 (rst-adornment-complete-p, rst-get-next-adornment)
13345 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13346 (rst-straighten-adornments): Standardize function names to
13347 use "adornment" instead of "decoration". Correct callers.
13348 Similar standardizing in many places.
13349
13350 (rst-update-section, rst-adjust, rst-promote-region)
13351 (rst-enumerate-region, rst-bullet-list-region)
13352 (rst-repeat-last-character): Correct use of `interactive'.
13353
13354 (rst-classify-adornment, rst-find-all-adornments)
13355 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13356 (rst-find-leftmost-column, rst-repeat-last-character):
13357 Refactor functions.
13358
13359 (rst-find-title-line, rst-reset-section-caches)
13360 (rst-get-adornments-around, rst-adjust-adornment-work)
13361 (rst-arabic-to-roman, rst-roman-to-arabic)
13362 (rst-insert-list-pos, rst-insert-list-new-item)
13363 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13364 New functions.
13365
13366 (rst-all-sections, rst-section-hierarchy)
13367 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13368 New variables.
13369
13370 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13371 configuration instead of only buffer. Change where necessary.
13372
13373 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13374 (rst-shift-region, rst-adaptive-fill): New functions for
13375 indentation and filling.
13376
13377 (rst-comment-line-break, rst-comment-indent)
13378 (rst-comment-insert-comment, rst-comment-region)
13379 (rst-uncomment-region): New functions for handling comments.
13380
13381 (rst-compile): Quote shell arguments.
13382
13383 (rst-compile-pdf-preview, rst-compile-slides-preview):
13384 Delete temporary files after use.
13385
13386 2012-05-05 Glenn Morris <rgm@gnu.org>
13387
13388 * calendar/cal-html.el: Optionally include holidays in the output.
13389 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13390 (cal-html-holidays): New option.
13391 (cal-html-css-default): Add holiday entry.
13392 (holiday-in-range): Autoload it.
13393 (cal-html-htmlify-entry): Add optional class argument.
13394 (cal-html-htmlify-list): Add optional holidays argument.
13395 (cal-html-insert-agenda-days): Include holidays in the output.
13396 (cal-html-one-month): Maybe include holidays.
13397
13398 * calendar/holidays.el (holiday-in-range):
13399 Move here from cal-tex-list-holidays.
13400 * calendar/cal-tex.el (cal-tex-list-holidays):
13401 Make it an obsolete alias for holiday-in-range. Update all callers.
13402
13403 2012-05-05 Chong Yidong <cyd@gnu.org>
13404
13405 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13406 Nextstep.
13407
13408 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13409
13410 * files.el (file-auto-mode-skip): New var.
13411 (set-auto-mode-1): Use it.
13412
13413 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13414
13415 * repeat.el: Use lexical-binding.
13416 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13417 (repeat-undo-count): Remove.
13418 (repeat):
13419 * progmodes/octave-mod.el (octave-abbrev-start):
13420 * progmodes/f90.el (f90-abbrev-start):
13421 * face-remap.el (text-scale-adjust):
13422 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13423
13424 * emacs-lisp/pcase.el (pcase--let*): New function.
13425 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13426 a bit more.
13427 (pcase--split-pred): Be more clever about ruling out overlap between
13428 a predicate and some constant pattern.
13429 (pcase--q1): Use `null' instead of (eq foo nil).
13430
13431 * subr.el (setq-local, defvar-local): New macros.
13432 (kbd): Redefine as an alias.
13433 (with-selected-window): Leave unrelated frames alone.
13434 (set-temporary-overlay-map): New function.
13435
13436 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13437
13438 * subr.el (user-error): New function.
13439 * window.el (switch-to-buffer):
13440 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13441 (smerge-match-conflict):
13442 * simple.el (previous-matching-history-element)
13443 (next-matching-history-element, goto-history-element, undo-more)
13444 (undo-start):
13445 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13446 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13447 (next-file, tags-loop-scan, list-tags, complete-tag):
13448 * progmodes/compile.el (compilation-loop):
13449 * mouse.el (mouse-minibuffer-check):
13450 * man.el (Man-bgproc-sentinel, Man-goto-page):
13451 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13452 (Info-history-forward, Info-follow-reference, Info-menu)
13453 (Info-extract-menu-item, Info-extract-menu-counting)
13454 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13455 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13456 (Info-next-reference, Info-prev-reference, Info-index)
13457 (Info-index-next, Info-follow-nearest-node)
13458 (Info-copy-current-node-name):
13459 * imenu.el (imenu--make-index-alist)
13460 (imenu-default-create-index-function, imenu-add-to-menubar):
13461 * files.el (basic-save-buffer, recover-file):
13462 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13463 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13464 (checkdoc-message-text, checkdoc-defun):
13465 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13466 * cus-edit.el (customize-changed-options, customize-rogue)
13467 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13468 (custom-variable-mark-to-reset-standard)
13469 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13470 (custom-file):
13471 * completion.el (check-completion-length):
13472 * comint.el (comint-search-arg)
13473 (comint-previous-matching-input-string-position)
13474 (comint-previous-matching-input)
13475 (comint-replace-by-expanded-history-before-point, comint-send-input)
13476 (comint-copy-old-input, comint-backward-matching-input)
13477 (comint-goto-process-mark, comint-set-process-mark):
13478 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13479 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13480
13481 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * dabbrev.el (dabbrev--ignore-case-p): New function.
13484 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13485 Use it.
13486
13487 * files.el (automount-dir-prefix): Mark as obsolete.
13488
13489 2012-05-04 Glenn Morris <rgm@gnu.org>
13490
13491 * patcomp.el, play/bruce.el: Move to obsolete/.
13492
13493 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13494
13495 Fix minor Y10k bugs.
13496 * arc-mode.el (archive-unixdate):
13497 * autoinsert.el (auto-insert-alist):
13498 * calc/calc-forms.el (math-this-year):
13499 * emacs-lisp/copyright.el (copyright-current-year)
13500 (copyright-update-year, copyright):
13501 * tar-mode.el (tar-clip-time-string):
13502 * time.el (display-time-update):
13503 Don't assume years have 4 digits.
13504
13505 2012-05-04 Chong Yidong <cyd@gnu.org>
13506
13507 * dos-w32.el (file-name-buffer-file-type-alist)
13508 (direct-print-region-use-command-dot-com):
13509 * ffap.el (ffap-menu-regexp):
13510 * find-file.el (ff-special-constructs):
13511 * follow.el (follow-debug):
13512 * forms.el (forms--debug):
13513 * iswitchb.el (iswitchb-all-frames):
13514 * ido.el (ido-all-frames):
13515 * emacs-lisp/timer.el (timer-max-repeats):
13516 * mail/feedmail.el (feedmail-mail-send-hook)
13517 (feedmail-mail-send-hook-queued):
13518 * mail/footnote.el (footnote-signature-separator):
13519 * mail/mailabbrev.el (mail-alias-separator-string)
13520 (mail-abbrev-mode-regexp):
13521 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13522 * progmodes/idlwave.el (idlwave-libinfo-file)
13523 (idlwave-default-completion-case-is-down)
13524 (idlwave-library-routines): Convert defvars to defcustoms.
13525
13526 * mail/rmail.el (rmail-decode-mime-charset):
13527 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13528 (idlwave-shell-fix-inserted-breaks)
13529 (idlwave-shell-activate-alt-keybindings)
13530 (idlwave-shell-use-breakpoint-glyph):
13531 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13532
13533 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13534
13535 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13536
13537 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13538
13539 * progmodes/verilog-mode.el (font-lock-keywords):
13540 Fix mis-highligting auto. Reported by Craig Barner.
13541 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13542 defines from global name space. Reported by Dan Dever.
13543 (verilog-auto-reset, verilog-auto-reset-widths)
13544 (verilog-auto-tieoff): Support using unbased numbers for
13545 AUTORESET and AUTOTIEOFF.
13546 (verilog-submit-bug-report): Update variable list.
13547 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13548 parenthesis from not matching. Reported by Michael Rytting.
13549 (verilog-auto-template-lint): Fix hash error when linting modules
13550 with no used templates.
13551 (verilog-warn, verilog-warn-error)
13552 (verilog-warn-fatal): When non-interactive report multiple
13553 warnings before exiting. Suggested by Brad Dobbie.
13554 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13555 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13556 to report unused template errors. Reported by Brad Dobbie.
13557 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13558 nets, bug438. Reported by Vns Blore.
13559 (verilog-auto-inout-module, verilog-auto-reg)
13560 (verilog-read-decls, verilog-read-sub-decls-sig)
13561 (verilog-signals-edit-wire-reg, verilog-signals-with):
13562 Fix passing of Verilog data types in ANSI input/output ports
13563 such as "output logic" into the AUTOs. Special case "wire" and
13564 "reg" for backwards compatibility presuming Verilog 2001.
13565 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13566 (verilog-preprocess): Fix replication of preprocess output.
13567 Reported by Brad Dobbie.
13568 (verilog-auto-inst-interfaced-ports):
13569 Create verilog-auto-inst-interfaced-ports, bug429.
13570 Reported by Julian Gorfajn.
13571 (verilog-after-save-font-hook)
13572 (verilog-before-save-font-hook): New variable.
13573 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13574 (verilog-save-font-mods): Wrap disabling fontification, reported
13575 by David Rogoff.
13576 (verilog-do-indent, verilog-pretty-declarations-auto)
13577 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13578 Reported by Pierre-David Pfister.
13579 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13580 of class declarations, bug292. Reported by Kevin Heilman.
13581 (verilog-read-decls): Fix 'parameter type' not appearing in
13582 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13583 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13584 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13585 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13586 Reported by David Kravitz.
13587
13588 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13589
13590 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13591 assignment with tests in ifs and for loops.
13592 (verilog-extended-complete-re, verilog-complete-reg): Change so
13593 that DPI inport functions don't look like fuction declarations.
13594 (verilog-pretty-expr): Don't line up assignment
13595 operations to the test and increment in if and for loops
13596 (verilog-extended-complete-re, verilog-complete-reg): Change so
13597 that DPI inport functions don't look like fuction declarations.
13598
13599 2012-05-03 Kenichi Handa <handa@m17n.org>
13600
13601 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13602 decoding, and show a warning message without signaling an error
13603 (Bug#11282).
13604
13605 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * emacs-lisp/bytecomp.el
13608 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13609 since cconv.el might have introduced :fun-body, internal-make-closure,
13610 and friends for bytecomp to handle (bug#11391).
13611 * custom.el (defcustom): Avoid ((λ ..) ..).
13612
13613 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13614
13615 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13616
13617 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13618
13619 * notifications.el (dbus-debug):
13620 * term/linux.el (gpm-mouse-enable):
13621 * term/screen.el (xterm-register-default-colors): Declare.
13622
13623 2012-05-02 Chong Yidong <cyd@gnu.org>
13624
13625 * cus-start.el (gc-cons-percentage, exec-suffixes)
13626 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13627 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13628 (make-cursor-line-fully-visible, void-text-area-pointer)
13629 (font-list-limit): Add customization data.
13630
13631 * allout.el (allout-exposure-change-functions)
13632 (allout-structure-added-functions)
13633 (allout-structure-deleted-functions)
13634 (allout-structure-shifted-functions): Rename abnormal hooks from
13635 *-hook, and convert to defcustoms.
13636 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13637 Convert to defcustoms.
13638 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13639
13640 * allout-widgets.el: Hook callers changed.
13641
13642 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13643
13644 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13645 the yanked message in preference to the default value of
13646 buffer-file-coding-system.
13647
13648 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13649
13650 * window.el (display-buffer--action-function-custom-type):
13651 Fix entry.
13652
13653 2012-05-02 Alan Mackenzie <acm@muc.de>
13654
13655 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13656
13657 2012-05-01 Glenn Morris <rgm@gnu.org>
13658
13659 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13660
13661 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13662
13663 * cus-edit.el (custom-variable-documentation): Simplify with format.
13664
13665 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13666 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * simple.el (suggest-key-bindings, execute-extended-command):
13669 Move from keyboard.c.
13670
13671 2012-05-01 Chong Yidong <cyd@gnu.org>
13672
13673 * follow.el: Eliminate advice.
13674 (set-process-filter, process-filter, sit-for): Advice deleted.
13675 (follow-mode-off-hook): Obsolete hook removed.
13676 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13677 Vars deleted.
13678 (follow-auto): Use a :set function.
13679 (follow-mode): Rewritten. Don't advise process filters.
13680 (follow-switch-to-current-buffer-all, follow-scroll-up)
13681 (follow-scroll-down): Assume follow-mode is bound.
13682 (follow-comint-scroll-to-bottom)
13683 (follow-align-compilation-windows): New functions.
13684 (follow--window-sorter): New function.
13685 (follow-all-followers): Use it to explicitly sort windows by their
13686 positions; don't make assumptions about next-window order.
13687 (follow-windows-start-end, follow-delete-other-windows-and-split)
13688 (follow-calc-win-start): Doc fix.
13689 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13690 vertical-motion unnecessarily.
13691 (follow-adjust-window): New function.
13692 (follow-post-command-hook): Use it.
13693 (follow-call-set-process-filter, follow-call-process-filter)
13694 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13695 (follow-stop-intercept-process-output, follow-generic-filter):
13696 Functions deleted.
13697 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13698 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13699 New functions, replacing advice on scroll-bar-* commands.
13700 (follow-mwheel-scroll): New function (Bug#4112).
13701
13702 * comint.el (comint-adjust-point): New function.
13703 (comint-postoutput-scroll-to-bottom): Use it.
13704 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13705
13706 2012-05-01 Glenn Morris <rgm@gnu.org>
13707
13708 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13709 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13710 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13711 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13712 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13713 Remove no-byte-compile setting.
13714
13715 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13718 all-completions code to not return a number in the last cdr.
13719
13720 2012-04-30 Leo Liu <sdl.web@gmail.com>
13721
13722 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13723 read-only error.
13724
13725 2012-04-29 Chong Yidong <cyd@gnu.org>
13726
13727 * follow.el (follow-calc-win-end): Rewrite to handle partial
13728 screen lines correctly (Bug#8390).
13729 (follow-avoid-tail-recenter): Minor cleanup.
13730
13731 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13732
13733 Avoid the obsolete `assoc' package.
13734 * speedbar.el (speedbar-refresh): Avoid adelete.
13735 (speedbar-file-lists): Simplify and avoid aput.
13736 * man.el (Man--sections, Man--refpages): New vars, replacing
13737 Man-sections-alist and Man-refpages-alist.
13738 (Man-build-section-alist, Man-build-references-alist):
13739 Use them; avoid aput.
13740 (Man--last-section, Man--last-refpage): New vars.
13741 (Man-follow-manual-reference): Use them.
13742 Use the `default' arg of completing-read.
13743 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13744
13745 2012-04-27 Chong Yidong <cyd@gnu.org>
13746
13747 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13748
13749 * startup.el (x-apply-session-resources): New function.
13750
13751 * term/ns-win.el (ns-initialize-window-system):
13752 * term/w32-win.el (w32-initialize-window-system):
13753 * term/x-win.el (x-initialize-window-system): Use it to properly
13754 set menu-bar-mode and other vars from X resources, even if the
13755 initial frame is not a window-system frame (Bug#2299).
13756
13757 * subr.el (read-key): Avoid running filter function when setting
13758 up temporary tool bar entries (Bug#9922).
13759
13760 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13761
13762 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13763 (Bug#11344)
13764
13765 2012-04-27 Chong Yidong <cyd@gnu.org>
13766
13767 * select.el (xselect--encode-string): New function, split from
13768 xselect-convert-to-string.
13769 (xselect-convert-to-string): Use it.
13770 (xselect-convert-to-filename, xselect-convert-to-os)
13771 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13772 returned strings are properly encoded (Bug#11315).
13773
13774 2012-04-27 Chong Yidong <cyd@gnu.org>
13775
13776 * simple.el (delete-active-region): Move to killing custom group.
13777
13778 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13779
13780 * progmodes/which-func.el (which-func-current): Quote %
13781 characters for mode-line processing.
13782
13783 2012-04-27 Chong Yidong <cyd@gnu.org>
13784
13785 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13786 reaching eob (Bug#11286).
13787
13788 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13789
13790 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13791 (gdb): Make it buffer-local and init to zero.
13792 (gdb-control-commands-regexp): New variable.
13793 (gdb-send): Don't wrap in "-interpreter-exec console" if
13794 gdb-control-level is positive. Increment gdb-control-level
13795 whenever the command matches gdb-control-commands-regexp, and
13796 decrement it each time the command is "end". (Bug#11279)
13797
13798 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13799
13800 * window.el (adjust-window-trailing-edge, enlarge-window)
13801 (shrink-window, window-resize):
13802 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13803 windows (Bug#11276).
13804
13805 2012-04-27 Chong Yidong <cyd@gnu.org>
13806
13807 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13808 fix "missing prefix" warning. All callers changed.
13809
13810 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13811
13812 * emacs-lisp/assoc.el: Move to obsolete/.
13813
13814 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13815
13816 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13817
13818 * term/ns-win.el (ns-define-service):
13819 * progmodes/pascal.el (pascal-goto-defun):
13820 * progmodes/js.el (js--read-tab):
13821 * progmodes/etags.el (tags-lazy-completion-table):
13822 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13823 * emacs-lisp/ewoc.el (ewoc--wrap):
13824 * emacs-lisp/assoc.el (aput, adelete, amake):
13825 * doc-view.el (doc-view-convert-current-doc):
13826 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13827
13828 2012-04-26 Chong Yidong <cyd@gnu.org>
13829
13830 * image.el (image-type-from-buffer): Only return supported image
13831 type (Bug#9045).
13832
13833 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13834 value, for symmetry with diff-end-of-hunk.
13835 (diff-split-hunk, diff-find-source-location)
13836 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13837 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13838 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13839 compute the relevant hunk or file properly (Bug#6005).
13840 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13841
13842 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13843
13844 * vc/vc-mtn.el:
13845 * vc/vc-hg.el:
13846 * vc/vc-git.el:
13847 * vc/vc-dir.el:
13848 * vc/vc-cvs.el:
13849 * vc/vc-bzr.el:
13850 * vc/vc-arch.el:
13851 * vc/vc.el: Replace lexical-let by lexical-binding.
13852 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13853 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13854 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13855
13856 2012-04-26 Chong Yidong <cyd@gnu.org>
13857
13858 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13859 (diff-mode-shared-map): Bind it to / and [remap undo].
13860
13861 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13862 (ediff-window-setup-function): Use it as the default, to set up
13863 windows based on whether the current frame is graphical (Bug#2138).
13864 (ediff-choose-window-setup-function-automatically): Make obsolete.
13865
13866 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13867
13868 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13869
13870 * ffap.el: Remove old code for obsolete package.
13871 (ffap-complete-as-file-p): Remove.
13872
13873 Use completion-table-with-quoting for comint and pcomplete.
13874 * comint.el (comint--unquote&requote-argument)
13875 (comint--unquote-argument, comint--requote-argument): New functions.
13876 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13877 (comint-quote-filename): Use regexp-opt-charset.
13878 (comint--common-suffix, comint--common-quoted-suffix)
13879 (comint--table-subvert): Remove.
13880 (comint-unquote-function, comint-requote-function): New vars.
13881 (comint--complete-file-name-data): Use them with
13882 completion-table-with-quoting.
13883 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13884 * pcomplete.el (pcomplete-arg-quote-list)
13885 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13886 (pcomplete-unquote-argument-function): Default to non-nil.
13887 (pcomplete-unquote-argument): Simplify.
13888 (pcomplete--common-quoted-suffix): Remove.
13889 (pcomplete-requote-argument-function): New var.
13890 (pcomplete--common-suffix): New function.
13891 (pcomplete-completions-at-point): Use completion-table-with-quoting
13892 and completion-table-subvert.
13893
13894 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13895 (minibuffer--double-dollars): Preserve properties.
13896 (completion--sifn-requote): New function.
13897 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13898
13899 * minibuffer.el: Add support for completion of quoted/escaped data.
13900 (completion-table-with-quoting, completion-table-subvert): New funs.
13901 (completion--twq-try, completion--twq-all): New functions.
13902 (completion--nth-completion): New function.
13903 (completion-try-completion, completion-all-completions): Use it.
13904
13905 2012-04-25 Leo Liu <sdl.web@gmail.com>
13906
13907 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13908 Use compilation-message if available to find real filename.
13909
13910 2012-04-25 Chong Yidong <cyd@gnu.org>
13911
13912 * vc/diff-mode.el (diff-setup-whitespace): New function.
13913 (diff-mode): Use it.
13914
13915 * vc/diff.el (diff-sentinel):
13916 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13917 Whitespace mode variables based on diff style (Bug#8612).
13918
13919 2012-04-25 Leo Liu <sdl.web@gmail.com>
13920
13921 * progmodes/python.el (python-send-region): Add suffix .py to the
13922 temp file.
13923
13924 * files.el (auto-mode-alist): Use javascript-mode instead.
13925
13926 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13927
13928 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13929
13930 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13931 (soap-resolve-references-for-array-type): Hack to prevent self
13932 references, see Bug#9.
13933 (soap-parse-envelope): Report the contents of the 'detail' node
13934 when receiving a fault reply.
13935 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13936
13937 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13938 (soap-inspect-simple-type): New function.
13939
13940 * net/soap-client.el (soap-simple-type): New struct.
13941 (soap-default-xsd-types, soap-default-soapenc-types)
13942 (soap-decode-basic-type, soap-encode-basic-type):
13943 support unsignedInt and double basic types.
13944 (soap-resolve-references-for-simple-type)
13945 (soap-parse-simple-type, soap-encode-simple-type): New function.
13946 (soap-parse-schema): Parse xsd:simpleType declarations.
13947
13948 * net/soap-client.el (soap-default-xsd-types)
13949 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13950 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13951 the local name of "soapenc:Array".
13952 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13953 decoding integer, byte and anyURI xsd types.
13954
13955 2012-04-25 Chong Yidong <cyd@gnu.org>
13956
13957 * cus-edit.el (custom-buffer-create-internal): Update header text.
13958
13959 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13960
13961 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13962 settings on 'system-type', not on 'window-system'. On MS-Windows,
13963 set interactive-mode on in GDB.
13964
13965 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13966
13967 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13968 (ruby-syntax-propertize-regexp): Remove.
13969 (ruby-syntax-propertize-function): Split regexp into chunks.
13970 Match following code directly.
13971
13972 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13973
13974 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13975 (ruby-syntax-propertize-regexp): New function.
13976 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13977 by a special keyword.
13978
13979 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13980 (ruby-syntax-general-delimiters-goto-beg)
13981 (ruby-syntax-propertize-general-delimiters): New functions.
13982 (ruby-syntax-propertize-function): Use them to handle GDL.
13983 (ruby-font-lock-keywords): Move old handling of GDL...
13984 (ruby-font-lock-syntactic-keywords): .. to here.
13985 (ruby-calculate-indent): Adjust indentation for GDL.
13986
13987 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13988
13989 * notifications.el (top): Remove unneeded declarations.
13990 (notifications-specification-version): Change to "1.2".
13991 (notifications-interface, notifications-notify-method)
13992 (notifications-close-notification-method): Fix docstring.
13993 (notifications-get-capabilities-method): New defconst.
13994 (notifications-notify): Add :action-items, :resident and
13995 :transient hints. Change "image_data" to "image-data" and
13996 "image_path" to "image-path".
13997 (notifications-get-capabilities): New defun.
13998
13999 2012-04-24 Leo Liu <sdl.web@gmail.com>
14000
14001 * progmodes/python.el: Move hideshow setup to the end.
14002
14003 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14004
14005 * window.el (handle-select-window): Clear echo area since this is
14006 no more done by read_char (Bug#11304).
14007
14008 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14009
14010 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14011 and `/ M' to filter-derived-mode.
14012 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14013 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14014 (ibuffer-mark-by-mode): Use default rather than initial-input.
14015 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14016
14017 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14018
14019 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14020 (ibuffer-filter-by-derived-mode): New filter.
14021 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14022
14023 2012-04-23 Andreas Politz <politza@fh-trier.de>
14024
14025 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14026
14027 2012-04-23 Chong Yidong <cyd@gnu.org>
14028
14029 * cus-edit.el (customize-apropos, customize-apropos-options):
14030 Disable matching of non-option variables (Bug#11176).
14031 (customize-option, customize-option-other-window)
14032 (customize-changed-options): Doc fix.
14033 (customize-apropos-options, customize-apropos-faces)
14034 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14035
14036 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14037 Fix word list splitting (Bug#11132).
14038 (apropos-symbol, apropos-keybinding, apropos-label)
14039 (apropos-property, apropos-function-button)
14040 (apropos-variable-button, apropos-misc-button): New faces.
14041 (apropos-symbol-face, apropos-keybinding-face)
14042 (apropos-label-face, apropos-property-face, apropos-match-face):
14043 Variables removed (Bug#8396).
14044 (apropos-library-button, apropos-format-plist, apropos-print)
14045 (apropos-print-doc, apropos-describe-plist): Callers changed.
14046
14047 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14048
14049 * net/xesam.el (xesam-mode-map): Use let-bound map in
14050 initialization. (Bug#11292)
14051
14052 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14053
14054 Preserve ispell session localwords when switching back to
14055 original buffer.
14056
14057 * textmodes/ispell.el (ispell-buffer-session-localwords):
14058 New buffer-local variable to hold buffer session localwords.
14059 (ispell-kill-ispell): Add option 'clear to delete session
14060 localwords.
14061 (ispell-command-loop, ispell-change-dictionary)
14062 (ispell-buffer-local-words): Preserve session localwords when
14063 needed.
14064
14065 * textmodes/flyspell.el (flyspell-process-localwords)
14066 (flyspell-do-correct): Preserve session localwords when needed.
14067
14068 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14069
14070 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14071 using obsolete `translation-table-for-input'.
14072 (ispell-word, ispell-process-line, ispell-complete-word):
14073 Use plain `insert' instead of removed `ispell-insert-word'.
14074
14075 2012-04-22 Chong Yidong <cyd@gnu.org>
14076
14077 * cus-edit.el (custom-variable-menu)
14078 (custom-variable-reset-saved, custom-face-menu)
14079 (custom-face-reset-saved): If there is no saved value, make the
14080 "reset-saved" operation bring back the default (Bug#9509).
14081 (custom-face-state): Properly detect themed faces.
14082
14083 * faces.el (face-spec-set): Stop supporting deprecated form of
14084 third arg.
14085
14086 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14087
14088 Move functions from C to Lisp. Make non-blocking method calls
14089 the default. Implement further D-Bus standard interfaces.
14090
14091 * net/dbus.el (dbus-message-internal): Declare function.
14092 Remove unneeded function declarations.
14093 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14094 (dbus-message-type-method-return, dbus-message-type-error)
14095 (dbus-message-type-signal): Declare variables. Remove local
14096 definitions.
14097 (dbus-interface-dbus, dbus-interface-peer)
14098 (dbus-interface-introspectable, dbus-interface-properties)
14099 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14100 Adapt docstring.
14101 (dbus-interface-objectmanager): New defconst.
14102 (dbus-call-method, dbus-call-method-asynchronously)
14103 (dbus-send-signal, dbus-method-return-internal)
14104 (dbus-method-error-internal, dbus-register-service)
14105 (dbus-register-signal, dbus-register-method): New defuns, moved
14106 from dbusbind.c
14107 (dbus-call-method-handler, dbus-setenv)
14108 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14109 New defuns.
14110 (dbus-call-method-non-blocking): Make it an obsolete function.
14111 (dbus-unregister-object, dbus-unregister-service)
14112 (dbus-handle-event, dbus-register-property)
14113 (dbus-property-handler): Obey the new structure of
14114 `bus-registered-objects'.
14115 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14116 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14117 Use `dbus-call-method'.
14118
14119 2012-04-22 Chong Yidong <cyd@gnu.org>
14120
14121 * cus-edit.el (custom-commands, custom-reset-menu)
14122 (Custom-reset-standard): Tweak labels.
14123 (custom-reset-button-menu): Change default to t.
14124 (custom-buffer-create-internal): For the custom-reset-button-menu
14125 case, put the revert button first.
14126 (custom-group-subtitle): New face.
14127 (custom-group-value-create): Align docstring to a specific column.
14128
14129 * wid-edit.el (widget-documentation-link-add): Don't handle
14130 indentation in this function.
14131 (widget-documentation-string-indent-to): New function.
14132 (widget-documentation-string-value-create): Use it.
14133
14134 * autorevert.el (auto-revert):
14135 * epg-config.el (epg):
14136 * ibuffer.el (ibuffer):
14137 * mpc.el (mpc):
14138 * ses.el (ses):
14139 * eshell/eshell.el (eshell):
14140 * net/ange-ftp.el (ange-ftp):
14141 * progmodes/ebnf2ps.el (postscript):
14142 * progmodes/flymake.el (flymake):
14143 * progmodes/prolog.el (prolog):
14144 * progmodes/verilog-mode.el (verilog-mode):
14145 * progmodes/which-func.el (which-func):
14146 * term/xterm.el (xterm):
14147 * textmodes/picture.el (picture):
14148 * textmodes/tildify.el (tildify):
14149 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14150 customization buffers.
14151
14152 2012-04-22 Alan Mackenzie <acm@muc.de>
14153
14154 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14155 Adding a ) can hide the resulting (..) from searches. Fix it.
14156 Bound the backward search to the position of the existing (.
14157
14158 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14159
14160 * progmodes/verilog-mode.el (verilog-mode): Check whether
14161 which-func-modes is t before adding verilog-mode.
14162 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14163
14164 2012-04-21 Leo Liu <sdl.web@gmail.com>
14165
14166 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14167
14168 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14169
14170 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14171 filling of the last column of a table (Bug#5635).
14172 (woman-find-next-control-line): New arg, specifying an additional
14173 regexp component for the control line.
14174 (woman2-roff-buffer): Use it.
14175 (woman-break-table): New function.
14176 (woman2-TS): Use it.
14177
14178 2012-04-21 Chong Yidong <cyd@gnu.org>
14179
14180 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14181 (woman-horizontal-escapes, woman-negative-vertical-space)
14182 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14183 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14184
14185 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14186
14187 * minibuffer.el (completion-file-name-table): Complete user names.
14188
14189 2012-04-20 Leo Liu <sdl.web@gmail.com>
14190
14191 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14192 and pcase-let*.
14193
14194 2012-04-20 Chong Yidong <cyd@gnu.org>
14195
14196 * server.el (server-execute): Respect initial-buffer-choice if it
14197 is a string and there are no files to open (Bug#2825).
14198 (server-create-window-system-frame, server-create-tty-frame):
14199 Don't switch buffers here.
14200 (server-process-filter): Only try to open a window system frame if
14201 compiled with graphical support (Bug#8314).
14202
14203 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14204
14205 * battery.el (battery-echo-area-format): Display remaining time
14206 for sysfs backend too (Bug#11269).
14207 (battery-linux-sysfs): Fix conditional for the charge.
14208
14209 2012-04-20 Chong Yidong <cyd@gnu.org>
14210
14211 * progmodes/gdb-mi.el (gdb): Revert previous change.
14212 (gdb-inferior-io--init-proc): New function.
14213 (gdb-init-1): Use it.
14214 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14215 responsible for allocating a new pty and hooking it to gdb when
14216 the old pty gets an EIO due to process exit.
14217 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14218 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14219 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14220
14221 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14222
14223 * window.el (window-min-size, window-sizable, window-min-delta)
14224 (window-max-delta, window--resizable, window-resizable)
14225 (window-total-size, window-full-height-p, window-full-width-p)
14226 (window-in-direction, window--resize-mini-window, window-resize)
14227 (window--resize-child-windows-normal)
14228 (window--resize-child-windows, window--resize-siblings)
14229 (window--resize-this-window, adjust-window-trailing-edge)
14230 (enlarge-window, shrink-window): Doc fixes.
14231
14232 2012-04-20 Chong Yidong <cyd@gnu.org>
14233
14234 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14235 New function to call delete-process on the gdb-inferior buffer's pty.
14236 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14237 pty process (Bug#11273).
14238 (gdb-update): New arg to suppress talking to the gdb process.
14239 (gdb-done-or-error): Use it.
14240 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14241 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14242 sentinel not being called.
14243
14244 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14245
14246 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14247
14248 2012-04-20 Glenn Morris <rgm@gnu.org>
14249
14250 * net/network-stream.el (open-network-stream): Doc fix.
14251
14252 2012-04-20 Chong Yidong <cyd@gnu.org>
14253
14254 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14255
14256 2012-04-20 Alan Mackenzie <acm@muc.de>
14257
14258 Ensure searching for keywords is case sensitive.
14259
14260 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14261 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14262 (c-defun-name, c-mark-function, c-cpp-define-name)
14263 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14264 (c-context-line-break): Bind case-fold-search to nil.
14265
14266 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14267 Bind case-fold-search to nil.
14268
14269 2012-04-20 Chong Yidong <cyd@gnu.org>
14270
14271 * mail/sendmail.el (mail-bury): Call return action with the right
14272 Rmail buffer (Bug#11242).
14273
14274 * server.el (server-process-filter): Handle corner case where both
14275 tty and nowait options are present (Bug#11102).
14276
14277 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14278
14279 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14280 (top level): Put into the executable the ident-style '$Id:' tag on
14281 windows-nt as well.
14282
14283 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14284
14285 * electric.el (electric-indent-post-self-insert-function): Check that
14286 electric-indent-mode is enabled in current buffer.
14287
14288 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14289
14290 * imenu.el (imenu-progress-message): Restore; it is "used" in
14291 erc/erc-imenu.el and net/snmp-mode.el.
14292
14293 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14294
14295 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14296 (mouse-avoidance-nudge-mouse): Remove unused binding.
14297
14298 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14299
14300 * descr-text.el (describe-char):
14301 * progmodes/python.el (python-describe-symbol):
14302 Don't call `toggle-read-only', set `buffer-read-only'.
14303
14304 * imenu.el (imenu-default-goto-function): Mark unused args.
14305 (imenu-progress-message): Remove obsolete macro; all callers changed.
14306
14307 * subr.el (keymap-canonicalize): Remove unused binding.
14308 (read-passwd): Mark unused arg.
14309
14310 * tutorial.el (tutorial--display-changes): Remove unused binding.
14311 (tutorial--save-tutorial-to): Remove unused variable.
14312
14313 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14314 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14315 (package-generate-autoloads, package-menu--generate)
14316 (package-menu--find-upgrades): Remove unused bindings.
14317
14318 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14319 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14320 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14321 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14322 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14323 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14324 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14325 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14326 (cua-delete-char-rectangle): Mark unused args.
14327 (cua-align-rectangle): Remove unused binding.
14328
14329 * mail/rmail.el (compilation--message->loc)
14330 (epa--find-coding-system-for-mime-charset): Declare.
14331
14332 * net/dbus.el (dbus-register-service): Declare.
14333 (dbus-name-owner-changed-handler): Remove unused binding.
14334
14335 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14336 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14337 (nxml-scan-backward-within): Mark unused arg.
14338 (nxml-dynamic-markup-word): Remove unused binding.
14339
14340 * mouse.el (mouse-menu-major-mode-map):
14341 * emacs-lisp/authors.el (authors-scan-change-log)
14342 (authors-add-to-author-list):
14343 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14344 * emacs-lisp/smie.el (smie-auto-fill):
14345 * mail/sendmail.el (mail-bury):
14346 * mail/unrmail.el (unrmail):
14347 * net/tls.el (open-tls-stream):
14348 * textmodes/picture.el (picture-mouse-set-point):
14349 Remove unused bindings.
14350
14351 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14352
14353 * net/tramp.el (tramp-action-password): Let-bind
14354 `enable-recursive-minibuffers' to t.
14355
14356 2012-04-18 Sam Steingold <sds@gnu.org>
14357
14358 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14359 instead of 'string to accommodate values like [f11].
14360 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14361 * progmodes/gdb-mi.el: Likewise.
14362
14363 2012-04-18 Leo Liu <sdl.web@gmail.com>
14364
14365 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14366 current buffer.
14367 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14368 LOCAL is nil.
14369
14370 2012-04-18 Chong Yidong <cyd@gnu.org>
14371
14372 * simple.el (line-move): Use forward-line if in batch mode
14373 (Bug#11053).
14374
14375 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14376
14377 * files.el (after-find-file): Do not try to add a final newline if
14378 the buffer is read-only (Bug#11156).
14379
14380 2012-04-17 Richard Stallman <rms@gnu.org>
14381
14382 * mail/rmail.el (rmail-start-mail):
14383 Pass (rmail-mail-return...) for the return-action.
14384 Pass (rmail-yank-current-message...) for the yank-action.
14385 (rmail-yank-current-message): New function.
14386 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14387 (rmail-reply): Likewise.
14388 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14389
14390 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14391 buffer, not the last. Reject temp buffers. Use the rmail-mode
14392 buffer, not newbuf.
14393
14394 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14395
14396 * server.el (server-ensure-safe-dir): Simplify.
14397
14398 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14399
14400 * emacs-lisp/smie.el: Provide smarter auto-filling.
14401 (smie-auto-fill): New function.
14402 (smie-setup): Use it.
14403
14404 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14405
14406 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14407
14408 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14409 (comment-indent): Use it.
14410
14411 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14412
14413 * ses.el: The overall change is to add cell renaming, that is
14414 setting fancy names for cell symbols other than name matching
14415 "\\`[A-Z]+[0-9]+\\'" regexp .
14416 (ses-localvars): Add ses--renamed-cell-symb-list.
14417 (ses-create-cell-variable): New defun.
14418 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14419 (ses-relocate-formula): Relocate formulas only for cells the
14420 symbols of which are not renamed, i.e. symbols whose names do not
14421 match regexp "\\`[A-Z]+[0-9]+\\'".
14422 (ses-relocate-all): Relocate values only for cells the symbols of
14423 which are not renamed.
14424 (ses-load): Create cells variables as the (ses-cell ...) are read,
14425 in order to check row col consistency with cell symbol name only
14426 for cells that are not renamed.
14427 (ses-replace-name-in-formula): New defun.
14428 (ses-rename-cell): New defun.
14429
14430 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14431
14432 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14433 New option (bug#11118).
14434 (perl-calculate-indent): Respect it.
14435
14436 2012-04-17 Glenn Morris <rgm@gnu.org>
14437
14438 * dired-aux.el (dired-mark-read-string): Doc fix.
14439
14440 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14441
14442 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14443 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14444
14445 2012-04-17 Glenn Morris <rgm@gnu.org>
14446
14447 * mouse.el (mouse-drag-track):
14448 * speedbar.el (speedbar-frame-mode):
14449 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14450
14451 2012-04-16 Leo Liu <sdl.web@gmail.com>
14452
14453 * progmodes/python.el: Trivial cleanup.
14454
14455 2012-04-16 Glenn Morris <rgm@gnu.org>
14456
14457 * vc/vc.el (vc-string-prefix-p):
14458 * vc/pcvs-util.el (cvs-string-prefix-p):
14459 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14460 * mpc.el (mpc-string-prefix-p):
14461 Make all of these into obsolete aliases for string-prefix-p.
14462 Update callers.
14463 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14464
14465 * textmodes/two-column.el: Move custom options to the start.
14466 (frame-width): Remove compat definition.
14467 (2C-associate-buffer, 2C-dissociate):
14468 Use with-current-buffer rather than save-excursion.
14469 (2C-dissociate): Force a mode-line update.
14470 (2C-autoscroll): Use ignore-errors.
14471
14472 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14473 Autoload trivia.
14474
14475 * emacs-lisp/cl-extra.el (*random-state*):
14476 Remove unnecessary declaration.
14477
14478 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14479
14480 * play/cookie1.el (cookie-snarf):
14481 Give an explicit error if input file cannot be read.
14482
14483 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14484
14485 * progmodes/perl-mode.el (c-macro-expand):
14486 Remove unnecessary autoload (it is in loaddefs.el).
14487
14488 * textmodes/picture.el (picture-desired-column)
14489 (picture-update-desired-column): Convert comments to doc-strings.
14490 (picture-substitute): Remove function.
14491 (picture-mode-map): Initialize in the defvar.
14492
14493 * woman.el: Remove eval-after-load for tar-mode.
14494 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14495 (woman-tar-extract-file): Autoload it.
14496
14497 * frame.el (automatic-hscrolling): Make this alias obsolete.
14498
14499 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14500
14501 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14502 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14503 (ispell-dictionary-base-alist): Revert to original XEmacs
14504 friendly version for default. [:alpha:] will be added in
14505 `ispell-set-spellchecker-params' if needed.
14506
14507 2012-04-16 Chong Yidong <cyd@gnu.org>
14508
14509 * image.el (imagemagick--file-regexp): New variable.
14510 (imagemagick-register-types): Use it.
14511 (imagemagick-types-inhibit): Add :set function. Allow new value
14512 of t to inhibit all types.
14513
14514 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14515 so we can preload it.
14516
14517 * loadup.el (fboundp): Preload regexp-opt, needed by
14518 imagemagick-register-types.
14519
14520 2012-04-15 Chong Yidong <cyd@gnu.org>
14521
14522 * frame.el (scrolling): Remove nearly unused customization group.
14523
14524 * scroll-all.el (scroll-all-mode): Move to windows group.
14525
14526 2012-04-15 Chong Yidong <cyd@gnu.org>
14527
14528 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14529
14530 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14531
14532 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14533 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14534
14535 2012-04-15 Glenn Morris <rgm@gnu.org>
14536
14537 * simple.el (process-file-side-effects): Doc fix.
14538
14539 2012-04-15 Glenn Morris <rgm@gnu.org>
14540
14541 * international/mule-cmds.el (set-language-environment): Doc fix.
14542
14543 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14544
14545 * server.el (server-auth-key, server-generate-key): Doc fixes.
14546 (server-get-auth-key): Doc fix. Use `string-match-p'.
14547 (server-start): Reflow docstring.
14548
14549 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14550
14551 * server.el (server-generate-key): `called-interactively-p'
14552 requires a parameter.
14553
14554 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14555
14556 * server.el (server-auth-key): New variable.
14557 (server-generate-key, server-get-auth-key): New function.
14558 (server-start): Use the new variable and functions to allow
14559 setting a permanent server key (bug#9423).
14560
14561 2012-04-14 Leo Liu <sdl.web@gmail.com>
14562
14563 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14564
14565 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14566
14567 Spelling fixes.
14568 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14569 Emacs uses American spelling.
14570
14571 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14572
14573 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14574 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14575 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14576 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14577
14578 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14579
14580 * progmodes/which-func.el (which-func-modes): Change default.
14581
14582 2012-04-14 Kim F. Storm <storm@cua.dk>
14583
14584 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14585 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14586
14587 2012-04-14 Chong Yidong <cyd@gnu.org>
14588
14589 * custom.el (custom-theme-set-variables): Doc fix.
14590
14591 2012-04-14 Glenn Morris <rgm@gnu.org>
14592
14593 * international/mule.el (set-auto-coding-for-load): Doc fix.
14594
14595 2012-04-14 Alan Mackenzie <acm@muc.de>
14596
14597 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14598 imenu work again for Objective C Mode. Correct the *-index values,
14599 these having been disturbed by a previous change in 2011-08.
14600
14601 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14602 Correct two search limits.
14603
14604 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14607
14608 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14609
14610 * international/characters.el: Fix sorting.
14611
14612 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14613
14614 * international/characters.el: Add more missing Latin case pairs.
14615
14616 2012-04-14 Glenn Morris <rgm@gnu.org>
14617
14618 * files.el (dir-locals-set-class-variables): Doc fix.
14619
14620 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14621
14622 * international/characters.el: Add set-case-syntax-pair call for
14623 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14624 counterpart. (Bug#11209)
14625
14626 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14627
14628 2012-04-14 Glenn Morris <rgm@gnu.org>
14629
14630 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14631
14632 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14633
14634 * textmodes/ispell.el (ispell-dictionary-base-alist):
14635 Add data for Hebrew.
14636
14637 2012-04-14 Chong Yidong <cyd@gnu.org>
14638
14639 * net/rcirc.el (rcirc-cmd-quit):
14640 Revert 2012-03-18 change (Bug#11192).
14641
14642 2012-04-14 Glenn Morris <rgm@gnu.org>
14643
14644 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14645
14646 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14647
14648 * minibuffer.el (completion-in-region-mode-map):
14649 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14650
14651 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14652
14653 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14654
14655 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14656
14657 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14658 to allow `C-M-f' and `C-M-b' to move to the nearest path
14659 separator (bug#9511).
14660
14661 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14662
14663 * avoid.el: Require cl when compiling. And also move the
14664 `provide' to the end.
14665
14666 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14667
14668 * avoid.el (mouse-avoidance-banish-position): New variable.
14669 (mouse-avoidance-banish-destination): Use it (bug#10165).
14670
14671 2012-04-13 Leo Liu <sdl.web@gmail.com>
14672
14673 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14674
14675 2012-04-13 Ken Brown <kbrown@cornell.edu>
14676
14677 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14678 this is no longer needed now that cygstart understands file:// URLs.
14679 (browse-url-filename-alist): For the same reason, don't modify
14680 file:// URLs on Cygwin.
14681
14682 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14683
14684 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14685 the region on shift if the binding is already shifted (bug#11221).
14686
14687 2012-04-12 Glenn Morris <rgm@gnu.org>
14688
14689 * mail/mailpost.el: Move to obsolete/.
14690
14691 2012-04-12 Drew Adams <drew.adams@oracle.com>
14692
14693 * imenu.el (imenu--generic-function): Ignore invisible definitions
14694 (bug#10123).
14695
14696 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14697
14698 * hexl.el (hexl-bits): New variable.
14699 (hexl-options): Mention the variable in the doc string.
14700 (hexl-rulerise, hexl-line-displen): New functions.
14701 (hexl-mode): Mention the new variable.
14702 (hexl-mode, hexl-current-address, hexl-current-address):
14703 Use the displen.
14704 (hexl-ascii-start-column): New function.
14705 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14706 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14707
14708 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14709
14710 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14711 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14712 the encoding, as expected by hunspell.
14713
14714 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14715
14716 * battery.el (battery--linux-sysfs-regexp): New const.
14717 (battery-status-function): Use it. Remove yeeloong special case.
14718 (battery-yeeloong-sysfs): Remove.
14719 (battery-echo-area-format): Remove yeeloong special case.
14720
14721 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14722
14723 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14724 Reported by Noah Friedman.
14725
14726 * subr.el (read-passwd): Use read-string.
14727
14728 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14729
14730 * vcursor.el (vcursor-move): Increase the priority of the overlay
14731 (bug#9663).
14732
14733 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14734
14735 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14736 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14737
14738 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14739
14740 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14741 define-minor-mode (bug#10760).
14742
14743 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14744
14745 * progmodes/grep.el (rgrep): Tweak the find command line so
14746 that directories matching `grep-find-ignored-files' won't be
14747 pruned (bug#10351).
14748
14749 2012-04-11 Chong Yidong <cyd@gnu.org>
14750
14751 * startup.el (command-line): Remove support for long-obsolete
14752 variable font-lock-face-attributes.
14753
14754 2012-04-11 Glenn Morris <rgm@gnu.org>
14755
14756 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14757
14758 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14759
14760 * window.el (window--state-get-1): Obey window-point-insertion-type.
14761
14762 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14763
14764 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14765 to previous function when point is on the first character of a
14766 function. Take care of that in `narrow-to-defun' (bug#6157).
14767
14768 2012-04-11 Glenn Morris <rgm@gnu.org>
14769
14770 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14771 not just file-errors.
14772
14773 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14774 (vc-bzr-sha1): Use internal sha1.
14775
14776 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14777
14778 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14779
14780 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14781
14782 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14783 that start in the middle of the line (bug#10496).
14784
14785 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14786
14787 * battery.el (battery-linux-proc-acpi): Only one battery is
14788 discharged at a time, but that seems to confuse battery.el when
14789 computing `rate-type' for the battery not being discharged
14790 (bug#10332).
14791
14792 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14793
14794 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14795
14796 * international/quail.el: Use dolist and simplify.
14797 (quail-define-package, quail-update-keyboard-layout)
14798 (quail-define-rules): Use dolist.
14799 (quail-insert-kbd-layout, quail-get-translation): CSE.
14800
14801 * tmm.el: Use dolist, remove left over hook.
14802 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14803 Use dolist.
14804 (calendar-load-hook): Don't mess with it.
14805
14806 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14807 Use derived-mode-p. Run the diff asynchronously.
14808
14809 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14810
14811 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14812
14813 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14814
14815 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14816 (list-dynamic-libraries--loaded): New function.
14817 (list-dynamic-libraries--refresh): Use it.
14818
14819 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14820
14821 * progmodes/python.el (python-fill-paragraph):
14822 Make python-fill-region in a multiline string work when font-lock is
14823 disabled (bug#7018).
14824
14825 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14826
14827 * language/european.el (cp775): Add oem/legacy (en)coding on
14828 DOS/MS Windows for the Baltic languages. There are still plenty
14829 of texts written in this encoding/codepage (bug#6519).
14830
14831 2012-04-10 Glenn Morris <rgm@gnu.org>
14832
14833 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14834 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14835
14836 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14837
14838 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14839 next-line "n" and previous-line "p" in order to make recentf more
14840 consistent with ibuffer, dired or org-mode (bug#9387).
14841
14842 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14843
14844 * image.el (put-image): Return the overlay created instead of the
14845 optional input string (bug#7834). Note that this may break code
14846 that is (for some reason or other) depending on `put-image'
14847 returning the string.
14848
14849 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14850
14851 * simple.el (zap-to-char): Allow zapping using input methods
14852 (bug#1580).
14853
14854 * textmodes/fill.el (fill-region): Leave point and mark where they
14855 were before filling (bug#5399).
14856
14857 2012-04-09 Glenn Morris <rgm@gnu.org>
14858
14859 * version.el (emacs-bzr-get-version):
14860 Handle lightweight checkouts of local branches.
14861
14862 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14863
14864 * international/characters.el: Recover lost case pairs. (Bug#11209)
14865
14866 2012-04-09 Chong Yidong <cyd@gnu.org>
14867
14868 * custom.el (custom-variable-p): Return nil for non-symbol
14869 arguments instead of signaling an error.
14870 (user-variable-p): Obsolete alias for custom-variable-p.
14871
14872 * apropos.el (apropos-variable):
14873 * files-x.el (read-file-local-variable):
14874 * simple.el (set-variable):
14875 * woman.el (woman-mini-help):
14876 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14877
14878 2012-04-09 Glenn Morris <rgm@gnu.org>
14879
14880 * startup.el (normal-top-level): Don't look for leim-list.el
14881 in places where it will not be found. (Bug#910)
14882
14883 * international/mule-cmds.el (set-default-coding-systems):
14884 * files.el (normal-mode):
14885 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14886 This function was removed with ucs-tables.el in 2008.
14887
14888 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14889
14890 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14891 ispell-encoding8-command to "-i", without a trailing space.
14892 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14893 separate command-line arguments, to specify the encoding, since
14894 that's how hunspell expects it.
14895
14896 2012-04-08 Glenn Morris <rgm@gnu.org>
14897
14898 * loadup.el: Load bindings before cus-start.
14899 This reduces somewhat the number of "rogue" settings in emacs -Q.
14900
14901 2012-04-07 Glenn Morris <rgm@gnu.org>
14902
14903 * version.el (emacs-bzr-get-version): New function.
14904 (emacs-bzr-version): New variable.
14905 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14906 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14907
14908 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14909
14910 * international/uni-bidi.el, international/uni-category.el:
14911 * international/uni-combining.el, international/uni-decimal.el:
14912 * international/uni-decomposition.el, international/uni-digit.el:
14913 * international/uni-lowercase.el, international/uni-mirrored.el:
14914 * international/uni-name.el, international/uni-numeric.el:
14915 * international/uni-titlecase.el, international/uni-uppercase.el:
14916 Update for Unicode 6.1.
14917
14918 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14919
14920 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14921
14922 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14923
14924 * window.el (shrink-window): Mention the `window-min-height'
14925 variable in the doc string.
14926
14927 2012-04-05 Bastien Guerry <bzg@altern.org>
14928
14929 * color.el (color-lighten-name): Fix typo.
14930
14931 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14932
14933 * server.el (server--on-display-p): New function.
14934 (server--on-display-p): Use it.
14935
14936 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14937
14938 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14939 (bug#11145).
14940
14941 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14942
14943 * comint.el (comint--common-quoted-suffix): Check string boundary
14944 before comparing (bug#11158).
14945 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14946
14947 2012-04-04 Chong Yidong <cyd@gnu.org>
14948
14949 * minibuffer.el (completion-extra-properties): Doc fix.
14950
14951 * subr.el (delayed-warnings-hook): Doc fix.
14952
14953 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14954
14955 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14956 selection (Bug#11159).
14957 (epa-insert-keys): Inform that the default public key will be
14958 exported if no key is selected.
14959
14960 2012-04-04 Richard Stallman <rms@gnu.org>
14961
14962 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14963
14964 2012-04-03 Chong Yidong <cyd@gnu.org>
14965
14966 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14967 mail-insert-file, not its obsolete alias mail-attach-file.
14968
14969 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14970
14971 * notifications.el (notifications-notify): Fix docstring.
14972
14973 2012-04-02 Glenn Morris <rgm@gnu.org>
14974
14975 * emacs-lisp/authors.el (authors-aliases): Another addition.
14976
14977 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14978
14979 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14980 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14981 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14982
14983 2012-04-01 Chong Yidong <cyd@gnu.org>
14984
14985 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14986 Handle root directory properly.
14987 (copy-directory): Caller changed.
14988
14989 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14990 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14991
14992 2012-03-31 Glenn Morris <rgm@gnu.org>
14993
14994 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14995
14996 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14997
14998 * calendar/calendar.el (calendar-window-list)
14999 (calendar-hide-window): Restore. (Bug#11140)
15000 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15001
15002 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15003
15004 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15005
15006 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15007 Check if file is a symlink (Bug#10489).
15008
15009 * files.el (copy-directory): Likewise.
15010
15011 2012-03-30 Chong Yidong <cyd@gnu.org>
15012
15013 * image.el (imagemagick-types-inhibit)
15014 (imagemagick-register-types): Doc fix.
15015
15016 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15017
15018 * textmodes/ispell.el (ispell-get-extended-character-mode):
15019 Disable extended-char-mode for hunspell. hunspell does not support it
15020 and treats ~word as ordinary words in pipe mode.
15021
15022 2012-03-30 Glenn Morris <rgm@gnu.org>
15023
15024 * tutorial.el (help-with-tutorial): Ensure local variables don't
15025 happen to make the buffer read-only. (Bug#11127)
15026
15027 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15028
15029 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15030 (perl-calculate-indent): Return `noindent' in strings.
15031
15032 2012-03-28 Sam Steingold <sds@gnu.org>
15033
15034 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15035 instead of the broken adhockery which does not prevent calendar
15036 buffers from being displayed at random after exit.
15037 (calendar-window-list, calendar-hide-window): Remove the broken
15038 adhockery.
15039
15040 2012-03-28 Glenn Morris <rgm@gnu.org>
15041
15042 * replace.el (query-replace-map): Doc fix.
15043
15044 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15045
15046 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15047 contents. (Bug#11109)
15048
15049 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15052 (bug#11077).
15053 (avl-tree--check, avl-tree--check-node): New funs.
15054
15055 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15056
15057 * window.el (switch-to-visible-buffer): New option.
15058 (switch-to-prev-buffer, switch-to-next-buffer):
15059 Observe switch-to-visible-buffer. Make sure that checking for a window
15060 showing a buffer already is done on the same frame.
15061
15062 2012-03-27 Glenn Morris <rgm@gnu.org>
15063
15064 * startup.el (mail-host-address): Doc fix.
15065
15066 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15067
15068 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15069 than 197 variables.
15070
15071 2012-03-26 Ami Fischman <ami@fischman.org>
15072
15073 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15074
15075 2012-03-26 Glenn Morris <rgm@gnu.org>
15076
15077 * files.el (save-buffers-kill-emacs): Doc fix.
15078
15079 * startup.el (normal-top-level, command-line, command-line-1):
15080 Give them doc strings.
15081
15082 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15083
15084 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15085 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15086
15087 2012-03-25 Chong Yidong <cyd@gnu.org>
15088
15089 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15090 theme if it was previously enabled before (Bug#11031).
15091
15092 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15093 spec with custom-face-get-current-spec if its :shown-value is not
15094 determined yet (Bug#9337).
15095 (customize-create-theme, custom-theme-revert): Doc fixes.
15096
15097 * button.el (button-at): Minor addition to docstring.
15098
15099 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15100
15101 * vc/vc.el (vc-merge): Fix a prompt.
15102
15103 2012-03-24 Chong Yidong <cyd@gnu.org>
15104
15105 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15106 point (Bug#9623).
15107
15108 * button.el (button-at): Minor addition to docstring.
15109
15110 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15111
15112 * newcomment.el (comment-choose-indent): No space after BOL.
15113
15114 2012-03-22 Sam Steingold <sds@gnu.org>
15115
15116 * window.el (switch-to-prev-buffer): Revert last patch because the
15117 bug turned out to be an advertised feature (Elisp manual 28.14).
15118
15119 2012-03-22 Glenn Morris <rgm@gnu.org>
15120
15121 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15122 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15123
15124 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15125
15126 * net/network-stream.el (network-stream-open-starttls): Make error
15127 message under Windows be less misleading.
15128
15129 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15130
15131 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15132 understands (bug#9942).
15133
15134 2012-03-22 Chong Yidong <cyd@gnu.org>
15135
15136 * simple.el (end-of-visible-line): Handle return value of
15137 next-single-property-change properly (Bug#9371).
15138
15139 2012-03-22 Kenichi Handa <handa@m17n.org>
15140
15141 * international/quail.el (quail-insert-kbd-layout): Fix previous
15142 change. To avoid unwanted bidi reordering, use
15143 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15144
15145 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15146
15147 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15148 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15149 (ruby-beginning-of-indent): Be more careful with the difference
15150 between word-boundary and symbol boundary.
15151 (ruby-mode-syntax-table): Make : a symbol constituent.
15152
15153 2012-03-21 Andreas Politz <politza@fh-trier.de>
15154
15155 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15156
15157 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * progmodes/etags.el (tags-completion-at-point-function):
15160 Improve last fix.
15161
15162 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15163
15164 2012-03-21 Sam Steingold <sds@gnu.org>
15165
15166 * progmodes/etags.el (tags-completion-at-point-function):
15167 Avoid the error when point is inside the pattern.
15168
15169 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15170
15171 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15172 line (Bug#10855).
15173
15174 2012-03-21 Drew Adams <drew.adams@oracle.com>
15175
15176 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15177
15178 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15179
15180 * ido.el (ido-set-current-directory, ido-read-internal)
15181 (ido-choose-completion-string, ido-completion-help): Handle nil
15182 value of ido-completion-buffer (Bug#11008).
15183
15184 2012-03-21 Sam Steingold <sds@gnu.org>
15185
15186 * window.el (switch-to-prev-buffer): Do not switch to a visible
15187 window previous buffer, just like with the frame previous buffers.
15188
15189 2012-03-21 Chong Yidong <cyd@gnu.org>
15190
15191 * faces.el (make-face, make-empty-face, copy-face):
15192 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15193 Doc fixes.
15194
15195 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15196
15197 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15198 (widget-complete): Remove broken use of it.
15199
15200 2012-03-20 Chong Yidong <cyd@gnu.org>
15201
15202 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15203 Use string-width and truncate-string-width to handle arbitrary
15204 characters.
15205
15206 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15207
15208 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15209 to draw rectangles, not squares. (Regression introduced by revno
15210 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15211
15212 2012-03-18 Chong Yidong <cyd@gnu.org>
15213
15214 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15215 it is not yet defined (for temacs).
15216
15217 2012-03-18 Leo Liu <sdl.web@gmail.com>
15218
15219 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15220 prefix.
15221
15222 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15223
15224 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15225 (ispell-choices-win-default-height, ispell-silently-savep)
15226 (ispell-dictionary-alist, ispell-encoding8-command)
15227 (ispell-check-version, ispell-aspell-find-dictionary)
15228 (ispell-valid-dictionary-list, ispell-words-keyword)
15229 (ispell-get-word, ispell-internal-change-dictionary)
15230 (ispell-region, ispell-skip-region-list)
15231 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15232 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15233 (ispell-message-text-end, ispell-message)
15234 (ispell-buffer-local-parsing): Doc fix.
15235
15236 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15237
15238 * htmlfontify.el: Add support for code block fontification for ODT
15239 export (Bug #9914).
15240 (hfy-optimisations): Define new option
15241 `body-text-only'
15242 (hfy-fontify-buffer): Honor above setting.
15243 (hfy-begin-span, hfy-end-span): New routines factored out form
15244 `hfy-fontify-buffer'.
15245 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15246 that permit insertion of custom tags.
15247 (hfy-fontify-buffer): Use above handlers.
15248 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15249 (hfy-face-to-css): Re-defined to be a variable.
15250 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15251 over multiple runs. This is made possible by having the caller let
15252 bind a special variable `hfy-user-sheet-assoc'.
15253 (htmlfontify-string): New defun.
15254 (hfy-compile-face-map): Make sure that the last char in the
15255 buffer is correctly fontified.
15256 (hfy-face-resolve-face): Whitespace only change.
15257
15258 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15259
15260 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15261 message more clear.
15262
15263 2012-03-16 Leo Liu <sdl.web@gmail.com>
15264
15265 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15266
15267 2012-03-16 Alan Mackenzie <acm@muc.de>
15268
15269 Further optimize the handling of large macros.
15270
15271 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15272 limit to a call of `c-literal-limits'.
15273 (c-determine-+ve-limit): New function.
15274 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15275 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15276 In CASE 5B, restrict a search limit to 500.
15277 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15278
15279 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15280 Restrict macro bounds to +-500 from after-change's BEG END.
15281
15282 2012-03-16 Leo Liu <sdl.web@gmail.com>
15283
15284 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15285
15286 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15287
15288 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15289 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15290
15291 2012-03-16 Glenn Morris <rgm@gnu.org>
15292
15293 * view.el (view-buffer, view-buffer-other-window)
15294 (view-buffer-other-frame): Doc fixes re special mode-class.
15295
15296 * subr.el (eval-after-load): If named feature is provided not from
15297 a file, run after-load forms. (Bug#10946)
15298
15299 * calendar/calendar.el (calendar-insert-at-column):
15300 Handle non-unit-width characters a bit better. (Bug#10978)
15301
15302 2012-03-15 Chong Yidong <cyd@gnu.org>
15303
15304 * emacs-lisp/ring.el (ring-extend): New function.
15305 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15306
15307 * comint.el (comint-read-input-ring)
15308 (comint-add-to-input-history): Grow comint-input-ring lazily.
15309
15310 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15311
15312 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15313 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15314
15315 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15316 (imenu-add-to-menubar): Don't add a redundant index.
15317 (imenu-update-menubar): Handle a dynamically composed keymap.
15318
15319 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15320
15321 * mail/sendmail.el (mail-encode-header):
15322 Bind rfc2047-encode-encoded-words to nil.
15323
15324 2012-03-13 Glenn Morris <rgm@gnu.org>
15325
15326 * calendar/calendar.el (calendar-string-spread):
15327 Handle non-unit-width characters a bit better. (Bug#10978)
15328
15329 2012-03-13 Leo Liu <sdl.web@gmail.com>
15330
15331 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15332 directory and file as argument (Bug#10822).
15333
15334 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15335
15336 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15337 For dynamically generated code, follow $PC.
15338 (gdb-disassembly-handler-custom): Handle no function name case.
15339
15340 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15341
15342 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15343 * emulation/ws-mode.el (ws-query-replace):
15344 * sort.el (sort-regexp-fields):
15345 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15346
15347 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15348
15349 * dabbrev.el: Fix cycle completion order (bug#10963).
15350 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15351 (dabbrev-completion): Don't use an obarray; provide
15352 a cycle-sort-function.
15353
15354 2012-03-12 Leo Liu <sdl.web@gmail.com>
15355
15356 * simple.el (kill-new): Use equal-including-properties for comparison.
15357 (kill-do-not-save-duplicates): Doc fix.
15358
15359 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15360
15361 * dabbrev.el: Fix cycle completion (bug#10963).
15362 Use lexical binding and wrap to 80 columns.
15363 (dabbrev-completion): Delay computing the list of completions.
15364
15365 2012-03-12 Kenichi Handa <handa@m17n.org>
15366
15367 * international/quail.el (quail-insert-kbd-layout): Surround each
15368 row by LRO and PDF instead of inserting many LRMs. Pad the left
15369 and right of each non-spacing marks. Insert invisible space
15370 between lower and upper characters to prevent composition.
15371
15372 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * minibuffer.el (minibuffer-complete): Don't get confused when the
15375 function is run twice via different commands (bug#10958).
15376 (complete-with-action): Fix docstring.
15377
15378 2012-03-12 Chong Yidong <cyd@gnu.org>
15379
15380 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15381 (nxml-completion-at-point-function): New function.
15382 (nxml-mode): Use it.
15383 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15384
15385 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15386 Load generated autoloads file before byte compiling (Bug#10970).
15387 (package--make-autoloads-and-compile): New helper fun.
15388
15389 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15390
15391 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15392
15393 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15394
15395 * autorevert.el (auto-revert-handler): Ensure, that
15396 file-readable-p is applied only for local files or in
15397 auto-revert-tail-mode.
15398
15399 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15400
15401 * server.el (server-eval-at): Handle non-tcp connections.
15402 Decode result string.
15403
15404 * server.el (server-msg-size): New constant.
15405 (server-reply-print): New function.
15406 (server-eval-and-print): Use it.
15407 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15408 Handle -print-nonl.
15409
15410 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15411
15412 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15413 (Bug#10987).
15414
15415 2012-03-11 Chong Yidong <cyd@gnu.org>
15416
15417 * simple.el (goto-line): Doc fix (Bug#9938).
15418
15419 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15420
15421 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15422 when finished (Bug#10963).
15423
15424 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15425
15426 * window.el (split-window-below): Fix bug in case where
15427 split-window-keep-point is nil (Bug#10971).
15428
15429 2012-03-11 Juri Linkov <juri@jurta.org>
15430
15431 * replace.el (replace-highlight): Set isearch-word to nil
15432 unconditionally. (Bug#10887)
15433
15434 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15435
15436 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15437 mairix-replace-illegal-chars; all callers changed. Don't remove
15438 ^, ~, and = characters: they are meaningful in mairix search specs.
15439 (mairix-widget-create-query): Add usage information about mairix
15440 search forms: negating words, searching for substrings, etc.
15441
15442 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15443
15444 * international/fontset.el (font-encoding-alist): Add an entry for
15445 ksx1001 (Bug#5667).
15446
15447 2012-03-10 Richard Stallman <rms@gnu.org>
15448
15449 * mail/sendmail.el (mail-encode-header):
15450 Set rfc2047-encode-encoded-words.
15451
15452 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15453
15454 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15455 view buffer means not swapped.
15456 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15457 (rmail-write-region-annotate): Error if real text has disappeared.
15458
15459 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15460
15461 2012-03-10 Chong Yidong <cyd@gnu.org>
15462
15463 * emulation/cua-rect.el (cua--init-rectangles):
15464 * emulation/cua-base.el (cua--init-keymaps):
15465 Add delete-forward-char to remappings (Bug#9666).
15466
15467 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15468
15469 * speedbar.el (speedbar-unhighlight-one-tag-line):
15470 Avoid unhighlighting due to frame switching (Bug#10275).
15471
15472 2012-03-10 Chong Yidong <cyd@gnu.org>
15473
15474 * minibuffer.el (completion-in-region, completion-help-at-point):
15475 Give the completion field overlay a high priority (Bug#6830).
15476
15477 * dired.el (dired-goto-file): Recognize absolute file name
15478 listings (Bug#7126).
15479 (dired-goto-file-1): New helper function.
15480 (dired-toggle-read-only): Inhibit warnings.
15481
15482 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15483
15484 * net/dbus.el (dbus-property-handler): Return empty array if
15485 there are no properties.
15486
15487 2012-03-09 Leo Liu <sdl.web@gmail.com>
15488
15489 * savehist.el (savehist-printable): Stricter check for string
15490 value (Bug#10937).
15491
15492 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15493
15494 * mail/smtpmail.el (smtpmail-send-it):
15495 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15496 valid mbox format.
15497
15498 2012-03-09 Glenn Morris <rgm@gnu.org>
15499
15500 * files.el (dir-locals-find-file):
15501 Don't check result is regular, readable.
15502 (dir-locals-read-from-file): Demote errors.
15503
15504 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15505
15506 * international/quail.el (quail-insert-kbd-layout):
15507 Insert invisible LRM characters before each character in a keyboard
15508 layout cell, to prevent their reordering by bidi display engine.
15509 For details, see the discussion in
15510 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15511
15512 2012-03-08 Alan Mackenzie <acm@muc.de>
15513
15514 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15515 the starting position; make it extend the marked region when
15516 invoked repeatedly - all under appropriate circumstances.
15517 Fixes bugs #5525, #10906.
15518
15519 2012-03-08 Glenn Morris <rgm@gnu.org>
15520
15521 * files.el (locate-dominating-file, dir-locals-find-file):
15522 Undo 2012-03-06 change.
15523
15524 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15525
15526 * international/quail.el (quail-help):
15527 Force bidi-paragraph-direction be left-to-right. See discussion in
15528 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15529 for the reason.
15530
15531 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15532
15533 Avoid superfluous registering of signals. (Bug#10807)
15534
15535 * notifications.el (notifications-on-action-object)
15536 (notifications-on-close-object): New defvars.
15537 (notifications-on-action-signal, notifications-on-closed-signal):
15538 Unregister the signal if not needed any longer.
15539 (notifications-notify): Register `notifications-action-signal' or
15540 `notifications-closed-signal', if :on-action or :on-close has been
15541 passed as argument.
15542
15543 2012-03-07 Chong Yidong <cyd@gnu.org>
15544
15545 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15546 non-X platforms.
15547
15548 2012-03-06 Glenn Morris <rgm@gnu.org>
15549
15550 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15551 (x-disown-selection-internal, x-get-selection-internal):
15552 Doc fix (add arglist signatures). (Bug#10783)
15553
15554 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15555
15556 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15557 Handle breakpoints with no "type".
15558
15559 2012-03-06 Glenn Morris <rgm@gnu.org>
15560
15561 * files.el (locate-dominating-file): Add optional predicate argument.
15562 (dir-locals-find-file): Make use of above change.
15563
15564 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15565
15566 * info.el (Info-insert-dir): Also try "dir.gz".
15567
15568 2012-03-06 Glenn Morris <rgm@gnu.org>
15569
15570 * files.el (dir-locals-find-file):
15571 Ignore non-readable or non-regular files. (Bug#10928)
15572
15573 * files.el (locate-dominating-file): Doc fix.
15574
15575 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15576
15577 * calendar/calendar.el (calendar-set-mode-line):
15578 `getenv' returns a string. (Bug#10951)
15579
15580 2012-03-05 Leo Liu <sdl.web@gmail.com>
15581
15582 * simple.el (backward-delete-char-untabify): Constrain point to
15583 field (Bug#10939).
15584
15585 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15586
15587 2012-03-05 Chong Yidong <cyd@gnu.org>
15588
15589 * simple.el (count-words): If called from Lisp, return the word
15590 count, for symmetry with `count-lines'. Arglist changed.
15591 (count-words--message): Args changed. Consolidate counting code
15592 from count-words and count-words-region.
15593 (count-words-region): Caller changed.
15594 (count-lines-region): Make it an obsolete alias.
15595
15596 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15597
15598 * saveplace.el (save-place-to-alist)
15599 (save-place-ignore-files-regexp): Allow value nil to disable this
15600 feature.
15601
15602 2012-03-04 Chong Yidong <cyd@gnu.org>
15603
15604 * faces.el (face-spec-reset-face): For the default face, reset the
15605 attributes to default values (Bug#10748).
15606
15607 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15608
15609 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15610 previous patch: Check `message-send-mail-function', and not the
15611 default function (bug#10897).
15612
15613 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15614
15615 * notifications.el (notifications-on-action-signal)
15616 (notifications-on-closed-signal): Check for unique service name of
15617 incoming event. Fix error in removing entry.
15618 (top): Register for signals with wildcard service name.
15619 (notifications-notify): Use daemon unique service name for map entries.
15620
15621 2012-03-04 Chong Yidong <cyd@gnu.org>
15622
15623 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15624
15625 2012-03-04 Glenn Morris <rgm@gnu.org>
15626
15627 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15628 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15629 (expand-abbrev, define-abbrev-table): Doc fixes.
15630
15631 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15632
15633 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15634 `message-default-send-mail-function' and not `send-mail-function'
15635 when doing the prompting for `sendmail-query-once' before sending
15636 in Message buffers (bug#10897).
15637
15638 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15639 This is inconsistent with all the other stream functions, which leave
15640 the setting up to the higher levels (if so wanted) (bug#10931).
15641
15642 2012-03-02 Alan Mackenzie <acm@muc.de>
15643
15644 Depessimize the handling of very large macros.
15645
15646 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15647 (c-macro-cache-syntactic): New variables to implement a one
15648 element macro cache.
15649 (c-invalidate-macro-cache): New function.
15650 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15651 Adapt to use the new cache.
15652 (c-state-safe-place): Use better the cache of safe positions.
15653 (c-state-semi-nonlit-pos-cache)
15654 (c-state-semi-nonlit-pos-cache-limit):
15655 New variables for...
15656 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15657 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15658 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15659 Use c-state-semi-safe-place.
15660
15661 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15662 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15663
15664 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15665
15666 * jka-compr.el (jka-compr-call-process):
15667 Apply `file-accessible-directory-p' only when the default directory is
15668 not remote.
15669
15670 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15671
15672 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15673 access of FILE2, if FILE1 does not exist.
15674
15675 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15676 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15677
15678 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15679 Add "PAGER=" to `process-environment'.
15680
15681 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15682
15683 * progmodes/sql.el: Bug fix
15684 (sql-get-login-ext): Save login values in globals.
15685 (sql-get-login): Use new version of `sql-get-login-ext'.
15686 (sql-interactive-mode): Set global `sql-connection' to nil.
15687 (sql-connect): Set global values for connection.
15688 (sql-product-interactive): Save global values as buffer local.
15689
15690 2012-02-29 Leo Liu <sdl.web@gmail.com>
15691
15692 * abbrev.el (define-abbrevs): Reset sys to nil.
15693
15694 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15695
15696 * files.el (file-equal-p): Rename from `files-equal-p'.
15697 Return nil when one or both files don't exist.
15698 (file-subdir-of-p): Now only top directory must exists,
15699 return nil if it doesn't.
15700 (copy-directory): No need to test with `file-subdir-of-p' after
15701 creating dir.
15702 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15703 to `file-equal-p'.
15704
15705 2012-02-28 Glenn Morris <rgm@gnu.org>
15706
15707 * shell.el (shell-mode):
15708 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15709 * play/landmark.el (landmark-font-lock-face-O):
15710 * play/handwrite.el (handwrite):
15711 * play/gomoku.el (gomoku-O):
15712 * net/browse-url.el (browse-url-browser-display):
15713 * international/mule.el (define-charset):
15714 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15715 * filesets.el (filesets-find-file-delay):
15716 * eshell/em-xtra.el (eshell-xtra):
15717 * eshell/em-unix.el (eshell-grep):
15718 * emulation/viper.el (viper-mode):
15719 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15720 * emacs-lisp/easymenu.el (easy-menu-define):
15721 * calendar/timeclock.el (timeclock-use-display-time):
15722 * bs.el (bs-mode):
15723 * bookmark.el (bookmark-save-flag):
15724 Doc fix (standardize possessive apostrophe usage).
15725
15726 2012-02-27 Chong Yidong <cyd@gnu.org>
15727
15728 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15729 Fix key-binding lookup for ESC key (Bug#9146).
15730
15731 * font-lock.el (font-lock-specified-p): Rename from
15732 font-lock-spec-present. Callers changed.
15733
15734 2012-02-27 Daniel Hackney <dan@haxney.org>
15735
15736 * emacs-lisp/package.el (package-compute-transaction):
15737 Handle holding a package version to t in package-load-list.
15738
15739 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15740
15741 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15742 (tramp-get-inode, tramp-get-device): Use cached values.
15743
15744 2012-02-26 Alan Mackenzie <acm@muc.de>
15745
15746 Check there is a font-lock specification before doing initial
15747 fontification.
15748
15749 * font-core.el (font-lock-mode): Move the conditional from
15750 :after-hook to font-lock-initial-fontify.
15751 (font-lock-default-function): Move the check for a specification
15752 to font-lock-spec-present.
15753
15754 * font-lock.el (font-lock-initial-fontify): Call ...
15755 (font-lock-spec-present): New function.
15756
15757 2012-02-26 Jim Blandy <jimb@red-bean.com>
15758
15759 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15760 (gdb-send): Apply it to the operand of the '-interpreter-exec
15761 console' command, so that we can pass arguments with (say) quotes
15762 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15763
15764 2012-02-26 Chong Yidong <cyd@gnu.org>
15765
15766 * help-fns.el (describe-function-1): Clarify description of
15767 remapping (Bug#10844).
15768
15769 * files.el (files-equal-p): Doc fix.
15770 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15771 and quit the loop once a mismatch is found.
15772
15773 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15774
15775 * bs.el (bs--show-with-configuration): Don't throw an error
15776 if the window cannot be split; otherwise, subsequent calls to
15777 bs-show fail, restoring a stale window config. (Bug#10882)
15778
15779 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15780
15781 * term/ns-win.el (global-map): Bind ns-drag-file to
15782 ns-find-file (Bug#5855, Bug#10050).
15783
15784 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15785
15786 * calendar/parse-time.el (parse-time-string): Allow extractor to
15787 return nil.
15788
15789 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15790
15791 * net/tramp.el (tramp-file-name-for-operation):
15792 Add `files-equal-p' and `file-subdir-of-p'.
15793
15794 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15795 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15796 Add COPY-CONTENTS argument.
15797
15798 2012-02-25 Chong Yidong <cyd@gnu.org>
15799
15800 Add custom groups for VC backends, for consistency with vc-bzr.
15801
15802 * vc/vc-arch.el (vc-arch):
15803 * vc/vc-cvs.el (vc-cvs):
15804 * vc/vc-git.el (vc-git):
15805 * vc/vc-hg.el (vc-hg):
15806 * vc/vc-mtn.el (vc-mtn):
15807 * vc/vc-rcs.el (vc-rcs):
15808 * vc/vc-sccs.el (vc-sccs):
15809 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15810 All relevant defcustoms reassigned.
15811
15812 2012-02-25 Chong Yidong <cyd@gnu.org>
15813
15814 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15815
15816 * term/x-win.el (x-initialize-window-system): Reduce default for
15817 x-selection-timeout to 5 seconds (Bug#8869).
15818
15819 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15820
15821 * files.el (files-equal-p, file-subdir-of-p): New functions.
15822 (copy-directory): Error when trying to copy a directory on itself.
15823 Add missing copy-contents arg to tramp handler.
15824 * dired-aux.el (dired-copy-file-recursive): Same.
15825 (dired-create-files): Modify destination when source is equal to
15826 dest when copying files.
15827 Return also when dest is a subdir of source. (Bug#10489)
15828
15829 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15830
15831 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15832 (Bug#10874)
15833
15834 2012-02-23 Alan Mackenzie <acm@muc.de>
15835
15836 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15837 parameter "after-hook:" to allow the expansion to run code after
15838 the execution of the mode hooks.
15839
15840 * font-lock.el (font-lock-initial-fontify): New function extracted
15841 from font-lock-mode-internal.
15842
15843 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15844 :after-hook.
15845
15846 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15847
15848 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15849 (completion--cache-all-sorted-completions): New function.
15850 (completion-all-sorted-completions): Use it.
15851 (completion--do-completion, minibuffer-force-complete):
15852 Use it to re-instate the flush hook.
15853
15854 * icomplete.el (icomplete-completions): Replace last fix with a better
15855 one (bug#10850).
15856
15857 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15858
15859 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15860 when it might call us back infinitely (bug#10797).
15861
15862 2012-02-23 Glenn Morris <rgm@gnu.org>
15863
15864 * minibuffer.el (completion-category-overrides): Doc fix.
15865
15866 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15867
15868 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15869 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15870
15871 2012-02-23 Glenn Morris <rgm@gnu.org>
15872
15873 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15874 (authors-obsolete-files-regexps, authors-ignored-files)
15875 (authors-ambiguous-files, authors-renamed-files-alist):
15876 Add more entries.
15877
15878 2012-02-23 Juri Linkov <juri@jurta.org>
15879
15880 * isearch.el (isearch-occur): Sync interactive spec with occur's
15881 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15882
15883 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15884
15885 2012-02-22 Juri Linkov <juri@jurta.org>
15886
15887 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15888 (ucs-insert): Doc fix. Check for hex digits in the string.
15889 Don't display `nil' in the error message. (Bug#10857)
15890
15891 2012-02-22 Alan Mackenzie <acm@muc.de>
15892
15893 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15894
15895 2012-02-22 Glenn Morris <rgm@gnu.org>
15896
15897 * ffap.el (ffap-c-path):
15898 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15899
15900 2012-02-22 Chong Yidong <cyd@gnu.org>
15901
15902 * custom.el (load-theme): Doc fix.
15903
15904 2012-02-22 Glenn Morris <rgm@gnu.org>
15905
15906 * dired-x.el (dired-guess-shell-alist-default):
15907 Remove escape sequences from nroff output. (Bug#172)
15908
15909 2012-02-21 Glenn Morris <rgm@gnu.org>
15910
15911 * vc/emerge.el (emerge-defvar-local):
15912 Set `permanent-local' property rather than unused `preserved'.
15913
15914 * textmodes/picture.el (picture-delete-char): New alias.
15915 (picture-mode-map): Use it. (Bug#10860)
15916 (picture-mode): Doc fix.
15917
15918 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15919
15920 * newcomment.el (uncomment-region-default): Remove unused binding.
15921
15922 2012-02-21 Glenn Morris <rgm@gnu.org>
15923
15924 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15925 (picture-self-insert, picture-tab-chars): Doc fix.
15926 (picture-mode-map): Fix C-a, C-e.
15927
15928 2012-02-20 Glenn Morris <rgm@gnu.org>
15929
15930 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15931
15932 2012-02-20 Leo Liu <sdl.web@gmail.com>
15933
15934 * icomplete.el (icomplete-completions): Check FROM arg before
15935 passing to substring (Bug#10850).
15936
15937 2012-02-19 Chong Yidong <cyd@gnu.org>
15938
15939 * comint.el: Require ansi-color.
15940 (comint-output-filter-functions): Add ansi-color-process-output.
15941
15942 * ansi-color.el: Don't set comint-output-filter-functions; it is
15943 now in the initial value defined in comint.el.
15944 (ansi-color-apply-face-function): New variable.
15945 (ansi-color-apply-on-region): Use it.
15946 (ansi-color-apply-overlay-face): New function.
15947
15948 * shell.el (shell): No need to require ansi-color.
15949 (shell-mode): Use ansi-color-apply-face-function to highlight
15950 color escapes using font-lock-face property (Bug#10835).
15951
15952 2012-02-19 Chong Yidong <cyd@gnu.org>
15953
15954 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15955 mode-line formats (Bug#10839).
15956
15957 2012-02-18 Glenn Morris <rgm@gnu.org>
15958
15959 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15960
15961 * mail/undigest.el (unforward-rmail-message): Doc fix.
15962
15963 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15964
15965 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15966
15967 * international/characters.el (script-list): Sync with the latest
15968 Unicode Character Database.
15969
15970 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15971
15972 * international/titdic-cnv.el: Remove duplicate coding tag.
15973 * language/cham.el: Likewise.
15974 * language/tai-viet.el: Likewise.
15975
15976 2012-02-18 Glenn Morris <rgm@gnu.org>
15977
15978 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15979 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15980 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15981 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15982 * calendar/holidays.el (holiday-bahai-holidays)
15983 (calendar-holidays, list-holidays):
15984 Use utf-8 Bahá'í in doc-strings, menus, etc.
15985
15986 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15987
15988 * saveplace.el (save-place-ignore-files-regexp): New variable
15989 allowing for excluding files from saving their location of point.
15990 The default value matches the temporary commit message editing
15991 files from Git, SVN, Bazaar, and Mercurial.
15992 (save-place-to-alist): Use it.
15993
15994 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15995 Stefan Monnier <monnier@iro.umontreal.ca>
15996
15997 * newcomment.el (uncomment-region-default): Don't leave extra space
15998 when an arg is provided (bug#8150).
15999
16000 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16001
16002 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16003
16004 2012-02-17 Glenn Morris <rgm@gnu.org>
16005
16006 * net/socks.el: Require network-stream. (Bug#10599)
16007
16008 2012-02-17 Kenichi Handa <handa@m17n.org>
16009
16010 * international/charprop.el:
16011 * international/uni-name.el:
16012 * international/uni-old-name.el:
16013 * international/uni-comment.el: Regenerate.
16014
16015 2012-02-16 Glenn Morris <rgm@gnu.org>
16016
16017 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16018 Interactively in calendar buffer, give an error if not on a date.
16019
16020 2012-02-15 Glenn Morris <rgm@gnu.org>
16021
16022 * shell.el (shell-delimiter-argument-list):
16023 Revert 2011-02-17 change. (Bug#8027)
16024
16025 2012-02-15 Chong Yidong <cyd@gnu.org>
16026
16027 * minibuffer.el (completion-at-point-functions): Doc fix.
16028
16029 * custom.el (defcustom): Doc fix; note use of defvar.
16030
16031 2012-02-15 Glenn Morris <rgm@gnu.org>
16032
16033 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16034 Doc fixes.
16035
16036 2012-02-14 Glenn Morris <rgm@gnu.org>
16037
16038 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16039
16040 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16041
16042 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16043 way the ports list is computed.
16044 (smtpmail-query-smtp-server): Prompt the user for a port number if
16045 we can't connect to any of the standard ports (bug#10810).
16046
16047 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16048
16049 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16050
16051 2012-02-13 Glenn Morris <rgm@gnu.org>
16052
16053 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16054
16055 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16056
16057 * net/gnutls.el (gnutls-trustfiles): New variable.
16058 (gnutls-negotiate): Use it.
16059
16060 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16061
16062 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16063 does its stuff if Gnus is running.
16064
16065 2012-02-13 Alan Mackenzie <acm@muc.de>
16066
16067 Fix a loop in c-set-fl-decl-start.
16068
16069 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16070 c-backward-syntactic-ws actually moves backwards.
16071
16072 2012-02-13 Leo Liu <sdl.web@gmail.com>
16073
16074 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16075 beginning so that all \C-o chars are removed.
16076
16077 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16078
16079 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16080
16081 2012-02-12 Alan Mackenzie <acm@muc.de>
16082
16083 Fix infinite loop with long macros.
16084 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16085
16086 2012-02-12 Chong Yidong <cyd@gnu.org>
16087
16088 * window.el (display-buffer): Doc fix (Bug#10785).
16089
16090 2012-02-12 Glenn Morris <rgm@gnu.org>
16091
16092 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16093 (x-disown-selection-internal, x-get-selection-internal):
16094 Sync docs with the xselect.c versions.
16095
16096 * allout-widgets.el: Add missing license notice.
16097
16098 2012-02-11 Glenn Morris <rgm@gnu.org>
16099
16100 * select.el (x-get-selection-internal, x-own-selection-internal)
16101 (x-disown-selection-internal):
16102 * x-dnd.el (x-get-selection-internal): Update declarations.
16103
16104 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16105
16106 * window.el (window-sides-slots):
16107 * tool-bar.el (tool-bar-position):
16108 * term/xterm.el (xterm-extra-capabilities):
16109 * ses.el (ses-self-reference-early-detection):
16110 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16111 (verilog-auto-wire-type)
16112 (verilog-auto-delete-trailing-whitespace)
16113 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16114 (verilog-auto-tieoff-declaration):
16115 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16116 (sql-oracle-statement-starters, sql-oracle-scan-on):
16117 * progmodes/prolog.el (prolog-align-comments-flag)
16118 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16119 (prolog-left-indent-regexp, prolog-paren-indent-p)
16120 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16121 (prolog-types, prolog-mode-specificators)
16122 (prolog-determinism-specificators, prolog-directives)
16123 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16124 (prolog-electric-dot-flag)
16125 (prolog-electric-dot-full-predicate-template)
16126 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16127 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16128 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16129 (prolog-program-switches, prolog-prompt-regexp)
16130 (prolog-debug-on-string, prolog-debug-off-string)
16131 (prolog-trace-on-string, prolog-trace-off-string)
16132 (prolog-zip-on-string, prolog-zip-off-string)
16133 (prolog-use-standard-consult-compile-method-flag)
16134 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16135 (prolog-imenu-max-lines, prolog-info-predicate-index)
16136 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16137 (prolog-char-quote-workaround):
16138 * progmodes/cc-vars.el (c-defun-tactic):
16139 * net/tramp.el (tramp-encoding-command-interactive)
16140 (tramp-local-end-of-line):
16141 * net/soap-client.el (soap-client):
16142 * net/netrc.el (netrc-file):
16143 * net/gnutls.el (gnutls):
16144 * minibuffer.el (completion-category-overrides)
16145 (completion-cycle-threshold)
16146 (completion-pcm-complete-word-inserts-delimiters):
16147 * man.el (Man-name-local-regexp):
16148 * mail/feedmail.el (feedmail-display-full-frame):
16149 * international/characters.el (glyphless-char-display-control):
16150 * eshell/em-ls.el (eshell-ls-date-format):
16151 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16152 (lisp-lambda-list-keyword-parameter-indentation)
16153 (lisp-lambda-list-keyword-parameter-alignment):
16154 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16155 * dired-x.el (dired-omit-verbose):
16156 * cus-theme.el (custom-theme-allow-multiple-selections):
16157 * calc/calc.el (calc-highlight-selections-with-faces)
16158 (calc-lu-field-reference, calc-lu-power-reference)
16159 (calc-note-threshold):
16160 * battery.el (battery-mode-line-limit):
16161 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16162 (archive-7z-update):
16163 * allout.el (allout-prefixed-keybindings)
16164 (allout-unprefixed-keybindings)
16165 (allout-inhibit-auto-fill-on-headline)
16166 (allout-flattened-numbering-abbreviation):
16167 * allout-widgets.el (allout-widgets-auto-activation)
16168 (allout-widgets-icons-dark-subdir)
16169 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16170 (allout-widgets-theme-dark-background)
16171 (allout-widgets-theme-light-background)
16172 (allout-widgets-item-image-properties-emacs)
16173 (allout-widgets-item-image-properties-xemacs)
16174 (allout-widgets-run-unit-tests-on-load)
16175 (allout-widgets-time-decoration-activity)
16176 (allout-widgets-hook-error-post-time)
16177 (allout-widgets-track-decoration):
16178 Add missing :version tags to new defcustoms and defgroups.
16179
16180 * progmodes/sql.el (sql-ansi-statement-starters)
16181 (sql-oracle-statement-starters): Add custom type.
16182
16183 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16184 (prolog-system-version): Give it a type.
16185
16186 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16187
16188 * term/pc-win.el (x-select-text, x-selection-owner-p)
16189 (x-own-selection-internal, x-disown-selection-internal)
16190 (x-get-selection-internal): Sync doc strings and argument lists
16191 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16192
16193 2012-02-11 Leo Liu <sdl.web@gmail.com>
16194
16195 * progmodes/python.el (python-end-of-statement): Fix infinite
16196 loop. (Bug#10788)
16197
16198 2012-02-10 Glenn Morris <rgm@gnu.org>
16199
16200 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16201 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16202
16203 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16204
16205 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16206 about SMTP before checking the From header.
16207
16208 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16209 into own function for reuse by emacsbug.el.
16210
16211 2012-02-10 Leo Liu <sdl.web@gmail.com>
16212
16213 * subr.el (condition-case-unless-debug): Rename from
16214 condition-case-no-debug. All callers changed.
16215 (with-demoted-errors): Fix caller.
16216
16217 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16218 * nxml/rng-valid.el (rng-do-some-validation):
16219 * emacs-lisp/package.el (package-refresh-contents)
16220 (package-menu-execute):
16221 * desktop.el (desktop-create-buffer):
16222 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16223
16224 2012-02-10 Glenn Morris <rgm@gnu.org>
16225
16226 * textmodes/bibtex.el:
16227 Add missing :version tags for new/changed defcustoms.
16228
16229 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16230
16231 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16232
16233 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16234 (smtpmail-via-smtp): Use it, or fall back on the From address.
16235 (smtpmail-send-it): Ditto.
16236
16237 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16238
16239 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16240 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16241 (byte-compile-tmp-var): New const.
16242 (byte-compile-defvar): Use it to minimize .elc size.
16243 Just use `defvar' rather than simulate it (bug#10761).
16244
16245 2012-02-09 Glenn Morris <rgm@gnu.org>
16246
16247 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16248
16249 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16250 Add :version tags.
16251
16252 * progmodes/compile.el (compilation-error-screen-columns)
16253 (compilation-first-column, compilation-filter-start): Doc fixes.
16254
16255 * vc/log-view.el (log-view-toggle-entry-display):
16256 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16257
16258 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16259 (report-emacs-bug-can-use-xdg-email):
16260 (report-emacs-bug-insert-to-mailer): Doc fixes.
16261 (report-emacs-bug): Message fix.
16262
16263 * net/browse-url.el (browse-url-can-use-xdg-open)
16264 (browse-url-xdg-open): Doc fixes.
16265
16266 * electric.el (electric-indent-mode, electric-pair-mode)
16267 (electric-layout-rules, electric-layout-mode): Doc fixes.
16268 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16269
16270 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16271
16272 * server.el (server-unselect-display): Don't inadvertently kill
16273 the current buffer. (Bug#10729)
16274
16275 2012-02-08 Glenn Morris <rgm@gnu.org>
16276
16277 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16278 (sql-list-table): Doc fixes.
16279
16280 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16281 Comment out (does nothing).
16282
16283 * completion.el (dynamic-completion-mode):
16284 * dirtrack.el (dirtrack-debug-mode):
16285 * electric.el (electric-layout-mode):
16286 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16287 * face-remap.el (text-scale-mode, buffer-face-mode):
16288 * iimage.el (iimage-mode):
16289 * image-mode.el (image-transform-mode):
16290 * minibuffer.el (completion-in-region-mode):
16291 * scroll-lock.el (scroll-lock-mode):
16292 * simple.el (next-error-follow-minor-mode):
16293 * tar-mode.el (tar-subfile-mode):
16294 * tooltip.el (tooltip-mode):
16295 * vcursor.el (vcursor-use-vcursor-map):
16296 * wid-browse.el (widget-minor-mode):
16297 * emulation/tpu-edt.el (tpu-edt-mode):
16298 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16299 * international/iso-ascii.el (iso-ascii-mode):
16300 * language/thai-util.el (thai-word-mode):
16301 * mail/supercite.el (sc-minor-mode):
16302 * net/goto-addr.el (goto-address-mode):
16303 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16304 * progmodes/cwarn.el (cwarn-mode):
16305 * progmodes/flymake.el (flymake-mode):
16306 * progmodes/glasses.el (glasses-mode):
16307 * progmodes/hideshow.el (hs-minor-mode):
16308 * progmodes/pascal.el (pascal-outline-mode):
16309 * textmodes/enriched.el (enriched-mode):
16310 * vc/smerge-mode.el (smerge-mode):
16311 Doc fixes (minor mode argument).
16312
16313 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16314
16315 * ls-lisp.el (ls-lisp-sanitize): New function.
16316 (ls-lisp-insert-directory): Use it to fix or remove any elements
16317 in file-alist with missing attributes. (Bug#4673)
16318
16319 2012-02-07 Alan Mackenzie <acm@muc.de>
16320
16321 Fix spurious recognition of c-in-knr-argdecl.
16322
16323 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16324 putative K&R region.
16325
16326 2012-02-07 Alan Mackenzie <acm@muc.de>
16327
16328 * progmodes/cc-engine.el (c-forward-objc-directive):
16329 Prevent looping in "#pragma mark @implementation".
16330
16331 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16332
16333 * notifications.el (notifications-on-closed-signal): Make `reason'
16334 optional. (Bug#10744)
16335
16336 2012-02-07 Glenn Morris <rgm@gnu.org>
16337
16338 * emacs-lisp/easy-mmode.el (define-minor-mode):
16339 Doc fixes for the macro and the mode it defines.
16340
16341 * image.el (imagemagick-types-inhibit): Doc fix.
16342
16343 * cus-start.el (imagemagick-render-type): Add it.
16344
16345 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16346
16347 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16348 Set the default at load time, too, so that `font-lock-fontify-buffer'
16349 can be called without setting up the entire mode first. This fixes
16350 a bug in `mm-inline-text' with C MIME parts.
16351
16352 2012-02-06 Chong Yidong <cyd@gnu.org>
16353
16354 * simple.el (list-processes--refresh): Delete exited processes
16355 (Bug#8094).
16356
16357 * comint.el (comint-next-prompt): next-single-char-property-change
16358 and prev-single-char-property-change never return nil (Bug#8657).
16359
16360 * custom.el (defcustom): Doc fix (Bug#9711).
16361
16362 2012-02-05 Chong Yidong <cyd@gnu.org>
16363
16364 * cus-edit.el (custom-variable-reset-backup): Quote the value
16365 before storing it in the customized-value property (Bug#6712).
16366 (custom-display): Add a customization type tag.
16367 (custom-buffer-create-internal): Improve tooltip message.
16368
16369 * wid-edit.el (widget-field-value-get): New optional arg to
16370 suppress trailing whitespace truncation.
16371 (character): Use it (Bug#2689).
16372
16373 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16374
16375 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16376 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16377
16378 2012-02-05 Chong Yidong <cyd@gnu.org>
16379
16380 * cus-edit.el (custom-variable-value-create): For mismatched
16381 types, show the current value (Bug#7600).
16382
16383 * custom.el (defcustom): Doc fix.
16384
16385 2012-02-05 Glenn Morris <rgm@gnu.org>
16386
16387 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16388
16389 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16392 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16393 (pp-last-sexp): Use `looking-at-p'.
16394
16395 2012-02-04 Glenn Morris <rgm@gnu.org>
16396
16397 * files.el (revert-buffer):
16398 Doc fix (mention revert-buffer-in-progress-p).
16399
16400 * emacs-lisp/ert-x.el (ert-simulate-command):
16401 Check deferred-action-list (which is obsolete) is bound.
16402
16403 * subr.el (with-wrapper-hook): Doc fixes.
16404
16405 * simple.el (filter-buffer-substring-functions)
16406 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16407
16408 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16409
16410 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16411 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16412
16413 2012-02-04 Leo Liu <sdl.web@gmail.com>
16414
16415 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16416
16417 2012-02-04 Glenn Morris <rgm@gnu.org>
16418
16419 * image.el (image-extension-data): Add obsolete alias.
16420
16421 * isearch.el (isearch-update): Doc fix.
16422
16423 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16424
16425 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16426
16427 2012-02-03 Glenn Morris <rgm@gnu.org>
16428
16429 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16430 (image-animate-timeout): Doc fix.
16431
16432 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16433
16434 2012-02-02 Glenn Morris <rgm@gnu.org>
16435
16436 * server.el (server-auth-dir): Doc fix.
16437 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16438
16439 * subr.el (run-mode-hooks): Doc fix.
16440
16441 2012-02-02 Juri Linkov <juri@jurta.org>
16442
16443 * image-mode.el (image-toggle-display-image): Remove tautological
16444 `major-mode' from the `derived-mode-p' test.
16445
16446 2012-02-02 Kenichi Handa <handa@m17n.org>
16447
16448 * composite.el (compose-region): Cancel previous change.
16449
16450 2012-02-02 Kenichi Handa <handa@m17n.org>
16451
16452 * composite.el (compose-region, compose-string): Signal error for
16453 a null string component (Bug#6988).
16454
16455 2012-02-01 Chong Yidong <cyd@gnu.org>
16456
16457 * view.el (view-buffer-other-window, view-buffer-other-frame):
16458 Handle special modes like view-buffer (Bug#10650).
16459 (view-buffer): Simplify.
16460
16461 * frame.el (set-frame-font): Tweak meaning of third argument.
16462
16463 * dynamic-setting.el (font-setting-change-default-font):
16464 Use set-frame-font (Bug#9982).
16465
16466 2012-02-01 Glenn Morris <rgm@gnu.org>
16467
16468 * progmodes/compile.el (compilation-internal-error-properties):
16469 Respect compilation-first-column in the "*compilation*" buffer.
16470
16471 * emacs-lisp/easy-mmode.el (define-minor-mode):
16472 Relax :variable's test for a named function.
16473
16474 2012-01-31 Alan Mackenzie <acm@muc.de>
16475
16476 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16477 off by one error.
16478
16479 2012-01-31 Chong Yidong <cyd@gnu.org>
16480
16481 * frame.el (set-frame-font): New arg ALL-FRAMES.
16482
16483 * menu-bar.el (menu-set-font): Use set-frame-font.
16484
16485 * faces.el (face-spec-reset-face): Don't apply unspecified
16486 attribute values to the default face.
16487
16488 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16489
16490 * progmodes/cwarn.el (cwarn): Remove dead link.
16491 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16492 Remove * from defcustom docstrings.
16493 (turn-on-cwarn-mode): Make obsolete.
16494 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16495 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16496
16497 2012-01-31 Glenn Morris <rgm@gnu.org>
16498
16499 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16500 Fix :variable handling of mode a symbol not equal to modefun.
16501 Allow named functions to be used as the cdr of :variable.
16502
16503 2012-01-30 Glenn Morris <rgm@gnu.org>
16504
16505 * emacs-lisp/authors.el (authors-fixed-entries):
16506 Remove reference to deleted file rnewspost.el.
16507
16508 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16509
16510 * window.el (window-with-parameter): Remove unused variable `windows'.
16511 (window--side-check): Remove unused variable `code'.
16512 (window--resize-siblings): Remove unused variable `first'.
16513 (adjust-window-trailing-edge): Remove unused variable `failed'.
16514 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16515 Use `let', not `let*'.
16516 (balance-windows-2): Remove unused variable `found'.
16517 (window--state-put-2): Remove unused variable `splits'.
16518 (window-state-put): Remove unused variable `selected'.
16519 (same-window-p): Use `string-match-p'.
16520 (display-buffer-assq-regexp): Remove unused variable `value'.
16521 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16522 Mark argument ALIST as ignored.
16523 (pop-to-buffer): Remove unused variable `old-window'.
16524
16525 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16526
16527 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16528 and .lzma compressed files.
16529
16530 2012-01-29 Chong Yidong <cyd@gnu.org>
16531
16532 * frame.el (window-system-default-frame-alist): Doc fix.
16533
16534 * dynamic-setting.el (font-setting-change-default-font): Don't
16535 change the default face if SET-FONT argument is non-nil (Bug#9982).
16536
16537 2012-01-29 Samuel Bronson <naesten@gmail.com>
16538
16539 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16540
16541 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16542
16543 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16544 breakpoints in files outside current directory (Bug#6098).
16545
16546 2012-01-29 Chong Yidong <cyd@gnu.org>
16547
16548 * progmodes/python.el: Require ansi-color at top-level.
16549
16550 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16551 Define and use in Emacs Lisp mode (Bug#9360).
16552 (lisp-mode-abbrev-table): Add doc.
16553 (lisp-mode-variables): Don't set local-abbrev-table.
16554 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16555
16556 2012-01-28 Roland Winkler <winkler@gnu.org>
16557
16558 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16559
16560 2012-01-28 Roland Winkler <winkler@gnu.org>
16561
16562 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16563 (bibtex-set-dialect): Use it. Either set global values of
16564 dialect-dependent variables or bind these variables buffer-locally
16565 (Bug#10254).
16566 (bibtex-mode): Call bibtex-set-dialect via
16567 hack-local-variables-hook.
16568 (bibtex-dialect): Update docstring.
16569 Add safe-local-variable predicate.
16570 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16571 bibtex-set-dialect.
16572 (bibtex-mode-map): Define menu for each dialect.
16573 (bibtex-entry): Fix docstring.
16574
16575 2012-01-28 Chong Yidong <cyd@gnu.org>
16576
16577 * eshell/esh-arg.el (eshell-quote-argument): New function.
16578
16579 * eshell/esh-ext.el (eshell-invoke-batch-file):
16580 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16581 first arg to eshell-parse-command (Bug#10523).
16582
16583 2012-01-28 Drew Adams <drew.adams@oracle.com>
16584
16585 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16586 `default-directory' is non-nil.
16587
16588 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16589
16590 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16591 line that displays system-configuration-options. (Bug#9924)
16592
16593 2012-01-28 Drew Adams <drew.adams@oracle.com>
16594
16595 * descr-text.el (describe-char): Show information about POS, in
16596 addition to information about the character at POS. Improve and
16597 update the doc string. Change "code point" to "code point in
16598 charset", to avoid confusion with the character's Unicode code
16599 point shown above that. (Bug#10129)
16600
16601 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16602
16603 * descr-text.el (describe-char): Show the raw character, not only
16604 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16605 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16606 for the reasons.
16607
16608 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16609
16610 * emacs-lisp/package.el (package-install):
16611 Run package-refresh-contents if there is no archive yet (Bug#9798).
16612
16613 2012-01-28 Chong Yidong <cyd@gnu.org>
16614
16615 * emacs-lisp/package.el (package-maybe-load-descriptor):
16616 New function, split from package-maybe-load-descriptor.
16617 (package-maybe-load-descriptor): Use it.
16618 (package-download-transaction): Fully load required packages
16619 inside the loop, so that `require' calls work (Bug#10593).
16620 (package-install): No need to call package-initialize now.
16621
16622 2012-01-28 Chong Yidong <cyd@gnu.org>
16623
16624 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16625
16626 * tooltip.el (tooltip-mode): Doc fix.
16627 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16628
16629 * frame.el (set-cursor-color): Doc fix (Bug#352).
16630
16631 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16632 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16633
16634 * cus-edit.el (custom-buffer-create-internal): Fix search button
16635 action (Bug#10542).
16636 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16637
16638 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16639
16640 * dired.el (dired-mark-files-regexp):
16641 Include any subdirectory components. (Bug#10445)
16642
16643 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16644
16645 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16646 Handle [host]:port syntax. (Bug#10533)
16647
16648 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16649
16650 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16651
16652 2012-01-26 Glenn Morris <rgm@gnu.org>
16653
16654 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16655 * term.el (term-raw-escape-map): Use Control-X-prefix.
16656 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16657
16658 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16659
16660 * window.el (window-state-get, window--state-get-1): Don't deal
16661 with fixed-sizeness of windows. Simplify code.
16662
16663 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16664
16665 * window.el (window--state-get-1, window--state-put-2):
16666 Don't save and restore the mark.
16667
16668 2012-01-25 Chong Yidong <cyd@gnu.org>
16669
16670 * custom.el (custom-variable-p): Doc fix.
16671
16672 2012-01-25 Glenn Morris <rgm@gnu.org>
16673
16674 * dired.el (dired-goto-file): Handle some of the more common
16675 characters that `ls -b' escapes. (Bug#10596)
16676
16677 * progmodes/compile.el (compilation-next-error-function):
16678 Respect compilation-first-column in the "*compilation*" buffer.
16679 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16680
16681 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16682
16683 2012-01-24 Glenn Morris <rgm@gnu.org>
16684
16685 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16686
16687 2012-01-24 Julien Danjou <julien@danjou.info>
16688
16689 * color.el (color-rgb-to-hsl): Fix value computing.
16690 (color-hue-to-rgb): New function.
16691 (color-hsl-to-rgb): New function.
16692 (color-clamp, color-saturate-hsl, color-saturate-name)
16693 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16694 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16695
16696 2012-01-24 Glenn Morris <rgm@gnu.org>
16697
16698 * vc/vc-rcs.el (vc-rcs-create-tag):
16699 * vc/vc-sccs.el (vc-sccs-create-tag):
16700 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16701
16702 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16703
16704 * eshell/esh-util.el (eshell-read-hosts-file):
16705 Skip comment lines. (Bug#10549)
16706
16707 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16708
16709 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16710
16711 * subr.el (display-delayed-warnings): Doc fix.
16712 (collapse-delayed-warnings): New function to collapse identical
16713 adjacent warnings.
16714 (delayed-warnings-hook): Add it.
16715
16716 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16717
16718 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16719
16720 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16721 (tramp-default-user-alist): Don't add "pscp".
16722 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16723 property "login-as", if set. (Bug#10530)
16724
16725 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16726
16727 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16728 "plink1" and "psftp". (Bug#10530)
16729
16730 2012-01-21 Kenichi Handa <handa@m17n.org>
16731
16732 * international/mule-cmds.el (prefer-coding-system): Show a
16733 warning message if the default value of file-name-coding-system
16734 was not changed.
16735
16736 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16737
16738 * windmove.el (windmove-reference-loc):
16739 Fix windmove-reference-loc miscalculation.
16740
16741 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16742
16743 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16744 default unit.
16745
16746 2012-01-21 Glenn Morris <rgm@gnu.org>
16747
16748 * international/mule.el (auto-coding-alist): Add .tbz.
16749
16750 * files.el (local-enable-local-variables): Doc fix.
16751 (inhibit-local-variables-regexps): Rename from
16752 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16753 Doc fix. Add some extensions from auto-coding-alist.
16754 (inhibit-local-variables-suffixes):
16755 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16756 (inhibit-local-variables-p):
16757 New function, extracted from set-auto-mode-1.
16758 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16759 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16760 (hack-local-variables): Doc fix. Make the mode-only case
16761 respect enable-local-variables and friends.
16762 Respect inhibit-local-variables-regexps for file-locals, but
16763 not for directory-locals.
16764 (set-visited-file-name):
16765 Take account of inhibit-local-variables-regexps.
16766 Whether it applies may change as the file name is changed.
16767 * jka-cmpr-hook.el (jka-compr-install):
16768 * jka-compr.el (jka-compr-uninstall):
16769 Update for inhibit-first-line-modes-suffixes name change.
16770
16771 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16772
16773 * help-macro.el (make-help-screen): Temporarily restore original
16774 binding for minor-mode-map-alist (Bug#10454).
16775
16776 2012-01-19 Julien Danjou <julien@danjou.info>
16777
16778 * color.el (color-name-to-rgb): Use the white color to find the max
16779 color component value and return correctly computed values.
16780 (color-name-to-rgb): Add missing float conversion for max value.
16781
16782 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16783
16784 * window.el (window--state-get-1, window-state-get): Do not use
16785 special state value for window-persistent-parameters.
16786 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16787 (window--state-put-2): Reset all window parameters to nil before
16788 assigning values of persistent parameters.
16789
16790 2012-01-18 Alan Mackenzie <acm@muc.de>
16791
16792 Eliminate sluggishness and hangs in fontification of "semicolon
16793 deserts".
16794
16795 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16796 Change value 10000 -> 3000.
16797 (c-state-safe-place): Reformulate so it doesn't stack up an
16798 infinite number of wrong entries in c-state-nonlit-pos-cache.
16799 (c-determine-limit-get-base, c-determine-limit): New functions to
16800 determine backward search limits disregarding literals.
16801 (c-find-decl-spots): Amend commenting.
16802 (c-cheap-inside-bracelist-p): New function which detects "={".
16803
16804 * progmodes/cc-fonts.el
16805 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16806 backward search.
16807 (c-font-lock-declarations): Fix an occurrence of point being
16808 undefined. Check additionally for point being in a bracelist or
16809 near a macro invocation without a semicolon so as to avoid a
16810 fruitless time consuming search for a declarator. Give a more
16811 precise search limit for declarators using the new
16812 c-determine-limit.
16813
16814 2012-01-18 Glenn Morris <rgm@gnu.org>
16815
16816 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16817 (set-auto-mode): Doc fixes.
16818
16819 2012-01-17 Glenn Morris <rgm@gnu.org>
16820
16821 * isearch.el (search-nonincremental-instead): Fix doc typo.
16822
16823 * dired.el (dired-insert-directory): Handle newlines in directory name.
16824 (dired-build-subdir-alist): Unescape newlines in directory name.
16825
16826 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16827
16828 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16829 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16830 (tramp-action-terminal): Use it. (Bug#10530)
16831
16832 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16835
16836 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16837
16838 * window.el (window-state-ignored-parameters): Remove variable.
16839 (window--state-get-1): Rename argument MARKERS to IGNORE.
16840 Handle persistent window parameters. Make copy of clone-of
16841 parameter only if requested. (Bug#10348)
16842 (window--state-put-2): Install a window parameter only if it has
16843 a non-nil value or an existing parameter shall be overwritten.
16844
16845 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16846
16847 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16848
16849 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16850
16851 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16852 don't pass the (nil) value of `upnode' to string-match.
16853
16854 2012-01-14 Chong Yidong <cyd@gnu.org>
16855
16856 * startup.el (command-line): Fix X resource class for cursorColor.
16857 Fix values recognized by the cursorBlink resource.
16858
16859 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16860
16861 * epg.el (epg--make-temp-file): Avoid permission race condition
16862 when running on old Emacs versions (bug#10403).
16863
16864 2012-01-14 Glenn Morris <rgm@gnu.org>
16865
16866 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16867
16868 2012-01-13 Alan Mackenzie <acm@muc.de>
16869
16870 Fix filling for when filladapt mode is enabled.
16871
16872 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16873 c-mask-paragraph, pass in `fill-paragraph' rather than
16874 `fill-region-as-paragraph'. (This is a reversion of a previous
16875 change.)
16876 * progmodes/cc-mode.el (c-basic-common-init):
16877 Make fill-paragraph-handle-comment buffer local and set it to nil.
16878
16879 2012-01-13 Glenn Morris <rgm@gnu.org>
16880
16881 * dired.el (dired-switches-escape-p): New function.
16882 (dired-insert-directory): Use dired-switches-escape-p.
16883 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16884
16885 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16886
16887 2012-01-12 Glenn Morris <rgm@gnu.org>
16888
16889 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16890 changes in adaptive-fill-regexp. (Bug#10276)
16891
16892 2012-01-11 Alan Mackenzie <acm@muc.de>
16893
16894 Fix Emacs bug #10463 - put `widen's around the critical spots.
16895
16896 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16897 widen around each invocation of c-state-pp-to-literal. Remove an
16898 unused let variable.
16899
16900 2012-01-11 Glenn Morris <rgm@gnu.org>
16901
16902 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16903 Doc fix.
16904
16905 2012-01-10 Chong Yidong <cyd@gnu.org>
16906
16907 * net/network-stream.el (network-stream-open-starttls):
16908 Avoid emitting a confusing error message when the server gives a bad
16909 response to the capability command.
16910
16911 2012-01-10 Glenn Morris <rgm@gnu.org>
16912
16913 * mail/unrmail.el (unrmail): Tweak previous change.
16914
16915 2012-01-09 Chong Yidong <cyd@gnu.org>
16916
16917 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16918
16919 2012-01-08 Alan Mackenzie <acm@muc.de>
16920
16921 Optimize font locking in long enum definitions.
16922
16923 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16924 arm to a cond form to handle enums.
16925 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16926 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16927
16928 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16929
16930 * files.el (move-file-to-trash): Preserve default file modes on error.
16931 (Bug#10401)
16932
16933 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16934
16935 * faces.el (set-face-attribute): Clarify the meaning of the nil
16936 frame (bug#10294).
16937
16938 * subr.el (with-selected-frame): Mention that the selected frame
16939 is restored (bug#9980).
16940
16941 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16942 (bug#9759).
16943
16944 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16945 (password-read): Don't autoload unused function.
16946
16947 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16948
16949 * progmodes/which-func.el (which-func-mode): Turn into a
16950 non-interactive function and mark as obsolete (bug#10428).
16951
16952 2012-01-06 Chong Yidong <cyd@gnu.org>
16953
16954 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16955 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16956 functions, along with 1 and -1.
16957
16958 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16959
16960 * time.el (display-time-load-average)
16961 (display-time-default-load-average): Doc fixes. See the thread
16962 starting at
16963 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16964 for the details.
16965
16966 2012-01-06 Glenn Morris <rgm@gnu.org>
16967
16968 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16969 has no messages. (Bug#10377)
16970
16971 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16972 than Info-edit. (Bug#10385)
16973
16974 * time.el (display-time-load-average, display-time-next-load-average):
16975 Doc fixes.
16976
16977 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16978 local setting of buffer-read-only to the input buffer. (Bug#10419)
16979
16980 * calendar/calendar.el (calendar-mode):
16981 Locally set scroll-margin to 0. (Bug#10379)
16982
16983 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16984
16985 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16986
16987 2012-01-05 Glenn Morris <rgm@gnu.org>
16988
16989 * eshell/em-unix.el (diff-no-select): Autoload it.
16990 (eshell/diff): Use diff-no-select. (Bug#10420)
16991
16992 2012-01-05 Chong Yidong <cyd@gnu.org>
16993
16994 * shell.el (shell-dynamic-complete-functions): Revert last change.
16995 (shell-command-completion-function): New function.
16996 (shell-completion-vars): Use it to implement
16997 shell-completion-execonly (Bug#10417).
16998
16999 * custom.el (enable-theme): Don't set custom-safe-themes.
17000
17001 * cus-theme.el (custom-theme-merge-theme):
17002 Ignore custom-enabled-themes and custom-safe-themes.
17003
17004 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17005
17006 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17007 first prompt in `sql-interacive-mode'.
17008 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17009 keywords.
17010 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17011 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17012 context of original buffer. Invoke `sql-login-hook'.
17013
17014 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17015
17016 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17017 letters in cite-prefix.
17018
17019 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17020
17021 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17022
17023 2012-01-03 Chong Yidong <cyd@gnu.org>
17024
17025 * shell.el (shell-dynamic-complete-functions):
17026 Put pcomplete-completions-at-point, so as to try
17027 comint-filename-completion first (Bug#10417).
17028
17029 2012-01-02 Richard Stallman <rms@gnu.org>
17030
17031 * battery.el (battery-status-function):
17032 Detect when to use battery-yeeloong-sysfs.
17033 (battery-echo-area-format): Add string for Yeeloong.
17034 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17035 (battery-yeeloong-sysfs): New function.
17036
17037 2012-01-02 Chong Yidong <cyd@gnu.org>
17038
17039 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17040 (dirtrack): Merge code for handling relative filenames in prompt
17041 from shell-dir-cookie-watcher.
17042 (dirtrack-debug-message): New arg to avoid excess format calls.
17043
17044 * shell.el (shell-dir-cookie-re): Variable deleted.
17045 (shell-dir-cookie-watcher): Function deleted.
17046 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17047 with dirtrack-mode.
17048
17049 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17050
17051 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17052 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17053 libgnutls-26.dll.
17054
17055 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17056
17057 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17058
17059 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17060
17061 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17062 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17063
17064 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17065
17066 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17067 also for alternative shells.
17068 (tramp-open-connection-setup-interactive-shell): Check, whether
17069 the shell is a busybox.
17070 (tramp-send-command): Don't suppress multiple prompts for
17071 busyboxes, it hurts.
17072
17073 2011-12-28 Chong Yidong <cyd@gnu.org>
17074
17075 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17076 (gdb-get-source-file): Move mode line update to
17077 gdb-get-source-file (Bug#10087).
17078
17079 2011-12-25 Chong Yidong <cyd@gnu.org>
17080
17081 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17082 gud-gdb-marker-filter without taking it as an argument.
17083 (gud-gdb-run-command-fetch-lines): Caller changed.
17084 (gud-gdb-completion-function): New variable.
17085 (gud-gdb-completion-at-point): Use it.
17086 (gud-gdb-completions-1): Split from gud-gdb-completions.
17087
17088 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17089 function as separate arguments.
17090 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17091 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17092 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17093 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17094 (gdb-stopped, def-gdb-auto-update-trigger)
17095 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17096 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17097 Callers changed.
17098 (gud-gdbmi-completions): New function.
17099 (gdb): Use it for generating the completion table.
17100
17101 2011-12-24 Alan Mackenzie <acm@muc.de>
17102
17103 Introduce a mechanism to widen the region used in context font
17104 locking. Use this to protect declarations from losing their contexts.
17105
17106 * progmodes/cc-langs.el (c-before-font-lock-functions):
17107 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17108 (c-before-context-fontification-functions): New defvar, a list of
17109 functions to be run just before context (etc.) font locking.
17110
17111 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17112 New, functionality extracted from
17113 c-neutralize-syntax-in-and-mark-CPP.
17114 (c-in-after-change-fontification): New variable.
17115 (c-after-change): Set c-in-after-change-fontification.
17116 (c-set-fl-decl-start): Rejig its interface, so it can be called
17117 from both after-change and context fontifying.
17118 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17119 New functions.
17120 (c-standard-font-lock-fontify-region-function): New variable.
17121 (c-font-lock-fontify-region): New function.
17122
17123 2011-12-24 Juri Linkov <juri@jurta.org>
17124
17125 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17126 (Bug#10348)
17127
17128 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17129
17130 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17131 existence of source file. (Bug#10325)
17132
17133 2011-12-23 Alan Mackenzie <acm@muc.de>
17134
17135 Fix unstable fontification inside templates.
17136
17137 * progmodes/cc-langs.el (c-before-font-lock-functions):
17138 Newly created from the singular version. The (c c++ objc) entry now
17139 additionally has c-set-fl-decl-start. The other languages (apart
17140 from AWK) have that as a single entry.
17141
17142 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17143 The functionality for "local" declarations has been extracted to
17144 c-set-fl-decl-start.
17145
17146 * progmodes/cc-mode.el (c-common-init, c-after-change):
17147 Changes due to pluralisation of c-before-font-lock-functions.
17148 (c-set-fl-decl-start): New function, extracted from
17149 c-font-lock-enclosing-decls and enhanced.
17150
17151 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17152
17153 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17154
17155 2011-12-22 Juri Linkov <juri@jurta.org>
17156
17157 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17158
17159 2011-12-22 Chong Yidong <cyd@gnu.org>
17160
17161 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17162
17163 2011-12-21 Drew Adams <drew.adams@oracle.com>
17164
17165 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17166
17167 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17168
17169 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17170
17171 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17172
17173 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17174 highlighting and support. Fix up comments for capitalization.
17175 (cfengine-mode-debug): New var.
17176 (cfengine3-mode): Change the modeline indicator to "CFE3".
17177 (cfengine3-font-lock-keywords): Improve defun highlighting.
17178 (cfengine2-actions): Rename from `cfengine-actions'.
17179 (cfengine2-font-lock-keywords): Rename from
17180 `cfengine-font-lock-keywords'.
17181 (cfengine2-imenu-expression): Rename from
17182 `cfengine-imenu-expression'.
17183 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17184 (cfengine2-beginning-of-defun): Rename from
17185 `cfengine-beginning-of-defun'.
17186 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17187 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17188 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17189 modeline indicator to "CFE2".
17190 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17191 (cfengine-mode-abbrevs): Mark obsolete.
17192
17193 2011-12-21 Chong Yidong <cyd@gnu.org>
17194
17195 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17196 filename argument.
17197
17198 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17199
17200 * window.el (window-normalize-buffer-to-display): Remove.
17201 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17202
17203 2011-12-19 Chong Yidong <cyd@gnu.org>
17204
17205 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17206 Don't signal an error in a predicate function; return non-nil.
17207 (vc-dir-mark-file): Move the error here.
17208 (vc-dir-mark-unmark): If acting on the region, keep going if one
17209 of the entries cannot be marked/unmarked.
17210 (vc-dir-mark-all-files): If current entry is a directory, mark
17211 only child files, as documented.
17212
17213 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17214
17215 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17216 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17217 addition.
17218
17219 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17220
17221 * term/ns-win.el (ns-get-selection-internal)
17222 (ns-store-selection-internal): Declare.
17223 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17224 Declare as obsolete.
17225 (ns-get-pasteboard, ns-paste-secondary):
17226 Use ns-get-selection-internal.
17227 (ns-set-pasteboard, ns-copy-including-secondary):
17228 Use ns-store-selection-internal.
17229
17230 2011-12-17 Chong Yidong <cyd@gnu.org>
17231
17232 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17233 (vc-deduce-fileset): Doc fix.
17234
17235 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17236
17237 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17238
17239 2011-12-13 Sam Steingold <sds@gnu.org>
17240
17241 * man.el (Man-getpage-in-background): When running under a
17242 window-system, ignore $MANWIDTH and $COLUMNS.
17243
17244 2011-12-15 Kenichi Handa <handa@m17n.org>
17245
17246 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17247 (setup-ethiopic-environment-internal): Comment out key-binding for
17248 ethio-toggle-punctuation.
17249
17250 2011-12-13 Alan Mackenzie <acm@muc.de>
17251
17252 Add the switch statement to AWK Mode.
17253
17254 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17255 "default" to the keywords regexp.
17256
17257 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17258 expression as the rest.
17259 (c-nonlabel-token-key): Allow string literals for AWK.
17260 Refactor for the other modes.
17261
17262 Large brace-block initialisation makes CC Mode slow: Fix.
17263 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17264 routines. Limit backward searching in c-font-lock-enclosing.decl.
17265
17266 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17267 pp-state and literal type in addition to the limits.
17268 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17269 (c-state-literal-at): Use the above new defun.
17270 (c-slow-in-literal, c-fast-in-literal): Remove.
17271 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17272
17273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17274 being in a literal. Add a limit for backward searching.
17275
17276 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17277 c-slow-in-literal.
17278
17279 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17280
17281 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17282
17283 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17284
17285 * window.el (delete-other-windows): Use correct frame in call to
17286 window-with-parameter.
17287
17288 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17289
17290 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17291 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17292 (makefile-gmake-statements, makefile-makepp-statements):
17293 Use it and add new makepp keywords.
17294 (makefile-makepp-font-lock-keywords): Add new patterns.
17295 (makefile-match-function-end): Match new [...] and [[...]].
17296
17297 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17298
17299 * ses.el (ses-call-printer-return, ses-cell-property-get)
17300 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17301 (ses-create-cell-variable, ses-reset-header-string)
17302 (ses-cell-set-formula, ses-repair-cell-reference-all)
17303 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17304 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17305 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17306 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17307 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17308 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17309 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17310 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17311 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17312 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17313 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17314 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17315
17316 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17317
17318 * ses.el: The overall change is to add cell renaming, that is
17319 setting fancy names for cell symbols other than name matching
17320 "\\`[A-Z]+[0-9]+\\'" regexp .
17321 (ses-create-cell-variable): New defun.
17322 (ses-relocate-formula): Relocate formulas only for cells the
17323 symbols of which are not renamed, i.e. symbols whose names do not
17324 match regexp "\\`[A-Z]+[0-9]+\\'".
17325 (ses-relocate-all): Relocate values only for cells the symbols of
17326 which are not renamed.
17327 (ses-load): Create cells variables as the (ses-cell ...) are read,
17328 in order to check row col consistency with cell symbol name only
17329 for cells that are not renamed.
17330 (ses-replace-name-in-formula): New defun.
17331 (ses-rename-cell): New defun.
17332
17333 2011-12-11 Chong Yidong <cyd@gnu.org>
17334
17335 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17336 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17337
17338 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17339
17340 * window.el (other-window): Fix docstring.
17341
17342 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17343
17344 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17345 `from' or `to' address before taking its substring.
17346 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17347 encoded name is chopped in the middle of the encoded string, and
17348 thus displayed encoded.
17349
17350 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17351
17352 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17353
17354 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17355
17356 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17357 to use texinfo-update-node and commands that call it if the
17358 Texinfo file uses @node lines without next/prev/up pointers.
17359 Correct outdated description about texinfo-master-menu.
17360 (texinfo-all-menus-update, texinfo-master-menu)
17361 (texinfo-update-node, texinfo-every-node-update)
17362 (texinfo-multiple-files-update): Doc fix. Warn against updating
17363 all the @node lines.
17364 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17365 argument is numeric. Explain better in the doc string what the
17366 function really does.
17367 (texinfo-insert-master-menu-list): Improve the error message
17368 displayed if there's no menu in the Top node.
17369 (Bug#2975) See also this thread:
17370 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17371
17372 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17373
17374 * speedbar.el (speedbar-supported-extension-expressions):
17375 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17376
17377 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17378
17379 * printing.el (pr-mode-alist):
17380 * simple.el (filter-buffer-substring-functions)
17381 (completion-list-insert-choice-function):
17382 * window.el (window-with-parameter, window-atom-root)
17383 (window-sides-slots, window-size-fixed, window-min-delta)
17384 (window-max-delta, window--resize-mini-window)
17385 (window--resize-child-windows-normal, window-tree)
17386 (delete-other-windows, quit-window, split-window)
17387 (display-buffer-record-window, special-display-buffer-names)
17388 (special-display-regexps, special-display-popup-frame)
17389 (same-window-p, split-window-sensibly)
17390 (display-buffer-overriding-action, display-buffer-alist)
17391 (display-buffer-base-action, display-buffer, switch-to-buffer)
17392 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17393 (fit-window-to-buffer, recenter-positions)
17394 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17395 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17396 and remove unneeded backslashes in docstrings.
17397
17398 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17399
17400 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17401
17402 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17403 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17404 end in ".mk".
17405 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17406 when reading the makefile (bug#10116).
17407
17408 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17409
17410 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17411 (bug#10116).
17412
17413 2011-12-06 Glenn Morris <rgm@gnu.org>
17414
17415 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17416
17417 2011-12-06 Chong Yidong <cyd@gnu.org>
17418
17419 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17420
17421 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17422
17423 * textmodes/table.el (table-shorten-cell): Fix typo.
17424
17425 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17426
17427 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17428
17429 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17430
17431 * descr-text.el (describe-char): Fix display of strong
17432 right-to-left characters and directional embeddings and overrides.
17433
17434 * simple.el (what-cursor-position): Fix display of codepoints of
17435 strong right-to-left characters.
17436
17437 2011-12-05 Chong Yidong <cyd@gnu.org>
17438
17439 * faces.el (read-color): Doc fix.
17440
17441 2011-12-05 Glenn Morris <rgm@gnu.org>
17442
17443 * align.el (align--set-marker): Add doc-string.
17444 Don't try to move something that is not a marker. (Bug#10216)
17445
17446 2011-12-04 Glenn Morris <rgm@gnu.org>
17447
17448 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17449 overly zealous deletion of trailing whitespace.
17450
17451 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17452
17453 * server.el (server-delete-client): On Windows, do not try to delete
17454 the only terminal.
17455 (server-process-filter): On Windows, treat requests for a tty frame as
17456 if they were for a GUI frame if the running server is in GUI mode.
17457
17458 2011-12-03 Glenn Morris <rgm@gnu.org>
17459
17460 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17461
17462 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17463
17464 * electric.el: Streamline electric-indent's hook.
17465 (electric-indent-chars): Revert to simple list.
17466 (electric-indent-functions): New var.
17467 (electric-indent-post-self-insert-function): Use it.
17468
17469 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17470 there's no inferior buffer (bug#10196).
17471 (prolog-consult-compile): Don't use toggle-read-only.
17472
17473 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17474
17475 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17476 interrupt. (Bug#10187)
17477
17478 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17479
17480 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17481 (bug#9160).
17482
17483 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17484 (bug#10191).
17485
17486 2011-12-02 Juri Linkov <juri@jurta.org>
17487
17488 * info.el (Info-search): Display "end of manual" when Isearch
17489 reaches the end of single-file Info manual. (Bug#9918)
17490
17491 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17492
17493 * isearch.el (isearch-message-prefix): Run the input method part
17494 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17495
17496 2011-12-02 Juri Linkov <juri@jurta.org>
17497
17498 * isearch.el (isearch-occur): Use `word-search-regexp' for
17499 `isearch-word'.
17500 (isearch-search-and-update): Add condition for `isearch-word' and
17501 call `word-search-regexp'. (Bug#10145)
17502
17503 2011-12-01 Glenn Morris <rgm@gnu.org>
17504
17505 * eshell/em-hist.el (eshell-hist-initialize):
17506 Handle eshell-history-size nil and HISTSIZE set or unset.
17507 (eshell-history-file-name, eshell-history-size): Fix custom type.
17508
17509 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17510
17511 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17512
17513 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17514
17515 * progmodes/verilog-mode.el (verilog-pretty-expr):
17516 Rework verilog-pretty-expr to handle new assignment operators in system
17517 verilog, such as += *= and the like.
17518 (verilog-assignment-operator-re): Regular expression to find the
17519 assigment operator in a verilog assignment.
17520 (verilog-assignment-operation-re): Regular expression to find an
17521 assignment statement for pretty-expr.
17522 (verilog-in-attribute-p): Query returns true if point is in an
17523 attribute context; used to skip these for expression line up from
17524 pretty-expr.
17525 (verilog-in-parameter-p): Query returns true if point is in an
17526 parameter definition context; used to skip these for expression
17527 line up from pretty-expr.
17528 (verilog-in-parenthesis-p): Query returns true if point is in a
17529 parenthetical expression, specifically ( ) but not [ ] or { };
17530 used by pretty-expr.
17531 (verilog-just-one-space): If there is no space, don't add one.
17532 (verilog-get-lineup-indent-2): Specifically skip just attribute
17533 contexts for expression lineup, rather than skipping all
17534 parenthetical expressions.
17535 (verilog-calculate-indent): Fix comment, and fix indent.
17536 (verilog-do-indent): Indent declarations in lists (suggested by
17537 Joachim Lechner).
17538 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17539 skeleton items.
17540 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17541 by Alain Mellan).
17542
17543 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17544
17545 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17546 parameters with embedded comments. Reported by Ray Stevens.
17547 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17548 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17549 Reported by Tim Holt.
17550 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17551 instantiated by upper module causing wrong expansion until AUTOed a
17552 second time. Reported by K C Buckenmaier.
17553 (verilog-diff-auto): Fix showing .* as a difference when
17554 `verilog-auto-star-save' off. Reported by Dan Dever.
17555 (verilog-auto-reset, verilog-read-always-signals)
17556 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17557 temporary signals in reset list if
17558 verilog-auto-reset-blocking-in-non is nil, and match assignment
17559 style to each signal's assignment type, bug381.
17560 Reported by Thomas Esposito.
17561 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17562 (verilog-uvm-statement-re): Support UVM indentation and
17563 highlighting, with old OVM keywords only.
17564 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17565 Support AUTOTIEOFF creating non-wire data types.
17566 Suggested by Jonathan Greenlaw.
17567 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17568 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17569 (verilog-inject-sense, verilog-read-inst-pins)
17570 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17571 Fix mismatching parenthesis inside commented out code when deleting
17572 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17573 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17574 non-numeric vector width. Reported by Alex Reed.
17575 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17576 detecting signals with parameter widths. Reported by Alex Reed.
17577 (verilog-auto-delete-trailing-whitespace):
17578 With `verilog-auto-delete-trailing-whitespace' remove trailing
17579 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17580 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17581 Fix verilog-scan-cache corruption when running user AUTO expansion
17582 hooks that call indentation routines.
17583 (verilog-simplify-range-expression): Fix typo ignoring lower case
17584 identifiers.
17585 (verilog-delete-auto): Fix delete-autos to also remove user created
17586 automatics, as long as they start with AUTO.
17587 (verilog-batch-diff-auto, verilog-diff-auto)
17588 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17589 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17590 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17591 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17592 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17593 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17594 is disabled and its cache will get corrupt, causing AUTOS not to
17595 expand. Instead use only -quick functions.
17596 (verilog-scan-region): Fix scanning over escaped quotes.
17597 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17598 (verilog-re-search-backward-quick)
17599 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17600 related functions now ignore strings, to fix misparsing of strings
17601 with magic comments embedded in them.
17602 (verilog-read-auto-template):
17603 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17604 Reported by Brad Dobbie.
17605 (verilog-read-auto-template):
17606 Fix 'verilog-auto-inst-template-numbers' with comments.
17607 Reported by Brad Dobbie.
17608 (verilog-auto-inst, verilog-auto-inst-param)
17609 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17610 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17611 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17612 debugging templates without merge conflicts, bug357.
17613 Reported by Brad Dobbie.
17614 (verilog-read-auto-template):
17615 Fix verilog-auto-inst-template-numbers with multiple templates.
17616 Reported by Brad Dobbie.
17617 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17618 abbrevs so user won't be asked to save.
17619 (verilog-read-auto-lisp-present): Fix to start at beginning of
17620 buffer in case called outside of verilog-auto.
17621 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17622 to "X-2". Reported by Matthew Myers.
17623 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17624 all inputs from module templates. Reported by Leith Johnson.
17625 (verilog-module-inside-filename-p): Fix locating programs as with
17626 modules.
17627 (verilog-auto-inst-port): Fix vl-width expressions when using
17628 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17629 (verilog-decls-get-regs, verilog-decls-get-signals,
17630 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17631 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17632 verilog-read-decls): Combine reg and wire structures into one var
17633 structure to represent SystemVerilog concepts.
17634 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17635 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17636 (verilog-auto-wire-type, verilog-insert-definition):
17637 Add verilog-auto-wire-type and AUTOLOGIC to support using
17638 SystemVerilog "logic" keyword instead of "wire"/"reg".
17639 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17640 to declares outputs that also have assignments (presumably in an
17641 ifdef or generate if so there's not a driver conflict).
17642 Reported by Matthew Myers.
17643 (verilog-auto-declare-nettype, verilog-insert-definition):
17644 Add verilog-auto-declare-nettype to fix declarations using
17645 `default_nettype none. Reported by Julian Gorfajn.
17646 (verilog-read-always-signals-recurse, verilog-read-decls)
17647 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17648 malformed end statement, bug325. Reported by Joshua Wise and
17649 Andrew Drake.
17650 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17651 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17652 when expanding .* in interfaces, bug320.
17653 Reported by Pierre-David Pfister.
17654 (verilog-read-module-name): Fix import statements between module
17655 name and open parenthesis, bug317.
17656 Reported by Pierre-David Pfister.
17657 (verilog-simplify-range-expression): Fix simplification of
17658 multiplications inside AUTOWIRE connections, bug303.
17659 (verilog-auto-inst-port): Support parameter expansion in
17660 multidimensional arrays.
17661 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17662 after "assert property". Reported by Julian Gorfajn.
17663 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17664 with multiplication, bug303.
17665 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17666 Reported by Jan Frode Lonnum.
17667
17668 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17669
17670 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17671 (hfy-shell-file-name, hfy-shell):
17672 * international/fontset.el (x-decompose-font-name): Fix typos.
17673
17674 2011-11-29 Ken Brown <kbrown@cornell.edu>
17675
17676 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17677 (gdb-version): Remove defvar.
17678 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17679 (gdb-gud-context-command, gdb-non-stop-handler)
17680 (gdb-current-context-command, gdb-stopped): Use it.
17681 (gdb-init-1): Enable pretty printing here.
17682 (gdb-non-stop-handler): Don't enable pretty-printing here.
17683 Check to see if the target supports non-stop mode; if not, turn off
17684 non-stop mode. Use the following.
17685 (gdb-check-target-async): New defun.
17686 (gud-watch, gdb-stopped): Fix whitespace.
17687 (gdb-get-source-file): Don't try to display the source file if
17688 `gdb-main-file' is nil.
17689
17690 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17691
17692 * align.el: Try to generate fewer markers (bug#10047).
17693 (align--set-marker): New macro.
17694 (align-region): Use it.
17695
17696 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17697
17698 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17699
17700 2011-11-29 Chong Yidong <cyd@gnu.org>
17701
17702 * indent.el (indent-for-tab-command, indent-according-to-mode):
17703 Doc fix.
17704 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17705
17706 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17707
17708 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17709 aware of remote file names. (Bug#10124)
17710
17711 2011-11-29 Chong Yidong <cyd@gnu.org>
17712
17713 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17714
17715 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17716
17717 * files.el (find-file): Don't use force-same-window (bug#10144).
17718 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17719 use pop-to-buffer if the selected window can't be used.
17720 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17721
17722 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17723
17724 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17725 special-mode-map.
17726
17727 2011-11-28 Chong Yidong <cyd@gnu.org>
17728
17729 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17730
17731 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17732
17733 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17734 gdb-get-source-file-list on gdb-create-source-file-list.
17735
17736 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17737
17738 * whitespace.el (whitespace-newline): Use a different foreground
17739 color for 16-color light-background displays.
17740
17741 2011-11-24 Chong Yidong <cyd@gnu.org>
17742
17743 * window.el (display-buffer--special-action): Doc fix.
17744
17745 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17746
17747 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17748 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17749 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17750 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17751 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17752 (avl-tree-stack-first):
17753 * emacs-lisp/cconv.el (cconv--analyse-use):
17754 * net/gnutls.el (gnutls-negotiate): Fix typos.
17755
17756 2011-11-24 Glenn Morris <rgm@gnu.org>
17757
17758 * lpr.el (lpr-windows-system, lpr-lp-system):
17759 * mail/binhex.el (binhex-begin-line):
17760 * progmodes/grep.el (grep-history, grep-find-history):
17761 * textmodes/flyspell.el:
17762 * vc/pcvs-defs.el (cvs-global-menu):
17763 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17764 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17765 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17766
17767 * net/tls.el: Fix case of "GnuTLS".
17768
17769 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17770
17771 * version.el (emacs-build-system): Give it a doc-string.
17772
17773 2011-11-24 Juri Linkov <juri@jurta.org>
17774
17775 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17776
17777 2011-11-24 Glenn Morris <rgm@gnu.org>
17778
17779 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17780 if called on a non-mime message just toggle the headers. (Bug#8006)
17781
17782 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17783
17784 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17785 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17786 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17787 (allout-rebullet-heading, allout-open-sibtopic)
17788 (allout-toggle-current-subtree-encryption)
17789 (allout-toggle-subtree-encryption, allout-encrypt-string)
17790 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17791 (allout-distinctive-bullets-string, allout-auto-activation):
17792 * window.el (window-normalize-buffer-to-display):
17793 * progmodes/verilog-mode.el (verilog-batch-indent):
17794 * textmodes/bibtex.el (bibtex-field-braces-opt)
17795 (bibtex-field-strings-opt):
17796 * vc/cvs-status.el (cvs-tree-merge):
17797 Fix typos.
17798
17799 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17800
17801 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17802 `non-essential' to t, in order to avoid remote connections.
17803
17804 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17805
17806 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17807 On MS-DOS and MS-Windows, compare with loaddefs.el
17808 case-insensitively.
17809
17810 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17811
17812 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17813
17814 2011-11-23 Glenn Morris <rgm@gnu.org>
17815
17816 * paths.el (rmail-file-name): Reformat the doc-string so that it
17817 is picked up.
17818
17819 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17820 (rmail-auto-file): Ignore case in the "special" field names,
17821 as mail-fetch-field does for all others.
17822
17823 * mail/rmail.el (rmail-forward):
17824 * mail/rmailkwd.el (rmail-set-label):
17825 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17826 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17827
17828 * mail/rmail.el (rmail-current-message): Doc fix.
17829
17830 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17831
17832 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17833
17834 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17835
17836 2011-11-22 Glenn Morris <rgm@gnu.org>
17837
17838 * mail/rmailmm.el (test-rmail-mime-handler)
17839 (test-rmail-mime-bulk-handler)
17840 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17841
17842 2011-11-21 Juri Linkov <juri@jurta.org>
17843
17844 * calc/calc.el (calc-read-key-sequence):
17845 Let-bind `input-method-function' to nil. (Bug#10018)
17846
17847 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17848
17849 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17850 Tell the caller that the next line needs recomputation, even
17851 though it doesn't start a sexp (bug#10094).
17852
17853 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17854
17855 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17856
17857 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17858
17859 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17860 Use force-same-window.
17861
17862 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17863
17864 * descr-text.el (describe-char-unicode-data):
17865 * json.el (json-string-escape):
17866 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17867 (Footnote-unicode, Footnote-style-p):
17868 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17869
17870 2011-11-20 Chong Yidong <cyd@gnu.org>
17871
17872 * window.el (replace-buffer-in-windows): Restore interactive spec.
17873
17874 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17875
17876 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17877
17878 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17879 (byte-compile-global-not-obsolete-vars): New var.
17880 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17881 Use it.
17882 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17883
17884 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17885
17886 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17887 * progmodes/pascal.el (electric-pascal-equal):
17888 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17889 * xml.el (xml-substitute-special): Fix typos.
17890
17891 2011-11-20 Glenn Morris <rgm@gnu.org>
17892
17893 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17894 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17895 Doc fixes.
17896 (rmail-decode-mime-charset): Mark as obsolete.
17897
17898 * mail/rmailsum.el (rmail-message-regexp-p-1):
17899 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17900 Before using mime functions, check they are set. (Bug#10077)
17901
17902 2011-11-19 Juri Linkov <juri@jurta.org>
17903
17904 * info.el (Info-finder-find-node): Use `package--builtins' instead
17905 of `package-alist'. Use node names formed by the pattern "Keyword "
17906 and the keyword name.
17907
17908 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17909
17910 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17911
17912 2011-11-19 Juri Linkov <juri@jurta.org>
17913
17914 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17915 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17916 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17917 `old-history', `old-history-forward'. Add let-binding
17918 `window-selected'. Remove calls to `kill-buffer',
17919 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17920 before calling `Info-find-node', so `Info-find-node-2' will reread
17921 the Info file. Restore window positions only when `window-selected'
17922 is non-nil.
17923
17924 2011-11-19 Juri Linkov <juri@jurta.org>
17925
17926 * isearch.el (isearch-lazy-highlight-new-loop):
17927 Remove condition `(not isearch-error)'. (Bug#9918)
17928
17929 * misearch.el (multi-isearch-search-fun): Add condition
17930 `(not bound)' to ignore lazy-highlighting search.
17931 Add the search-failed message "end of multi" when the end of
17932 multi-sequence is reached. Uncapitalize the search-failed
17933 message "Repeat for next buffer".
17934
17935 * info.el (Info-search): Add the search-failed message
17936 "end of the manual" when the end of the manual is reached
17937 in Isearch mode.
17938
17939 2011-11-19 Juri Linkov <juri@jurta.org>
17940
17941 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17942 Use non-destructive `remove' instead of `delete' because
17943 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17944 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17945
17946 2011-11-19 Juri Linkov <juri@jurta.org>
17947
17948 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17949 to nil instead of binding `search-ring' and `regexp-search-ring'.
17950 (Bug#9185)
17951
17952 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17953
17954 * simple.el (line-move): Force movement by logical lines for any
17955 hscrolled window, not only when auto-hscroll-mode is on.
17956 (line-move-visual): Update doc string to that effect. (Bug#10076)
17957
17958 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17959
17960 * language/european.el (macintosh): Define as alias for mac-roman.
17961
17962 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17963
17964 * mail/rmailmm.el (rmail-mime-display-header)
17965 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17966 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17967 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17968 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17969 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17970 of a raw aref.
17971 (rmail-mime-entity-segment): To get past the tagline, move forward
17972 2 more lines, to account for the 2 empty lines that precede and
17973 follow the line with the buttons.
17974 (rmail-mime-update-tagline): Move one more line, to get past the
17975 empty line that follows the buttons in the tagline. (Bug#9520)
17976
17977 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17978
17979 * window.el (window-max-delta-1, window-min-delta-1)
17980 (window-min-size-1, window-state-get-1, window-state-put-1)
17981 (window-state-put-2): Use "window--" prefix.
17982
17983 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17984
17985 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17986 (smie-warning-count): New var.
17987 (smie-set-prec2tab): Use it.
17988 (smie-bnf->prec2): Improve warnings. Add docstring.
17989 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17990 (smie-bnf--set-class): New function.
17991 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17992 corner case.
17993
17994 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17995 (compilation-error-properties, compilation-move-to-column):
17996 Handle compilation-first-column while in the target buffer.
17997
17998 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17999 Don't hardcode point-min==1.
18000
18001 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18002 (eshell-rewrite-for-command): Remove workaround.
18003 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18004 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18005 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18006
18007 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18008
18009 2011-11-17 Glenn Morris <rgm@gnu.org>
18010
18011 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18012 Ignore buffer-local generated-autoload-file if it is the same
18013 as the global value. (Bug#10049)
18014
18015 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18016
18017 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18018 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18019 (reftex-toc-previous-heading, reftex-toc-max-level)
18020 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18021 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18022 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18023 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18024 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18025 (reftex-toc-rename-label, reftex-toc-visit-location)
18026 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18027 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18028 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18029 leaving "*toc*" only for references to the buffer.
18030
18031 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18032
18033 * window.el (window-resize, delete-window, split-window):
18034 Replace window-splits by window-combination-resize.
18035 * cus-start.el (window-splits): Replace by window-combination-resize.
18036
18037 2011-11-17 Glenn Morris <rgm@gnu.org>
18038
18039 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18040 Make bash entry derive from sh entry, not shell entry.
18041
18042 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18043
18044 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18045 local file name.
18046
18047 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18048
18049 * menu-bar.el (menu-bar-file-menu):
18050 * printing.el (pr-ps-utility):
18051 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18052 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18053 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18054 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18055 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18056 (icalendar--convert-cyclic-to-ical)
18057 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18058 (icalendar--convert-ical-to-diary)
18059 (icalendar--convert-recurring-to-diary)
18060 (icalendar--convert-non-recurring-all-day-to-diary)
18061 (icalendar-import-format-sample):
18062 * progmodes/idlw-shell.el (idlwave-shell-mode):
18063 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18064 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18065 (vhdl-ps-print-init): Fix typos.
18066
18067 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18068
18069 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18070 FSF and collapse date sequence, obscure author/maintainer email address
18071 better, remove extra version line, track relocation of author's webpage.
18072
18073 * progmodes/python.el (python-pdbtrack-input-prompt)
18074 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18075 regular python pdb prompts. Adjustments shamelessly taken exactly as
18076 suggested in EmacsWiki page (tiny change):
18077 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18078
18079 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18080
18081 * expand.el (expand-pos, expand-index, expand-point):
18082 Remove redundant info from docstring.
18083 (expand-add-abbrevs): Doc fix.
18084 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18085 (expand-sample-perl-mode-expand-list): Fix typos.
18086
18087 * net/dbus.el (dbus-event-member-name):
18088 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18089 * term/pc-win.el (msdos-create-frame-with-faces):
18090 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18091
18092 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18093
18094 * window.el (split-window, window-state-get-1)
18095 (window-state-put-1, window-state-put-2): Rename occurrences of
18096 window-nest to window-combination-limit.
18097 * cus-start.el (window-nest): Rename to window-combination-limit.
18098
18099 2011-11-16 Chong Yidong <cyd@gnu.org>
18100
18101 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18102 regexp (Bug#10033).
18103
18104 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18105
18106 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18107 `completing-read' will remove *Completions* and will preserve
18108 current-buffer for us.
18109 (tmm-add-prompt): Users of *Completions* will always (re)set its
18110 major mode.
18111 (tmm-old-comp-map): Remove.
18112
18113 2011-11-16 Glenn Morris <rgm@gnu.org>
18114
18115 * mail/rmailedit.el: Require rmailmm when compiling.
18116 (rmail-old-mime-state): New declaration.
18117 (rmail-edit-current-message): If editing a mime message,
18118 edit the "raw" message from the mbox buffer.
18119 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18120
18121 2011-11-15 Glenn Morris <rgm@gnu.org>
18122
18123 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18124 which wasn't being used. Add optional arg to force given state.
18125 (rmail-mime): Add optional arg to force given state.
18126
18127 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18128
18129 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18130 * frame.el (display-mm-dimensions-alist):
18131 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18132 (outline-move-subtree-down):
18133 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18134 (newsticker--treeview-do-get-node):
18135 * net/quickurl.el (quickurl-list-buffer-name):
18136 * progmodes/dcl-mode.el (dcl-mode):
18137 * progmodes/gdb-mi.el (gdb-mapcar*):
18138 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18139
18140 2011-11-15 Glenn Morris <rgm@gnu.org>
18141
18142 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18143 in a boolean sense, so just make it a boolean, and fix the doc.
18144 (rmail-show-mime-function, rmail-mime-feature)
18145 (rmail-require-mime-maybe): Doc fixes.
18146 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18147
18148 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18149
18150 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18151
18152 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18153 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18154 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18155 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18156
18157 2011-11-15 Glenn Morris <rgm@gnu.org>
18158
18159 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18160 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18161 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18162 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18163 (rmail-mime, rmail-show-mime): Doc fixes.
18164
18165 * term/ns-win.el (mode-line-frame-identification):
18166 Leave it alone. (Bug#10051)
18167
18168 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18169
18170 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18171 Handle empty buffers. (Bug#9978)
18172
18173 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18174
18175 * international/mule.el (define-charset):
18176 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18177 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18178 * progmodes/verilog-mode.el (verilog-backward-token):
18179 * textmodes/ispell.el (lookup-words):
18180 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18181
18182 2011-11-14 Glenn Morris <rgm@gnu.org>
18183
18184 * progmodes/executable.el
18185 (executable-make-buffer-file-executable-if-script-p):
18186 Handle file-modes returning nil.
18187
18188 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18189 message - not necessary, and causes problems. (Bug#9831)
18190
18191 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18192
18193 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18194
18195 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18196 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18197 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18198
18199 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18200
18201 * window.el (window-resize, delete-window): Use window-splits
18202 variable instead of function.
18203 (window-state-get-1, window-state-put-2, window-state-put):
18204 Don't deal with windows' splits status.
18205
18206 2011-11-12 Glenn Morris <rgm@gnu.org>
18207
18208 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18209 (apropos-documentation): Doc fixes.
18210
18211 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18212
18213 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18214 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18215
18216 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18217
18218 * electric.el (electric-indent-post-self-insert-function): Make it
18219 possible for a char to only indent in some circumstances.
18220 (electric-indent-mode): Simplify.
18221
18222 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18223
18224 * window.el (windows-with-parameter): Remove unused function.
18225 (windows-at-side): Rename to window-at-side-list.
18226 (window-check, window-atom-check, window-atom-check-1)
18227 (window-side-check, window-size-ignore, window-size-fixed-1)
18228 (window-in-direction-2): Prefix with "window--".
18229 (window-tree-1): Rename to window--subtree, fix doc-string.
18230
18231 2011-11-11 Glenn Morris <rgm@gnu.org>
18232
18233 * subr.el (eval-after-load): If FILE is already loaded,
18234 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18235
18236 2011-11-10 Glenn Morris <rgm@gnu.org>
18237
18238 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18239 Call svn via vc-svn-command rather than vc-do-command.
18240 (vc-svn-command): Add --non-interactive. (Bug#9993)
18241 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18242
18243 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18244 Add toggle-read-only. (Bug#7292)
18245 * files.el (toggle-read-only): Mention that it should only
18246 be used interactively. (Bug#10006)
18247
18248 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18249
18250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18251 Adjust regexp for OCaml warnings.
18252
18253 * electric.el (electric-pair-post-self-insert-function): Let user
18254 turn it off buffer-locally (bug#9932).
18255
18256 * progmodes/python.el (python-beginning-of-statement):
18257 Rewrite (bug#2703).
18258
18259 * progmodes/compile.el: Better handle TABs (bug#9749).
18260 (compilation-internal-error-properties)
18261 (compilation-next-error-function): Obey the target buffer's
18262 compilation-error-screen-columns.
18263
18264 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18265
18266 * progmodes/meta-mode.el: Remove obsolete comments.
18267 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18268 Fix typos in docstrings.
18269
18270 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18271
18272 * window.el (window-size-fixed-p): Rewrite doc-string.
18273 (window-resizable-p): Rename to window--resizable-p. Update callers.
18274 (window--resizable): New function. Make all callers of
18275 window-resizable call window--resizable instead.
18276 (window-resizable): Rewrite in terms of window--resizable.
18277
18278 2011-11-08 Glenn Morris <rgm@gnu.org>
18279
18280 * progmodes/delphi.el (delphi-mode-syntax-table):
18281 Let define-derived-mode define a proper syntax table. (Bug#9994)
18282
18283 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18284
18285 * window.el: Stay away from defsubst.
18286 (window-list-no-nils): Remove.
18287 (window-state-get-1, window-state-get): Use backquote instead.
18288
18289 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18290
18291 * emacs-lisp/find-func.el (find-function-read):
18292 Fix incorrect use of default argument in `completing-read'.
18293
18294 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18295
18296 * window.el (display-buffer-function, special-display-function):
18297 Mention display-buffer-record-window but do not mention
18298 help-setup parameter in doc-strings.
18299 (window-min-delta): Fix doc-string typo.
18300
18301 2011-11-08 Chong Yidong <cyd@gnu.org>
18302
18303 * window.el (window-total-height, window-total-width): Doc fix.
18304 (window-body-size): Move from C.
18305 (window-body-height, window-body-width): Move to C.
18306
18307 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18308
18309 * window.el: Make special-display like display-buffer-alist (bug#9532).
18310 (display-buffer--special-action): New function, morphed
18311 from display-buffer--special.
18312 (display-buffer): Use it to handle special-display-buffers at higher
18313 priority (just after display-buffer-alist).
18314 (display-buffer-fallback-action, display-buffer--other-frame-action)
18315 (pop-to-buffer-same-window): Remove display-buffer--special.
18316
18317 2011-11-07 Glenn Morris <rgm@gnu.org>
18318
18319 * calendar/cal-menu.el (cal-menu-set-date-title):
18320 Do nothing if not in a calendar. (Bug#9976)
18321
18322 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * files.el (find-file): Always use selected-window.
18325
18326 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18327
18328 * window.el (window-combinations): Make WINDOW argument
18329 mandatory. Rewrite doc-string.
18330 (walk-window-subtree, window-atom-check, window-min-delta)
18331 (window-max-delta, window--resize-this-window)
18332 (window--resize-root-window-vertically, window-tree)
18333 (balance-windows, window-state-put): Rewrite doc-strings as to
18334 not mention the term "subwindow".
18335 (window--resize-subwindows-skip-p): Rename to
18336 window--resize-child-windows-skip-p.
18337 (window--resize-subwindows-normal): Rename to
18338 window--resize-child-windows-normal.
18339 (window--resize-subwindows): Rename to
18340 window--resize-child-windows.
18341 (window-or-subwindow-p): Rename to window--in-subtree-p.
18342
18343 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18344
18345 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18346 Ensure that mbox format messages end in two newlines (Bug#9974).
18347
18348 2011-11-06 Chong Yidong <cyd@gnu.org>
18349
18350 * window.el (window-combination-p): Function deleted; its
18351 side-effect is not used in any existing code.
18352 (window-combinations, window-combined-p): Call window-*-child
18353 directly.
18354
18355 2011-11-05 Chong Yidong <cyd@gnu.org>
18356
18357 * window.el (window-valid-p): Rename from window-any-p.
18358 (window-size-ignore, window-state-get): Callers changed.
18359 (window-normalize-window): Rename from window-normalize-any-window.
18360 New arg LIVE-ONLY, replacing window-normalize-live-window.
18361 (window-normalize-live-window): Delete.
18362 (window-combination-p, window-combined-p, window-combinations)
18363 (walk-window-subtree, window-atom-root, window-min-size)
18364 (window-sizable, window-sizable-p, window-size-fixed-p)
18365 (window-min-delta, window-max-delta, window-resizable)
18366 (window-resizable-p, window-full-height-p, window-full-width-p)
18367 (window-current-scroll-bars, window-point-1, set-window-point-1)
18368 (window-at-side-p, window-in-direction, window-resize)
18369 (adjust-window-trailing-edge, maximize-window, minimize-window)
18370 (window-deletable-p, delete-window, delete-other-windows)
18371 (record-window-buffer, unrecord-window-buffer)
18372 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18373 (quit-window, split-window, window-state-put)
18374 (set-window-text-height, fit-window-to-buffer)
18375 (shrink-window-if-larger-than-buffer): Callers changed.
18376
18377 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18378
18379 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18380 rfc2047-decode-string.
18381 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18382 warnings.
18383
18384 * window.el (window-body-height, window-body-width): Mention in
18385 the doc string that the return values are in frame's canonical
18386 units. (Bug#9949)
18387
18388 2011-11-03 Alan Mackenzie <acm@muc.de>
18389
18390 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18391 change in cc-engine.el.
18392
18393 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18394
18395 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18396
18397 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18398
18399 * window.el (quit-window): Call unrecord-window-buffer after
18400 showing another buffer in the window. (Bug#9937)
18401 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18402
18403 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18404
18405 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18406 Accept status with more than 9 shelves. (Bug#9935)
18407 Reported by Colin D Bennett <colin@gibibit.com>.
18408
18409 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18410
18411 * help.el (with-help-window): Don't reference
18412 temp-buffer-show-specifiers in doc-string.
18413
18414 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18415
18416 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18417 menu-item.
18418
18419 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18420
18421 * whitespace.el: New version 13.2.2.
18422 (whitespace-newline-mode): Disable properly. Reported by Sarah
18423 <EmacsWiki>.
18424
18425 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18426
18427 * net/newst-treeview.el: Remove "Time-stamp".
18428 (newsticker--group-manage-orphan-feeds): Do not call
18429 newsticker--treeview-tree-update.
18430 (newsticker-treeview-update, newsticker-treeview):
18431 Call newsticker--treeview-tree-update if necessary.
18432
18433 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18434
18435 * window.el (window-iso-combination-p, window-iso-combined-p)
18436 (window-iso-combinations): Remove "iso-" infix.
18437 Suggested by Chong Yidong.
18438 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18439 (window-max-delta-1, window-resize, window--resize-siblings)
18440 (window--resize-this-window, adjust-window-trailing-edge)
18441 (split-window, balance-windows-1)
18442 (shrink-window-if-larger-than-buffer):
18443 * calendar/calendar.el (calendar-generate-window):
18444 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18445
18446 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18447
18448 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18449 in place (bug#9907).
18450 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18451 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18452 (eshell-structure-basic-command, eshell-rewrite-while-command)
18453 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18454 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18455 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18456 (eshell-do-pipelines-synchronously, eshell-eval-command):
18457 Use backquotes and prefer setq to set.
18458 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18459 (eshell-macrop): Use functionp.
18460 (eshell-do-eval): Handle multiple expressions in `while' body.
18461
18462 2011-10-30 Chong Yidong <cyd@gnu.org>
18463
18464 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18465 instead of set-mark (Bug#9810).
18466
18467 2011-10-30 Chong Yidong <cyd@gnu.org>
18468
18469 * window.el (split-window-below, split-window-right): Rename from
18470 split-window-above-each-other and split-window-side-by-side
18471 respectively. All callers changed.
18472 (split-window-sensibly, split-window-sensibly): Use them.
18473 (split-window-keep-point): Doc fix.
18474
18475 * isearch.el: Add isearch-scroll property to split-window-below
18476 and split-window-right.
18477
18478 * follow.el (follow-mode):
18479 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18480 * progmodes/ada-xref.el (ada-gdb-application):
18481 * emulation/vip.el (vip-buffer-in-two-windows):
18482 * image-dired.el (image-dired-dired-with-window-configuration):
18483 * dired-x.el (dired-do-find-marked-files):
18484 * dired.el (dired-pop-to-buffer):
18485 * bs.el (bs--show-with-configuration):
18486 * vc/emerge.el (emerge-setup-windows):
18487 * textmodes/two-column.el (2C-two-columns):
18488 * textmodes/reftex-toc.el (reftex-toc):
18489 * progmodes/gdb-mi.el (gdb-setup-windows):
18490 * progmodes/fortran.el (fortran-window-create):
18491 * net/newst-treeview.el (newsticker--treeview-window-init):
18492 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18493 * emulation/tpu-edt.el (tpu-gold-map):
18494 * emulation/crisp.el (crisp-mode-map):
18495 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18496
18497 2011-10-29 Chong Yidong <cyd@gnu.org>
18498
18499 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18500
18501 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18502
18503 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18504 forged Ispell output (Bug#7904).
18505
18506 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18507
18508 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18509
18510 * doc-view.el: Avoid ugly errors about not finding nil.
18511 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18512 (doc-view-dvipdf-program, doc-view-unoconv-program)
18513 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18514 Avoid nil or absolute file name as default value.
18515 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18516
18517 2011-10-28 Alan Mackenzie <acm@muc.de>
18518
18519 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18520
18521 2011-10-28 Alan Mackenzie <acm@muc.de>
18522
18523 Amend the handling of c-beginning/end-of-defun in nested declaration
18524 scopes.
18525
18526 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18527 cc-langs.el. Change it to a defcustom.
18528
18529 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18530 cc-vars.el.
18531
18532 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18533 Prevent "class foo : bar" being spuriously recognized as a label.
18534
18535 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18536 Add parameter `inclusive' (to include enclosing braces in the region).
18537 (c-widen-to-enclosing-decl-scope): New function.
18538 (c-while-widening-to-decl-block): New macro.
18539 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18540 outward for defun boundaries, and correspondingly change symbol
18541 `respect-enclosure' to `go-outward'.
18542 (c-declaration-limits): Change algorithm to report only the "innermost"
18543 defun's boundaries.
18544
18545 2011-10-28 Deniz Dogan <deniz@dogan.se>
18546
18547 * net/rcirc.el (rcirc-mode): Use hard newlines.
18548
18549 2011-10-28 Alan Mackenzie <acm@muc.de>
18550
18551 Amend to indent and fontify macros "which include their own semicolon"
18552 correctly, using the "virtual semicolon" mechanism.
18553
18554 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18555
18556 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18557 Recode to scan one line at a time rather than having \n and \r
18558 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18559 (c-forward-label): Amend for virtual semicolons.
18560 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18561
18562 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18563 of the new C macros.
18564
18565 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18566 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18567 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18568 (c-opt-cpp-macro-define): Make into a full language variable.
18569 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18570 AWK Mode (including \n, \r) removed, no longer needed.
18571
18572 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18573 Invoke c-make-macro-with-semi-re.
18574
18575 * progmodes/cc-vars.el (c-macro-with-semi-re):
18576 (c-macro-names-with-semicolon): New variables.
18577 (c-make-macro-with-semi-re): New function.
18578
18579 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18580
18581 * vc/log-edit.el: Fill empty field rather than adding new one.
18582 (log-edit-add-field): New function.
18583 (log-edit-insert-changelog): Use it.
18584
18585 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18586
18587 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18588
18589 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18590
18591 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18592 (gdb--check-interpreter): New function.
18593 (gdb): Use it.
18594
18595 2011-10-27 Glenn Morris <rgm@gnu.org>
18596
18597 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18598 (least-positive-float, least-negative-float)
18599 (least-positive-normalized-float, least-negative-normalized-float)
18600 (float-epsilon, float-negative-epsilon):
18601 Remove unnecessary declarations.
18602
18603 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18604 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18605 (least-positive-float, least-negative-float)
18606 (least-positive-normalized-float, least-negative-normalized-float)
18607 (float-epsilon, float-negative-epsilon): Add doc-strings,
18608 based on those in cl.texi.
18609
18610 * files.el (set-visited-file-name): If the major-mode changed,
18611 reload the local variables. (Bug#9796)
18612
18613 2011-10-27 Chong Yidong <cyd@gnu.org>
18614
18615 * subr.el (change-major-mode-after-body-hook): New hook.
18616 (run-mode-hooks): Run it.
18617
18618 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18619 Use change-major-mode-before-body-hook.
18620
18621 * simple.el (fundamental-mode):
18622 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18623 change introducing fundamental-mode-hook.
18624
18625 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18626
18627 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18628
18629 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18630
18631 * ido.el (ido-file-name-all-completions-1): Do not require
18632 tramp.el explicitly. (Bug#7583)
18633
18634 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18635
18636 * progmodes/octave-mod.el:
18637 * progmodes/octave-inf.el: Update maintainer.
18638
18639 2011-10-26 Chong Yidong <cyd@gnu.org>
18640
18641 * subr.el (with-wrapper-hook): Rewrite doc.
18642
18643 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18644
18645 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18646 filenames "/method:foo:". (Bug#9793)
18647
18648 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18649
18650 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18651 (bug#9865).
18652
18653 2011-10-24 Glenn Morris <rgm@gnu.org>
18654
18655 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18656
18657 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18658
18659 * notifications.el: Add the requirement of a running D-Bus session
18660 bus to the Commentary.
18661
18662 2011-10-24 Juri Linkov <juri@jurta.org>
18663
18664 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18665 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18666 (Bug#9364)
18667
18668 2011-10-24 Juri Linkov <juri@jurta.org>
18669
18670 * info.el (Info-following-node-name-re): Add newline to the list
18671 of allowed characters for leading space. (Bug#9824)
18672
18673 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18674
18675 * progmodes/octave-inf.el (inferior-octave-mode-map):
18676 Fix C-c C-h binding.
18677 * progmodes/octave-mod.el (octave-help): Remove.
18678
18679 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18680
18681 Sync with Tramp 2.2.3.
18682
18683 * net/tramp-cache.el (top): Pacify byte-compiler using
18684 `init-file-user' and `site-run-file'.
18685
18686 * net/trampver.el: Update release number.
18687
18688 2011-10-23 Chong Yidong <cyd@gnu.org>
18689
18690 * files.el (toggle-read-only): Remove obsolete comment about
18691 version control.
18692
18693 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18694 for toggle-read-only. Note that this hasn't called vc-next-action
18695 since 2008-05-02, though it wasn't documented at the time.
18696
18697 * vc/ediff-init.el (ediff-toggle-read-only-function):
18698 Use toggle-read-only.
18699
18700 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18701
18702 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18703 of c-parse-state.
18704
18705 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18706 correct faulty logical expression.
18707 (c-parse-state-state, c-record-parse-state-state):
18708 (c-replay-parse-state-state): New defvar/defuns.
18709 (c-debug-parse-state): Use new functions.
18710
18711 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18712
18713 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18714 last fix. Use window-in-direction correctly.
18715
18716 2011-10-21 Chong Yidong <cyd@gnu.org>
18717
18718 * progmodes/idlwave.el (idlwave-mode):
18719 * progmodes/vera-mode.el (vera-mode): No need to set
18720 require-final-newline; that's done in prog-mode.
18721 Suggested by Stefan Monnier.
18722
18723 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18724
18725 * mouse.el (mouse-drag-window-above)
18726 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18727 (mouse-drag-mode-line-1, mouse-drag-header-line)
18728 (mouse-drag-vertical-line-rightward-window): Remove.
18729 (mouse-drag-line): New function.
18730 (mouse-drag-mode-line, mouse-drag-header-line)
18731 (mouse-drag-vertical-line): Call mouse-drag-line.
18732 * window.el (window-at-side-p, windows-at-side): New functions.
18733
18734 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18735
18736 * tar-mode.el (tar-grind-file-mode):
18737 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18738
18739 2011-10-21 Chong Yidong <cyd@gnu.org>
18740
18741 * progmodes/idlwave.el (idlwave-mode):
18742 * progmodes/vera-mode.el (vera-mode):
18743 Use mode-require-final-newline.
18744
18745 2011-10-20 Glenn Morris <rgm@gnu.org>
18746
18747 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18748
18749 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18750
18751 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18752
18753 2011-10-20 Chong Yidong <cyd@gnu.org>
18754
18755 * emulation/cua-base.el (cua-mode):
18756 * mail/footnote.el (footnote-mode):
18757 * mail/mailabbrev.el (mail-abbrevs-mode):
18758 * net/xesam.el (xesam-minor-mode):
18759 * progmodes/bug-reference.el (bug-reference-mode):
18760 * progmodes/cap-words.el (capitalized-words-mode):
18761 * progmodes/compile.el (compilation-minor-mode)
18762 (compilation-shell-minor-mode):
18763 * progmodes/gud.el (gud-tooltip-mode):
18764 * progmodes/hideif.el (hide-ifdef-mode):
18765 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18766 * progmodes/subword.el (subword-mode):
18767 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18768 * progmodes/which-func.el (which-function-mode):
18769 * term/tvi970.el (tvi970-set-keypad-mode):
18770 * term/vt100.el (vt100-wide-mode):
18771 * textmodes/flyspell.el (flyspell-mode):
18772 * textmodes/ispell.el (ispell-minor-mode):
18773 * textmodes/nroff-mode.el (nroff-electric-mode):
18774 * textmodes/paragraphs.el (use-hard-newlines):
18775 * textmodes/refill.el (refill-mode):
18776 * textmodes/reftex.el (reftex-mode):
18777 * textmodes/rst.el (rst-minor-mode):
18778 * textmodes/sgml-mode.el (html-autoview-mode)
18779 (sgml-electric-tag-pair-mode):
18780 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18781 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18782 * emulation/crisp.el (crisp-mode):
18783 * emacs-lisp/eldoc.el (eldoc-mode):
18784 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18785 minor mode behavior.
18786
18787 2011-10-19 Juri Linkov <juri@jurta.org>
18788
18789 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18790 the list of hard-coded chars with escape-glyph face.
18791
18792 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18793
18794 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18795
18796 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18797
18798 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18799 running process.
18800
18801 2011-10-19 Glenn Morris <rgm@gnu.org>
18802
18803 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18804 Ignore ignored files. (Bug#9726)
18805
18806 2011-10-19 Chong Yidong <cyd@gnu.org>
18807
18808 Doc fix for minor modes, stating that an omitted argument enables
18809 the mode unconditionally when called from Lisp.
18810
18811 * abbrev.el (abbrev-mode):
18812 * allout.el (allout-mode):
18813 * autoinsert.el (auto-insert-mode):
18814 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18815 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18816 (global-auto-revert-mode):
18817 * battery.el (display-battery-mode):
18818 * composite.el (global-auto-composition-mode)
18819 (auto-composition-mode):
18820 * delsel.el (delete-selection-mode):
18821 * desktop.el (desktop-save-mode):
18822 * dired-x.el (dired-omit-mode):
18823 * dirtrack.el (dirtrack-mode):
18824 * doc-view.el (doc-view-minor-mode):
18825 * double.el (double-mode):
18826 * electric.el (electric-indent-mode, electric-pair-mode):
18827 * emacs-lock.el (emacs-lock-mode):
18828 * epa-hook.el (auto-encryption-mode):
18829 * follow.el (follow-mode):
18830 * font-core.el (font-lock-mode):
18831 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18832 * help.el (temp-buffer-resize-mode):
18833 * hilit-chg.el (highlight-changes-mode)
18834 (highlight-changes-visible-mode):
18835 * hi-lock.el (hi-lock-mode):
18836 * hl-line.el (hl-line-mode, global-hl-line-mode):
18837 * icomplete.el (icomplete-mode):
18838 * ido.el (ido-everywhere):
18839 * image-file.el (auto-image-file-mode):
18840 * image-mode.el (image-minor-mode):
18841 * iswitchb.el (iswitchb-mode):
18842 * jka-cmpr-hook.el (auto-compression-mode):
18843 * linum.el (linum-mode):
18844 * longlines.el (longlines-mode):
18845 * master.el (master-mode):
18846 * mb-depth.el (minibuffer-depth-indicate-mode):
18847 * menu-bar.el (menu-bar-mode):
18848 * minibuf-eldef.el (minibuffer-electric-default-mode):
18849 * mouse-sel.el (mouse-sel-mode):
18850 * msb.el (msb-mode):
18851 * mwheel.el (mouse-wheel-mode):
18852 * outline.el (outline-minor-mode):
18853 * paren.el (show-paren-mode):
18854 * recentf.el (recentf-mode):
18855 * reveal.el (reveal-mode, global-reveal-mode):
18856 * rfn-eshadow.el (file-name-shadow-mode):
18857 * ruler-mode.el (ruler-mode):
18858 * savehist.el (savehist-mode):
18859 * scroll-all.el (scroll-all-mode):
18860 * scroll-bar.el (scroll-bar-mode):
18861 * server.el (server-mode):
18862 * shell.el (shell-dirtrack-mode):
18863 * simple.el (auto-fill-mode, transient-mark-mode)
18864 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18865 (line-number-mode, column-number-mode, size-indication-mode)
18866 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18867 * strokes.el (strokes-mode):
18868 * time.el (display-time-mode):
18869 * t-mouse.el (gpm-mouse-mode):
18870 * tool-bar.el (tool-bar-mode):
18871 * tooltip.el (tooltip-mode):
18872 * type-break.el (type-break-mode-line-message-mode)
18873 (type-break-query-mode):
18874 * view.el (view-mode):
18875 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18876 (global-whitespace-mode, global-whitespace-newline-mode):
18877 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18878
18879 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18880 Fix autogenerated docstring.
18881
18882 2011-10-19 Juri Linkov <juri@jurta.org>
18883
18884 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18885 by checking environment variables "DESKTOP_SESSION" and
18886 "XDG_CURRENT_DESKTOP". (Bug#9779)
18887
18888 2011-10-19 Juri Linkov <juri@jurta.org>
18889
18890 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18891 (browse-url-chromium-program, browse-url-chromium-arguments):
18892 New defcustoms.
18893 (browse-url-default-browser): Check for `browse-url-chromium' and
18894 call `browse-url-chromium-program'.
18895 (browse-url-chromium): New command. (Bug#9779)
18896
18897 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18898
18899 * facemenu.el (list-colors-duplicates): On Windows, detect more
18900 duplicates by assuming that only colors matching "^System" are
18901 special "system colors". (Bug#9722)
18902
18903 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18904
18905 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18906 to distinguish the author from the committer.
18907
18908 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18909
18910 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18911
18912 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18913
18914 * international/mule.el (sgml-html-meta-auto-coding-function):
18915 Add support for detecting encoding in HTML5 specified only as
18916 <meta charset="UTF-8">. Implementation just makes http-equiv and
18917 content-type parts from HTML4 encoding string optional. (Bug#9716)
18918
18919 2011-10-18 Glenn Morris <rgm@gnu.org>
18920
18921 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18922
18923 2011-10-18 Chong Yidong <cyd@gnu.org>
18924
18925 * faces.el (cursor): Doc fix.
18926
18927 2011-10-17 Chong Yidong <cyd@gnu.org>
18928
18929 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18930
18931 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18932
18933 * dirtrack.el (dirtrack): Support shell buffers with path
18934 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18935
18936 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18937
18938 * json.el: Bump version to 1.3 and note change in History.
18939 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18940
18941 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18942
18943 * comint.el (comint-insert-input, comint-send-input)
18944 (comint-get-old-input-default, comint-backward-matching-input)
18945 (comint-next-prompt): Use nil instead of `input' for field property of
18946 past user input (bug#114).
18947
18948 * minibuffer.el (completion--replace): Inherit surrounding properties
18949 (bug#114).
18950 (minibuffer-complete-and-exit): Use it.
18951
18952 * comint.el (comint--table-subvert): Quote the all-completions output
18953 (bug#9160).
18954
18955 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18956
18957 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18958
18959 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18960 window on right of selected. (Bug#9350) Reword other window
18961 entries and separate them from frame entries.
18962
18963 2011-10-15 Glenn Morris <rgm@gnu.org>
18964
18965 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18966 Doc fixes.
18967
18968 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18969
18970 * net/network-stream.el (network-stream-open-starttls):
18971 Improve detection of failure due to lack of TLS support.
18972
18973 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18974 putting the input text in front and in bold.
18975
18976 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18977
18978 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18979
18980 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18981 empty buffer.
18982
18983 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18984 unread-command-events rather than pushing yet-another event.
18985
18986 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18987
18988 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18989 the explanation of the possible choices. Make the options passed
18990 to completing-read shorter.
18991
18992 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18993
18994 * textmodes/flyspell.el (flyspell-large-region): Make sure
18995 extended character mode is used if defined (Bug#1339).
18996
18997 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18998
18999 * simple.el (what-cursor-position): Fix the display of the
19000 character info for LRE, LRO, RLE, and RLO characters by appending
19001 an invisible PDF.
19002
19003 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19004
19005 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19006 even in case of error; add debug spec; simplify data flow.
19007 (with-timeout-handler): Remove.
19008
19009 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19010
19011 Fix Bug#6019, Bug#9315.
19012
19013 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19014 complete `buffer-file-name', the local file name part could look
19015 remotely (for example on VMS).
19016
19017 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19018 `tramp-run-real-handler'.
19019 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19020 already quoted by '"'.
19021
19022 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19023 Let `file-name-handler-alist' be nil, the local file name part
19024 could look remotely (for example on VMS).
19025
19026 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19029 from here...
19030 (flyspell-post-command-hook): ...to here.
19031
19032 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19033
19034 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19035 if not needed.
19036 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19037 using completion. Protect against "slow" callers.
19038 Remove the "message hack".
19039
19040 2011-10-11 Juri Linkov <juri@jurta.org>
19041
19042 * isearch.el (isearch-lazy-highlight-word): New variable.
19043 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19044 Use it. (Bug#9727)
19045
19046 2011-10-11 Glenn Morris <rgm@gnu.org>
19047
19048 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19049 like f90-previous-statement does.
19050
19051 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19052
19053 * eshell/eshell.el (eshell-command): History should be saved
19054 only in interactive use, to avoid error.
19055
19056 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19057
19058 * minibuffer.el (completion-file-name-table): Fix last change,
19059 i.e. ignore normal errors but not the other ones.
19060
19061 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19062
19063 * window.el (special-display-buffer-names)
19064 (special-display-regexps): Remove some remnants of earlier
19065 changes from doc-strings.
19066 (quit-windows-on): New function.
19067
19068 * vc/vc.el (vc-revert, vc-rollback):
19069 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19070 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19071 (Bug#6183) (Bug#7074) (Bug#7447)
19072
19073 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19074
19075 * window.el (frame-auto-hide-function): Add version tag.
19076 (Bug#9699)
19077
19078 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19079
19080 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19081 condition.
19082
19083 2011-10-09 Leo Liu <sdl.web@gmail.com>
19084
19085 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19086 (Bug#9701)
19087
19088 2011-10-08 Glenn Morris <rgm@gnu.org>
19089
19090 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19091 before the first code statement zero indent. (Bug#9690)
19092
19093 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19094
19095 * simple.el (count-words-region): Always count in the region.
19096 Report the number of lines and characters too.
19097 (count-words): New command, which counts in the buffer if the
19098 region is inactive, as count-words-region used to.
19099 (count-words--message): New function. Handle plurals.
19100 (count-lines-region): Make it an alias for count-words-region.
19101
19102 * bindings.el (esc-map): Replace count-lines-region with
19103 count-words-region.
19104
19105 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19106
19107 * window.el (window--delete): Delete dedicated frame
19108 unconditionally when argument KILL is non-nil. (Bug#9699)
19109 (switch-to-buffer): Fix doc-string typo.
19110
19111 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19112
19113 * eshell/eshell.el (eshell-command): Avoid using hooks.
19114
19115 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19116
19117 * bindings.el ([M-left],[M-right]): Bind to left-word and
19118 right-word respectively.
19119
19120 2011-10-07 Glenn Morris <rgm@gnu.org>
19121
19122 * cus-start.el (debug-on-quit): Fix custom type.
19123
19124 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19125
19126 * subr.el (define-key-after): Clarify that the function is not
19127 useful for non-menu keymaps.
19128
19129 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19130
19131 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19132
19133 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19134 in current minibuffer (Fix bug with recursive minibuffers).
19135
19136 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19137
19138 * progmodes/gdb-mi.el (gdb): Doc fix.
19139
19140 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19141
19142 * window.el (frame-auto-hide-function): New option replacing
19143 frame-auto-delete. Suggested by Stefan Monnier.
19144 (window--delete): Call frame-auto-hide-function instead of
19145 investigating frame-auto-delete.
19146 (window-point-1, set-window-point-1): New functions.
19147 (window-in-direction, record-window-buffer, window-state-get-1)
19148 (display-buffer-record-window): Use window-point-1 instead of
19149 window-point.
19150 (set-window-buffer-start-and-point): Use set-window-point-1.
19151
19152 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19153
19154 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19155
19156 2011-10-05 Glenn Morris <rgm@gnu.org>
19157
19158 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19159 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19160
19161 2011-10-05 Leo Liu <sdl.web@gmail.com>
19162
19163 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19164 works with buffer object.
19165
19166 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19167
19168 * mpc.el (mpc-tool-bar-map): Add labels.
19169
19170 2011-10-04 Glenn Morris <rgm@gnu.org>
19171
19172 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19173
19174 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19175
19176 * window.el (window--delete): New function.
19177 (frame-auto-delete): Resuscitate option.
19178 (bury-buffer, replace-buffer-in-windows)
19179 (quit-window): Rewrite using window--delete.
19180 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19181 Pass display-buffer-mark-dedicated to window--display-buffer-2
19182 (Bug#9639).
19183
19184 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19185
19186 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19187 returns a list (bug#9554). Add remote file name completion.
19188 * comint.el (comint--table-subvert): Curry and get quote&unquote
19189 functions as arguments.
19190 (comint--complete-file-name-data): Adjust call accordingly.
19191 * pcomplete.el (pcomplete--table-subvert): Remove.
19192 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19193
19194 * minibuffer.el (completion-table-case-fold): Use currying.
19195 (completion--styles-type, completion--cycling-threshold-type):
19196 New constants.
19197 (completion-styles, completion-category-overrides)
19198 (completion-cycle-threshold): Use them.
19199 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19200 completion-table-case-fold.
19201
19202 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19203
19204 * minibuffer.el (completion-category-overrides): Fix type of styles
19205 and add more user friendly tags (bug#9660).
19206
19207 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19208
19209 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19210 (mule-input-method-string): New widget.
19211 (default-input-method, language-info-custom-alist): Use it.
19212
19213 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19214
19215 * pcomplete.el: Require comint.
19216 (pcomplete--common-suffix): Remove.
19217 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19218 (pcomplete--table-subvert): Sync with comint--table-subvert.
19219 (pcomplete--entries): Use comint-completion-file-name-table.
19220 * comint.el (comint-unquote-filename): Simplify.
19221 (comint-completion-file-name-table): New function (bug#9616).
19222 (comint--complete-file-name-data): Use it.
19223
19224 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19225 (pcmpl-gnu-tar-buffer): Remove.
19226 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19227 around. Make sure pcomplete-suffix-list is only changed temporarily.
19228 Don't look inside the tar's file if it's too large.
19229
19230 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19231
19232 * cus-edit.el (custom-mode-map):
19233 * epa.el (epa-key-list-mode-map):
19234 * man.el (Man-mode-map):
19235 * startup.el (splash-screen-keymap):
19236 * simple.el (special-mode-map): Use scroll-up-command and
19237 scroll-down-command.
19238
19239 * progmodes/idlw-help.el (idlwave-help-mode-map):
19240 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19241 * net/newst-plainview.el (newsticker-mode-map):
19242 * emulation/ws-mode.el (wordstar-mode-map):
19243 * emulation/vi.el (vi-com-map):
19244 * calc/calc-graph.el (calc-graph-show-dumb):
19245 * term/sun.el (terminal-init-sun):
19246 * term/ns-win.el (global-map):
19247 * progmodes/grep.el (grep-mode-map):
19248 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19249 * mail/rmail.el (rmail-mode-map):
19250 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19251
19252 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19253 custom-safe-themes as special.
19254
19255 2011-10-01 Julien Danjou <julien@danjou.info>
19256
19257 * notifications.el (notifications-notify): Fix docstring.
19258
19259 2011-10-01 Per Starbäck <per@starback.se>
19260
19261 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19262
19263 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19264
19265 * startup.el (command-line-1): Fix last fix by inserting
19266 initial-scratch-message into *scratch* before displaying it.
19267 (Bug#9605) and (Bug#9636)
19268
19269 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19270
19271 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19272 window is hscrolled, move by logical lines. (Bug#9607)
19273 (line-move-visual): Update the doc string to the above effect.
19274
19275 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19276
19277 * window.el (display-buffer-record-window): When WINDOW is the
19278 selected window use `point' instead of `window-point'. (Bug#9626)
19279
19280 * startup.el (command-line-1): Use insert-before-markers when
19281 inserting initial-scratch-message. (Bug#9605)
19282
19283 * help.el (help-window): Remove variable.
19284
19285 2011-09-29 Glenn Morris <rgm@gnu.org>
19286
19287 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19288
19289 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19290
19291 * descr-text.el (describe-char-categories): Accept category
19292 descriptions more than one line long.
19293
19294 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19295
19296 * simple.el (delete-trailing-whitespace): Fix last change.
19297
19298 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19299 Don't confuse "y => 3" as the beginning of a `y' operation.
19300
19301 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19302 object has more than 4 slots (bug#9613).
19303
19304 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19305
19306 * subr.el (with-output-to-temp-buffer):
19307 * net/quickurl.el (quickurl, quickurl-browse-url):
19308 Fix typos in docstrings.
19309
19310 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19311
19312 * minibuffer.el (completion-styles)
19313 (completion-category-overrides): Cross reference each other in doc
19314 strings.
19315
19316 2011-09-27 Glenn Morris <rgm@gnu.org>
19317
19318 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19319 to split-string. (Bug#9606)
19320
19321 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19322
19323 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19324 (bug#9615).
19325
19326 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19327
19328 * emacs-lisp/package.el (list-packages): Fix echo area message.
19329
19330 2011-09-27 Leo Liu <sdl.web@gmail.com>
19331
19332 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19333
19334 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19335
19336 * net/dbus.el (dbus-unregister-object): Don't release services for
19337 registered signals. (Bug#9581)
19338
19339 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19340
19341 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19342 function that picks between cfengine 2 and 3 support
19343 automatically. Update docs accordingly.
19344
19345 2011-09-22 Kenichi Handa <handa@m17n.org>
19346
19347 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19348 ZERO.
19349 (indian-itrans-v5-table-for-tamil): New variable.
19350 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19351
19352 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19353
19354 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19355 that's true if the current command involved collapsing of text.
19356 It's reset to false at the beginning of the next command.
19357 (allout-post-command-business): Move the cursor to the beginning
19358 of entry if the cursor is hidden and collapsing activity just
19359 happened.
19360
19361 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19362
19363 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19364 tracking (Bug#9541).
19365
19366 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19367
19368 * net/newst-reader.el (newsticker-html-renderer)
19369 (newsticker-show-news): Automatically load html rendering package
19370 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19371 because w3m-fill-column is let-bound" and the error "Symbol's value
19372 as variable is void: w3m-fill-column".
19373
19374 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19375
19376 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19377 Release services only if they are defined. (Bug#9581)
19378
19379 2011-09-23 Richard Stallman <rms@gnu.org>
19380
19381 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19382 distinguish start of paragraph from start of its text.
19383
19384 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19385
19386 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19387 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19388 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19389
19390 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19391
19392 * international/mule-diag.el (mule-diag): Insert a newline after
19393 each fontset description.
19394
19395 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * simple.el (delete-trailing-whitespace):
19398 Document last change; simplify.
19399
19400 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19401
19402 * simple.el (delete-trailing-whitespace): Also delete
19403 extra newlines at the end of the buffer.
19404
19405 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19406 (picture-newline): Use forward-line so as to ignore fields.
19407
19408 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19409
19410 * subr.el (with-wrapper-hook): Fix edebug spec.
19411
19412 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19413
19414 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19415 (bug#4538).
19416
19417 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19418
19419 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19420 Fix nasty bug using wrong cached values.
19421
19422 2011-09-23 Alan Mackenzie <acm@muc.de>
19423
19424 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19425
19426 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19427
19428 * window.el (pop-to-buffer): Ensure right window is selected if we
19429 chose another frame.
19430
19431 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19432
19433 * simple.el (what-cursor-position): Use get-char-property-change
19434 and next-single-char-property-change, to be able to show display
19435 properties that come from overlays as well as text properties.
19436
19437 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19438
19439 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19440
19441 * cmuscheme.el (run-scheme, switch-to-scheme):
19442 * cus-edit.el (customize-group, custom-buffer-create)
19443 (customize-browse):
19444 * info.el (info):
19445 * shell.el (shell):
19446 * mail/sendmail.el (mail):
19447 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19448
19449 2011-09-22 Richard Stallman <rms@gnu.org>
19450
19451 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19452 move back only to line beg, don't move back over blank lines.
19453
19454 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19455
19456 * files.el (copy-directory): Set directory attributes only in case
19457 they could be retrieved from the source directory. (Bug#9565)
19458
19459 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19460
19461 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19462 (hs-find-block-beginning, hs-hide-level-recursive):
19463 Ignore strings as well as comments. (Bug#9502)
19464
19465 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19466
19467 * progmodes/sql.el (sql-comint-postgres):
19468 Convert port number to a string. (Bug#9566)
19469
19470 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19471
19472 * window.el (quit-window): Undedicate window when switching to
19473 previous buffer. Reported by Thierry Volpiatto
19474 <thierry.volpiatto@gmail.com>.
19475 (special-display-popup-frame): When popping up a new frame reset
19476 its previous buffers to nil. Simplify code.
19477
19478 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19479
19480 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19481 and process filter, as done also in `shell-command'.
19482
19483 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19484
19485 * window.el (set-window-buffer-start-and-point):
19486 Call set-window-start with NOFORCE argument t.
19487 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19488 (quit-window): Reword doc-string. Handle new format of
19489 quit-restore parameter. Don't delete window if it has a
19490 previous buffer we can show instead of the present one.
19491 (display-buffer-record-window): Rewrite using a new format for
19492 the quit-restore window parameter
19493 (special-display-popup-frame, display-buffer-same-window)
19494 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19495 (display-buffer-pop-up-window, display-buffer-use-some-window):
19496 Adapt symbol passed to display-buffer-record-window.
19497 * help.el (help-window-setup): Handle new format of quit-restore
19498 parameter.
19499
19500 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19501
19502 * faces.el (face-list): Fix docstring (bug#9564).
19503
19504 * window.el (display-buffer--action-function-custom-type):
19505 Don't include internal functions in the Custom interface.
19506
19507 2011-09-20 Juri Linkov <juri@jurta.org>
19508
19509 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19510 (Info-forward-node, Info-backward-node, Info-next-preorder)
19511 (Info-last-preorder): Use it. (Bug#9528)
19512
19513 2011-09-20 Juri Linkov <juri@jurta.org>
19514
19515 * info.el (Info-last-preorder): Visit last menu item only when
19516 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19517
19518 2011-09-20 Julien Danjou <julien@danjou.info>
19519
19520 * password-cache.el (password-cache-remove): Remove entries even if the
19521 value is nil, so that password with a nil value (negative caching) is
19522 possible to invalidate.
19523
19524 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19525
19526 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19527 all whitespace around breakpoint. (Bug#9553)
19528 (f90-find-breakpoint): Only break at whitespace inside a comment.
19529
19530 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19531
19532 * minibuffer.el (completion-file-name-table): Keep track of errors.
19533 (completion-table-with-predicate): Handle the case where pred1 is nil.
19534 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19535
19536 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19537
19538 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19539 (debugger-return-value): Signal an error if the debugging context does
19540 not await any return value.
19541
19542 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19543 * image-mode.el (image-toggle-display-text)
19544 (image-toggle-display-image): Stay away from evil `intangible'.
19545
19546 2011-09-19 Leo Liu <sdl.web@gmail.com>
19547
19548 * replace.el (occur-revert-arguments): Make it permanent-local.
19549 (occur-mode): Don't call font-lock-defontify.
19550
19551 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19552
19553 * net/ldap.el (ldap-search-internal): Don't push empty search
19554 result (Bug#9508).
19555
19556 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19557
19558 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19559
19560 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19561
19562 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19563 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19564
19565 2011-09-18 Juri Linkov <juri@jurta.org>
19566
19567 * buff-menu.el (Buffer-menu-mode-map):
19568 * dired.el (dired-mode-map):
19569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19570 (lisp-interaction-mode-map):
19571 * emacs-lisp/package.el (package-menu-mode-map):
19572 * epa.el (epa-key-list-mode-map):
19573 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19574 (menu-bar-options-menu):
19575 * outline.el (outline-mode-menu-bar-map):
19576 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19577 * vc/vc-dir.el (vc-dir-menu-map):
19578 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19579 Capitalize non-function content words in menu item strings.
19580
19581 * dired.el (dired-mode-map): Add menu item for
19582 `image-dired-dired-toggle-marked-thumbs'.
19583
19584 2011-09-18 Juri Linkov <juri@jurta.org>
19585
19586 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19587 to `isearch-case-fold-search' and restore its original value
19588 after the `isearch-mode' call.
19589
19590 2011-09-18 Juri Linkov <juri@jurta.org>
19591
19592 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19593 because `zgrep' returns 1 for successful matches (bug#9226).
19594
19595 2011-09-18 Juri Linkov <juri@jurta.org>
19596
19597 * info.el (Info-extract-menu-node-name): Check the second match
19598 for empty string (second test-case of bug#9528).
19599 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19600 intermediate nodes to the history (first test-case of bug#9528).
19601
19602 2011-09-18 Juri Linkov <juri@jurta.org>
19603
19604 * info.el (Info-mode-syntax-table): New variable.
19605 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19606
19607 2011-09-18 Juri Linkov <juri@jurta.org>
19608
19609 * info.el (Info-file-supports-index-cookies):
19610 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19611 outputs one more line for long file names (bug#4142).
19612
19613 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19614
19615 * newcomment.el (comment-normalize-vars): If prompting for
19616 comment-start, set comment-start-skip too (Bug#8424).
19617
19618 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19619
19620 * icomplete.el: Fix previous fix of Bug#5849.
19621 (icomplete-mode): Don't set completion-show-inline-help.
19622 (icomplete-minibuffer-setup): Set completion-show-inline-help
19623 locally during icompletion.
19624
19625 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19626
19627 * woman.el (woman2-process-escapes): Don't delete unrecognized
19628 escapes (Bug#7843).
19629
19630 * files.el (inhibit-first-line-modes-regexps): Add image files.
19631 (hack-local-variables-prop-line): Return nil for malformed
19632 prop-lines (Bug#9044).
19633
19634 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19635
19636 * net/tramp.el (top): Don't require 'shell.
19637 (tramp-methods): Fix docstring.
19638 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19639 Return complete remote file name. Handle "smb" case.
19640 Use `tramp-tmpdir', if defined for the respective method.
19641 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19642
19643 * net/tramp-compat.el (top): Require 'shell.
19644
19645 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19646 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19647 `tramp-current-host'.
19648 (tramp-get-remote-tmpdir): Remove.
19649
19650 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19651 `tramp-tmpdir' entries.
19652 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19653 (tramp-smb-handle-file-attributes): Ignore errors.
19654 (tramp-smb-wait-for-output): Check also for process end.
19655
19656 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19657
19658 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19659 when sending QUIT (bug#9312).
19660
19661 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19662
19663 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19664 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19665 occur-mode-display-occurrence.
19666 (occur-edit-mode): Add usage message.
19667 (occur-cease-edit): New command.
19668 (occur-after-change-function): Use text properties to find the
19669 position of the prefix text.
19670 (occur-engine): Set stickiness of prefix text properties.
19671
19672 2011-09-17 Glenn Morris <rgm@gnu.org>
19673
19674 * progmodes/etags.el (complete-tag):
19675 Fix call to completion-in-region. (Bug#9526)
19676
19677 2011-09-17 Juri Linkov <juri@jurta.org>
19678
19679 * textmodes/ispell.el (ispell-word): Add to the error message
19680 the word, ispell program name and current dictionary (bug#9121).
19681 (ispell-tex-arg-end): Capitalize "error" in the error message.
19682
19683 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19684
19685 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19686 check. (Bug#4251)
19687
19688 2011-09-17 Juri Linkov <juri@jurta.org>
19689
19690 * window.el (window-safe-min-height, window-safe-min-width):
19691 Fix typos (followup to bug#9522).
19692
19693 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19694
19695 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19696
19697 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19698
19699 * simple.el (line-move): If goal-column is set, move by logical
19700 lines, not by display lines. (Bug#971)
19701 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19702 to reflect the above change.
19703
19704 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19705
19706 * image.el (imagemagick-register-types): Use regexp-opt.
19707
19708 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19709
19710 * window.el (display-buffer-base-action): Rename from
19711 display-buffer-default-action. Make default value empty.
19712 (display-buffer-overriding-action): Convert to defvar.
19713 (display-buffer-fallback-action): New var.
19714
19715 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19716
19717 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19718 declaration.
19719 (package--add-to-archive-contents): If there is a duplicate entry
19720 with an older version, remove it.
19721 (package-menu-mark-delete, package-menu-mark-install)
19722 (package-menu-mark-unmark): Make unused args optional.
19723 (package-menu-mark-obsolete-for-deletion):
19724 Use package-menu-get-status instead of a regexp search.
19725 (package-menu-get-status): Use tabulated-list-entry.
19726 (package-menu-mark-upgrades): New command.
19727 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19728 (package-menu-execute): Do installation before deletion.
19729 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19730 instead of checking major-mode.
19731 (package-menu--find-upgrades): New function.
19732
19733 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19734
19735 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19736 passwords in the log buffer.
19737 (smtpmail-process-filter): Update the process marker so that the
19738 "broken by peer" status message is inserted in the right place.
19739
19740 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19741
19742 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19743 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19744 bibtex-completion-at-point-function.
19745 (bibtex-completion-at-point-function): Use them.
19746
19747 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19748
19749 * mpc.el (mpc-constraints-tag-lookup): New function.
19750 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19751 also to browser "album|playlist".
19752
19753 2011-09-14 Juri Linkov <juri@jurta.org>
19754
19755 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19756 (isearch-edit-string): Use length of `isearch-string' when
19757 `isearch-fail-pos' returns nil.
19758 (isearch-message): Remove duplicate code and call
19759 `isearch-fail-pos' with arg `t'.
19760
19761 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * replace.el (occur-mode-goto-occurrence): Don't force using other
19764 window (Bug#9499).
19765
19766 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19767
19768 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19769
19770 * window.el (display-buffer-window): Remove.
19771 (display-buffer-record-window): Use help-setup window parameter
19772 instead of variable display-buffer-window.
19773 (display-buffer-function, special-display-buffer-names)
19774 (special-display-function): Mention help-setup parameter instead
19775 of display-buffer-window in doc-string.
19776 * help.el (help-window-setup): New argument help-window.
19777 Use help-window-setup parameter instead of display-buffer-window.
19778 Reword some messages.
19779 (with-help-window): Pass window used for displaying the buffer
19780 to help-window-setup. Don't set display-buffer-window.
19781
19782 2011-09-13 Glenn Morris <rgm@gnu.org>
19783
19784 * emacs-lisp/debug.el (debugger-make-xrefs):
19785 Preserve point. (Bug#9462)
19786
19787 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19788
19789 * window.el (window-deletable-p): Use next-frame.
19790
19791 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19792
19793 * window.el (window-auto-delete): Remove.
19794 (window-deletable-p): Remove argument FORCE. Don't deal with
19795 dedication and previous buffers.
19796 (switch-to-prev-buffer): Don't delete window.
19797 (delete-windows-on): Delete a window's frame if and only if the
19798 window is dedicated.
19799 (replace-buffer-in-windows): Delete buffer's window or frame if
19800 and only if window is dedicated.
19801 (quit-window): Handle quit-restore as before last change.
19802 (bury-buffer): Delete window only if window-deletable-p returns t.
19803
19804 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19805
19806 * window.el (window-deletable-p): Never delete the last frame on a
19807 given terminal.
19808
19809 2011-09-13 Glenn Morris <rgm@gnu.org>
19810
19811 * help.el (describe-key-briefly): Copy previous standard-output change.
19812
19813 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19814
19815 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19816
19817 2011-09-13 Glenn Morris <rgm@gnu.org>
19818
19819 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19820 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19821
19822 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19823
19824 * dired-aux.el (dired-mark-read-string): Don't return default
19825 value on empty input (Bug#9361).
19826 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19827 Omit initial minibuffer contents.
19828 (dired-do-chmod): Signal an error on empty input.
19829 (dired-mark-read-string): Don't return default on empty input.
19830
19831 * files.el (file-modes-symbolic-to-number): Doc fix.
19832
19833 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19834
19835 * international/mule-cmds.el (ucs-completions): Remove.
19836 (read-char-by-name): Use complete-with-action instead; add metadata.
19837
19838 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19839
19840 * window.el (display-buffer--action-function-custom-type)
19841 (display-buffer--action-custom-type): New vars.
19842 (display-buffer-alist, display-buffer-default-action)
19843 (display-buffer-overriding-action): Add defcustom types.
19844
19845 * frame.el (delete-other-frames): Doc fix (Bug#276).
19846
19847 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19848
19849 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19850
19851 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19852
19853 Change modes that used same-window-* vars to use switch-to-buffer.
19854
19855 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19856 Use switch-to-buffer.
19857
19858 * cus-edit.el (customize-group, custom-buffer-create)
19859 (customize-browse, custom-buffer-create-other-window):
19860 Use switch-to-buffer or switch-to-buffer-other-window.
19861
19862 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19863 (Info-prev, Info-up, Info-speedbar-goto-node)
19864 (info-display-manual): Use switch-to-buffer.
19865 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19866
19867 * mail/sendmail.el (mail): Use switch-to-buffer.
19868 (mail-recover): Use switch-to-buffer-other-window.
19869
19870 * cmuscheme.el (run-scheme, switch-to-scheme):
19871 * ielm.el (ielm):
19872 * shell.el (shell):
19873 * net/rlogin.el (rlogin):
19874 * net/telnet.el (telnet, rsh):
19875 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19876
19877 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19878
19879 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19880
19881 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19882
19883 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19884 so don't mention it (bug#9301).
19885 (dired-sort-toggle-or-edit): Clarify string further.
19886
19887 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19888 match `x', `w32' and `ns', like the manual says (bug#9029).
19889
19890 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19891 (process-kill-buffer-query-function): Mention the buffer name in
19892 the query.
19893
19894 * image-mode.el (image-next-line): The line parameter is mandatory
19895 (bug#9258).
19896
19897 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19898 which can be useful (bug#9301).
19899
19900 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19901
19902 * subr.el (match-string): Mention that the current buffer should
19903 be the same as the search was done in (bug#9282).
19904
19905 * facemenu.el: Disable the remove-* commands if the mark isn't
19906 active (bug#9162).
19907
19908 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19909
19910 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19911 of display-buffer.
19912 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19913
19914 * replace.el (occur-mode-goto-occurrence)
19915 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19916 and display-buffer.
19917
19918 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19919 display-buffer.
19920
19921 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19922 special-display and same-window variables.
19923 (mail-other-window): Use switch-to-buffer-other-window.
19924 (mail-other-frame): USe switch-to-buffer-other-frame.
19925
19926 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19927 Use display-buffer-other-frame.
19928 (gdb-display-gdb-buffer): Use pop-to-buffer.
19929
19930 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19931
19932 * progmodes/python.el: Don't set same-window-buffer-names.
19933
19934 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19935
19936 * window.el (display-buffer-alist): Add *Python*.
19937
19938 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19939
19940 * window.el (display-buffer-alist): Add entry for buffers
19941 previously handled same-window-*.
19942 (display-buffer-alist, display-buffer-default-action)
19943 (display-buffer-overriding-action): Mark as risky.
19944 (display-buffer-alist): Document action function changes.
19945 (display-buffer--same-window-action)
19946 (display-buffer--other-frame-action): New variables.
19947 (switch-to-buffer, display-buffer-other-frame): Use them.
19948 (display-buffer): Rename reuse-frame entry to reusable-frames.
19949 (display-buffer-reuse-selected-window): Function deleted.
19950 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19951 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19952 (display-buffer-special): New function.
19953 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19954 display-buffer-reuse-or-pop-window. Split off special-display
19955 part into display-buffer-special.
19956 (display-buffer-use-some-window): Don't perform any special
19957 pop-up-frames handling.
19958 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19959 (display-buffer--maybe-same-window): Rename from
19960 display-buffer-maybe-same-window.
19961
19962 * info.el: Don't set same-window-regexps.
19963 (info-setup): New function.
19964 (info-other-window, info): Call it.
19965
19966 * cus-edit.el: Don't set same-window-regexps.
19967 (customize-group): New argument.
19968 (customize-group-other-window): Use it.
19969 (customize-face, customize-face-other-window): Likewise.
19970 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19971
19972 * net/rlogin.el:
19973 * net/telnet.el:
19974 * progmodes/gud.el: Don't set same-window-regexps.
19975
19976 * cmuscheme.el:
19977 * ielm.el:
19978 * shell.el:
19979 * mail/sendmail.el:
19980 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19981
19982 2011-09-10 Juri Linkov <juri@jurta.org>
19983
19984 * isearch.el (isearch-edit-string): Remove obsolete mention of
19985 `C-w' (`isearch-yank-word-or-char') from docstring.
19986 (isearch-query-replace): Fix typo in docstring (bug#9466).
19987
19988 2011-09-10 Juri Linkov <juri@jurta.org>
19989
19990 * paren.el (show-paren-function): Don't show escaped parens.
19991 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19992
19993 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19994
19995 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19996 (mm-default-file-encoding): Remove autoload forms, they are
19997 replaced with autoload cookies in mml.el and mm-encode.el.
19998 (mail-add-attachment): New command.
19999 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20000 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20001 the doc string.
20002 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20003
20004 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20005
20006 * simple.el (count-words-region): Use buffer if there's no region
20007 (bug#9429).
20008
20009 2011-09-09 Juri Linkov <juri@jurta.org>
20010
20011 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20012 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20013 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20014
20015 2011-09-09 Alan Mackenzie <acm@muc.de>
20016
20017 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20018 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20019
20020 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20021
20022 Fix for Savannah bug#9392.
20023 * simple.el (mail-encode-mml): New defvar.
20024
20025 * mail/rmail.el (mail-encode-mml): Add a defvar.
20026 (rmail-enable-mime-composing): Default to t.
20027 (rmail-forward): Use MIME method of forwarding only if both
20028 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20029 Set mail-encode-mml non-nil if the MIME method was used.
20030
20031 * mail/sendmail.el (mml-to-mime): Add autoload form.
20032 (mail-encode-mml): Add a defvar.
20033 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20034 to nil.
20035 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20036 message through mml-to-mime, and reset mail-encode-mml to nil.
20037
20038 2011-09-09 Glenn Morris <rgm@gnu.org>
20039
20040 * woman.el (woman-if-body): When processing an .el block,
20041 do not delete the next .el block as well. (Bug#9447)
20042 (woman-special-characters): Add oq, cq, and hy characters.
20043
20044 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20045
20046 * window.el (window-deletable-p): Make sure window is live before
20047 invoking window-prev-buffers.
20048
20049 2011-09-08 Leo Liu <sdl.web@gmail.com>
20050
20051 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20052
20053 2011-09-08 Juri Linkov <juri@jurta.org>
20054
20055 * progmodes/compile.el (compilation-environment): Make it
20056 a defcustom (bug#8340).
20057
20058 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20059
20060 * window.el (frame-auto-delete): Rename to window-auto-delete.
20061 Make it control auto-deletion of windows and/or frames.
20062 (window-deletable-p): New argument FORCE. Rewrite conditions
20063 for deleting window/frame. (Bug#9419)
20064 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20065 Rewrite handling of case when window/frame can be deleted.
20066 (delete-windows-on): Call window-deletable-p with new FORCE
20067 argument t. (Bug#9456)
20068
20069 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20070
20071 * help-mode.el (help-mode): Restore autoload.
20072
20073 2011-09-07 Juri Linkov <juri@jurta.org>
20074
20075 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20076 `compilation-environment'. Set buffer-local
20077 `compilation-environment' to `thisenv' later after (funcall mode).
20078 (Bug#8340)
20079
20080 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20081 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20082 instead of replacing its value. (Bug#8340)
20083
20084 2011-09-07 Juri Linkov <juri@jurta.org>
20085
20086 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20087 based on text properties put by `grep-filter' instead of matching
20088 escape sequences.
20089 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20090 to the value of `grep-error-screen-columns' (bug#9438).
20091
20092 2011-09-07 Juri Linkov <juri@jurta.org>
20093
20094 * simple.el (next-error-highlight, next-error-highlight-no-select):
20095 Doc fix (bug#9432).
20096
20097 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20098
20099 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20100 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20101
20102 2011-09-07 Leo Liu <sdl.web@gmail.com>
20103
20104 * net/rcirc.el (rcirc-mode): Conditionally initialize
20105 rcirc-input-ring.
20106
20107 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20108
20109 * emacs-lisp/find-func.el (find-function-C-source): Only set
20110 find-function-C-source-directory after checking that we found a source
20111 file there (bug#9440).
20112
20113 2011-09-06 Alan Mackenzie <acm@muc.de>
20114
20115 * isearch.el (isearch-other-meta-char): Wherever a key list is
20116 unread, "unread" the prefix arg, too. This fixes bug #8901.
20117
20118 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20119
20120 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20121
20122 2011-09-05 Juri Linkov <juri@jurta.org>
20123
20124 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20125
20126 2011-09-05 Juri Linkov <juri@jurta.org>
20127
20128 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20129 keeping point where processing of grep matches begins, and
20130 continue to delete remaining escape sequences from the same point.
20131 (grep-filter): Make leading zero optional in "0?1;31m" because
20132 git-grep emits "\033[1;31m" escape sequences unlike expected
20133 "\033[01;31m" as GNU Grep does (bug#9408).
20134 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20135
20136 2011-09-05 Juri Linkov <juri@jurta.org>
20137
20138 * subr.el (y-or-n-p): Capitalize "yes".
20139
20140 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20141
20142 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20143 `tramp-cache-unload-hook' where appropriate.
20144 (tramp-methods): Rename `tramp-remote-sh' to
20145 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20146 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20147
20148 * net/tramp-sh.el (top): Don't require 'shell.
20149 (tramp-methods): Add `tramp-remote-shell' and
20150 `tramp-remote-shell-args' entries.
20151 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20152 (tramp-sh-handle-shell-command): Remove.
20153 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20154 Use `tramp-remote-shell'.
20155
20156 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20157
20158 * mail/sendmail.el (sendmail-query-once-function): Delete.
20159 (sendmail-query-once): Save directly to send-mail-function.
20160 Update message-send-mail-function too.
20161
20162 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20163
20164 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20165
20166 * progmodes/python.el (python-mode-map): Use correct function to
20167 start python interpreter from menu-bar (as reported by Geert
20168 Kloosterman).
20169 (inferior-python-mode-map): Fix typo.
20170 (python-shell-map): Remove.
20171
20172 2011-09-03 Deniz Dogan <deniz@dogan.se>
20173
20174 * net/rcirc.el (rcirc-print): Simplify code for
20175 rcirc-scroll-show-maximum-output. There is no need to walk
20176 through all windows to find the right one.
20177
20178 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20179
20180 * help.el (help-return-method): Doc fix.
20181
20182 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20183
20184 * window.el (window-deletable-p): Don't return a non-nil value
20185 when there's a buffer that was shown in the window before.
20186 (Bug#9419)
20187 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20188 Set window's previous buffers to nil.
20189
20190 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20191
20192 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20193 newline before and after the tag line, so it doesn't interfere
20194 with determining the paragraph direction of bidirectional text.
20195
20196 2011-09-03 Leo Liu <sdl.web@gmail.com>
20197
20198 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20199
20200 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20201
20202 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20203 (pop-to-buffer): Change interactive spec. Pass second argument
20204 directly to display-buffer.
20205 (display-buffer): Fix interactive spec. Use functionp to
20206 distinguish between a function and a list of functions.
20207
20208 * abbrev.el (edit-abbrevs):
20209 * arc-mode.el (archive-extract):
20210 * autoinsert.el (auto-insert):
20211 * bookmark.el (bookmark-bmenu-list):
20212 * files.el (find-file):
20213 * view.el (view-buffer):
20214 * progmodes/compile.el (compilation-goto-locus):
20215 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20216
20217 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20218
20219 * window.el (display-buffer-alist): Doc fix.
20220 (display-buffer): Add docstring. Don't treat
20221 display-buffer-default specially.
20222 (display-buffer-reuse-selected-window)
20223 (display-buffer-same-window, display-buffer-maybe-same-window)
20224 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20225 (display-buffer-pop-up-window)
20226 (display-buffer-reuse-or-pop-window)
20227 (display-buffer-use-some-window): New functions.
20228 (display-buffer-default-action): Use them.
20229 (display-buffer-default): Delete.
20230 (pop-to-buffer-1): Fix choice of actions.
20231
20232 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * minibuffer.el (completion--insert-strings): Don't get confused by
20235 completion entries that end with an LF char.
20236
20237 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20238
20239 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20240
20241 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20242
20243 * window.el (display-buffer): Restore interactive spec.
20244 (display-buffer-same-window, display-buffer-other-window):
20245 New functions.
20246 (pop-to-buffer-1): New function. Use the above.
20247 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20248 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20249
20250 * view.el (view-buffer-other-window, view-buffer-other-frame):
20251 Just use pop-to-buffer.
20252
20253 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20254
20255 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20256
20257 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20258
20259 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20260
20261 2011-08-31 Richard Stallman <rms@gnu.org>
20262
20263 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20264 of the separation of rmail-view-buffer from rmail-buffer.
20265 If you say no to "replace original", the decrypt is in the
20266 view buffer. If you say yes, the decrypt goes into the
20267 rmail buffer also.
20268
20269 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20270
20271 * window.el (display-buffer-window): Rewrite doc-string.
20272 (display-buffer-record-window): New function.
20273 (display-buffer-macro-specifiers)
20274 (display-buffer-even-window-sizes, display-buffer-set-height)
20275 (display-buffer-set-width, display-buffer-in-window)
20276 (display-buffer-reuse-window, display-buffer-split-specifiers)
20277 (display-buffer-side-specifiers, display-buffer-split-window-1)
20278 (display-buffer-split-window, display-buffer-split-atom-window)
20279 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20280 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20281 (display-buffer-other-window-means-other-frame)
20282 (display-buffer-normalize-special)
20283 (display-buffer-normalize-default)
20284 (display-buffer-normalize-argument)
20285 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20286 (display-buffer-normalize-specifiers, display-buffer-frame)
20287 (display-buffer-same-window, display-buffer-same-frame)
20288 (display-buffer-other-window)
20289 (display-buffer-same-frame-other-window)
20290 (display-buffer-other-frame, pop-to-buffer-same-window)
20291 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20292 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20293 (switch-to-buffer-same-frame)
20294 (switch-to-buffer-other-window-same-frame)
20295 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20296 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20297 (display-buffer-alist-set): Remove.
20298 (display-buffer-function, special-display-buffer-names)
20299 (special-display-regexps, special-display-function):
20300 In doc-string refer to display-buffer-window and quit-restore
20301 parameter.
20302 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20303 (special-display-frame-alist, special-display-popup-frame)
20304 (same-window-buffer-names, same-window-regexps, same-window-p)
20305 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20306 (split-window-preferred-function, split-height-threshold)
20307 (split-width-threshold, window-splittable-p)
20308 (split-window-sensibly, window--try-to-split-window)
20309 (window--frame-usable-p, even-window-heights)
20310 (window--even-window-heights, window--display-buffer-1)
20311 (window--display-buffer-2, display-buffer-other-frame):
20312 Restore old Emacs 23 code, order and doc-strings where applicable.
20313 (display-buffer-default, display-buffer-assq-regexp): New functions.
20314 (display-buffer-alist): Rewrite doc-string.
20315 (display-buffer-default-action)
20316 (display-buffer-overriding-action): New variables.
20317 (display-buffer, switch-to-buffer): Rewrite.
20318 (pop-to-buffer): Restore Emacs 23 behavior but use
20319 window-normalize-buffer-to-display.
20320 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20321 Restore Emacs 23 behavior but use
20322 window-normalize-buffer-to-switch-to.
20323 (pop-to-buffer-same-window): Rewrite.
20324 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20325 Rewrite using Emacs 23 options.
20326
20327 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20328
20329 * net/tramp.el (tramp-root-regexp): Remove.
20330 (tramp-completion-file-name-regexp-unified)
20331 (tramp-completion-file-name-regexp-separate)
20332 (tramp-completion-file-name-regexp-url): Don't use leading volume
20333 letter on w32 systems. (Bug#5303, Bug#9311)
20334 (tramp-drop-volume-letter): Simplify definition.
20335 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20336
20337 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20338
20339 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20340 (bug#9356).
20341
20342 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20343
20344 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20345
20346 2011-08-29 Juri Linkov <juri@jurta.org>
20347
20348 * isearch.el (isearch-done): Don't display message "Mark saved"
20349 when arg `edit' is non-nil to prevent its flicker in the echo area.
20350
20351 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20352
20353 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20354 obsolete packages for deletion.
20355
20356 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20357
20358 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20359 (help-mode): Derive help-mode from special-mode. Don't invoke
20360 view-mode from help-mode.
20361 (help-xref-override-view-map): Remove.
20362 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20363 view-mode is not used anymore.
20364
20365 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20366
20367 * server.el (server-port): Doc fix.
20368
20369 * cus-theme.el (custom-theme-choose-mode): Inherit from
20370 special-mode (Bug#9124).
20371 (custom-theme-choose-mode-map): Add special-mode to parent.
20372
20373 2011-08-28 Alan Mackenzie <acm@muc.de>
20374
20375 * progmodes/cc-fonts.el
20376 (c-make-font-lock-BO-decl-search-function): New function.
20377 (c-basic-matchers-after - "Fontify the clauses after various
20378 keywords"): Extract the three keyword lists for the 3 erroneous
20379 constructs from the list of four, and use the new function above
20380 in place of an old one.
20381
20382 2011-08-28 Deniz Dogan <deniz@dogan.se>
20383
20384 * net/rcirc.el (rcirc-insert-prev-input)
20385 (rcirc-insert-next-input): Remove unused argument.
20386
20387 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20388
20389 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20390
20391 2011-08-27 Alan Mackenzie <acm@muc.de>
20392
20393 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20394 handle function pointer parameters properly.
20395
20396 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20397
20398 * window.el (display-buffer-reuse-window): Fix case where
20399 selected window was reused with non-nil OTHER-WINDOW argument.
20400 (Bug#9381)
20401
20402 2011-08-27 Deniz Dogan <deniz@dogan.se>
20403
20404 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20405 oftc's NickServ messages.
20406
20407 2011-08-27 Glenn Morris <rgm@gnu.org>
20408
20409 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20410
20411 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20412
20413 * emacs-lisp/package.el (package-install): Call package-initialize
20414 if called interactively.
20415
20416 2011-08-26 Leo Liu <sdl.web@gmail.com>
20417
20418 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20419
20420 2011-08-25 Juri Linkov <juri@jurta.org>
20421
20422 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20423 `search-whitespace-regexp' (bug#9364).
20424
20425 2011-08-25 Juri Linkov <juri@jurta.org>
20426
20427 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20428 `regexp-search-ring' to their global values to protect from
20429 updating by `read-from-minibuffer' (bug#9185).
20430
20431 2011-08-25 Juri Linkov <juri@jurta.org>
20432
20433 * textmodes/ispell.el (ispell-command-loop): Add newline
20434 at the end of the "Use option `i'..." line.
20435
20436 2011-08-25 Juri Linkov <juri@jurta.org>
20437
20438 * battery.el (display-battery-mode): If `battery-status-function'
20439 or `battery-mode-line-format' is nil, display the message and set
20440 `display-battery-mode' to nil (bug#9363).
20441
20442 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20443
20444 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20445 bidi-string-mark-left-to-right; they are unnecessary now.
20446
20447 2011-08-25 Deniz Dogan <deniz@dogan.se>
20448
20449 * net/quickurl.el: Documentation typo fixes.
20450
20451 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20452
20453 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20454
20455 2011-08-25 Glenn Morris <rgm@gnu.org>
20456
20457 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20458
20459 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20460 (smtpmail-via-smtp): Handle nil response from smtp.
20461
20462 2011-08-24 Juri Linkov <juri@jurta.org>
20463
20464 * proced.el (proced-marked): Inherit from `error' instead of
20465 `font-lock-warning-face'.
20466
20467 * ibuffer.el (ibuffer-marked-face): Change default face from
20468 `font-lock-warning-face' to `warning'.
20469 (ibuffer-deletion-face): Change default face from
20470 `font-lock-type-face' to `error'.
20471
20472 * battery.el (battery-update): Use the face `error' instead of
20473 `font-lock-warning-face' (bug#6117).
20474
20475 2011-08-24 Juri Linkov <juri@jurta.org>
20476
20477 * faces.el (success): Change face color from "Green3" to
20478 "ForestGreen" on light background (bug#9353).
20479
20480 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20481
20482 * window.el (quit-window): Rename from quit-restore-window.
20483 Use same arglist as old quit-window.
20484 (frame-auto-delete): Doc fix.
20485
20486 * view.el (view-mode-exit): Use quit-window.
20487
20488 2011-08-24 Juri Linkov <juri@jurta.org>
20489
20490 * isearch.el (isearch-ring-adjust1): Start visiting previous
20491 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20492 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20493 for empty search string (when the last search string is reused
20494 automatically) to adjust the isearch ring to the last element and
20495 prepare the correct index for further M-p commands (bug#9185).
20496
20497 2011-08-24 Kenichi Handa <handa@m17n.org>
20498
20499 * international/ucs-normalize.el: If decomposition property of
20500 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20501 nil.
20502 (nfd, nfkd): Likewise.
20503
20504 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20505
20506 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20507 from process filters aren't reliably transmitted to the surrounding
20508 accept-process-output.
20509 (mpc-proc-check): New function.
20510 (mpc-proc-sync): Use it (bug#8293)
20511
20512 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20513
20514 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20515 Add compatibility functions (bug#9313).
20516
20517 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20518
20519 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20520
20521 * international/uni-bidi.el: Regenerate.
20522
20523 2011-08-23 Kenichi Handa <handa@m17n.org>
20524
20525 * international/charprop.el:
20526 * international/uni-bidi.el:
20527 * international/uni-category.el:
20528 * international/uni-combining.el:
20529 * international/uni-comment.el:
20530 * international/uni-decimal.el:
20531 * international/uni-decomposition.el:
20532 * international/uni-digit.el:
20533 * international/uni-lowercase.el:
20534 * international/uni-mirrored.el:
20535 * international/uni-name.el:
20536 * international/uni-numeric.el:
20537 * international/uni-old-name.el:
20538 * international/uni-titlecase.el:
20539 * international/uni-uppercase.el: Regenerate.
20540
20541 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20542
20543 * help.el (help-window-setup): Fix message displayed when other
20544 window is reused. (Bug#9341)
20545
20546 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20547
20548 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20549 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20550
20551 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20552 Mark obsolete.
20553 * shell.el (shell-parse-pcomplete-arguments): New function.
20554 (shell-completion-vars): Use it instead (bug#9160).
20555
20556 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20557
20558 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20559 strings and comments (bug#9333).
20560
20561 * emacs-lisp/debug.el (debug-arglist): New function.
20562 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20563 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20564
20565 2011-08-22 Juri Linkov <juri@jurta.org>
20566
20567 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20568 Revert regexp that highlights output switches to its old
20569 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20570
20571 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20572 to check for empty output (bug#9226).
20573
20574 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20575
20576 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20577 symbol-constituent as the default, as that stops font-lock from
20578 working properly (Bug#8843).
20579
20580 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20581
20582 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20583 `coding-system-for-*' around the process open call to avoid
20584 auth-source side effects.
20585 (smtpmail-try-auth-methods): Expand the secret password.
20586 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20587 probe hangs.
20588
20589 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20590
20591 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20592
20593 * emacs-lisp/find-func.el (find-function-noselect): New arg
20594 lisp-only.
20595
20596 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20597 signal an error for built-in functions (Bug#6664).
20598
20599 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20600
20601 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20602 (smtpmail-try-auth-methods): Use it.
20603
20604 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20605
20606 * font-lock.el (font-lock-fontify-region)
20607 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20608 (font-lock-default-unfontify-buffer)
20609 (font-lock-default-fontify-region)
20610 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20611
20612 * progmodes/compile.el (compilation-error-properties):
20613 Fix confusion between file struct and message struct (Bug#9319).
20614 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20615 `ant' regexp.
20616
20617 * net/browse-url.el (browse-url-firefox): Don't call
20618 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20619
20620 2011-08-20 Glenn Morris <rgm@gnu.org>
20621
20622 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20623
20624 * tutorial.el (tutorial--default-keys): Update some default bindings.
20625
20626 * files.el (hack-local-variables): Fully ignore case for "mode:".
20627
20628 2011-08-20 Alan Mackenzie <acm@muc.de>
20629
20630 Resolve invalid use of a regexp in regexp-opt.
20631
20632 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20633 detection for a java annotation.
20634
20635 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20636 detection for a java annotation.
20637
20638 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20639 handling for java.
20640 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20641
20642 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20643
20644 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20645 (Bug#9274).
20646
20647 2011-08-20 Alan Mackenzie <acm@muc.de>
20648
20649 Fontify CPP expressions correctly when starting in the middle of
20650 such a construct. Mainly for when jit-lock etc. starts a chunk
20651 here.
20652
20653 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20654 variable.
20655 (c-make-font-lock-search-form): New function, extracted from
20656 c-make-font-lock-search-function.
20657 (c-make-font-lock-search-function): Use the above function.
20658 (c-make-font-lock-context-search-function): New function.
20659 (c-cpp-matchers): Enhance the preprocessor expression case with
20660 the above function
20661 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20662 which takes an expression.
20663
20664 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20665
20666 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20667
20668 * window.el (display-buffer-reuse-window)
20669 (display-buffer-pop-up-window): Don't reuse or split a side
20670 window.
20671
20672 2011-08-19 Glenn Morris <rgm@gnu.org>
20673
20674 * files.el (hack-local-variables-prop-line, hack-local-variables):
20675 Downcase "Mode:". (Bug#9331)
20676
20677 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20678
20679 * international/characters.el: Add L and R categories.
20680
20681 * subr.el (bidi-string-mark-left-to-right): Rename from
20682 string-mark-left-to-right. Use category search.
20683
20684 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20685
20686 2011-08-18 Juri Linkov <juri@jurta.org>
20687
20688 * faces.el (error, warning, success): New faces with definitions
20689 copied from old default values of `font-lock-warning-face',
20690 `compilation-warning', `compilation-info' (bug#6117).
20691
20692 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20693
20694 * progmodes/compile.el (compilation-error): Inherit from `error'.
20695 (compilation-warning): Inherit from `warning'.
20696 (compilation-info): Inherit from `success'.
20697
20698 * dired.el (dired-marked): Inherit from `warning'.
20699 (dired-flagged): Inherit from `error'.
20700
20701 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20702
20703 * mail/smtpmail.el (auth-source): Require to avoid problems with
20704 binding variables (bug#9298). Also clean up some unused
20705 autoloads.
20706
20707 * net/network-stream.el (network-stream-open-starttls):
20708 Support using starttls.el without using gnutls-cli.
20709
20710 2011-08-17 Juri Linkov <juri@jurta.org>
20711
20712 * progmodes/grep.el (rgrep): Handle the case when
20713 `grep-find-command' is a cons cell (bug#9278).
20714
20715 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20716
20717 * window.el (display-buffer-pop-up-frame): Run frame creation
20718 function with BUFFER current (as special-display-popup-frame
20719 does). Reported by Drew Adams.
20720
20721 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20722
20723 * epa-mail.el: Simplify GnuPG group expansion using
20724 epg-expand-group.
20725 (epa-mail-group-alist, epa-mail-group-modtime)
20726 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20727 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20728 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20729 Remove.
20730
20731 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20732
20733 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20734
20735 2011-08-16 Alan Mackenzie <acm@muc.de>
20736
20737 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20738 Correct, to avoid the inside of macros.
20739
20740 2011-08-16 Richard Stallman <rms@gnu.org>
20741
20742 * epa-mail.el: Handle GnuPG group definitions.
20743 (epa-mail-group-alist, epa-mail-group-modtime)
20744 (epa-mail-gnupg-conf-file): New variables.
20745 (epa-mail-parse-groups, epa-mail-sync-groups)
20746 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20747 (epa-mail-expand-recipients): New functions.
20748 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20749
20750 * mail/rmail.el (rmail-epa-decrypt): New command.
20751
20752 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20753 Don't bind buffer-read-only, just inhibit-read-only.
20754 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20755 (epa-decrypt-armor-in-region): Make error message clearer.
20756
20757 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20758
20759 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20760 and "a2b" to "ab" for `prefix'.
20761
20762 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20763
20764 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20765 filter groups.
20766 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20767 Fourquet (Bug#8804).
20768
20769 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20770
20771 * startup.el (argi): Declare as global variable (bug#9275).
20772
20773 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20774
20775 * subr.el (string-mark-left-to-right): Search the entire string
20776 for RTL script, not just the terminating character. Doc fix.
20777
20778 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20779
20780 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20781 New function.
20782 (js--regexp-literal, js-syntax-propertize-function): Remove.
20783 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20784 (js-mode-map): Don't rebind electric keys.
20785 (js-insert-and-indent): Remove.
20786 (js-mode): Setup electric-layout and electric-indent instead.
20787
20788 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20789
20790 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20791
20792 * epa.el (epa-progress-callback-function): Fix the logic of
20793 displaying progress.
20794 * epa-file.el (epa-file-insert-file-contents): Make progress
20795 display more user-friendly.
20796 (epa-file-write-region): Ditto.
20797
20798 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20799
20800 * subr.el (string-mark-left-to-right): New function.
20801
20802 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20803 Use string-mark-left-to-right.
20804 (list-buffers-noselect): Caller changed.
20805
20806 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20807 Use string-mark-left-to-right.
20808 (tabulated-list-print): Recenter after moving point.
20809
20810 2011-08-10 Juri Linkov <juri@jurta.org>
20811
20812 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20813 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20814 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20815
20816 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20817
20818 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20819 (Bug#7554).
20820
20821 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20822
20823 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20824 character. (Bug#6594)
20825
20826 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20827
20828 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20829 (image-dired--with-db-file): New macro.
20830 (image-dired-write-tags, image-dired-remove-tag)
20831 (image-dired-create-gallery-lists, image-dired-write-comments)
20832 (image-dired-get-comment, image-dired-mark-tagged-files)
20833 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20834 (image-dired-gallery-generate): Use insert-file-contents.
20835
20836 * time.el (display-time-world-list, display-time-world-display):
20837 * time-stamp.el (time-stamp-string):
20838 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20839 set-time-zone-rule (Bug#7337).
20840
20841 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20842
20843 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20844 (epg-error-to-string, epg-errors-to-string): New function.
20845 (epg-wait-for-completion): Reverse errors list.
20846 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20847 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20848 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20849 (epg-sign-keys, epg-generate-key-from-file)
20850 (epg-generate-key-from-string): Format errors by using
20851 epg-errors-to-string (bug#9255).
20852 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20853
20854 2011-08-07 Juri Linkov <juri@jurta.org>
20855
20856 * faces.el (list-faces-display): Remove extra angle bracket
20857 from `help-mode-map'.
20858
20859 * info.el (Info-history-toc-nodes): Doc fix.
20860
20861 * longlines.el (longlines-mode): Doc fix.
20862
20863 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20864
20865 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20866 of statements and in a few more cases (bug#9183).
20867
20868 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20869 New functions.
20870 (cl-transform-lambda): Use them (bug#9239).
20871
20872 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20873
20874 * window.el (display-buffer-same-window)
20875 (display-buffer-same-frame, display-buffer-other-window)
20876 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20877 (pop-to-buffer-other-window)
20878 (pop-to-buffer-same-frame-other-window)
20879 (pop-to-buffer-other-frame): Make them defuns.
20880 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20881
20882 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20883
20884 * subr.el (make-composed-keymap): Move from C. Change calling
20885 convention, and improve docstring to bring attention to a subtle point.
20886 * minibuffer.el (completing-read-default): Adjust accordingly.
20887
20888 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20889
20890 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20891 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20892
20893 * net/trampver.el: Update release number.
20894
20895 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20896
20897 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20898 "in" (bug#9190).
20899
20900 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20901
20902 * mail/sendmail.el (sendmail-query-once): Restore the current
20903 buffer after querying (bug#9074).
20904
20905 * dired.el (dired-flagged): Use different faces for marked and
20906 flagged files (bug#6117).
20907
20908 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20909 (bug#4433).
20910
20911 * ido.el (ido-mode): Switch off the message if called
20912 non-interactively.
20913
20914 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20915 before 587, since it appears that that's more likely to work for
20916 more people.
20917
20918 * cus-edit.el (custom-file): When running under emacs -q, always
20919 refuse to save the customizations, even if the .emacs file doesn't
20920 exist.
20921
20922 * info.el: Remove the `Info-beginning-of-buffer' function
20923 (bug#8325).
20924
20925 * net/network-stream.el (network-stream-open-starttls):
20926 Use `starttls-available-p' to see whether starttls.el can be used.
20927
20928 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20929
20930 * window.el (display-buffer-in-window): Don't set dedicated status
20931 of window here (Bug#9215).
20932 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20933 (display-buffer-pop-up-side-window)
20934 (display-buffer-in-side-window): Set dedicated status of window here.
20935
20936 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20937
20938 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20939 before binding generated-autoload-file.
20940
20941 2011-08-01 Deniz Dogan <deniz@dogan.se>
20942
20943 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20944
20945 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20946
20947 Sync with Tramp 2.2.2.
20948
20949 * net/trampver.el: Update release number.
20950
20951 2011-07-30 Juri Linkov <juri@jurta.org>
20952
20953 * dired-aux.el (dired-touch-initial): Remove function.
20954 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20955 current time, and `default' to the last modification time of the
20956 current marked file (bug#6887).
20957
20958 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20959
20960 * simple.el (goto-line): Use string-to-number to provide a
20961 numeric argument to read-number (bug#9163).
20962
20963 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20964
20965 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20966 connection process, it could be nil.
20967
20968 2011-07-27 Leo Liu <sdl.web@gmail.com>
20969
20970 Simplify url handling in rcirc-mode.
20971
20972 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20973 (rcirc-browse-url-at-mouse): Remove.
20974 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20975
20976 2011-07-26 Alan Mackenzie <acm@muc.de>
20977
20978 Fontify bitfield declarations properly.
20979
20980 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20981 (c-symbol-chars): Now exported as a lang variable.
20982 (c-not-primitive-type-keywords): New lang variable.
20983
20984 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20985 QT keyword "more" to prevent "more slots: ...." being spuriously
20986 parsed as a bitfield declaration.
20987
20988 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20989 Refactor and enhance to handle bitfield declarations.
20990 (c-punctuation-in): New function.
20991 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20992 declarations properly.
20993
20994 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20995
20996 * calendar/icalendar.el (icalendar--all-events): Take care of
20997 multiple vcalendars in a single file.
20998 (icalendar--convert-float-to-ical): Checkdoc fixes.
20999
21000 2011-07-25 Deniz Dogan <deniz@dogan.se>
21001
21002 * image.el (insert-image): Clarifying docstring.
21003
21004 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21005
21006 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21007 `tramp-send-command-and-check' if there is no error.
21008 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21009
21010 2011-07-22 Alan Mackenzie <acm@muc.de>
21011
21012 Prevent cc-langs.elc being loaded at run time.
21013
21014 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21015 cc-langs.
21016
21017 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21018 "(require 'cc-langs)". Quote a form so it will evaluate at
21019 (cc-mode's) compilation time.
21020
21021 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21022
21023 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21024 loading. (Bug#9114)
21025
21026 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21027
21028 * window.el (display-buffer-pop-up-window)
21029 (display-buffer-pop-up-side-window)
21030 (display-buffer-in-side-window): Call display-buffer-set-height
21031 and display-buffer-set-width after setting the new window's
21032 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21033
21034 2011-07-20 Sam Steingold <sds@gnu.org>
21035
21036 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21037 (etags-tags-included-tables): Call `convert-standard-filename' on
21038 the file names contained in TAGS so that windows Emacs can handle
21039 TAGS files created by cygwin ctags.
21040
21041 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21042
21043 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21044 which apparently didn't work.
21045
21046 2011-07-19 Roland Winkler <winkler@gnu.org>
21047
21048 * proced.el (proced-send-signal): For *Marked Processes* buffer
21049 put point at beginning of buffer.
21050
21051 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21052
21053 * proced.el (proced-format): Make header lines align with the text
21054 (bug#1779).
21055
21056 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21057
21058 * view.el (view-buffer): Allow running in `special' modes if we're
21059 visiting a file (bug#8615).
21060
21061 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21062
21063 * window.el (display-buffer-alist-of-strings-p)
21064 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21065 New functions.
21066 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21067 more accurately.
21068
21069 2011-07-18 Alan Mackenzie <acm@muc.de>
21070
21071 Fontify declarators properly when, e.g., a jit-lock chunk begins
21072 inside a declaration.
21073
21074 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21075
21076 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21077 New function.
21078 (c-complex-decl-matchers): Insert reference to
21079 c-font-lock-enclosing-decls.
21080
21081 * progmodes/cc-engine.el (c-backward-single-comment):
21082 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21083 to nil around calls to (forward-comment -1).
21084
21085 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21086
21087 * image.el (put-image): Doc typo fix.
21088
21089 * progmodes/etags.el (tags-search): Doc typo fix.
21090
21091 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21092 password if we get errors 550 to 554.
21093
21094 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21095
21096 * net/gnutls.el (gnutls-log-level): Remove.
21097
21098 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21099 indentation character (bug#6380).
21100
21101 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21102
21103 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21104 to clarify what the problem is (bug#4291).
21105
21106 * simple.el (current-kill): Clarify what
21107 `interprogram-paste-function' does (bug#7500).
21108 (auto-fill-mode): Document `auto-fill-function' in relation to
21109 `auto-fill-mode' (bug#2470).
21110
21111 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21112
21113 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21114 method if slot is read-only (bug#9035).
21115
21116 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21117
21118 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21119 * window.el (pop-to-buffer): Select window used even if it was
21120 selected before, see discussion of (Bug#8615), (Bug#6954).
21121 Pass argument NORECORD on to select-frame-set-input-focus.
21122
21123 2011-07-15 Glenn Morris <rgm@gnu.org>
21124
21125 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21126 Respect help-form.
21127
21128 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21129
21130 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21131 (gnutls-negotiate): Use it.
21132
21133 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21134
21135 * net/gnutls.el (gnutls-negotiate):
21136 Upcase `gnutls-algorithm-priority'.
21137
21138 2011-07-15 Glenn Morris <rgm@gnu.org>
21139
21140 * jka-compr.el (jka-compr-verbose): Move from here...
21141 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21142 Add missing :version tag.
21143 * info.el: No need to require jka-compr when compiling.
21144
21145 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21146
21147 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21148 (gnutls-negotiate): Use it.
21149
21150 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21151
21152 * info.el (Info-beginning-of-buffer): New command.
21153 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21154 announcing `b' as the key (bug#8325).
21155 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21156
21157 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21158
21159 * international/mule-cmds.el
21160 (describe-specified-language-support): Make the error message
21161 clearer (bug#8905).
21162
21163 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21164
21165 * isearch.el (isearch-barrier): Add a doc string, since it's
21166 mentioned in a function doc string (bug#8678).
21167
21168 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21169
21170 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21171 buffer argument (Bug#9083) and self-identifying label argument.
21172
21173 2011-07-15 Glenn Morris <rgm@gnu.org>
21174
21175 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21176
21177 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21178
21179 * man.el (Man-fontify-manpage): Fix message when formatting the
21180 man page (bug#7929).
21181
21182 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21183
21184 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21185 argument LRM; if non-nil, append an invisible LRM character to the
21186 buffer name.
21187 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21188 last argument non-nil, when formatting buffer names.
21189 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21190 paragraph direction.
21191
21192 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21193
21194 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21195 the man page name (bug#7929).
21196
21197 * image.el (put-image): Mention the `put-image' overlay property
21198 (bug#7834).
21199
21200 * scroll-bar.el (set-scroll-bar-mode): Mention that
21201 `scroll-bar-mode' lists the values (bug#7772).
21202
21203 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21204 command (bug#7729).
21205
21206 * rect.el (apply-on-rectangle): Return the point after the last
21207 operation.
21208 (string-rectangle): Go to the point after the last operation
21209 (bug#7522).
21210
21211 * printing.el (pr-toggle-region): Clarify the documentation
21212 slightly (bug#7493).
21213
21214 * time.el (display-time-update):
21215 Allow `display-time-mail-function' to return nil (bug#7158).
21216 Fix suggested by Detlev Zundel.
21217
21218 * vc/diff.el (diff): Clarify the order the file names are read
21219 (bug#7111).
21220
21221 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21222 the doc string (bug#7015).
21223
21224 * font-lock.el (font-lock-maximum-decoration): Mention what
21225 numeric levels mean (bug#6935).
21226
21227 * startup.el (initial-buffer-choice): Don't mention the `none'
21228 selection, which is against policy.
21229
21230 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21231
21232 * window.el (display-buffer-normalize-special):
21233 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21234
21235 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21236
21237 * subr.el (version<, version<=, version=): Mention "-CVS" and
21238 "-12345" alpha version numbers.
21239
21240 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21241
21242 * bindings.el: Add advertised binding for set-mark-command
21243 (Bug#5772).
21244
21245 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21246
21247 * bindings.el (mode-line-other-buffer):
21248 * bookmark.el (bookmark-bmenu-2-window):
21249 * bs.el (bs-cycle-next, bs-cycle-previous):
21250 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21251 switch-to-buffer.
21252
21253 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21254 Delete.
21255
21256 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21257
21258 * follow.el (follow-debug-message, follow-redisplay):
21259 * jka-cmpr-hook.el (with-auto-compression-mode):
21260 Fix typos in docstrings.
21261
21262 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21263
21264 * subr.el (with-silent-modifications): Clarify somewhat what the
21265 macro inhibits (bug#6525).
21266
21267 * simple.el (eval-expression): Note what it does if called
21268 interactively (bug#6495).
21269
21270 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21271
21272 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21273 Use pop-to-buffer buffer-or-name if it is nil.
21274
21275 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21276 Remove switch-to-buffer.
21277
21278 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21279
21280 * files.el (make-directory): Clarify that an error will be raised
21281 if there's an error (bug#6397).
21282
21283 * startup.el (initial-buffer-choice): Add `none' as a choice
21284 (bug#6234).
21285
21286 * subr.el (add-hook): Clarify section about buffer-local hooks
21287 (bug#6218).
21288
21289 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21290
21291 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21292
21293 * tabify.el (untabify): Preserve the current column so that point
21294 doesn't move (bug#6032).
21295
21296 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21297
21298 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21299 Rewrite to avoid awkward possessive "s" (bug#5986).
21300
21301 2011-07-13 Glenn Morris <rgm@gnu.org>
21302
21303 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21304 (dired-insert-directory): Give a message the first time
21305 if ls is found not to support --dired.
21306
21307 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21308
21309 * simple.el (toggle-truncate-lines): Clarify what is toggled
21310 (bug#5580). Text by Drew Adams.
21311
21312 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21313
21314 * simple.el (blink-matching-open): Make the error message from the
21315 last change less verbose.
21316
21317 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21318
21319 * font-lock.el (font-lock-comment-face): Use the high contrast
21320 "yellow" color for font-lock-comment-face on low color terminals
21321 using a dark background color (bug#4221).
21322
21323 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21324
21325 * dired.el (dired-insert-set-properties): Make the doc string
21326 reflect what it does now (bug#5325).
21327
21328 * simple.el (blink-matching-open): Say that we were unable to find
21329 the match within the limit, if we're limited (bug#5122).
21330
21331 * international/mule-cmds.el (prefer-coding-system): Add an
21332 example (bug#4869).
21333
21334 * progmodes/etags.el (tags-search): Document `file-list-form'
21335 (bug#4731).
21336
21337 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21338
21339 * net/browse-url.el (browse-url-default-browser)
21340 (browse-url-browser-function): Make the default browser choice a
21341 bit more logical (bug#4300). Also clean up the doc string.
21342
21343 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21344
21345 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21346 binary endings (bug#4440).
21347
21348 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21349
21350 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21351 which can be pretty annoying (bug#8971).
21352
21353 * jka-compr.el (jka-compr-verbose): New variable, and use
21354 throughout (bug#8971).
21355
21356 * info.el (Info-find-file): Fall back on the installation
21357 directory if we can't find the info node anywhere else.
21358
21359 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21360
21361 * vc/vc.el (vc-revert-file):
21362 Don't set file time-stamp in the past. (Bug#5181)
21363
21364 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21365
21366 * files.el (after-find-file): Give a better error message when
21367 trying to find a symlink that points to a file that doesn't exist
21368 (bug#4398).
21369
21370 * progmodes/cc-vars.el: Remove (probably) misleading comment
21371 (bug#4396).
21372
21373 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21374
21375 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21376
21377 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21378
21379 * mouse-sel.el: Hack restoring functionality, while keeping
21380 compatibility with 2010-07-03 changes to mouse selection.
21381 (mouse-sel-primary-overlay): New var.
21382 (mouse-sel-selection-alist): Use it.
21383 (mouse-sel-mode): Doc fix; remove points that are default features
21384 of mouse.el.
21385
21386 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21387
21388 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21389 Fix previous fix (bug#2490).
21390
21391 2011-07-12 Roland Winkler <winkler@gnu.org>
21392
21393 * textmodes/bibtex.el (bibtex-initialize):
21394 Use pop-to-buffer-same-window.
21395 (bibtex-search-entries): Fix interactive call.
21396
21397 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21398
21399 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21400 Fontise bytecomp Error lines more correctly (bug#2490).
21401 Fix suggested by Johan Bockgård.
21402
21403 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21404
21405 * dired-x.el (dired-guess-default): Use `delete-dups'.
21406
21407 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21408
21409 * dired.el (dired-mark-prompt):
21410 * dired-aux.el (dired-read-shell-command): Doc fix.
21411
21412 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21413
21414 * mail/sendmail.el (sendmail-query-once):
21415 Use `customize-save-variable' unconditionally, now that it works under
21416 emacs -Q.
21417
21418 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21419
21420 * cus-edit.el (custom-file): Take an optional no-error variable.
21421 (customize-save-variable): Set the variable, and give a warning if
21422 running under "emacs -q".
21423
21424 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21425
21426 * loadhist.el (unload-feature-special-hooks):
21427 Add `auto-coding-functions', `fill-nobreak-predicate' and
21428 `find-directory-functions' (bug#5327).
21429
21430 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21431
21432 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21433
21434 * cus-edit.el (custom-guess-name-alist): -alist variables should
21435 use the `alist' type (bug#3120). Suggested by Drew Adams.
21436
21437 * printing.el: Add documentation to all the `pr-toggle-' commands.
21438
21439 2011-07-11 Leo Liu <sdl.web@gmail.com>
21440
21441 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21442 backends where it makes sense (bug#2623).
21443
21444 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21445
21446 * dired-x.el (dired-guess-default): Remove duplicate shell command
21447 entries (bug#2028).
21448 (dired-guess-default): Fix grammar in doc string (bug#2028).
21449 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21450
21451 * subr.el (remove-duplicates): New conveniency function.
21452
21453 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21454
21455 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21456 (bug#1526).
21457
21458 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21459
21460 * window.el (display-buffer-normalize-default): Don't invert
21461 meaning of even-window-heights. Reported by Eli Zaretskii
21462 <eliz@gnu.org>.
21463
21464 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21465
21466 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21467
21468 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21469
21470 * window.el (display-buffer): Fix arguments to
21471 display-buffer-reuse-window in last change.
21472
21473 * faces.el (link): Use a less saturated blue on light backgrounds.
21474
21475 * startup.el (fancy-startup-text, fancy-about-text)
21476 (fancy-startup-tail): Use font-lock faces, for background safety.
21477
21478 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21479
21480 * emulation/viper-cmd.el (viper-change-state-to-vi):
21481 Limit triggering of abbrev expansion (Bug#9038).
21482
21483 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21484
21485 * window.el (display-buffer-default-specifiers): Remove.
21486 (display-buffer-macro-specifiers): Remove default specifiers.
21487 (display-buffer-alist): Default to nil.
21488 (display-buffer-reuse-window): New optional argument other-window.
21489 (display-buffer-pop-up-window): Allow splitting internal
21490 windows. Check whether a live window was created.
21491 (display-buffer-other-window-means-other-frame)
21492 (display-buffer-normalize-arguments): Rename to
21493 display-buffer-normalize-argument and rewrite. Set the
21494 other-window specifier.
21495 (display-buffer-normalize-special): New function.
21496 (display-buffer-normalize-options): Rename to
21497 display-buffer-normalize-default and rewrite.
21498 (display-buffer-normalize-options-inhibit): Remove.
21499 (display-buffer-normalize-specifiers): Rewrite.
21500 (display-buffer): Process other-window specifier and call
21501 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21502 more faithfully.
21503 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21504 (display-buffer-alist-set): Don't handle 'unset default values.
21505 (display-buffer-in-window, display-buffer-alist-set):
21506 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21507 <tassilo@member.fsf.org>.
21508
21509 2011-07-09 Leo Liu <sdl.web@gmail.com>
21510
21511 * register.el (insert-register): Restore accidental change on
21512 2011-06-26. (Bug#9028)
21513
21514 2011-07-09 Glenn Morris <rgm@gnu.org>
21515
21516 * subr.el (remq): Handle the empty list. (Bug#9024)
21517
21518 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21519
21520 * mail/sendmail.el (send-mail-function): No longer delay custom
21521 initialization.
21522 * custom.el (custom-initialize-delay): Doc fix.
21523
21524 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21525
21526 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21527
21528 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21529
21530 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21531 human-friendly prompt.
21532
21533 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21534
21535 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21536 provided by a particular plugin.
21537
21538 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21539
21540 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21541 save customizations (with "emacs -Q"), just set the variable
21542 instead of erroring out.
21543
21544 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21545
21546 2011-07-08 Juri Linkov <juri@jurta.org>
21547
21548 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21549 (archive-zip-update-case): Use 7z if found by `executable-find'.
21550 The order of searching the available programs is the same as in
21551 `archive-zip-extract' (bug#8968).
21552
21553 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21554
21555 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21556 (menu-bar-options-menu): Tweak descriptions.
21557
21558 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21559
21560 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21561 menu items into verb phrases (bug#1421). Also refill to fit under
21562 80 columns.
21563
21564 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21565
21566 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21567 (Info-read-node-name): Doc fix (Bug#1084).
21568
21569 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21570 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21571 (end-of-sexp, beginning-of-sexp)
21572 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21573 (forward-symbol, forward-same-syntax, word-at-point)
21574 (sentence-at-point): Doc fix (Bug#1144).
21575
21576 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21577
21578 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21579 should cover it (bug#1281).
21580
21581 * cus-edit.el (custom-show): Mark as obsolete.
21582
21583 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21584 negotiation fails, then possibly try again with a non-encrypted
21585 connection (bug#9017).
21586
21587 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21588 be used.
21589
21590 2011-07-07 Richard Stallman <rms@gnu.org>
21591
21592 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21593 property, and handle its changed format.
21594 Look for the correct line number.
21595 Use file's line contents (but not past first =) to find
21596 correct line in message.
21597
21598 2011-07-07 Kenichi Handa <handa@m17n.org>
21599
21600 * international/characters.el (build-unicode-category-table):
21601 Delete it.
21602 (unicode-category-table): Set it by unicode-property-table-internal.
21603
21604 * international/mule-cmds.el (char-code-property-alist): Move to
21605 to src/chartab.c.
21606 (get-char-code-property): Call unicode-property-table-internal to
21607 load a file. Call get-unicode-property-internal where necessary.
21608 (put-char-code-property): Call unicode-property-table-internal to
21609 load a file. Call put-unicode-property-internal where necessary.
21610 put-unicode-property-internal where necessary.
21611 (char-code-property-description):
21612 Call unicode-property-table-internal to load a file.
21613
21614 * international/charprop.el:
21615 * international/uni-bidi.el:
21616 * international/uni-category.el:
21617 * international/uni-combining.el:
21618 * international/uni-comment.el:
21619 * international/uni-decimal.el:
21620 * international/uni-decomposition.el:
21621 * international/uni-digit.el:
21622 * international/uni-lowercase.el:
21623 * international/uni-mirrored.el:
21624 * international/uni-name.el:
21625 * international/uni-numeric.el:
21626 * international/uni-old-name.el:
21627 * international/uni-titlecase.el:
21628 * international/uni-uppercase.el: Regenerate.
21629
21630 * loadup.el: Load international/charprop.el before
21631 international/characters.
21632
21633 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21634
21635 * window.el (next-buffer, previous-buffer): Signal an error if
21636 called from a minibuffer window.
21637
21638 * bindings.el: Revert 2011-07-04 change.
21639
21640 2011-07-06 Richard Stallman <rms@gnu.org>
21641
21642 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21643 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21644 Treat markers like ints.
21645 (rmail-mime-entity): Doc fix.
21646
21647 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21648
21649 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21650 defcustom again for backwards compatibility.
21651
21652 * simple.el (shell-command-on-region): Fill.
21653
21654 * dired-aux.el (dired-kill-line): Add a doc string.
21655
21656 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21657 to "\\sw\\|\\s_" (bug#358).
21658
21659 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21660 (dired-unmark-backward): Ditto.
21661 (dired-flag-backup-files): Ditto.
21662
21663 * dired-x.el (dired-mark-sexp): Ditto.
21664
21665 2011-07-06 Richard Stallman <rms@gnu.org>
21666
21667 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21668 (rmail-mime-entity): New arg TRUNCATED.
21669 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21670 New functions.
21671 (rmail-mime-save): Warn if entity is truncated.
21672 (rmail-mime-toggle-hidden): Likewise, for showing.
21673 (rmail-mime-process-multipart): Record when an entity is truncated.
21674
21675 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21676 if ENTITY is a string.
21677
21678 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21679
21680 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21681 of faces when `M-C-x'-ing their definitions (bug#8378).
21682 Also clean up the code slightly.
21683
21684 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21685 because that makes the colors go away.
21686
21687 * mail/sendmail.el (send-mail-function): Change the default to
21688 `sendmail-query-once'.
21689 (sendmail-query-once): Add an autoload cookie.
21690
21691 * net/network-stream.el (network-stream-open-starttls): Try using
21692 a plain connection even if the server offered STARTTLS, and we
21693 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21694 capability. This should make smtpmail.el work in slightly more
21695 configurations.
21696
21697 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21698
21699 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21700 New defun.
21701 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21702
21703 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21704
21705 * progmodes/sql.el: Version 3.0
21706 (sql-product-alist): Add product :completion-object,
21707 :completion-column, and :statement attributes.
21708 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21709 (sql-mode-syntax-table): Mark all punctuation.
21710 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21711 ansi keywords.
21712 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21713 (sql-mode-oracle-font-lock-keywords): Improve.
21714 (sql-oracle-show-reserved-words): New function for development.
21715 (sql-product-font-lock): Simplify for source code buffers.
21716 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21717 New functions.
21718 (sql-highlight-product): Set product specific syntax table.
21719 (sql-mode-map): Add statement movement functions.
21720 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21721 New variable.
21722 (sql-statement-regexp, sql-beginning-of-statement)
21723 (sql-end-of-statement, sql-signum): New functions.
21724 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21725 (sql-show-sqli-buffer): Bug fix.
21726 (sql-interactive-mode): Store connection data as buffer local.
21727 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21728 with sql-interactive-mode.
21729 (sql-save-connection): Save buffer local settings.
21730 (sql-connection-menu-filter): Change menu entry name.
21731 (sql-product-interactive): Bug fix.
21732 (sql-preoutput-hold): New variable.
21733 (sql-interactive-remove-continuation-prompt): Bug fixes.
21734 (sql-debug-redirect): New variable.
21735 (sql-str-literal): New function.
21736 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21737 Redesign.
21738 (sql-oracle-save-settings, sql-oracle-restore-settings)
21739 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21740 (sql-completion-object, sql-completion-column)
21741 (sql-completion-sqlbuf): New variables.
21742 (sql-build-completions-1, sql-build-completions)
21743 (sql-try-completion): New functions.
21744 (sql-read-table-name): Use them.
21745 (sql-contains-names): New buffer local variable.
21746 (sql-list-all, sql-list-table): Use it.
21747 (sql-oracle-completion-types): New variable.
21748 (sql-oracle-completion-object, sql-sqlite-completion-object)
21749 (sql-postgres-completion-object): New functions.
21750
21751 2011-07-06 Glenn Morris <rgm@gnu.org>
21752
21753 * window.el (pop-to-buffer): Doc fix.
21754
21755 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21756
21757 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21758
21759 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21760
21761 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21762
21763 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21764
21765 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21766
21767 * button.el (button): Inherit from link face. Suggested by Dan
21768 Nicolaescu.
21769
21770 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21771
21772 * progmodes/gdb-mi.el: Fit in 80 columns.
21773 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21774 switch-to-buffer.
21775
21776 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21777 if imenu is simply not configured (bug#8941).
21778
21779 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21780
21781 * allout.el (allout-post-undo-hook): New allout outline-change
21782 event hook to signal undo activity.
21783 (allout-post-command-business): Run allout-post-undo-hook if an
21784 undo just occurred.
21785 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21786 * allout-widgets.el (allout-widgets-after-undo-function):
21787 Ensure the integrity of the current item's decoration after it has been
21788 in the vicinity of an undo.
21789 (allout-widgets-mode): Include allout-widgets-after-undo-function
21790 on the new allout-post-undo-hook.
21791
21792 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21793
21794 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21795 Let define-derived-mode define it.
21796 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21797 cycles of abbrev-table inheritance (bug#8998).
21798
21799 2011-07-05 Roland Winkler <winkler@gnu.org>
21800
21801 * textmodes/bibtex.el: Add support for biblatex.
21802 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21803 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21804 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21805 (bibtex-entry-alist, bibtex-field-alist): New variables.
21806 (bibtex-entry-field-alist): Obsolete alias for
21807 bibtex-BibTeX-entry-alist.
21808 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21809 (bibtex-set-dialect): New command.
21810 (bibtex-entry-type, bibtex-entry-head)
21811 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21812 Bind via bibtex-set-dialect.
21813 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21814 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21815 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21816 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21817 Define via bibtex-set-dialect.
21818 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21819 Obey bibtex-no-opt-remove-re.
21820 (bibtex-vec-push, bibtex-vec-incr): New functions.
21821 (bibtex-format-entry, bibtex-field-list)
21822 (bibtex-print-help-message, bibtex-validate)
21823 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21824
21825 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21826
21827 * progmodes/compile.el (compilation-goto-locus):
21828 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21829 * bs.el (bs-cycle-next, bs-cycle-previous):
21830 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21831 * bindings.el (mode-line-other-buffer):
21832 * autoinsert.el (auto-insert):
21833 * arc-mode.el (archive-extract):
21834 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21835
21836 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21837
21838 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21839 Fix check of `emacs-lock-unlockable-modes'.
21840 Coerce true values of `emacs-lock--try-unlocking' to t.
21841
21842 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21843
21844 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21845 * emacs-lock.el: New file.
21846
21847 2011-07-05 Julien Danjou <julien@danjou.info>
21848
21849 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21850 than `boundp' to check if face is set.
21851
21852 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21853
21854 * register.el (registerv-make):
21855 * window.el (window-min-height): Fix typos in docstrings.
21856
21857 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21858
21859 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21860 Update doc string.
21861
21862 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21863
21864 * server.el (server-execute): Catch quit and call
21865 `server-return-error' to pass the error back to emacsclient and
21866 close the connection (bug#8942).
21867
21868 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21869
21870 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21871 insecure exception for current topic. Also note that auto-saves
21872 are handled differently.
21873
21874 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21875 State variables for tracking auto-save inhibition situation.
21876
21877 (allout-write-contents-hook-handler): Rename from
21878 'allout-write-file-hook-handler', and describe how it depends on
21879 write-contents-functions sensitivity to non-nil value to prevent
21880 file write.
21881
21882 (allout-auto-save-hook-handler): Remove. auto-save does not check
21883 this in individual buffers, only in the starting buffer, so this
21884 is not the right way for us to inhibit auto-save in a buffer
21885 according to its condition.
21886
21887 (allout-mode): Use new allout-write-contents-hook-handler, and
21888 only with write-contents-functions. Remove auto-save provisions -
21889 they're implemented elsewhere.
21890
21891 (allout-before-change-handler): If undo is in progress, note that
21892 for attention of allout-post-command-business.
21893
21894 (allout-post-command-business): If the command we're following was
21895 an undo, check for change in the status of encrypted items and
21896 adjust auto-save inhibitions accordingly.
21897
21898 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21899 according to whether there are or aren't any plain-text topics
21900 pending encryption.
21901
21902 (allout-inhibit-auto-save-info-for-decryption):
21903 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21904 if there are plain-text topics pending encryption.
21905
21906 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21907 buffer-saved-size and some allout state to not inhibit auto-saves
21908 if there are no longer any plain-text topics pending encryption.
21909
21910 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21911 No longer provide for exemption of the current topic.
21912
21913 2011-07-04 Juri Linkov <juri@jurta.org>
21914
21915 Add 7z operations to delete and save changed members (bug#8968).
21916 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21917 New defcustoms.
21918 (archive-7z-write-file-member): New function.
21919 (archive-7z-summarize): Fix the number of dashes in the
21920 listing output.
21921
21922 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21923
21924 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21925 (bug#8958).
21926
21927 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21928
21929 * bindings.el: Ignore next-buffer and previous-buffer in
21930 minibuffer-local-map.
21931
21932 * font-lock.el (font-lock-builtin-face): Change light background
21933 color to dark slate blue (Bug#6693).
21934
21935 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21936
21937 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21938
21939 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21940
21941 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21942 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21943 Add switch-to-buffer.
21944
21945 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21946
21947 * isearch.el (isearch-search-fun-function): Clarify further the
21948 meaning of the function returned.
21949
21950 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21951
21952 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21953
21954 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21955 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21956 Use it.
21957 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21958 `tramp-default-remote-path' does not exist.
21959 (tramp-send-command-and-read): New optional argument NOERROR.
21960 (tramp-open-connection-setup-interactive-shell)
21961 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21962 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21963 (tramp-process-sentinel): Flush also process' connection property.
21964 (tramp-sh-handle-start-file-process): Do not set process
21965 sentinel. It is done now ...
21966 (tramp-maybe-open-connection): ... here. (Bug#8929)
21967
21968 2011-07-04 MON KEY <monkey@sandpframing.com>
21969
21970 * play/animate.el (animate-string): Doc fixes and allow changing
21971 the buffer name (bug#5417).
21972
21973 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21974
21975 * play/animate.el (animation-buffer-name): Rename from *animate*.
21976
21977 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21978
21979 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21980 This is simpler and helps future-proof the code.
21981 (timer-until): Use time-subtract and float-time.
21982 (timer--time-less-p): Use time-less-p.
21983
21984 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21985
21986 * type-break.el (timep): Use the value of `float-time' to avoid a
21987 byte-compiler warning.
21988
21989 * server.el (server-eval-and-print): Return any result, even nil.
21990
21991 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21992
21993 * type-break.el: Accept time formats that the builtins accept.
21994 (timep, type-break-time-difference): Accept any format that
21995 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21996 This is simpler and helps future-proof the code.
21997 (type-break-time-difference): Round rather than ignoring
21998 subseconds components.
21999
22000 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22001
22002 * info.el (Info-apropos-matches): Make non-interactive, since it
22003 doesn't seem to do anything useful as a command (bug#8829).
22004
22005 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22006
22007 * frame.el (frame-background-mode, frame-set-background-mode):
22008 Move from faces.el.
22009 (frame-default-terminal-background): New function.
22010
22011 * custom.el (custom-push-theme): Don't record faces in `changed'
22012 theme; this doesn't work correctly for per-frame face settings.
22013 (disable-theme): Use face-set-after-frame-default to reset faces.
22014 (custom--frame-color-default): New function.
22015
22016 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22017
22018 * dired.el (dired-flagging-regexp): Remove unused variable
22019 (bug#8769).
22020
22021 2011-03-29 Kevin Ryde <user42@zip.com.au>
22022
22023 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22024 `perl-Test2' extend to match possible "fail #N" rep count
22025 (bug#8377).
22026
22027 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22028
22029 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22030 `smtpmail-via-smtp' now returns the error instead of nil.
22031
22032 * isearch.el (isearch-search-fun-function): Clarify the doc string
22033 (bug#8101).
22034
22035 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22036
22037 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22038 unnecessary spaces (bug#8987).
22039
22040 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22041
22042 * net/network-stream.el (open-network-stream): Use the
22043 :end-of-capability command thoughout.
22044
22045 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22046
22047 * net/network-stream.el (open-network-stream): Add the
22048 :end-of-capability command parameter, used by pop3.el.
22049
22050 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22051
22052 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22053
22054 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22055 for list)" (bug#6475).
22056
22057 * files.el (file-expand-wildcards): Ignore non-readable
22058 sub-directories while trying to find matches instead of signaling
22059 an error (bug#6297).
22060
22061 * man.el (Man-reference-regexp): Allow matching possible
22062 word-wrapped references (bug#6289).
22063
22064 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22065 for consistency with the other vc buffers (bug#6197).
22066 (vc-checkin): Ditto.
22067
22068 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22069
22070 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22071
22072 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22073
22074 * custom.el (defcustom): Clarify that :set is only used in the
22075 Customize user interface (bug#6089).
22076
22077 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22078 associated with a file, refuse to run instead of erroring out
22079 (bug#6084).
22080
22081 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22082 the doc string, since it appears that using `fill-column' always
22083 controls the width (bug#7845).
22084
22085 * simple.el (shell-command-on-region): Say where the error output
22086 went if `shell-command-default-error-buffer' is set (bug#6857).
22087
22088 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22089
22090 * allout.el (allout-yank-processing): Adjust cursor position for
22091 backwards-deleted space.
22092
22093 (allout-rebullet-heading): Register changes with
22094 allout-exposure-changed-hook, so the modified topic is properly
22095 decorated.
22096
22097 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22098
22099 * minibuffer.el (completion-in-region): Document PREDICATE
22100 (bug#7136).
22101
22102 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22103 of keyword/argument pairs (bug#6904).
22104
22105 * replace.el (multi-occur):
22106 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22107
22108 2011-07-02 Drew Adams <drew.adams@oracle.com>
22109
22110 * dired.el (dired-mark-if): Make the message about whether it's
22111 marking or unmarking clearer (bug#8523).
22112
22113 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22114
22115 * disp-table.el (display-table-print-array): New function.
22116 (describe-display-table): Use it to print the vectors more pretty
22117 (Bug#8859).
22118
22119 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22120
22121 * window.el (window-state-get-1): Don't assign clone numbers.
22122 Add clone-of item to list of window parameters.
22123 (window-state-put-2): Don't process clone numbers.
22124 (display-buffer-alist): Fix doc-string.
22125
22126 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22127
22128 * subr.el (remq): Don't allocate if it's not needed.
22129 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22130 (keymap--merge-bindings): New functions.
22131 (keymap-canonicalize): Use them to refine the canonicalization.
22132 * minibuffer.el (minibuffer-local-completion-map)
22133 (minibuffer-local-must-match-map): Move initialization from C.
22134 (minibuffer-local-filename-completion-map): Move initialization from C;
22135 don't inherit from anything here.
22136 (minibuffer-local-filename-must-match-map): Make obsolete.
22137 (completing-read-default): Use make-composed-keymap to combine
22138 minibuffer-local-filename-completion-map with either
22139 minibuffer-local-must-match-map or
22140 minibuffer-local-filename-completion-map.
22141
22142 2011-07-01 Glenn Morris <rgm@gnu.org>
22143
22144 * type-break.el (type-break-time-sum): Use dolist.
22145
22146 * textmodes/flyspell.el (flyspell-word-search-backward):
22147 Replace CL function.
22148
22149 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22150
22151 * mouse.el (mouse--strip-first-event): New function.
22152 (function-key-map): Use it to map fringe clicks to normal clicks
22153 by default.
22154
22155 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22156 (vc-bzr-revision-completion-table): Add support for annotate and date.
22157
22158 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22159 inherit from parent.
22160
22161 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22162
22163 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22164 (dired-show-file-type): Doc fixup (bug#8818).
22165
22166 * dired.el (dired-mode): Fix up the doc string as suggested by
22167 Drew Adams (bug#8817).
22168
22169 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22170 cookie, since the manual says that it should be possible to add
22171 this function to `find-file-hook' (bug#8709).
22172
22173 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22174
22175 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22176 here. Noted Ted Zlatanov as the maintainer.
22177 (cfengine-common-settings, cfengine-common-syntax): New functions
22178 to set up common things between `cfengine-mode' and
22179 `cfengine3-mode'.
22180 (cfengine3-mode): New mode.
22181 (cfengine3-defuns cfengine3-defuns-regex
22182 (cfengine3-class-selector-regex cfengine3-category-regex)
22183 (cfengine3-vartypes cfengine3-font-lock-keywords)
22184 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22185 (cfengine3-indent-line): Add from cfengine3.el.
22186
22187 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22188
22189 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22190
22191 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22192
22193 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22194
22195 * window.el (same-window-buffer-names, same-window-regexps)
22196 (same-window-p, special-display-frame-alist)
22197 (special-display-popup-frame, special-display-function)
22198 (special-display-buffer-names, special-display-regexps)
22199 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22200 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22201 (split-window-preferred-function, split-height-threshold)
22202 (split-width-threshold, even-window-heights)
22203 (display-buffer-mark-dedicated, window-splittable-p)
22204 (split-window-sensibly, window-safely-shrinkable-p):
22205 Un-obsolete.
22206 (display-buffer): Don't spread args with function specifier
22207 because special-display-popup-frame won't like it.
22208
22209 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22210
22211 Time-stamp simplifications and fixes.
22212 These improve accuracy slightly, and future-proof the code
22213 against some potential changes to current-time format.
22214
22215 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22216 by using time-since and float-time.
22217
22218 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22219 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22220 + NNN microseconds".
22221
22222 * type-break.el (type-break-time-sum): Rewrite using time-add.
22223
22224 * play/hanoi.el (hanoi-current-time-float): Remove.
22225 All uses replaced by float-time.
22226
22227 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22228 This yields a more-accurate answer.
22229 (rng-time-to-float): Remove; no longer needed.
22230
22231 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22232
22233 * calendar/timeclock.el (timeclock-seconds-to-time):
22234 Defalias to seconds-to-time, since they're the same thing.
22235
22236 * emacs-lisp/elp.el (elp-elapsed-time):
22237 * emacs-lisp/benchmark.el (benchmark-elapse):
22238 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22239
22240 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22241
22242 * window.el (bury-buffer): Don't iconify the only frame.
22243 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22244 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22245
22246 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22247
22248 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22249 Add mouse-yank-primary.
22250
22251 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22252
22253 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22254
22255 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22256
22257 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22258 (find-library-name): Use it to find relative load names when provided
22259 absolute file name (bug#8803).
22260
22261 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22262
22263 * textmodes/flyspell.el (flyspell-word): Consider words that
22264 differ only in case as potential doublons (bug#5687).
22265
22266 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22267 Remove two rather uninteresting debugging-like messages to make
22268 debbugs.el more silent.
22269
22270 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22271 a password-like phrase.
22272
22273 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22274
22275 * progmodes/cc-guess.el: New file.
22276
22277 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22278
22279 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22280 derived from `c-basic-common-init'.
22281
22282 * progmodes/cc-mode.el (top-level): Require cc-guess.
22283 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22284
22285 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22286
22287 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22288
22289 2011-06-30 Alan Mackenzie <acm@muc.de>
22290
22291 * progmodes/cc-engine.el (c-guess-continued-construct):
22292 Correct the handling of template-args-cont, particularly for when font
22293 lock is disabled. Name this case as "CASE G".
22294
22295 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22296
22297 * allout.el (allout-yank-processing): Fix injection of extra space
22298 between bullet and non-whitespace character in first topic when
22299 pasting, ensuring that the actual spacing in the pasted topic
22300 following the bullet char is preserved. This extra space was
22301 causing pasted encrypted topics to get a decrypted status even
22302 when the content was actually still encrypted. Now the decryption
22303 status from before the paste is preserved.
22304
22305 (allout-flag-region): Set all allout overlays so they evaporate
22306 when reduced to zero length (evanescent), to prevent overlay
22307 leakage.
22308
22309 2011-06-30 Glenn Morris <rgm@gnu.org>
22310
22311 * w32-fns.el (w32-charset-info-alist): Declare.
22312
22313 * find-dired.el (find-grep-options): Simplify.
22314
22315 * term/ns-win.el (ns-set-resource): Declare.
22316
22317 * ses.el (row, col): Declare dynamic variables honestly.
22318
22319 * textmodes/reftex-parse.el (index-tags): Declare.
22320
22321 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22322
22323 * cus-edit.el (customize-push-and-save): New function.
22324
22325 * files.el (hack-local-variables-confirm): Use it.
22326
22327 * custom.el (load-theme): New arg NO-CONFIRM.
22328 Use customize-push-and-save (Bug#8720).
22329 (custom-enabled-themes): Doc fix.
22330
22331 * cus-theme.el (customize-create-theme)
22332 (custom-theme-merge-theme): Callers to load-theme changed.
22333
22334 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22335
22336 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22337 short URLs have at least one dot in them (bug #7614).
22338
22339 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22340 nil, because using a pty is apparently too slow (bug #895).
22341
22342 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22343
22344 * mail/sendmail.el (sendmail-query-once): New function.
22345 (sendmail-query-once-function): New variable.
22346
22347 2011-06-29 Glenn Morris <rgm@gnu.org>
22348
22349 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22350
22351 * ses.el (top-level): Require cl when compiling.
22352 (ses-set-localvars): Fix error statement.
22353 Call it at compile time to silence a storm of warnings.
22354
22355 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22356
22357 * window.el (normalize-live-buffer): Rename to
22358 window-normalize-buffer.
22359 (normalize-live-frame): Rename to window-normalize-frame.
22360 (normalize-any-window): Rename to window-normalize-any-window.
22361 (normalize-live-window): Rename to window-normalize-live-window.
22362 (make-window-atom): Rename to window-make-atom.
22363 (window-resize-reset): Rename to window--resize-reset.
22364 (window-resize-reset-1): Rename to window--resize-reset-1.
22365 (resize-mini-window): Rename to window--resize-mini-window.
22366 (resize-subwindows-skip-p): Rename to
22367 window--resize-subwindows-skip-p.
22368 (resize-subwindows-normal): Rename to
22369 window--resize-subwindows-normal.
22370 (resize-subwindows): Rename to window--resize-subwindows.
22371 (resize-other-windows): Rename to window--resize-siblings.
22372 (resize-this-window): Rename to window--resize-this-window.
22373 (resize-root-window): Rename to window--resize-root-window.
22374 (resize-root-window-vertically): Rename to
22375 window--resize-root-window-vertically.
22376 (normalize-buffer-to-display): Rename to
22377 window-normalize-buffer-to-display.
22378 (normalize-buffer-to-switch-to): Rename to
22379 window-normalize-buffer-to-switch-to.
22380 Correspondingly update all callers of the functions listed
22381 above.
22382 (display-buffer-alist, display-buffer-normalize-arguments)
22383 (display-buffer-normalize-options, display-buffer)
22384 (display-buffer-alist-set): Use "function" instead of
22385 "fun-with-args".
22386
22387 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22388
22389 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22390 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22391 debbugs.gnu.org. Mention acknowledgment email.
22392
22393 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22394
22395 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22396 buffer multibyteness, since it shouldn't matter.
22397
22398 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22399
22400 * window.el (display-buffer-in-side-window): Handle dedicated
22401 windows as in display-buffer-reuse-window.
22402 (display-buffer-normalize-alist): Use value of override
22403 specifier.
22404 (display-buffer-normalize-specifiers): Use value of
22405 other-window-means-other-frame specifier.
22406 (display-buffer-alist): Rewrite some texts in widgets.
22407 (display-buffer): Spread arguments when calling function
22408 specified by fun-with-args.
22409
22410 2011-06-28 Deniz Dogan <deniz@dogan.se>
22411
22412 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22413 Unnest `let'.
22414
22415 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22416 selectors (Bug#5732).
22417 (css-proprietary-nmstart-re): Use `regexp-opt'.
22418
22419 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22420
22421 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22422 (eshell-ls-date-format): New defcustom.
22423 (eshell-ls-file): Use it.
22424
22425 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22426
22427 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22428
22429 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22430
22431 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22432 (ange-ftp-make-tmp-name): New arg.
22433 (ange-ftp-file-local-copy): Use it.
22434
22435 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22436
22437 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22438 no-conversion (Bug#8870).
22439
22440 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22441
22442 * window.el (window-right, window-left, window-child)
22443 (window-child-count, window-last-child)
22444 (window-iso-combination-p, walk-window-tree-1)
22445 (window-atom-check-1, window-tree-1, delete-window)
22446 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22447 new naming conventions - window-vchild, window-hchild,
22448 window-next and window-prev are now called window-top-child,
22449 window-left-child, window-next-sibling and window-prev-sibling
22450 respectively.
22451 (resize-window-reset): Rename to window-resize-reset.
22452 (resize-window-reset-1): Rename to window-resize-reset-1.
22453 (resize-window): Rename to window-resize.
22454 (window-min-height, window-min-width)
22455 (resize-mini-window, resize-this-window, resize-root-window)
22456 (resize-root-window-vertically, adjust-window-trailing-edge)
22457 (enlarge-window, shrink-window, maximize-window)
22458 (minimize-window, delete-window, quit-restore-window)
22459 (split-window, balance-windows, balance-windows-area-adjust)
22460 (balance-windows-area, window-state-put-2)
22461 (display-buffer-even-window-sizes, display-buffer-set-height)
22462 (display-buffer-set-width, set-window-text-height)
22463 (fit-window-to-buffer): Rename all "resize-window" prefixed
22464 calls to use the "window-resize" prefix convention.
22465 (display-buffer-alist): Fix symbol for label specifier.
22466 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22467 corresponding specifier.
22468 Reported by Juanma Barranquero <lekktu@gmail.com>.
22469
22470 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22471
22472 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22473 convention.
22474 (ses-call-printer): Does not pass an empty string to formatter when the
22475 cell is empty to keep from barking printer Calc math-format-value.
22476
22477 2011-06-27 Richard Stallman <rms@gnu.org>
22478
22479 * battery.el (battery-mode-line-limit): New variable.
22480 (battery-update): Handle it.
22481
22482 * mail/rmailmm.el (rmail-mime-process-multipart):
22483 Handle truncated messages.
22484
22485 2011-06-27 Glenn Morris <rgm@gnu.org>
22486
22487 * progmodes/flymake.el (flymake-err-line-patterns):
22488 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22489
22490 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22491
22492 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22493 (ses--clean-!, ses--clean-_): New functions.
22494 (ses-range): Add configurability of readout order, and conversion
22495 to Calc vector.
22496
22497 * ses.el (ses-repair-cell-reference-all): New function.
22498 (ses-cell-symbol): Set macro as safe, so that it can be used in
22499 formulas.
22500
22501 * ses.el: Update cycle detection algorithm.
22502 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22503 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22504 (ses-set-localvars): New function.
22505 (ses-make-cell): Add property-list as a cell element.
22506 (ses-cell-property-get-fun, ses-cell-property-get)
22507 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22508 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22509 New functions.
22510 (ses-cell-property-set, ses-cell-property-pop)
22511 (ses-cell-property-get-handle): New macro.
22512 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22513 New aliases, used for code readability.
22514 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22515 cycle detection.
22516 (ses-self-reference-early-detection): New defcustom.
22517 (ses-formula-references): Robustify against self-referring cells.
22518 (ses-mode): Use ses-set-localvars.
22519 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22520 before lauching the update processing.
22521 (ses-initialize-Dijkstra-attempt): New function.
22522 (ses-recalculate-cell): Update for cycle detection based on
22523 Dijkstra algorithm.
22524
22525 * ses.el: Fix commenting and indenting convention.
22526
22527 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22528
22529 * bs.el (bs-cycle-next): Complete last change.
22530
22531 2011-06-27 Drew Adams <drew.adams@oracle.com>
22532
22533 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22534
22535 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22536
22537 * net/network-stream.el (network-stream-open-starttls):
22538 Don't re-get capabilities unless we've reestablished connection.
22539 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22540
22541 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22542 to binary to possibly avoid line encoding issues on Windows (among
22543 other things).
22544
22545 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22546
22547 * net/network-stream.el (open-network-stream): Return an :error
22548 saying what the problem was, if possible.
22549
22550 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22551 server.
22552
22553 * net/network-stream.el (network-stream-open-starttls): If we
22554 wanted to use STARTTLS, and the server offered it, but we weren't
22555 able to because we had no STARTTLS support, then close the connection.
22556 (open-network-stream): Return an :error element, if present.
22557
22558 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22559
22560 * hl-line.el (hl-line-sticky-flag): Doc fix.
22561 (global-hl-line-sticky-flag): New option (Bug#8323).
22562 (global-hl-line-highlight): Obey it.
22563
22564 * vc/vc.el (vc-revert-show-diff): Default to t.
22565
22566 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22567
22568 * allout-widgets.el (allout-widgets-post-command-business):
22569 Stop decorating intermediate isearch matches. They're not being
22570 undecorated when an isearch is continued past, and isearch
22571 automatically collapses them. This leads to "widget leaks", where
22572 decorated items accumulate in collapsed areas. Lines with lots of
22573 hidden widgets can slow down cursor travel, substantially.
22574 Too much complicated machinery would be needed to ensure undecoration,
22575 so we're doing without this nicety.
22576
22577 (allout-widgets-tally-string): Don't try to do a hash-table-count
22578 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22579 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22580 *Messages* when allout-widgets-maintain-tally is t.
22581
22582 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22583
22584 * window.el (display-buffer-normalize-argument): Rename to
22585 display-buffer-normalize-arguments. Handle special meaning of
22586 LABEL argument. Respect special-display-function when popping up
22587 a new frame. Fix code searching for a window showing the buffer
22588 on another frame.
22589 (display-buffer-normalize-specifiers):
22590 Call display-buffer-normalize-arguments.
22591 (display-buffer-in-window): Don't undedicate the window if its
22592 buffer remains the same.
22593 Reported by Drew Adams <drew.adams@oracle.com>.
22594 (display-buffer-alist): Add choice for same-window macro
22595 specfier.
22596 (display-buffer): Mention special meaning of LABEL argument in
22597 doc-string. Fix quoting. Don't pop up a new frame even as
22598 fallback.
22599
22600 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22601
22602 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22603 avoid deleting the current window in some cases (bug#8911).
22604
22605 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22606
22607 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22608 (Bug#8934)
22609
22610 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22611
22612 * net/network-stream.el (network-stream-open-starttls):
22613 Use built-in TLS support if `gnutls-available-p' is true.
22614 (network-stream-open-tls): Ditto.
22615
22616 2011-06-26 Leo Liu <sdl.web@gmail.com>
22617
22618 * register.el (registerv): New struct.
22619 (registerv-make): New function.
22620 (jump-to-register, describe-register-1, insert-register):
22621 Support the jump-func, print-func and insert-func slot of a registerv
22622 struct. (Bug#8415)
22623
22624 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22625
22626 * vc/vc.el (vc-revert-show-diff): New defcustom.
22627 (vc-diff-internal): New arg specifying diff buffer.
22628 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22629 reuse an existing *vc-diff* buffer (Bug#8927).
22630
22631 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22632
22633 2011-06-26 Glenn Morris <rgm@gnu.org>
22634
22635 * progmodes/f90.el (f90-critical-indent): New option.
22636 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22637 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22638 (f90-mode): Doc fix.
22639 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22640 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22641 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22642 (f90-match-end): Handle block, critical.
22643
22644 2011-06-25 Glenn Morris <rgm@gnu.org>
22645
22646 * calendar/diary-lib.el (diary-included-files): Doc fix.
22647 (diary-include-files): New function, extracted from
22648 diary-include-other-diary-files and diary-mark-included-diary-files.
22649 (diary-include-other-diary-files, diary-mark-included-diary-files):
22650 Just call diary-include-files.
22651 (diary-mark-entries): Reset diary-included-files on first call.
22652
22653 * calendar/diary-lib.el (diary-mark-entries)
22654 (diary-mark-included-diary-files):
22655 Visit included diary-files in temp buffers.
22656
22657 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22658 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22659 (f90-start-block-re, f90-imenu-generic-expression)
22660 (f90-looking-at-program-block-start, f90-no-block-limit):
22661 Add support for submodules.
22662
22663 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22664 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22665
22666 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22667
22668 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22669 buffer-file-type before setting its value, to avoid disastrous
22670 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22671
22672 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22673
22674 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22675
22676 * ses.el (ses-unload-function):
22677 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22678
22679 * proced.el (proced-unload-function):
22680 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22681
22682 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22683
22684 * server.el (server-create-window-system-frame): Add parameters arg.
22685 (server-process-filter): Doc fix. Handle frame-parameters.
22686
22687 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22688
22689 Fix bug#8730, bug#8781.
22690
22691 * loadhist.el (unload--set-major-mode): New function.
22692 (unload-feature): Use it.
22693
22694 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22695 (python-unload-function): New function.
22696
22697 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22698
22699 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22700
22701 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22702
22703 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22704 the candidates list.
22705
22706 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22707
22708 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22709
22710 2011-06-23 Richard Stallman <rms@gnu.org>
22711
22712 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22713 (rmail-variables): Set next-error-move-function.
22714 (rmail-what-message): Take argument POS.
22715 (rmail-next-error-move): New function.
22716
22717 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22718
22719 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22720 messages for adjacent non-terminals.
22721
22722 2011-06-23 Richard Stallman <rms@gnu.org>
22723
22724 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22725 (rmail-show-message-1): Preserve buffer modified flag.
22726 (rmail-start-mail): Don't specify use of rmail-mail-return;
22727 that's done by mail-bury now.
22728 (rmail-mail-return): Handle arg NEWBUF.
22729
22730 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22731
22732 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22733 SIZE is a number.
22734
22735 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22736
22737 * window.el (get-lru-window, get-mru-window)
22738 (get-largest-window): Never return a minibuffer window.
22739 (display-buffer-pop-up-window): Fix a bug that could lead to
22740 reusing the minibuffer window.
22741 (display-buffer): Pass original specifier argument to
22742 display-buffer-function instead of the normalized one.
22743 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22744
22745 2011-06-22 Leo Liu <sdl.web@gmail.com>
22746
22747 * minibuffer.el (completing-read-function)
22748 (completing-read-default): Move from minibuf.c.
22749
22750 2011-06-22 Richard Stallman <rms@gnu.org>
22751
22752 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22753 to Rmail even if not started by a special Rmail command.
22754
22755 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22756 Copy the buffer currently showing just one message.
22757
22758 2011-06-22 Roland Winkler <winkler@gnu.org>
22759
22760 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22761 (bibtex-clean-entry): First delete the old key so that a
22762 customized algorithm for generating the new key does not get
22763 confused by the old key.
22764 (bibtex-url): Obey regexp of first step.
22765 (bibtex-search-entries): Do not use add-to-list with local
22766 list-var.
22767
22768 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22769
22770 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22771 stored a user name, then query for the password first, instead of
22772 waiting for SMTP to give an error message and the trying again.
22773
22774 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22775
22776 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22777 BUFFER in call-process.
22778
22779 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22780
22781 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22782 QUIT twice.
22783 (smtpmail-try-auth-methods): Require user name and password from
22784 auth-source.
22785
22786 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22787
22788 * window.el (display-buffer-default-specifiers)
22789 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22790 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22791 (split-window): Normalize SIDE argument (Bug#8916).
22792
22793 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22794 (special-display-frame-alist, special-display-popup-frame):
22795 Remove duplicate declarations. These are now in window.el.
22796
22797 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22798
22799 * mail/smtpmail.el (smtpmail-via-smtp):
22800 Set :use-starttls-if-possible so that we always use STARTTLS if the
22801 server supports it. SMTP servers that support STARTTLS commonly
22802 require it.
22803
22804 * net/network-stream.el (network-stream-open-starttls): Support
22805 upgrading to STARTTLS always, even if we don't have built-in support.
22806 (open-network-stream): Add the :always-query-capabilities keyword.
22807
22808 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22809 upgrades with `open-network-stream', and rely solely on
22810 auth-source for all credentials. Big changes throughout the file,
22811 but in particular:
22812 (smtpmail-auth-credentials): Remove.
22813 (smtpmail-starttls-credentials): Remove.
22814 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22815 MAIL FROM, too.
22816
22817 * net/network-stream.el (network-stream-open-starttls):
22818 Provide support for client certificates both for external and built-in
22819 STARTTLS.
22820 (auth-source): Require.
22821 (open-network-stream): Document the :client-certificate keyword.
22822 (network-stream-certificate): Change cert-cert to cert and
22823 cert-key to key.
22824
22825 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22826
22827 * net/tramp-cache.el (top): Don't load the persistency file when
22828 "emacs -Q" has been called.
22829
22830 2011-06-21 Tim Harper <timcharper@gmail.com>
22831
22832 * term/ns-win.el (ns-initialize-window-system):
22833 Set application-specific `ApplePressAndHoldEnabled' system
22834 resource to NO as it is not yet supported by the NS port.
22835
22836 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22837
22838 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22839 (list-dynamic-libraries): ...not here.
22840
22841 2011-06-21 Leo Liu <sdl.web@gmail.com>
22842
22843 * subr.el (sha1): Implement sha1 using secure-hash.
22844
22845 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22846
22847 * window.el (display-buffer-alist): In default value do not
22848 enforce searching a window on any but the selected frame.
22849 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22850 (display-buffer-select-window): Remove function.
22851 (display-buffer-in-window): When a window on another frame gets
22852 reused, do not select it any more but just raise its frame if
22853 necessary (Bug#8851) and (Bug#8856).
22854 (display-buffer-normalize-options): Handle pop-up-frames related
22855 options more faithfully.
22856 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22857 window if it is on another frame.
22858 (display-buffer-alist, display-buffer-default-specifiers):
22859 Don't make new frame unsplittable by default.
22860 (display-buffer-normalize-argument): Fix doc-string typo and use
22861 'same-frame-other-window instead of 'other-window when associating
22862 with display-buffer-macro-specifiers.
22863
22864 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22865
22866 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22867 New functions.
22868 (5x5-mode-map, 5x5-mode-menu): Bind them.
22869 (5x5-draw-grid): Tweak the solver's rendering.
22870
22871 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22872
22873 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22874 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22875
22876 2011-06-21 Drew Adams <drew.adams@oracle.com>
22877
22878 * menu-bar.el: Use function variable instead of switch-to-buffer.
22879 (menu-bar-select-buffer-function): New variable.
22880 (menu-bar-update-buffers): Use it (bug#8876).
22881
22882 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22883
22884 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22885 variable's status.
22886
22887 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22888
22889 * x-dnd.el (x-dnd-version-from-flags)
22890 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22891 and long as number (Bug#8899).
22892 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22893
22894 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22895
22896 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22897 (completion-try-completion, completion-all-completions): Compute the
22898 metadata argument if it's missing; make it optional (bug#8795).
22899
22900 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22901 (widget-complete): Use new :completion-function property.
22902 (widget-completions-at-point): New function.
22903 (default): Use :completion-function instead of :complete.
22904 (widget-default-completions): Rename from widget-default-complete;
22905 Rewrite.
22906 (widget-string-complete, widget-file-complete, widget-color-complete):
22907 Remove functions.
22908 (file, symbol, function, variable, coding-system, color):
22909 * international/mule-cmds.el (default-input-method, charset)
22910 (language-info-custom-alist):
22911 * cus-edit.el (face): Use new property :completions.
22912
22913 * progmodes/pascal.el (pascal-completions-at-point): New function.
22914 (pascal-mode): Use it.
22915 (pascal-mode-map): Use completion-at-point.
22916 (pascal-toggle-completions): Make obsolete.
22917 (pascal-complete-word, pascal-show-completions):
22918 * progmodes/octave-mod.el (octave-complete-symbol):
22919 Redefine as obsolete alias.
22920 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22921 Signal absence of completion info for old Octave,
22922 (inferior-octave-complete): Redefine as obsolete alias.
22923 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22924 (meta-completions-at-point): Rename from meta-complete-symbol and
22925 adapt it for use on completion-at-point-functions.
22926 (meta-common-mode): Use it.
22927 (meta-looking-at-backward, meta-match-buffer): Remove.
22928 (meta-complete-symbol): Redefine as obsolete alias.
22929 (meta-common-mode-map): Use completion-at-point.
22930 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22931 (makefile-mode-map): Use completion-at-point.
22932 (makefile-completions-at-point): Rename from makefile-complete and
22933 adapt it for use on completion-at-point-functions.
22934 (makefile-mode): Use it.
22935 (makefile-complete): Redefine as obsolete alias.
22936
22937 2011-06-20 Deniz Dogan <deniz@dogan.se>
22938
22939 * net/rcirc.el: Delete trailing whitespaces once and for all.
22940
22941 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22942
22943 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22944
22945 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22946
22947 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22948
22949 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22950
22951 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22952
22953 * window.el (display-buffer-other-window-means-other-frame):
22954 Call display-buffer-normalize-alist.
22955 (display-buffer-normalize-specifiers-1): Rename to
22956 display-buffer-normalize-argument. New argument other-frame.
22957 Rewrite.
22958 (display-buffer-normalize-specifiers-2): Rename to
22959 display-buffer-normalize-options.
22960 (display-buffer-normalize-alist-1): New function.
22961 (display-buffer-normalize-specifiers-3): Rename to
22962 display-buffer-normalize-alist.
22963 Call display-buffer-normalize-alist-1.
22964 (display-buffer-normalize-options-inhibit): New variable.
22965 (display-buffer-normalize-specifiers): Rewrite calling
22966 display-buffer-normalize-alist,
22967 display-buffer-normalize-argument, and
22968 display-buffer-normalize-options. Don't call the latter if
22969 display-buffer-normalize-options-inhibit is non-nil.
22970 (frame-auto-delete): New option.
22971 (window-deletable-p): Use frame-auto-delete.
22972 (window-list-no-nils, window-state-ignored-parameters)
22973 (window-state-get-1, window-state-get, window-state-put-list)
22974 (window-state-put-1, window-state-put-2, window-state-put):
22975 New functions.
22976 (display-buffer-normalize-options): Move special-display-p group
22977 after pop-up-frame group (Bug#8851) and (Bug#8856).
22978
22979 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22980
22981 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22982 groups (Bug#8776).
22983 (rx-submatch-n): New function.
22984 (rx): Document it.
22985
22986 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22987 (Bug#8768).
22988
22989 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22990
22991 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22992
22993 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22994 anytime existing face settings are present (Bug#8889).
22995
22996 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22997 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22998 Remove unused argument.
22999
23000 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23001
23002 * window.el (display-buffer-default-specifiers):
23003 Remove pop-up-frame. Add pop-up-window-min-height,
23004 pop-up-window-min-width, and another reuse-window specifier
23005 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23006 (display-buffer-normalize-specifiers-2):
23007 Handle split-height-threshold and split-width-threshold also when
23008 pop-up-windows is unset. Add a reuse-window specifier for the
23009 case popping up a new window fails.
23010 (special-display-popup-frame): Remove double quoting.
23011 (display-buffer-normalize-specifiers-1): Fix thinko.
23012
23013 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23014
23015 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23016 according to comint-completion-addsuffix.
23017
23018 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23019 (pcomplete-suffix-list): Mark as obsolete.
23020 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23021 pcomplete-seen in the closure.
23022 (pcomplete-comint-setup): Setup completion-at-point as well.
23023 (pcomplete--entries): New function.
23024 (pcomplete--env-regexp): New var.
23025 (pcomplete-entries): Rewrite to work with partial-completion and
23026 without relying on pcomplete-suffix-list.
23027 (pcomplete-pare-list): Remove, unused.
23028
23029 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23030
23031 * window.el (display-buffer-alist): Set pop-up-window-min-height
23032 and pop-up-window-min-width in default value. Reported by
23033 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23034 other-window-means-other-frame.
23035 (display-buffer-macro-specifiers): Comment out entry for
23036 other-window specifier.
23037 (display-buffer-other-window-means-other-frame): New function.
23038 (display-buffer-normalize-specifiers-1): New arguments
23039 buffer-name and label. Treat other-window case specially.
23040 (display-buffer-normalize-specifiers-2): Treat other-window case
23041 specially.
23042 (display-buffer-normalize-specifiers-3): New function.
23043 (display-buffer-normalize-specifiers):
23044 Call display-buffer-normalize-specifiers-3.
23045
23046 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23047
23048 * window.el (same-window-p): Fix two typos introduced when
23049 adding with-no-warnings.
23050 (display-buffer-normalize-specifiers-1): Don't check
23051 pop-up-frames for 'unset initialization.
23052 (display-buffer-normalize-specifiers-2): Major rewrite using
23053 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23054 (pop-up-frames, display-buffer-reuse-frames)
23055 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23056 Suggested by David Engster <deng@randomsample.de>.
23057 (even-window-heights): Initialize to 'unset.
23058 (display-buffer-alist-set): Handle new 'unset initializations.
23059 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23060 other window case.
23061
23062 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23063
23064 * window.el (display-buffer-normalize-specifiers-1):
23065 Respect current value of pop-up-frames for most reasonable values of
23066 second argument of display-buffer (Bug#8865).
23067 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23068 (switch-to-buffer-other-window-same-frame)
23069 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23070 Adams (Bug#8875).
23071 (display-buffer): Don't check noninteractive when calling
23072 display-buffer-pop-up-frame.
23073 (display-buffer-pop-up-frame): Never pop up a frame in
23074 noninteractive mode (Bug#8857).
23075 (enlarge-window, shrink-window): Don't report an error when the
23076 window can't be resized as requested (Bug#8862).
23077
23078 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23079
23080 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23081
23082 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23083
23084 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23085
23086 2011-06-15 Alan Mackenzie <acm@muc.de>
23087
23088 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23089 for declarators, disable knr checking to speed up for normal files.
23090 2: Refactor, replacing a sequence of nested if forms by a cond form.
23091
23092 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23093
23094 * net/network-stream.el (open-network-stream): Add the keyword
23095 :always-query-capabilities for the case where you want to force a
23096 `plain' network connection, but the protocol still requires the
23097 capabilitiy command (i.e., SMTP and EHLO).
23098
23099 * subr.el (process-live-p): Rename from `process-alive-p' for
23100 consistency with other `-live-p' functions.
23101
23102 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23103
23104 * window.el (same-window-buffer-names, same-window-regexps)
23105 (special-display-frame-alist, special-display-popup-frame)
23106 (special-display-function, special-display-buffer-names)
23107 (special-display-regexps, pop-up-frame-alist)
23108 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23109 (pop-up-windows, split-window-preferred-function)
23110 (split-height-threshold, split-width-threshold, even-window-heights)
23111 (display-buffer-mark-dedicated): Don't encourage the use of
23112 display-buffer-alist from Elisp code.
23113
23114 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23115
23116 * progmodes/python.el (python-mode): Derive from prog-mode.
23117 * progmodes/ps-mode.el (ps-mode):
23118 * progmodes/mixal-mode.el (mixal-mode):
23119 * progmodes/cfengine.el (cfengine-mode):
23120 * progmodes/ld-script.el (ld-script-mode): Likewise.
23121
23122 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23123
23124 * window.el (display-buffer-alist): Trim default value to avoid
23125 popping up a new frame (Bug#8857) or reusing an arbitrary window
23126 on another frame.
23127 (display-buffer): Do not fall back on popping up a new frame in
23128 batch mode (Bug#8857).
23129
23130 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23131
23132 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23133 (custom-theme-summary): New function.
23134 (customize-themes): Use it.
23135
23136 2011-06-13 Glenn Morris <rgm@gnu.org>
23137
23138 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23139
23140 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23141
23142 * help.el (help-window): Remove variable.
23143 (help-window-point-marker, temp-buffer-max-height)
23144 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23145 (help-print-return-message): Don't set help-window.
23146 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23147 (help-window-setup-finish): Remove.
23148 (help-window-display-message, help-window-setup)
23149 (with-help-window): Major rewrite based on new
23150 display-buffer-window variable.
23151
23152 * help-mode.el (help-mode-finish): Remove help-window related
23153 code.
23154
23155 * view.el (view-exits-all-viewing-windows): Remove reference to
23156 view-return-to-alist in doc-string.
23157 (view-return-to-alist): Make obsolete.
23158 (view-buffer): Call pop-to-buffer-same-window and remove
23159 undo-window code.
23160 (view-buffer-other-window): Call pop-to-buffer-other-window and
23161 simplify code. Ignore second argument.
23162 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23163 simplify code. Ignore second argument.
23164 (view-return-to-alist-update): Make obsolete.
23165 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23166 Rewrite using quit-restore window parameters.
23167 (view-mode-exit): Rename second argument to EXIT-ONLY.
23168 Rewrite using quit-restore-window.
23169 (View-exit, View-exit-and-edit, View-leave, View-quit)
23170 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23171 appropriate arguments.
23172 (view-end-message): Use quit-restore window parameter.
23173
23174 * window.el (display-buffer-function): Rewrite doc-string.
23175 (display-buffer-window, display-buffer-alist): New variables.
23176 (display-buffer-split-specifiers)
23177 (display-buffer-side-specifiers)
23178 (display-buffer-macro-specifiers): New constants.
23179 (display-buffer-even-window-sizes, display-buffer-set-height)
23180 (display-buffer-set-width, display-buffer-select-window)
23181 (display-buffer-in-window, display-buffer-reuse-window)
23182 (display-buffer-split-window-1, display-buffer-split-window)
23183 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23184 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23185 (display-buffer-in-side-window, normalize-buffer-to-display)
23186 (display-buffer-normalize-specifiers-1)
23187 (display-buffer-normalize-specifiers-2)
23188 (display-buffer-normalize-specifiers, display-buffer-frame):
23189 New functions.
23190 (display-buffer): Major rewrite.
23191 (display-buffer-other-window, display-buffer-other-frame)
23192 (pop-to-buffer, switch-to-buffer-other-window)
23193 (switch-to-buffer-other-frame): Rewrite.
23194 (display-buffer-same-window, display-buffer-same-frame)
23195 (display-buffer-same-frame-other-window)
23196 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23197 (pop-to-buffer-other-window)
23198 (pop-to-buffer-same-frame-other-window)
23199 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23200 (switch-to-buffer-other-window-same-frame): New functions.
23201 (same-window-p, special-display-p): Rewrite disabling warnings.
23202 Make obsolete.
23203 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23204 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23205 Make obsolete
23206 (same-window-buffer-names, same-window-regexps)
23207 (special-display-frame-alist, special-display-popup-frame)
23208 (special-display-function, special-display-buffer-names)
23209 (special-display-regexps, pop-up-frame-alist)
23210 (pop-up-frame-function, split-window-preferred-function)
23211 (split-height-threshold, split-width-threshold)
23212 (even-window-heights): Make obsolete.
23213
23214 2011-06-12 Glenn Morris <rgm@gnu.org>
23215
23216 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23217 Misc simplifications.
23218
23219 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23220
23221 * window.el (window-safely-shrinkable-p): Restore function which
23222 was inadvertently removed in change from 2011-06-11. Declare as
23223 obsolete.
23224
23225 * calendar/calendar.el (calendar-generate-window):
23226 Use window-iso-combined-p instead of combination of one-window-p and
23227 window-safely-shrinkable-p.
23228
23229 2011-06-12 Glenn Morris <rgm@gnu.org>
23230
23231 * progmodes/fortran.el (fortran-mode-syntax-table):
23232 * progmodes/f90.el (f90-mode-syntax-table):
23233 Set % to punctuation. (Bug#8820)
23234 (f90-find-tag-default): Remove, no longer needed.
23235
23236 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23237
23238 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23239
23240 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23241
23242 * image.el (image-animated-p): Return animation delay in seconds.
23243 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23244 (image-animate-timeout): Remove DELAY argument. Don't assume
23245 every subimage has the same delay; get it from image-animated-p.
23246 (image-animate): Caller changed.
23247
23248 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23249
23250 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23251 to ignored backtrace functions.
23252
23253 2011-06-11 Glenn Morris <rgm@gnu.org>
23254
23255 * calendar/appt.el (appt-disp-window-function): Doc fix.
23256 (appt-check): Handle overlapping appointments. (Bug#8337)
23257
23258 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23259
23260 * window.el (window-tree-1, window-tree): New functions, moving
23261 the latter to window.el.
23262 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23263 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23264 (bw-refresh-edges): Remove.
23265 (balance-windows-1, balance-windows-2): New functions.
23266 (balance-windows): Rewrite in terms of window tree functions,
23267 balance-windows-1 and balance-windows-2.
23268 (bw-adjust-window): Remove.
23269 (balance-windows-area-adjust): New function with functionality of
23270 bw-adjust-window but using resize-window.
23271 (set-window-text-height): Rewrite doc-string.
23272 Use normalize-live-window and resize-window.
23273 (enlarge-window-horizontally, shrink-window-horizontally):
23274 Rename argument to DELTA.
23275 (window-buffer-height): New function.
23276 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23277 Rewrite using new window resize routines.
23278 (kill-buffer-and-window, mouse-autoselect-window-select):
23279 Use ignore-errors instead of condition-case.
23280 (quit-window): Call delete-frame instead of delete-windows-on
23281 for the only buffer on frame.
23282
23283 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23284
23285 * loadup.el (top-level): Load window before files for the sake
23286 of replace-buffer-in-windows.
23287
23288 * files.el (read-buffer-to-switch)
23289 (switch-to-buffer-other-window)
23290 (switch-to-buffer-other-frame, display-buffer-other-frame):
23291 Move to window.el.
23292
23293 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23294 (previous-buffer): Move to window.el.
23295
23296 * bindings.el (unbury-buffer): Move to window.el.
23297
23298 * window.el (delete-other-windows-vertically): Move after
23299 definition of delete-other-windows.
23300 (other-window, delete-windows-on, replace-buffer-in-windows):
23301 Move here from window.c.
23302 (record-window-buffer, unrecord-window-buffer)
23303 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23304 (switch-to-next-buffer): New functions.
23305 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23306 from simple.el. Call switch-to-next-buffer.
23307 (previous-buffer): Move here from simple.el.
23308 Call switch-to-prev-buffer.
23309 (bury-buffer): Move here from buffer.c. Switch to previous
23310 buffer when window cannot be deleted.
23311 (unbury-buffer): Move here from bindings.el.
23312 (ctl-x-map): Move binding for other-window from window.c to
23313 here.
23314 (read-buffer-to-switch, switch-to-buffer-other-window)
23315 (switch-to-buffer-other-frame): Move here from files.el.
23316 (normalize-buffer-to-switch-to): New functions.
23317 (switch-to-buffer): Move here from buffer.c.
23318 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23319
23320 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23321
23322 * window.el (window-min-height, window-min-width): Move here
23323 from window.c. Add defcustoms and rewrite doc-strings.
23324 (resize-mini-window, resize-window): New functions.
23325 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23326 Move here from window.c.
23327 (maximize-window, minimize-window): New functions.
23328 (delete-window, delete-other-windows, split-window): Move here
23329 from window.c.
23330 (window-split-min-size): New function.
23331 (split-window-keep-point): Mention split-window-above-each-other
23332 instead of split-window-vertically.
23333 (split-window-above-each-other, split-window-vertically):
23334 Rename split-window-vertically to split-window-above-each-other
23335 and provide defalias for old definition.
23336 (split-window-side-by-side, split-window-horizontally):
23337 Rename split-window-horizontally to split-window-side-by-side
23338 and provide defalias for the old definition.
23339 (ctl-x-map): Move bindings for delete-window,
23340 delete-other-windows and enlarge-window here from window.c.
23341 Replace bindings for split-window-vertically and
23342 split-window-horizontally by bindings for
23343 split-window-above-each-other and split-window-side-by-side.
23344
23345 * cus-start.el (all): Remove entries for window-min-height and
23346 window-min-width. Add entries for window-splits and
23347 window-nest.
23348
23349 2011-06-09 Glenn Morris <rgm@gnu.org>
23350
23351 * calendar/appt.el (appt-mode-line): New function.
23352 (appt-check, appt-disp-window): Use it.
23353
23354 * files.el (hack-one-local-variable-eval-safep):
23355 Allow minor-modes with explicit +/-1 arguments.
23356
23357 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23358
23359 * term/xterm.el (xterm): Add defgroup.
23360 (xterm-extra-capabilities): Add defcustom to supply known xterm
23361 capabilities, skip querying them, or query them (default).
23362 (terminal-init-xterm): Use it.
23363 (terminal-init-xterm-modify-other-keys): New function to set up
23364 modifyOtherKeys support to simplify `terminal-init-xterm'.
23365
23366 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23367
23368 * window.el (resize-window-reset, resize-window-reset-1)
23369 (resize-subwindows-skip-p, resize-subwindows-normal)
23370 (resize-subwindows, resize-other-windows, resize-this-window)
23371 (resize-root-window, resize-root-window-vertically)
23372 (window-deletable-p, window-or-subwindow-p)
23373 (frame-root-window-p): New functions.
23374
23375 2011-06-09 Glenn Morris <rgm@gnu.org>
23376
23377 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23378 (ange-ftp-get-files): Use it.
23379
23380 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23381
23382 * mail/sendmail.el (mail-recover-1, mail-recover):
23383 * files.el (recover-file, recover-session):
23384 Handle dired-listing-switches not being just a single short option.
23385
23386 2011-06-09 Glenn Morris <rgm@gnu.org>
23387
23388 * calendar/appt.el (appt-display-message, appt-disp-window):
23389 Handle lists of appointments.
23390
23391 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23392
23393 * window.el (one-window-p): Move down in code.
23394 Rewrite doc-string.
23395 (window-current-scroll-bars): Rewrite doc-string.
23396 Normalize live window argument.
23397 (walk-windows, get-window-with-predicate, count-windows):
23398 Rewrite doc-string. Use window-list-1.
23399 (window-in-direction-2, window-in-direction, get-mru-window):
23400 New functions.
23401
23402 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23403
23404 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23405 Doc fix (Bug#8713).
23406
23407 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23408
23409 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23410
23411 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23412
23413 * loadhist.el (unload-feature-special-hooks):
23414 Add `comint-output-filter-functions'.
23415
23416 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23417
23418 * calendar/appt.el (appt-check): Move some initializations into the let.
23419
23420 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23421
23422 * window.el (window-height): Defalias to window-total-height.
23423 (window-width): Defalias to window-body-width.
23424
23425 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23426
23427 * image-mode.el (image-toggle-animation): New command.
23428 (image-mode-map): Bind it to RET.
23429 (image-mode): Update message.
23430 (image-toggle-display-image): Avoid a spurious cache flush.
23431 (image-transform-rotation): Doc fix.
23432 (image-transform-properties): Return quickly in the normal case.
23433 (image-animate-loop): Rename from image-animate-max-time.
23434
23435 * image.el (image-animate-max-time): Move to image-mode.el.
23436 (create-animated-image): Remove unnecessary function.
23437 (image-animate): Rename from image-animate-start. New arg.
23438 (image-animate-stop): Remove; just use image-animate-timer.
23439 (image-animate-timer): Use car-safe.
23440 (image-animate-timeout): Rename argument.
23441
23442 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23443
23444 * window.el (get-lru-window, get-largest-window): Move here from
23445 window.c. Rename first argument to ALL-FRAMES.
23446 Rephrase doc-strings.
23447 (get-buffer-window-list): Rewrite using window-list-1.
23448 Rephrase doc-string.
23449 (window-safe-min-height, window-safe-min-width): New constants.
23450 (window-size-ignore, window-min-size, window-min-size-1)
23451 (window-sizable, window-sizable-p, window-size-fixed-1)
23452 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23453 (window-max-delta-1, window-max-delta, window-resizable)
23454 (window-resizable-p, window-total-height, window-total-width)
23455 (window-body-width): New functions.
23456 (window-full-height-p, window-full-width-p): Rewrite using
23457 window-total-size.
23458 (window-body-height): Rewrite using window-body-size.
23459
23460 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23461
23462 * window.el (window-right, window-left, window-child)
23463 (window-child-count, window-last-child, window-any-p)
23464 (normalize-live-buffer, normalize-live-frame)
23465 (normalize-any-window, normalize-live-window)
23466 (window-iso-combination-p, window-iso-combined-p)
23467 (window-iso-combinations)
23468 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23469 (windows-with-parameter, window-with-parameter)
23470 (window-atom-root, make-window-atom, window-atom-check-1)
23471 (window-atom-check, window-side-check, window-check):
23472 New functions.
23473 (ignore-window-parameters, window-sides, window-sides-vertical)
23474 (window-sides-slots): New variables.
23475 (window-size-fixed): Move down in code. Minor doc-string fix.
23476
23477 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23478
23479 * comint.el (comint-dynamic-complete-as-filename)
23480 (comint-dynamic-complete-filename): Correctly call
23481 completion-in-region.
23482
23483 2011-06-05 Deniz Dogan <deniz@dogan.se>
23484
23485 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23486 in last change.
23487
23488 2011-06-05 Deniz Dogan <deniz@dogan.se>
23489
23490 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23491 (rcirc): Use it to prompt for encryption.
23492
23493 2011-06-05 Roland Winkler <winkler@gnu.org>
23494
23495 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23496 (bibtex-search-entries): New command bound to C-c C-a.
23497 (bibtex-display-entries): New function.
23498
23499 2011-06-05 Roland Winkler <winkler@gnu.org>
23500
23501 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23502 (bibtex-insert-kill): After yanking insert newline if necessary.
23503 (bibtex-initialize): Call bibtex-string-files-init only once.
23504 (bibtex-mode): Do not call easy-menu-add.
23505 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23506 (bibtex-yank): Set arg properly if nil.
23507
23508 2011-06-05 Roland Winkler <winkler@gnu.org>
23509
23510 * textmodes/bibtex.el (bibtex-search-entry-globally):
23511 New variable.
23512 (bibtex-search-entry): Use it.
23513
23514 2011-06-05 Roland Winkler <winkler@gnu.org>
23515
23516 * textmodes/bibtex.el (bibtex-entry-format): New option
23517 sort-fields.
23518 (bibtex-format-entry, bibtex-reformat): Honor this option.
23519 (bibtex-parse-entry): Return fields in proper order.
23520
23521 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23522
23523 * doc-view.el (doc-view-remove-if): Move computation of result out
23524 of `dolist' to silence misleading lexical-binding warning.
23525
23526 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23527
23528 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23529 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23530
23531 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23532
23533 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23534 "SunOS 5.10".
23535
23536 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23537
23538 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23539 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23540 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23541 (tramp-parse-putty):
23542 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23543 (tramp-completion-function-alist-ssh)
23544 (tramp-completion-function-alist-telnet)
23545 (tramp-completion-function-alist-su)
23546 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23547 cookie.
23548
23549 * net/tramp-ftp.el:
23550 * net/tramp-sh.el:
23551 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23552 load "tramp.el" `tramp-set-completion-function'.
23553
23554 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23555
23556 * shell.el: Require and use pcomplete.
23557 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23558 (shell-completion-vars): Set pcomplete-default-completion-function.
23559
23560 2011-06-04 Deniz Dogan <deniz@dogan.se>
23561
23562 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23563 `memq' (Bug#8799).
23564
23565 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23566
23567 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23568
23569 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23570
23571 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23572 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23573 * vc/log-view.el (log-view-beginning-of-defun):
23574 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23575 (smerge-refine-forward, smerge-refine-chopup-region):
23576 Silence warning for unused `dotimes' counter variables.
23577
23578 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23579
23580 * net/tramp.el (tramp-with-progress-reporter): Rename from
23581 with-progress-reporter. Use `declare'.
23582 * net/tramp-smb.el:
23583 * net/tramp-sh.el:
23584 * net/tramp-gvfs.el: Update all uses.
23585
23586 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23587
23588 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23589 buffer isn't killed before making it current.
23590
23591 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23592
23593 Silence various byte-compiler warnings.
23594 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23595 `access-type' and new obsolescence format.
23596 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23597 new format.
23598 (byte-compile-check-variable): New `access-type' argument.
23599 Only warn if the access-type is obsolete.
23600 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23601 (byte-compile-variable-set): Adjust callers.
23602 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23603 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23604 setting it as obsolete.
23605 * simple.el (minibuffer-completing-symbol):
23606 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23607 access as obsolete.
23608 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23609 obsolete yet.
23610 * international/quail.el (quail-mouse-choose-completion): Remove unused
23611 code referring to obsolete var.
23612 (quail-choose-completion-string): Remove.
23613 * server.el (server-clients-with, server-kill-buffer-query-function)
23614 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23615 * proced.el (proced-send-signal):
23616 * emacs-lisp/lisp.el (lisp-complete-symbol):
23617 Replace completion-annotate-function with completion-extra-properties.
23618
23619 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23620
23621 * simple.el (goto-line): Use read-number.
23622 (overriding-map-is-bound): Remove.
23623 (saved-overriding-map): Change default.
23624 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23625 Take the map as argument.
23626 (universal-argument, negative-argument, digit-argument): Use it.
23627 (restore-overriding-map): Adjust.
23628 (do-auto-fill): Use fill-forward-paragraph.
23629 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23630
23631 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23632 (minibuffer-inactive-mode): New major mode.
23633 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23634 the *Messages* buffer" hack.
23635 (mouse-popup-menubar): Don't burp if the event is a normal key.
23636
23637 Miscellaneous tweaks.
23638 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23639 lexical scoping as in subr.el's dolist and dotimes.
23640 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23641 Silence compiler warning.
23642 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23643 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23644 * international/ccl.el (ccl-compile): Trivial simplification.
23645 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23646 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23647 `printflag' argument.
23648 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23649 Purecopy the whole obsolescence data.
23650
23651 2011-06-01 Leo Liu <sdl.web@gmail.com>
23652
23653 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23654 improve doc-string as suggested by Marco Pessotto
23655 <melmothx@gmail.com>.
23656 (rcirc-print): Fix last change.
23657
23658 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23659
23660 * minibuffer.el (complete-with-action): Return nil for the metadata and
23661 boundaries of non-functional tables.
23662 (completion-table-dynamic): Return nil for the metadata.
23663 (completion-table-with-terminator): Add default case, using
23664 complete-with-action.
23665 (completion--metadata): New function.
23666 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23667 to try and avoid pathological performance problems.
23668 (completion--embedded-envvar-table): Return `category' metadata.
23669
23670 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23671
23672 * subr.el (process-alive-p): New tiny convenience function.
23673
23674 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23675
23676 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23677 content but also its previous major mode.
23678
23679 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23680
23681 * emacs-lisp/debug.el (debug): Restore the previous content of the
23682 *Backtrace* buffer when we exit with C-M-c.
23683
23684 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23685
23686 * minibuffer.el: Add metadata method to completion tables.
23687 (completion-category-overrides): New defcustom.
23688 (completion-metadata, completion--field-metadata)
23689 (completion-metadata-get, completion--styles)
23690 (completion--cycle-threshold): New functions.
23691 (completion-try-completion, completion-all-completions):
23692 Add `metadata' argument to choose completion-styles.
23693 (completion--do-completion): Use metadata to choose cycling.
23694 (completion-all-sorted-completions): Use metadata for sorting.
23695 Remove :completion-cycle-penalty which is not needed any more.
23696 (completion--try-word-completion): Add `metadata' argument.
23697 (minibuffer-completion-help): Check metadata for annotation function
23698 and sorting.
23699 (completion-file-name-table): Return `category' metadata.
23700 (minibuffer-completing-file-name): Make obsolete.
23701 * simple.el (minibuffer-completing-symbol): Make obsolete.
23702 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23703 completion-try-completion.
23704
23705 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23706
23707 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23708
23709 2011-05-30 Leo Liu <sdl.web@gmail.com>
23710
23711 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23712 (rcirc-print): Decode all incoming messages (bug#8744).
23713 (rcirc-decode-coding-system): Allow value nil for automatic coding
23714 system detection.
23715
23716 2011-06-01 Glenn Morris <rgm@gnu.org>
23717
23718 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23719
23720 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23721
23722 * image.el (image-animate-max-time): Allow nil and t values.
23723 Default to nil.
23724 (create-animated-image): Doc fix.
23725 (image-animate-start): Remove second arg; just use
23726 image-animate-max-time.
23727 (image-animate-timeout): Doc fix. Args changed.
23728
23729 * image-mode.el (image-toggle-display-image): Ensure that the
23730 image spec passed to the animate timer is the same object as in
23731 the buffer's display property (Bug#6981).
23732 (image-transform-properties): Doc fix.
23733
23734 * image.el (image-animate-max-time): Default to nil.
23735
23736 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23737
23738 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23739 entire buffer list (Bug#8184).
23740
23741 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23742
23743 * image.el (imagemagick-types-inhibit)
23744 (imagemagick-register-types): Doc fix.
23745
23746 2011-05-29 Deniz Dogan <deniz@dogan.se>
23747
23748 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23749 default.
23750
23751 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23752
23753 * select.el: Don't perform clipboard-manager saving in hooks;
23754 leave the hooks empty.
23755
23756 2011-05-28 Leo Liu <sdl.web@gmail.com>
23757
23758 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23759 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23760 (occur-edit-mode): New major mode (Bug#8463).
23761 (occur-after-change-function): New function.
23762 (occur-engine): Give Occur tags a read-only property.
23763
23764 2011-05-28 Kevin Ryde <user42@zip.com.au>
23765
23766 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23767
23768 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23769
23770 * bindings.el (help-echo): Make the initial non-indicator dash
23771 empty on graphical terminals (Bug#7295).
23772
23773 * files.el (auto-mode-alist): Move config rule after the
23774 in-stripping one (Bug#8547).
23775
23776 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23777
23778 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23779 setting (Bug#8740).
23780
23781 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23782
23783 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23784 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23785 (Bug#8539).
23786
23787 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23788
23789 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23790
23791 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23792
23793 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23794 (hs-hide-block-at-point, hs-find-block-beginning)
23795 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23796 (Bug#8279).
23797
23798 2011-05-28 Glenn Morris <rgm@gnu.org>
23799
23800 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23801
23802 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23803
23804 * help-fns.el (describe-function-1): If the function is a derived
23805 major mode, print the parent mode.
23806
23807 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23808 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23809
23810 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23811
23812 * minibuffer.el (completion--capf-wrapper): Check applicability before
23813 returning non-nil for non-exclusive completion data.
23814 * progmodes/etags.el (tags-completion-at-point-function):
23815 * info-look.el (info-lookup-completions-at-point): Mark as
23816 non-exclusive.
23817 (info-complete): Adjust accordingly.
23818
23819 * info-look.el: Convert to lexical-binding and completion-at-point.
23820 (info-lookup-completions-at-point): New function.
23821 (info-complete): Use it and completion-in-region.
23822
23823 2011-05-28 Drew Adams <drew.adams@oracle.com>
23824
23825 * isearch.el: Let M-e start with point at the first mismatched char.
23826 (isearch-fail-pos): New function.
23827 (isearch-edit-string): Use it.
23828
23829 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23830
23831 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23832
23833 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23834
23835 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23836 traversal functions for avl-trees.
23837 (avl-tree--stack): New struct.
23838 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23839 (avl-tree-enter): Add optional `updatefun' arg.
23840 (avl-tree--do-enter): Add optional `updatefun' arg.
23841 Change return value.
23842 (avl-tree-delete): Add optional `test' and `nilflag' args.
23843 (avl-tree--do-delete): Add `test' and `nilflag' args.
23844 Change return value.
23845 (avl-tree-member): Add optional `nilflag'
23846 (avl-tree-member-p): New function.
23847 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23848 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23849 (avl-tree-stack-empty-p): New functions.
23850
23851 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23852 avl-tree--del-balance1 and make it work both ways.
23853 (avl-tree--del-balance2): Remove.
23854 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23855 make it work both ways.
23856 (avl-tree--enter-balance2): Remove.
23857 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23858 New macros.
23859 (avl-tree--mapc, avl-tree-map): Add direction argument.
23860
23861 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23862
23863 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23864
23865 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23866
23867 * select.el: Support clipboard managers with built-in function
23868 x-clipboard-manager-save, via delete-frame-functions and
23869 kill-emacs-hook.
23870 (xselect-convert-to-targets): Add MULTIPLE target to list.
23871 (xselect-convert-to-save-targets): New function.
23872
23873 2011-05-27 Kenichi Handa <handa@m17n.org>
23874
23875 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23876 let-binding rfc2047-encode-encoded-words to nil.
23877
23878 2011-05-27 Glenn Morris <rgm@gnu.org>
23879
23880 * mail/emacsbug.el: Don't require url-util.
23881
23882 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23883
23884 * files.el (set-auto-mode):
23885 Also respect mode: entries at the end of the file. (Bug#8586)
23886
23887 2011-05-26 Glenn Morris <rgm@gnu.org>
23888
23889 * files.el (hack-local-variables-prop-line, hack-local-variables):
23890 Downcase mode names, as seems to be traditional.
23891 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23892
23893 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23894 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23895
23896 2011-05-25 Julien Danjou <julien@danjou.info>
23897
23898 * textmodes/rst.el (rst-define-level-faces): Do not define face
23899 symbol if it is already defined.
23900
23901 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23902
23903 * play/5x5.el (5x5-new-game, 5x5-randomize):
23904 Reset 5x5-solver-output to nil when a new grid is cast.
23905 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23906 these debugging traces, as defmacro breaks the compiled code.
23907
23908 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23909
23910 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23911
23912 2011-05-24 Leo Liu <sdl.web@gmail.com>
23913
23914 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23915 (vc-bzr-sha1): Adapt.
23916
23917 * sha1.el: Remove. Function `sha1' is now builtin.
23918
23919 * bindings.el: Provide sha1 feature.
23920
23921 2011-05-24 Kenichi Handa <handa@m17n.org>
23922
23923 * mail/sendmail.el: Require `rfc2047'.
23924 (mail-insert-from-field): Do not perform RFC2047 encoding.
23925 (mail-encode-header): New function.
23926 (sendmail-send-it): Set buffer-file-coding-system of the work
23927 buffer to the return value of select-message-coding-system.
23928 Call mail-encode-header.
23929
23930 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23931
23932 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23933
23934 * mail/supercite.el (sc-default-cite-frame):
23935 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23936
23937 2011-05-24 Glenn Morris <rgm@gnu.org>
23938
23939 * progmodes/python.el (brm-menu): Declare.
23940
23941 * emulation/viper.el (viper-set-hooks): Declare.
23942
23943 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23944 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23945 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23946 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23947 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23948 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23949
23950 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23951
23952 Add an :exit-function for completion-at-point.
23953
23954 * minibuffer.el (completion--done): New fun.
23955 (completion--do-completion): Use it. New arg `expect-exact'.
23956 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23957 since completion--do-completion does it for us now.
23958 (minibuffer-force-complete): Use completion--done and
23959 completion--replace. Handle sole-completion case with more care.
23960 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23961 (completion-extra-properties): New var.
23962 (completion-annotate-function): Make obsolete.
23963 (minibuffer-completion-help): Adjust accordingly.
23964 Use completion-list-insert-choice-function.
23965 (completion-at-point, completion-help-at-point):
23966 Bind completion-extra-properties.
23967 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23968 * simple.el (completion-list-insert-choice-function): New var.
23969 (completion-setup-function): Preserve it.
23970 (choose-completion): Pay attention to it, shuffle the code a bit.
23971 (choose-completion-string): New arg `insert-function'.
23972
23973 * textmodes/bibtex.el: Convert to lexical binding.
23974 (bibtex-mode-map): Use completion-at-point.
23975 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23976 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23977 (bibtex-complete): Define as obsolete alias.
23978 (bibtex-complete-internal): Remove.
23979 (bibtex-format-entry): Remove unused sub-group in regexp.
23980 * shell.el (shell--command-completion-data)
23981 (shell-environment-variable-completion):
23982 * pcomplete.el (pcomplete-completions-at-point):
23983 * comint.el (comint--complete-file-name-data): Use :exit-function
23984 instead of completion-table-with-terminator so it also works for
23985 choose-completion.
23986
23987 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23988
23989 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23990
23991 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23992 (bug#8710).
23993
23994 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23995
23996 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23997
23998 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23999 customization variable and implement: If non-nil, auto-fill will
24000 be inhibited while on topic's header line.
24001
24002 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24003
24004 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24005 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24006 always have a solution in grid size = 5 cases.
24007 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24008 (5x5-solver-output, 5x5-log-buffer): New vars.
24009 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24010 Make these variables buffer local to achieve 5x5 multi-session-ness.
24011 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24012 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24013 (5x5-solve-suggest): New funs.
24014 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24015 randomize a grid so that we ensure that there is always a solution.
24016 (5x5-make-random-grid): Allow other movement than flipping.
24017
24018 2011-05-23 Kevin Ryde <user42@zip.com.au>
24019
24020 * emacs-lisp/advice.el (ad-read-advised-function):
24021 Use `function-called-at-point' as the default, if it has
24022 advice and passes PREDICATE.
24023
24024 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24025
24026 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24027 byte-compile-lambda if it's actually a lambda.
24028
24029 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24030 Fix function quoting. Use backquote better.
24031
24032 2011-05-22 Yuanle Song <sylecn@gmail.com>
24033
24034 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24035 matching (Bug#8516).
24036
24037 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24038
24039 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24040 different face (Bug#8178).
24041
24042 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24043
24044 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24045 defface (Bug#8144).
24046
24047 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24048
24049 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24050 funcall as well (bug#8712). Warn when performing those conversions.
24051 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24052
24053 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24054
24055 2011-05-22 Glenn Morris <rgm@gnu.org>
24056
24057 * files.el (hack-local-variables-prop-line): Small simplifications.
24058 (hack-local-variables, hack-local-variables-prop-line):
24059 If MODE-ONLY, return the mode, rather than just `t'.
24060
24061 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24062
24063 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24064
24065 2011-05-21 Glenn Morris <rgm@gnu.org>
24066
24067 * files.el (hack-local-variables-prop-line, hack-local-variables):
24068 If only interested in the mode, don't bother doing the other stuff.
24069
24070 * image-mode.el (image-after-revert-hook):
24071 Redraw all frames on which the image is visible. (Bug#8567)
24072
24073 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24074
24075 * wid-edit.el (widget-checklist-match-inline):
24076 Fix 2011-04-19 change. (Bug#8649)
24077
24078 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24079
24080 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24081 Also allow singlespace after single-letter capitals followed by a dot.
24082
24083 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24084 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24085
24086 2011-05-20 Nix <nix@esperi.org.uk>
24087
24088 * files.el (basic-save-buffer-2):
24089 Fix handling of break-hardlink-on-save with non-existent files.
24090
24091 2011-05-19 Deniz Dogan <deniz@dogan.se>
24092
24093 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24094 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24095
24096 2011-05-19 Glenn Morris <rgm@gnu.org>
24097
24098 * progmodes/f90.el (f90-type-def-re):
24099 Handle "type, bind(c)". (Bug#8691)
24100
24101 * emacs-lisp/autoload.el (batch-update-autoloads):
24102 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24103
24104 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24105
24106 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24107 property for the correct connection in case of multihops.
24108
24109 2011-05-18 Glenn Morris <rgm@gnu.org>
24110
24111 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24112 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24113
24114 Rationalize calendar handling of day and month abbrev-arrays.
24115 * calendar/calendar.el (calendar-customized-p): New function.
24116 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24117 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24118 Add :set function.
24119 (calendar-abbrev-length, calendar-day-abbrev-array)
24120 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24121 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24122 Elements may no longer be nil.
24123 (calendar-day-name, calendar-month-name):
24124 Update for changed nature of abbrev arrays.
24125 * calendar/diary-lib.el (diary-name-pattern):
24126 Update for changed nature of abbrev arrays.
24127 (diary-mark-entries-1): Update calendar-make-alist calls.
24128 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24129 * calendar/cal-html.el (cal-html-day-abbrev-array):
24130 Simply inherit from calendar-day-abbrev-array.
24131
24132 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24133
24134 * progmodes/grep.el (grep-mode): Disable default
24135 compilation-directory-matcher setting (bug#8684).
24136
24137 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24138
24139 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24140 instead of "head" and "tail". There were problems with SunOS 5.9,
24141 and it performs better.
24142
24143 2011-05-17 Glenn Morris <rgm@gnu.org>
24144
24145 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24146
24147 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24148 Replace obsolete function.
24149
24150 * shell.el (pcomplete-parse-arguments-function): Declare.
24151
24152 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24153 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24154 (appt-check): Doc fixes.
24155 (appt-disp-window-function, appt-delete-window-function):
24156 Remove needless special case in custom :type.
24157 (appt-display-count): Default to 0, not nil.
24158 (appt-check): Reset appt-display-count to 0, not nil.
24159
24160 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24161
24162 * progmodes/python.el (python-font-lock-keywords):
24163 Add the Python 3.X keyword "nonlocal" (bug#8639).
24164
24165 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24166
24167 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24168
24169 2011-05-16 Kevin Ryde <user42@zip.com.au>
24170
24171 * info-look.el (makefile-automake-mode): New setups, looking in
24172 automake manual, then makefile-mode.
24173 (makefile-mode): Remove automake manual, have it just in
24174 makefile-automake-mode since there's various things different or
24175 not relevant to plain make.
24176 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24177 believe a hypothetical automake-mode would go to makefile-mode,
24178 not the other way around.
24179
24180 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24181
24182 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24183 hunk-end tags (Bug#8672).
24184
24185 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24186 vc-annotate-show-diff-revision-at-line (Bug#8671).
24187
24188 2011-05-14 Glenn Morris <rgm@gnu.org>
24189
24190 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24191 in the middle of an existing one with multiple authors. (Bug#8645)
24192 (change-log-font-lock-keywords): Also handle multiple author lines
24193 with leading tabs. (Bug#8644)
24194
24195 * calendar/appt.el (appt-check): Rename some local variables.
24196 Some simplification/reordering.
24197
24198 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24199 (feedmail-sendmail-f-doesnt-sell-me-out)
24200 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24201 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24202 (feedmail-queue-runner-message-sender): Set :version.
24203 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24204 (bbdb-dwim-net-address, vm-mail): Declare.
24205 (feedmail-binmail-gnulinuxish-template):
24206 Rename from feedmail-binmail-linuxish-template.
24207 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24208 Use insert-buffer-substring.
24209
24210 2011-05-14 Bill Carpenter <bill@carpenter.org>
24211
24212 * mail/feedmail.el (feedmail-patch-level): Increase.
24213 (feedmail-debug): New custom group.
24214 (feedmail-confirm-outgoing-timeout)
24215 (feedmail-sendmail-f-doesnt-sell-me-out)
24216 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24217 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24218 (feedmail-sender-line, feedmail-from-line)
24219 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24220 (feedmail-spray-this-address)
24221 (feedmail-spray-address-fiddle-plex-list)
24222 (feedmail-queue-use-send-time-for-date)
24223 (feedmail-queue-use-send-time-for-message-id)
24224 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24225 (feedmail-buffer-eating-function):
24226 Doc fixes.
24227 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24228 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24229 (feedmail-message-action-scroll-down): New functions.
24230 (feedmail-queue-directory, feedmail-queue-draft-directory):
24231 Use expand-file-name.
24232 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24233 Remove C-v help entry.
24234 (feedmail-queue-buffer-file-name): New variable.
24235 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24236 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24237 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24238 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24239 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24240 (feedmail-message-action-toggle-spray)
24241 (feedmail-run-the-queue-no-prompts)
24242 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24243 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24244 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24245 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24246 (feedmail-envelope-deducer, feedmail-fiddle-from)
24247 (feedmail-fiddle-sender, feedmail-default-date-generator)
24248 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24249 (feedmail-fiddle-spray-address)
24250 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24251 (feedmail-fiddle-list-of-fiddle-plexes)
24252 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24253 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24254 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24255 Change default. Doc fix.
24256 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24257 (feedmail-binmail-linuxish-template): New constant.
24258 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24259 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24260 (feedmail-send-it): Add debug call.
24261 Use feedmail-queue-buffer-file-name, and
24262 feedmail-send-it-immediately-wrapper.
24263 (feedmail-message-action-send): Add debug call.
24264 Use feedmail-send-it-immediately-wrapper.
24265 (feedmail-queue-express-to-queue): Add debug call.
24266 Run feedmail-queue-express-hook.
24267 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24268 (feedmail-message-action-help-blat):
24269 Rename from feedmail-queue-send-edit-prompt-help-first.
24270 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24271 Check line-endings. Handle errors better.
24272 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24273 Doc fix. Add debug call.
24274 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24275 Use feedmail-queue-send-edit-prompt-inner.
24276 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24277 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24278 from feedmail-queue-send-edit-prompt.
24279 (feedmail-queue-send-edit-prompt-help)
24280 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24281 (feedmail-tidy-up-slug): Add debug call.
24282 Respect feedmail-queue-slug-suspect-regexp.
24283 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24284 (feedmail-dump-message-to-queue): Add debug call.
24285 Expand queue-directory.
24286 (feedmail-dump-message-to-queue): Change message slightly.
24287 Use feedmail-say-chatter.
24288 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24289 (feedmail-send-it-immediately-wrapper): New function.
24290 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24291 Insert empty string rather than newline. Handle full-frame case.
24292 Use catch/throw. Use feedmail-say-chatter.
24293 (feedmail-fiddle-from): Try mail-host-address.
24294 (feedmail-default-message-id-generator): Doc fix.
24295 Bind system-time-locale. Handle missing end.
24296 (feedmail-fiddle-x-mailer): Add debug call.
24297 Handle feedmail-x-mailer-line being nil.
24298 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24299 Add debug call. Use buffer-substring-no-properties.
24300 (feedmail-say-debug, feedmail-say-chatter): New functions.
24301 (feedmail-find-eoh): Give an explicit error.
24302
24303 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24304
24305 * net/newst-treeview.el (newsticker-treeview-face): Change default
24306 family from helvetica to sans.
24307 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24308 etc/images/newsticker.
24309
24310 * net/newst-reader.el (newsticker-feed-face): Change default
24311 family from helvetica to sans.
24312
24313 * net/newst-plainview.el (newsticker-new-item-face)
24314 (newsticker-old-item-face, newsticker-immortal-item-face)
24315 (newsticker-obsolete-item-face, newsticker-date-face)
24316 (newsticker-statistics-face): Change default family from
24317 helvetica to sans.
24318 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24319 etc/images/newsticker.
24320
24321 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24322 (newsticker--process-auto-mark-filter-match): Tell user about
24323 auto-marking.
24324
24325 2011-05-13 Didier Verna <didier@xemacs.org>
24326
24327 Common Lisp indentation improvements on defmethod and lambda-lists.
24328 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24329 TODO entries.
24330 (lisp-lambda-list-keyword-parameter-indentation)
24331 (lisp-lambda-list-keyword-parameter-alignment)
24332 (lisp-lambda-list-keyword-alignment): New customizable user options.
24333 (lisp-indent-defun-method): Improve docstring.
24334 (extended-loop-p): Fix comment.
24335 (lisp-indent-lambda-list-keywords-regexp): New variable.
24336 (lisp-indent-lambda-list): New function.
24337 (lisp-indent-259): Use it.
24338 (lisp-indent-defmethod): Support for more than one
24339 method qualifier and properly indent methods lambda-lists.
24340 (defgeneric): Provide a missing common-lisp-indent-function property.
24341
24342 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24343
24344 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24345 bounds for the empty string (bug#8667).
24346
24347 2011-05-13 Glenn Morris <rgm@gnu.org>
24348
24349 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24350
24351 * mail/sendmail.el (sendmail-program): Try executable-find first.
24352 (sendmail-send-it): `sendmail-program' cannot be unbound.
24353
24354 * calendar/appt.el (appt-make-list): Simplify.
24355 (appt-time-msg-list): Doc fix.
24356 (appt-check): Change mode-line message at the time of the appointment.
24357
24358 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24359
24360 * progmodes/ld-script.el (ld-script-keywords)
24361 (ld-script-builtins): Update keywords list.
24362
24363 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24364
24365 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24366
24367 * shell.el (shell-completion-vars): New function.
24368 (shell-mode):
24369 * simple.el (read-shell-command): Use it.
24370 (blink-matching-open): No need for " [...]" in minibuffer-message.
24371
24372 2011-05-12 Glenn Morris <rgm@gnu.org>
24373
24374 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24375 (appt-check): Simplify.
24376
24377 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24378
24379 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24380 literal "/dev/null".
24381
24382 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24383
24384 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24385 Fix typo.
24386
24387 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24388
24389 * progmodes/which-func.el (which-function):
24390 Use add-log-current-defun instead of add-log-current-defun-function,
24391 which might not be defined (Bug#8260).
24392
24393 2011-05-12 Glenn Morris <rgm@gnu.org>
24394
24395 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24396 Let byte-compile-initial-macro-environment always take precedence.
24397
24398 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24399
24400 * net/rcirc.el: Add support for SSL/TLS connections.
24401 (rcirc-server-alist): New field `encryption'.
24402 (rcirc): Check `encryption' settings.
24403 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24404 Merge make-local-variable into `set'.
24405 (rcirc--connection-open-p): New function.
24406 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24407 the process is not a network process (e.g. running gnutls-cli).
24408 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24409 Make rcirc-(en|de)code-coding-system local here.
24410 (rcirc-mode): Merge make-local-variable into `set'.
24411 (rcirc-parent-buffer): Make permanent buffer-local.
24412 (rcirc-multiline-minor-mode): Don't do it here.
24413 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24414 there's no server buffer.
24415
24416 2011-05-11 Glenn Morris <rgm@gnu.org>
24417
24418 * newcomment.el (comment-kill): Prefix "unused" local.
24419
24420 * term/w32console.el (get-screen-color): Declare.
24421
24422 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24423 Handle symbol elements of byte-compile-initial-macro-environment.
24424
24425 2011-05-10 Leo Liu <sdl.web@gmail.com>
24426
24427 * bookmark.el (bookmark-bmenu-mode-map):
24428 Bind bookmark-bmenu-search to `/'.
24429
24430 * mail/footnote.el: Convert to utf-8 encoding.
24431 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24432 (Footnote-unicode): New function.
24433 (footnote-style-alist): Add unicode style to the list.
24434 (footnote-style): Doc fix.
24435
24436 2011-05-10 Jim Meyering <meyering@redhat.com>
24437
24438 Fix doubled-word typos.
24439 * international/quail.el (quail-insert-kbd-layout): and and -> and
24440 * kermit.el: and and -> and
24441 * net/ldap.el (ldap-search-internal): to to -> to
24442 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24443 * progmodes/js.el (js-mode): and and -> and
24444 * textmodes/artist.el (artist-move-to-xy): at at -> at
24445 (artist-draw-region-trim-line-endings): if if -> if
24446 And Safetyc -> Safety.
24447 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24448
24449 2011-05-10 Glenn Morris <rgm@gnu.org>
24450 Stefan Monnier <monnier@iro.umontreal.ca>
24451
24452 * files.el (hack-one-local-variable-eval-safep):
24453 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24454
24455 2011-05-10 Glenn Morris <rgm@gnu.org>
24456
24457 * calendar/diary-lib.el (diary-list-entries-hook)
24458 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24459 (diary-nongregorian-marking-hook, diary-list-entries)
24460 (diary-include-other-diary-files, diary-mark-entries)
24461 (diary-mark-included-diary-files): Doc fixes.
24462
24463 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24464
24465 * misc.el: Require tabulated-list.el during compilation.
24466
24467 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24468
24469 * progmodes/compile.el (compilation-start):
24470 Run compilation-filter-hook for the async case too.
24471 (compilation-filter-hook): Doc fix.
24472
24473 2011-05-09 Deniz Dogan <deniz@dogan.se>
24474
24475 * wdired.el: Remove outdated installation comment. Fix usage
24476 comment.
24477
24478 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24479
24480 * misc.el: Implement new command `list-dynamic-libraries'.
24481 (list-dynamic-libraries--loaded-only-p): New variable.
24482 (list-dynamic-libraries--refresh): New function.
24483 (list-dynamic-libraries): New command.
24484
24485 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24486
24487 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24488 Fix the ant regexp to handle end-line and end-column info from jikes.
24489 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24490 higher priority to avoid clobbering by gnu.
24491
24492 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24493
24494 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24495 if the face has existing theme settings (Bug#8454).
24496
24497 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24498
24499 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24500 Only match variables declared via `my' or `our' (Bug#8261).
24501
24502 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24503 special file names `.' and `..' (Bug#8259).
24504
24505 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24506
24507 * progmodes/grep.el (grep-mode-font-lock-keywords):
24508 Remove buffer-changing entries.
24509 (grep-filter): New function.
24510 (grep-mode): Add it to compilation-filter-hook.
24511
24512 * progmodes/compile.el (compilation-filter-hook)
24513 (compilation-filter-start): New defvars.
24514 (compilation-filter): Call compilation-filter-hook prior to
24515 updating the process mark.
24516
24517 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24518
24519 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24520
24521 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24522
24523 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24524 mailclient-send-it even if window-system is nil. (Bug#8595)
24525
24526 * term/w32console.el (terminal-init-w32console):
24527 Call get-screen-color and use its output to set the frame
24528 background-mode. (Bug#8597)
24529
24530 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24531
24532 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24533 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24534 New functions.
24535 (defgeneric, eieio--defmethod): Use them.
24536 (eieio-defgeneric): Remove.
24537 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24538
24539 2011-05-07 Glenn Morris <rgm@gnu.org>
24540
24541 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24542 Use let rather than let*.
24543 (timeclock-find-discrep): Remove unused local.
24544
24545 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24546
24547 * calendar/appt.el (appt-time-msg-list): Doc fix.
24548
24549 2011-05-06 Noah Friedman <friedman@splode.com>
24550
24551 * apropos.el (apropos-print-doc): Only use
24552 emacs-lisp-docstring-fill-column when it is bound to an integer,
24553 per that variable's documentation.
24554
24555 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24556
24557 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24558 and warnings are not silently discarded (e.g. use -d instead of -P).
24559
24560 2011-05-06 Glenn Morris <rgm@gnu.org>
24561
24562 * calendar/appt.el (appt-message-warning-time): Doc fix.
24563 (appt-warning-time-regexp): New option.
24564 (appt-make-list): Respect appt-message-warning-time.
24565
24566 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24567 New options.
24568 (diary-add-to-list): Strip comments from the displayed string.
24569 (diary-mode): Set comment-start and comment-end.
24570
24571 * vc/diff-mode.el (smerge-refine-subst): Declare.
24572 (diff-refine-hunk): Don't require smerge-mode when compiling.
24573
24574 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24575
24576 * simple.el (list-processes): Return nil as the docstring says.
24577
24578 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24579
24580 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24581 to "".
24582 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24583 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24584 determining of binary transfer. (Bug#7383)
24585
24586 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24587
24588 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24589 Fix port computation bug. (Bug#8618)
24590
24591 2011-05-05 Glenn Morris <rgm@gnu.org>
24592
24593 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24594
24595 * simple.el (shell-dynamic-complete-functions)
24596 (comint-dynamic-complete-functions): Declare.
24597
24598 * net/network-stream.el (gnutls-negotiate):
24599 * simple.el (tabulated-list-print): Fix declarations.
24600
24601 * progmodes/gud.el (syntax-symbol, syntax-point):
24602 Remove unnecessary and incorrect declarations.
24603
24604 * emacs-lisp/check-declare.el (check-declare-scan):
24605 Handle byte-compile-initial-macro-environment in bytecomp.el.
24606
24607 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24608
24609 Fix earlier half-done eieio-defmethod change (bug#8338).
24610 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24611 Streamline and change calling convention.
24612 (defmethod): Adjust accordingly and simplify.
24613 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24614 new eieio--defmethod.
24615 (slot-boundp): Minor CSE simplification.
24616
24617 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24618
24619 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24620 (glasses-make-readable): Use glasses-separate-capital-groups.
24621
24622 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24623
24624 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24625 (warning-series): Doc fix.
24626 (display-warning): Don't try to create the buffer if we just found it.
24627
24628 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24629
24630 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24631 (autoload-find-generated-file): New function.
24632 (generate-file-autoloads): Bind generated-autoload-file to
24633 buffer-file-name.
24634 (update-file-autoloads, update-directory-autoloads):
24635 Use autoload-find-generated-file. If called interactively, prompt for
24636 output file (Bug#7989).
24637 (batch-update-autoloads): Doc fix.
24638
24639 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24640
24641 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24642
24643 2011-05-04 Glenn Morris <rgm@gnu.org>
24644
24645 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24646 function, so it follows changes in calendar-date-style.
24647 (diary-fancy-date-matcher): New function.
24648 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24649 (diary-fancy-font-lock-fontify-region-function):
24650 Use diary-fancy-date-pattern as a function.
24651
24652 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24653 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24654
24655 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24656
24657 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24658 instead of positional arguments. Allow :keylist and :crlfiles
24659 arguments.
24660 (open-gnutls-stream): Call it.
24661
24662 * net/network-stream.el (network-stream-open-starttls): Adjust to
24663 call `gnutls-negotiate' with :process and :hostname arguments.
24664
24665 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24666
24667 * minibuffer.el (completion--message): New function.
24668 (completion--do-completion, minibuffer-complete)
24669 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24670 (completion--do-completion): Don't ignore completion-auto-help when in
24671 icomplete-mode.
24672
24673 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24674 internal encoding (e.g. tibetan zero is not whitespace).
24675 (global-whitespace-mode): Prefer save-current-buffer.
24676 (whitespace-trailing-regexp): Remove useless save-match-data.
24677 (whitespace-empty-at-bob-regexp): Minor simplification.
24678
24679 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24680
24681 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24682
24683 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24684
24685 * textmodes/ispell.el (ispell-add-per-file-word-list):
24686 Use `concat' to create string for insertion.
24687
24688 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24689
24690 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24691 Avoid open-line which runs post-self-insert-hook.
24692 (bibtex-fill-entry): Remove unused `end' var.
24693
24694 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24695
24696 * textmodes/ispell.el (ispell-add-per-file-word-list):
24697 Protect against `nil' value of `comment-start' (Bug#8579).
24698
24699 2011-05-03 Leo Liu <sdl.web@gmail.com>
24700
24701 * isearch.el (isearch-yank-pop): New command.
24702 (isearch-mode-map): Bind it to `M-y'.
24703 (isearch-forward): Mention it.
24704
24705 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24706
24707 * simple.el (minibuffer-complete-shell-command): Remove.
24708 (minibuffer-local-shell-command-map): Use completion-at-point.
24709 (read-shell-command): Setup completion vars here instead.
24710 (read-expression-map): Bind TAB to symbol completion.
24711
24712 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24713 error directly rather via storing it into `results'.
24714
24715 2011-05-02 Leo Liu <sdl.web@gmail.com>
24716
24717 * vc/diff.el: Fix description.
24718
24719 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24720
24721 * server.el (server-eval-at): New function.
24722
24723 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24724
24725 * net/network-stream.el (open-network-stream): Take a :nowait
24726 parameter and pass it on to `make-network-process'.
24727 (network-stream-open-plain): Ditto.
24728
24729 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24730
24731 * faces.el (face-spec-set-match-display): Don't match toolkit
24732 options on terminal frames.
24733
24734 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24735
24736 * progmodes/pascal.el: Use lexical binding.
24737 (pascal-mode-map): Remove author preferences.
24738
24739 * pcomplete.el (pcomplete-std-complete): Don't abuse
24740 completion-at-point.
24741
24742 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24743
24744 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24745 removing code that has been dead since 1991 or so.
24746
24747 * startup.el (command-line): When warning about "_emacs", use a
24748 delayed warning to allow the user to filter it out.
24749
24750 2011-04-28 Deniz Dogan <deniz@dogan.se>
24751
24752 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24753 user has not joined.
24754
24755 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24756
24757 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24758 aren't any completions at point.
24759
24760 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24761
24762 * subr.el (display-delayed-warnings): New function.
24763 (delayed-warnings-hook): New variable.
24764
24765 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24766
24767 * minibuffer.el (completion-at-point, completion-help-at-point):
24768 Don't presume that a given completion-at-point-function will always
24769 use the same calling convention.
24770
24771 * pcomplete.el (pcomplete-completions-at-point):
24772 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24773 pcomplete-seen is non-nil.
24774 (pcomplete-comint-setup): Also recognize the new comint/shell
24775 completion functions.
24776 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24777 pcomplete-seen is non-nil.
24778
24779 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24780
24781 * calendar/icalendar.el (diary-lib): Add require statement.
24782 (icalendar--create-uid): Read out a uid from a text-property on
24783 the first character in the entry. This allows for code to add its
24784 own uid to the entry.
24785 (icalendar--convert-float-to-ical): Add export of
24786 `diary-float'-entries save for those with the optional DAY
24787 argument.
24788
24789 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24790
24791 * subr.el (shell-quote-argument): Use alternate escaping strategy
24792 when we spot a variable reference in a string.
24793
24794 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24795
24796 * cus-start.el (all): Define customization for debug-on-event.
24797
24798 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24799
24800 * subr.el (shell-quote-argument): Escape correctly under Windows.
24801
24802 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24803
24804 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24805
24806 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24807
24808 * net/tramp.el (tramp-process-actions): Add POS argument.
24809 Delete region between POS and (pos).
24810
24811 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24812 Use `nil' position in `tramp-process-actions' call.
24813 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24814
24815 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24816 position in `tramp-process-actions' call.
24817
24818 * net/trampver.el: Update release number.
24819
24820 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24821
24822 * custom.el (defcustom): Obey lexical-binding.
24823
24824 Fix octave-inf completion problems reported by Alexander Klimov.
24825 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24826 Inherit from octave-mode-syntax-table.
24827 (inferior-octave-mode): Set info-lookup-mode.
24828 (inferior-octave-completion-at-point): New function.
24829 (inferior-octave-complete): Use it and completion-in-region.
24830 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24831 comint-filename-completion.
24832 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24833 symbol elements which shouldn't be word elements.
24834 (octave-font-lock-keywords, octave-beginning-of-defun)
24835 (octave-function-header-regexp): Adjust regexps accordingly.
24836 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24837
24838 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24839
24840 * net/gnutls.el (gnutls-errorp): Declare before first use.
24841
24842 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24843
24844 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24845 verify-error, and verify-hostname-error parameters. Check whether
24846 default trustfile exists before going to use it. Add missing
24847 argument to gnutls-message-maybe call. Return value.
24848 Reported by Claudio Bley <claudio.bley@gmail.com>.
24849 (open-gnutls-stream): Add usage example.
24850
24851 * net/network-stream.el (network-stream-open-starttls): Give host
24852 parameter to `gnutls-negotiate'.
24853 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24854 * subr.el (shell-quote-argument): Escape correctly under Windows.
24855
24856 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24857
24858 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24859 Use correct match group (bug#8438).
24860
24861 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24862
24863 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24864 (package-menu--generate): New arg specifying packages to show.
24865 (package-menu-refresh, package-menu-execute, list-packages):
24866 Callers changed.
24867 (package-show-package-list): New function, replacing deleted
24868 package--list-packages (renamed because it is non-internal).
24869
24870 * finder.el (finder-list-matches): Use package-show-package-list
24871 instead of deleted package--list-packages.
24872
24873 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24874 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24875 (vc-annotate-mode-map): Bind it to RET.
24876
24877 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24878
24879 * progmodes/etags.el (next-file): Don't use set-buffer to change
24880 buffers (Bug#8478).
24881
24882 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24883
24884 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24885
24886 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24887 (apropos-accumulator): Doc fix.
24888 (apropos-function, apropos-macro, apropos-command)
24889 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24890 (apropos-plist): Add face property.
24891 (apropos-symbols-internal): Fix indentation.
24892 (apropos-print): Simplify help, and recognize apropos-multi-type.
24893 (apropos-print-doc): Use button-type-get to extract the button's
24894 face property. Fill docstring (Bug#8352).
24895
24896 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24897
24898 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24899
24900 * play/mpuz.el (mpuz-silent): Doc fix.
24901 (mpuz-mode-map): Use mapc.
24902 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24903 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24904 Fix typos in docstrings.
24905
24906 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24907 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24908
24909 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24910
24911 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24912
24913 * minibuffer.el (completion--do-completion): Avoid the "Next char
24914 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24915
24916 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24917 mouse-2 into unread-command-events, it is interpreted correctly.
24918
24919 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24920 (image-toggle-display): Doc fix.
24921
24922 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24923
24924 * textmodes/page.el (what-page): Use line-number-at-pos to
24925 calculate line number (Bug#6825).
24926
24927 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24928
24929 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24930 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24931 Pass argument NO-DEFAULT to `find-tag-interactive'.
24932
24933 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24934
24935 Lexical-binding cleanup.
24936
24937 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24938 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24939 * progmodes/ada-prj.el (ada-prj-initialize-values)
24940 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24941 (ada-prj-show-value):
24942 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24943 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24944 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24945 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24946 * progmodes/bug-reference.el (bug-reference-push-button):
24947 * progmodes/fortran.el (fortran-line-length):
24948 * progmodes/glasses.el (glasses-change):
24949 * progmodes/octave-mod.el (octave-fill-paragraph):
24950 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24951 (python-pdbtrack-grub-for-buffer, python-sentinel):
24952 * progmodes/sql.el (sql-save-connection):
24953 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24954 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24955 Mark unused parameters.
24956
24957 * progmodes/compile.el (compilation--flush-directory-cache)
24958 (compilation--flush-parse, compile-internal): Mark unused parameters.
24959 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24960 (compilation-next-error-function): Remove unused variable `timestamp'.
24961
24962 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24963 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24964
24965 * progmodes/dcl-mode.el (dcl-end-of-command):
24966 Remove unused variable `start'.
24967 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24968 (dcl-option-value-basic, dcl-option-value-offset)
24969 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24970 Mark unused parameters.
24971 (dcl-save-local-variable): Remove unused variable `val'.
24972 (mode): Declare.
24973
24974 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24975 Mark unused parameters.
24976 (delphi-ignore-changes): Move before first use.
24977 (delphi-charset-token-at): Remove unused variable `start'.
24978 (delphi-else-start): Remove unused variable `if-count'.
24979 (delphi-comment-block-start, delphi-comment-block-end):
24980 Remove unused variable `kind'.
24981 (delphi-indent-line): Remove unused variable `new-point'.
24982
24983 * progmodes/ebrowse.el (ebrowse-files-list)
24984 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24985 Mark unused parameters. Don't quote `lambda'.
24986 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24987 Don't quote `lambda'.
24988 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24989 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24990 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24991 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24992 Use `ignore-errors'.
24993 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24994 (ebrowse-view/find-file-and-search-pattern)
24995 (ebrowse-view/find-member-declaration/definition):
24996 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24997 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24998 Rename parameter PREFIX-ARG to PREFIX.
24999 (ebrowse-tags-read-name): Remove unused variables `start' and
25000 `member-info'.
25001 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25002 to `tags-file'.
25003
25004 * progmodes/etags.el (local-find-tag-hook): Declare.
25005 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25006 Mark unused parameters.
25007
25008 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25009 (executable-interpret): Mark unused parameter.
25010
25011 * progmodes/flymake.el (flymake-process-sentinel)
25012 (flymake-after-change-function)
25013 (flymake-create-temp-with-folder-structure)
25014 (flymake-get-include-dirs-dot): Mark unused parameters.
25015 (flymake-safe-delete-directory): Remove unused variable `err'.
25016
25017 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25018 (speedbar-timer-fn, speedbar-line-text)
25019 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25020 (speedbar-center-buffer-smartly): Declare functions.
25021 (gdb-find-watch-expression): Remove unused variable `array'.
25022 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25023 (gdb-starting): Mark unused parameters.
25024 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25025 (gdb-table-string): Remove unused variable `res'.
25026 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25027 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25028 (gdb-display-buffer): Remove unused variable `cur-size'.
25029
25030 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25031 allow lexical-binding compilation.
25032 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25033 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25034 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25035 Mark unused parameters.
25036 (gud-gdb-marker-filter): Remove unused variable `match'.
25037 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25038 lambda expressions and funcall them, instead of using `fset'.
25039
25040 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25041 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25042
25043 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25044 variable `header-beg'; use `let'.
25045
25046 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25047 `restart', `last-sexp' and `at-do'.
25048
25049 * progmodes/js.el (js--debug): Mark unused parameter.
25050 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25051 (js--splice-into-items): Remove unused variable `item'.
25052 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25053
25054 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25055 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25056 (makefile-complete): Remove unused variable `try'.
25057 (makefile-fill-paragraph, makefile-match-function-end):
25058 Mark unused parameters.
25059
25060 * progmodes/octave-inf.el (inferior-octave-complete):
25061 Remove unused variable `proc'.
25062 (inferior-octave-output-digest): Mark unused parameter.
25063
25064 * progmodes/perl-mode.el (perl-calculate-indent):
25065 Remove unused variable `err'.
25066
25067 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25068 (prolog-indent-line): Mark unused parameters.
25069 (prolog-indent-line): Remove unused variable `beg'.
25070
25071 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25072 (reporter-dont-compact-list): Declare.
25073
25074 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25075 Remove unused variable `char'.
25076 (sh-debug): Mark unused parameter.
25077 (sh-get-indent-info): Remove unused variable `start'.
25078 (sh-calculate-indent): Remove unused variable `var'.
25079
25080 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25081 (simula-electric-keyword): Remove unused variable `null'.
25082 (simula-search-backward, simula-search-forward): Remove unused
25083 variables `begin' and `end'.
25084
25085 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25086 Remove unused variable `pos'.
25087 (vera-electric-tab, vera-comment-uncomment-region):
25088 Mark unused parameters.
25089 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25090
25091 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25092
25093 * emacs-lisp/package.el (package--builtins, package-alist)
25094 (package-load-descriptor, package-built-in-p, package-activate)
25095 (define-package, package-installed-p)
25096 (package-compute-transaction, package-buffer-info)
25097 (package--push): Doc fix. Distinguish more clearly between
25098 version strings and version lists.
25099
25100 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25101
25102 Lexical-binding cleanup.
25103
25104 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25105 (5x5-make-mutate-best):
25106 * play/fortune.el (fortune-in-buffer):
25107 * play/gomoku.el (gomoku-init-display):
25108 * play/solitaire.el (solitaire, solitaire-do-check):
25109 * play/tetris.el (tetris-default-update-speed-function):
25110 Mark unused parameters.
25111
25112 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25113 (bubbles--shift): Remove unused variable `char-org'.
25114 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25115 (bubbles--show-images): Remove unused variable `char'.
25116
25117 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25118 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25119 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25120 (decipher-analyze-buffer): Use ?\s.
25121 (decipher-make-checkpoint): Remove unused variable `mapping'.
25122
25123 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25124
25125 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25126 Remove unused variable `result'; use `let'.
25127
25128 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25129 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25130 (gametree-children-shown-p, gametree-compute-reduced-score):
25131 Use `ignore-errors'.
25132
25133 * play/handwrite.el (ps-lpr-switches): Declare.
25134 (handwrite): Remove unused variables `pmin' and `lastp'.
25135
25136 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25137
25138 * play/landmark.el (landmark-init-display)
25139 (landmark-update-naught-weights): Mark unused parameters.
25140 (landmark-y): Remove unused variable `noise'. Simplify.
25141 (landmark-human-plays): Remove unused variable `score'.
25142
25143 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25144 (mpuz-try-proposal): Remove unused variable `game'.
25145
25146 * play/zone.el (life-patterns): Declare.
25147
25148 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25149
25150 * vc/vc.el (ediff-vc-internal): Declare function.
25151
25152 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25153
25154 * shell.el: Use lexical-binding and std completion UI.
25155 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25156 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25157 comint-preoutput-filter-functions rather than on
25158 comint-output-filter-functions.
25159 (shell-command-completion, shell--command-completion-data)
25160 (shell-filename-completion, shell-environment-variable-completion)
25161 (shell-c-a-p-replace-by-expanded-directory): New functions.
25162 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25163 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25164 (shell-dynamic-complete-environment-variable): Use them.
25165 (shell-dynamic-complete-as-environment-variable)
25166 (shell-dynamic-complete-as-command): Remove.
25167 (shell-match-partial-variable): Match past point.
25168 * comint.el: Clean up use of completion-at-point-functions.
25169 (comint-completion-at-point): New function.
25170 (comint-mode): Use it completion-at-point-functions.
25171 (comint-dynamic-complete): Make it obsolete.
25172 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25173 (comint-c-a-p-replace-by-expanded-history): New function.
25174 (comint-dynamic-complete-functions)
25175 (comint-replace-by-expanded-history): Use it.
25176 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25177 termination strings. Try harder to avoid second try-completion.
25178 (completion-in-region-mode-map): Disable bindings that don't work yet.
25179
25180 * comint.el: Use lexical-binding. Require CL.
25181 (comint-dynamic-complete-functions): Use comint-filename-completion.
25182 (comint-completion-addsuffix): Tweak custom type.
25183 (comint-filename-completion, comint--common-suffix)
25184 (comint--common-quoted-suffix, comint--table-subvert)
25185 (comint--complete-file-name-data): New functions.
25186 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25187 (comint-dynamic-list-filename-completions): Use them.
25188 (comint-dynamic-simple-complete): Make obsolete.
25189
25190 * minibuffer.el (completion-in-region-mode):
25191 Keep completion-in-region-mode--predicate global.
25192 (completion-in-region--postch):
25193 Assume completion-in-region-mode--predicate is not null.
25194
25195 * progmodes/flymake.el (flymake-start-syntax-check-process):
25196 Obey `dir'. Simplify.
25197
25198 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25199 we're in VC after all.
25200
25201 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25202
25203 * vc/vc.el (vc-diff-build-argument-list-internal)
25204 (vc-version-ediff, vc-ediff): New commands.
25205 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25206
25207 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25208
25209 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25210 add sanity check.
25211
25212 * obsolete/erc-hecomplete.el: Make obsolete.
25213 * obsolete/: Standardize obsolescence info in the header.
25214
25215 2011-04-20 Glenn Morris <rgm@gnu.org>
25216
25217 * calendar/solar.el (solar-horizontal-coordinates):
25218 Use the longitude argument rather than `calendar-longitude'.
25219 (solar-date-next-longitude): Remove unused locals.
25220
25221 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25222
25223 * whitespace.el: New version 13.2.1.
25224
25225 2011-04-20 felix <EmacsWiki> (tiny change)
25226
25227 * whitespace.el (global-whitespace-mode): Keep highlight when
25228 switching between major modes on a file.
25229
25230 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25231
25232 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25233 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25234 multi-line comments as well.
25235
25236 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25237
25238 Lexical-binding cleanup.
25239
25240 * arc-mode.el (archive-mode-revert):
25241 * cmuscheme.el (scheme-interactively-start-process):
25242 * custom.el (custom-initialize-delay):
25243 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25244 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25245 * emacs-lock.el (emacs-lock-clear-sentinel):
25246 * ezimage.el (defezimage):
25247 * follow.el (follow-avoid-tail-recenter):
25248 * fringe.el (set-fringe-mode-1):
25249 * generic-x.el (bat-generic-mode-compile):
25250 * help-mode.el (help-info-variable, help-do-xref)
25251 (help-mode-revert-buffer):
25252 * help.el (view-emacs-todo):
25253 * iswitchb.el (iswitchb-completion-help):
25254 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25255 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25256 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25257 * locate.el (locate-update):
25258 * longlines.el (longlines-encode-region)
25259 (longlines-after-change-function):
25260 * outline.el (outline-isearch-open-invisible):
25261 * ps-def.el (declare-function, charset-dimension, char-width)
25262 (encode-char):
25263 * ps-mule.el (ps-mule-plot-string):
25264 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25265 (recentf-edit-list-select, recentf-edit-list-validate)
25266 (recentf-open-files-action):
25267 * rect.el (delete-whitespace-rectangle-line)
25268 (rectangle-number-line-callback):
25269 * register.el (window-configuration-to-register)
25270 (frame-configuration-to-register):
25271 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25272 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25273 (xselect-convert-to-targets, xselect-convert-to-delete)
25274 (xselect-convert-to-filename, xselect-convert-to-charpos)
25275 (xselect-convert-to-lineno, xselect-convert-to-colno)
25276 (xselect-convert-to-os, xselect-convert-to-host)
25277 (xselect-convert-to-user, xselect-convert-to-class)
25278 (xselect-convert-to-name, xselect-convert-to-integer)
25279 (xselect-convert-to-atom, xselect-convert-to-identity):
25280 * subr.el (declare, ignore, process-kill-without-query)
25281 (text-clone-maintain):
25282 * terminal.el (te-get-char, te-tic-sentinel):
25283 * tool-bar.el (tool-bar-make-keymap):
25284 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25285 * type-break.el (type-break-mode, type-break-noninteractive-query):
25286 * view.el (View-back-to-mark):
25287 * wid-browse.el (widget-browse-action, widget-browse-widget)
25288 (widget-browse-widgets, widget-browse-sexp):
25289 * widget.el (define-widget-keywords):
25290 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25291 Mark unused parameters.
25292
25293 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25294 (align-areas): Remove unused variable `look'.
25295 (align-region): Remove unused variables `real-end' and `pos-list'.
25296
25297 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25298
25299 * bindings.el (mode-line-modified, mode-line-remote):
25300 Mark unused parameters.
25301 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25302
25303 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25304 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25305
25306 * comint.el (comint-history-isearch-pop-state)
25307 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25308 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25309 (comint-substitute-in-file-name): Doc fix.
25310
25311 * completion.el (cmpl-statistics-block): Mark unused parameter.
25312 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25313 (save-completions-to-file, load-completions-from-file):
25314 Remove unused local variable `e'.
25315
25316 * composite.el (compose-chars): Remove unused variable `len'.
25317 (lgstring-insert-glyph): Remove unused variable `g'.
25318 (compose-glyph-string): Remove unused variables `ascent',
25319 `descent', `lbearing' and `rbearing'.
25320 (compose-glyph-string-relative): Remove unused variables
25321 `lbearing', `rbearing' and `wadjust'.
25322 (compose-gstring-for-graphic): Remove unused variables `header',
25323 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25324 (compose-gstring-for-terminal): Remove unused variables `header'
25325 and `nchars'. Use `let', not `let*'.
25326
25327 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25328 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25329 (Custom-buffer-done, custom-buffer-create-internal)
25330 (custom-browse-visibility-action, custom-browse-group-tag-action)
25331 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25332 (widget-magic-mouse-down-action, custom-toggle-parent)
25333 (custom-add-parent-links, custom-toggle-hide-variable)
25334 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25335 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25336 (custom-face-menu-create, custom-variable-menu-create, get)
25337 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25338 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25339 (customize-apropos): Remove unused variable `tests'.
25340 (custom-group-value-create): Remove unused variable `hidden-p'.
25341 (sort-fold-case): Declare.
25342
25343 * cus-theme.el (custom-reset-standard-faces-list)
25344 (custom-reset-standard-variables-list): Declare.
25345 (customize-create-theme, custom-theme-revert, custom-theme-write)
25346 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25347 Mark unused parameters.
25348
25349 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25350
25351 * delim-col.el (delimit-columns-max): Move defvar before first use.
25352
25353 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25354 (describe-char): Don't quote `lambda'. Mark unused parameter.
25355
25356 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25357 (auto-insert): Declare.
25358 (desktop-restore-file-buffer): Rename desktop-* parameters;
25359 mark unused ones.
25360 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25361 (desktop-buffer): Rename desktop-* parameters.
25362
25363 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25364 (dframe-reposition-frame-xemacs, dframe-help-echo)
25365 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25366 Mark unused parameters.
25367
25368 * dired-aux.el (backup-extract-version-start, overwrite-query)
25369 (overwrite-backup-query, rename-regexp-query)
25370 (rename-non-directory-query): Declare.
25371 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25372 (dired-add-entry): Remove unused variable `orig-file-name'.
25373 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25374 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25375 `dired-copy-preserve-time' directly.
25376 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25377 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25378
25379 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25380 (dired-virtual-revert, dired-make-relative-symlink):
25381 Mark unused parameters.
25382 (manual-program): Declare.
25383 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25384 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25385 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25386
25387 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25388
25389 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25390
25391 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25392 Declare.
25393
25394 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25395
25396 * electric.el (Electric-command-loop): Rename parameter
25397 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25398
25399 * expand.el (expand-in-literal): Remove unused variable `here'.
25400
25401 * facemenu.el (facemenu-add-new-color):
25402 Remove unused variable `docstring'.
25403
25404 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25405 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25406 (face-attr-construct): Mark unused parameter. Doc fix.
25407 (read-color): Remove unused variable `hex-string'.
25408
25409 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25410 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25411 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25412 (display-buffer-other-frame): Remove unused variable `old-window'.
25413 (kill-buffer-hook): Declare.
25414 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25415 Mark unused parameters.
25416 (after-find-file): Pass 1 to `auto-save-mode', not t.
25417
25418 * files-x.el (auto-insert): Declare.
25419 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25420
25421 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25422 variable `buf'. Mark unused parameter.
25423 (find-lisp-insert-directory): Mark unused parameter.
25424
25425 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25426 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25427 (format-common-tail): Remove, unused.
25428 (format-deannotate-region): Remove unused variable `loc'.
25429 (format-annotate-region): Remove unused variable `p'.
25430 (format-annotate-single-property-change): Remove unused variables
25431 `default' and `tail'.
25432
25433 * forms.el (read-file-filter): Declare.
25434 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25435
25436 * frame.el (frame-creation-function-alist): Mark unused parameter.
25437 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25438
25439 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25440 Remove unused parameters.
25441 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25442 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25443
25444 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25445 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25446 (hfy-prepare-tag-map): Mark unused parameters.
25447 (htmlfontify-buffer): Use `called-interactively-p'.
25448
25449 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25450 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25451 (ibuffer-do-occur): Mark unused parameters.
25452 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25453 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25454
25455 * ibuffer.el: Don't quote `lambda'.
25456 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25457 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25458 Mark unused parameters.
25459
25460 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25461 (ido-completing-read): Mark unused parameters.
25462 (ido-copy-current-word): Mark unused parameters;
25463 remove unused variable `name'.
25464 (ido-sort-merged-list): Remove unused parameter `dirs'.
25465
25466 * ielm.el (ielm-input-sender): Mark unused parameter.
25467 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25468 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25469 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25470 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25471 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25472
25473 * image-dired.el (image-dired-display-thumbs): Remove unused
25474 variables `curr-file' and `count'.
25475 (image-dired-remove-tag): Remove unused variable `start'.
25476 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25477 variable `curr-file'
25478 (image-dired-rotate-original): Remove unused variable `temp-file'.
25479 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25480 Remove unused variable `file'.
25481 (image-dired-gallery-generate): Remove unused variable `curr'.
25482 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25483
25484 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25485
25486 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25487
25488 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25489
25490 * isearch.el (minibuffer-history-symbol): Declare.
25491 (isearch-edit-string): Remove unused variable `err'.
25492 (isearch-message-prefix, isearch-message-suffix):
25493 Mark unused parameters.
25494
25495 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25496
25497 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25498
25499 * makesum.el (double-column): Remove unused variable `cnt'.
25500
25501 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25502 (ido-ignore-item-temp-list): Declare.
25503
25504 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25505 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25506 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25507 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25508 `mouse-col-delta'.
25509
25510 * mouse-sel.el (mouse-extend-internal):
25511 Remove unused variable `orig-window-frame'.
25512
25513 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25514 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25515 Move declarations before first use.
25516 (pcomplete-opt): Mark unused parameters; doc fix.
25517
25518 * proced.el (proced-revert): Mark unused parameter.
25519 (proced-send-signal): Remove unused variable `err'.
25520
25521 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25522 Rename parameter PREFIX-ARG to ARG.
25523 (ps-basic-plot-string, ps-basic-plot-whitespace):
25524 Mark unused parameters.
25525
25526 * replace.el (replace-count): Define.
25527 (occur-revert-function): Mark unused parameters.
25528 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25529 (isearch-case-fold-search, isearch-string): Declare.
25530 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25531 bind `case-fold-search'. Remove unused variables `beg' and `end',
25532 and simplify.
25533 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25534 COUNT and bind `replace-count'.
25535 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25536 to COUNT.
25537
25538 * savehist.el (print-readably, print-string-length): Declare.
25539
25540 * shadowfile.el (shadow-expand-cluster-in-file-name):
25541 Remove unused variable `cluster'.
25542 (shadow-copy-file): Remove unused variable `i'.
25543 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25544 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25545 (shadow-define-literal-group, shadow-define-regexp-group)
25546 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25547
25548 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25549 (shell): Use `called-interactively-p'.
25550 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25551
25552 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25553 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25554 (delete-backward-char): Remove unused variable `ocol'.
25555 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25556 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25557 (event-apply-hyper-modifier, event-apply-shift-modifier)
25558 (event-apply-control-modifier, event-apply-meta-modifier):
25559 Mark unused parameters.
25560 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25561 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25562
25563 * speedbar.el (speedbar-ignored-directory-expressions)
25564 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25565 (speedbar-find-file, speedbar-dir-follow)
25566 (speedbar-directory-buttons-follow, speedbar-tag-find)
25567 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25568 (speedbar-buffers-line-directory, speedbar-buffer-click):
25569 Mark unused parameters.
25570 (speedbar-tag-file): Remove unused variable `mode'.
25571 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25572
25573 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25574
25575 * talk.el (talk): Remove unused variable `display'.
25576
25577 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25578 (tar-write-region-annotate): Mark unused parameter.
25579
25580 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25581 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25582 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25583 warning by another.
25584
25585 * time-stamp.el (time-stamp-string-preprocess):
25586 Remove unused variable `require-padding'.
25587
25588 * tree-widget.el (widget-glyph-enable): Declare.
25589 (tree-widget-action): Mark unused parameter.
25590
25591 * w32-fns.el (x-get-selection): Mark unused parameter.
25592 (autoload-make-program, generated-autoload-file): Declare.
25593
25594 * wdired.el (wdired-revert): Mark unused parameters.
25595 (wdired-xcase-word): Remove unused variable `err'.
25596
25597 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25598 (whitespace-help-scroll): Remove unused variable `data-help'.
25599
25600 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25601 (widget-image-insert, widget-after-change, default)
25602 (widget-default-format-handler, widget-default-notify)
25603 (widget-default-prompt-value, widget-info-link-action)
25604 (widget-url-link-action, widget-function-link-action)
25605 (widget-variable-link-action, widget-file-link-action)
25606 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25607 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25608 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25609 (widget-insert-button-action, widget-delete-button-action, visibility)
25610 (widget-documentation-link-action, widget-documentation-string-action)
25611 (widget-const-prompt-value, widget-regexp-match, symbol)
25612 (widget-coding-system-prompt-value)
25613 (widget-key-sequence-value-to-external, sexp)
25614 (widget-sexp-value-to-internal, character, vector, cons)
25615 (widget-choice-prompt-value, widget-boolean-prompt-value)
25616 (widget-color--choose-action): Mark unused parameters.
25617 (widget-item-match-inline, widget-choice-match-inline)
25618 (widget-checklist-match, widget-checklist-match-inline)
25619 (widget-group-match): Rename parameter VALUES to VALS.
25620 (widget-field-value-set): Remove unused variable `size'.
25621 (widget-color-action): Remove unused variables `value' and `start'.
25622
25623 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25624 variable `dir'. Doc fix.
25625 (windmove-find-other-window): Don't pass it.
25626
25627 * window.el (count-windows): Mark unused parameter.
25628 (bw-adjust-window): Remove unused variable `err'.
25629
25630 * woman.el (woman-file-name): Remove unused variable `default'.
25631 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25632 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25633 (global-font-lock-mode): Declare.
25634 (woman-decode-region): Mark unused parameter.
25635 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25636
25637 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25638 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25639 (x-dnd-handle-moz-url): Remove unused variable `title'.
25640 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25641
25642 * xml.el (xml-parse-tag, xml-parse-attlist):
25643 Remove unused variable `pos'.
25644
25645 2011-04-19 Glenn Morris <rgm@gnu.org>
25646
25647 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25648 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25649 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25650 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25651 * calendar/cal-html.el (cal-html-insert-minical):
25652 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25653 (calendar-mark-date-pattern):
25654 Prefix "unused" locals.
25655
25656 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25657 optional argument `style'.
25658
25659 * calendar/appt.el (appt-make-list):
25660 * calendar/cal-china.el (calendar-chinese-date-string):
25661 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25662 (diary-hebrew-yahrzeit):
25663 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25664 * calendar/calendar.el (calendar-generate-window):
25665 * calendar/time-date.el (time-to-days):
25666 Remove unused local variables.
25667
25668 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25669
25670 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25671 glyphless-char-display table.
25672 (tabulated-list-glyphless-char-display): New var.
25673
25674 2011-04-18 Sam Steingold <sds@gnu.org>
25675
25676 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25677 to acknowledgments.
25678
25679 2011-04-17 Glenn Morris <rgm@gnu.org>
25680
25681 * calendar/diary-lib.el (diary-sexp-entry):
25682 * calendar/holidays.el (holiday-sexp):
25683 Set debug-on-error rather than the removed stack-trace-on-error.
25684
25685 2011-04-16 Glenn Morris <rgm@gnu.org>
25686
25687 * progmodes/f90.el: Use lexical-binding.
25688 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25689
25690 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25691
25692 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25693 (mail-mode): Setup mailalias completion here instead.
25694 * mail/mailalias.el: Use lexical-binding.
25695 (pattern, mailalias-done): Declare dynamic.
25696 (mail-completion-at-point-function): New function, from mail-complete.
25697 (mail-complete): Use it.
25698 (mail-completion-expand): New function.
25699 (mail-get-names): Use it.
25700 (mail-directory, mail-directory-process, mail-directory-stream):
25701 Don't use `pattern' for lexically bound arg.
25702
25703 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25704
25705 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25706 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25707 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25708
25709 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25710 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25711 (byte-interactive-p): Define them again, for use when inlining
25712 old code.
25713
25714 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25715
25716 * loadup.el: Use `string-to-number', not `string-to-int'.
25717
25718 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25719
25720 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25721 gud-gdb-complete-command.
25722 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25723 (gud-gdb-completion-at-point): New function.
25724 (gud-gdb-completions): Remove.
25725
25726 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25727
25728 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25729 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25730 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25731 whether `executable-find' is bound.
25732
25733 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25734
25735 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25736
25737 * minibuffer.el (completion-in-region-mode-predicate)
25738 (completion-in-region-mode--predicate): New vars.
25739 (completion-in-region, completion-in-region--postch)
25740 (completion-in-region-mode): Use them.
25741 (completion--capf-wrapper): Also return the hook function.
25742 (completion-at-point, completion-help-at-point):
25743 Adjust and provide a predicate.
25744
25745 Preserve arg names for advice of subr and lexical functions (bug#8457).
25746 * help-fns.el (help-function-arglist): Consolidate the subr and
25747 new-byte-code cases. Add argument `preserve-names' to extract names
25748 from the docstring when needed.
25749 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25750 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25751 (ad-arglist): Use help-function-arglist's new arg.
25752 (ad-definition-type): Use cond.
25753
25754 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25755
25756 * autorevert.el (auto-revert-handler):
25757 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25758 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25759 Don't quote lambda.
25760
25761 * image-mode.el (image-transform-set-scale):
25762 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25763
25764 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25765
25766 * net/network-stream.el (network-stream-open-starttls): Only do
25767 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25768 Upgrades via gnutls-cli are too slow to be done opportunistically.
25769
25770 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25771
25772 * dframe.el (dframe-current-frame): Remove spurious quote.
25773
25774 2011-04-12 Glenn Morris <rgm@gnu.org>
25775
25776 * calendar/cal-tex.el (cal-tex-end-document):
25777 Try to automatically use latin1 input if needed.
25778
25779 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25780 Don't try to cons a mark onto an empty element.
25781
25782 2011-04-11 Leo Liu <sdl.web@gmail.com>
25783
25784 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25785 buffers.
25786 (ido-kill-buffer-at-head): Support killing virtual buffers.
25787
25788 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25789
25790 * minibuffer.el (completion-show-inline-help): New var.
25791 (completion--do-completion, minibuffer-complete)
25792 (minibuffer-force-complete, minibuffer-complete-word):
25793 Inhibit minibuffer messages if completion-show-inline-help is nil.
25794
25795 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25796 to avoid interference from inline help (Bug#5849).
25797
25798 2011-04-10 Leo Liu <sdl.web@gmail.com>
25799
25800 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25801 Fix typo.
25802
25803 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25804
25805 * image-mode.el (image-toggle-display-image): Signal an error if
25806 not in Image mode.
25807 (image-transform-mode, image-transform-resize)
25808 (image-transform-set-rotation): Doc fix.
25809 (image-transform-set-resize): Delete.
25810 (image-transform-set-scale, image-transform-fit-to-height)
25811 (image-transform-fit-to-width): Handle image-toggle-display-image
25812 and image-transform-resize directly.
25813
25814 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25815
25816 * doc-view.el (doc-view-fit-width-to-window)
25817 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25818 New functions for fitting the shown image to the Emacs window size.
25819 (doc-view-mode-map): Add bindings for the new functions.
25820
25821 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25822
25823 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25824 Fix typo in docstring.
25825
25826 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25827
25828 * files.el (file-size-human-readable): Produce one digit after
25829 decimal, like "ls -lh" does.
25830
25831 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25832 the file size representation.
25833
25834 * simple.el (list-processes): If async subprocesses are not
25835 available, error out with a clear error message.
25836
25837 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25838
25839 * help.el (help-form-show): New function, to be called from C.
25840 Put help-form output in a buffer named differently than *Help*.
25841
25842 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25843
25844 * files.el (file-size-human-readable): New function.
25845
25846 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25847 computing the representation inline. Don't require `cl'.
25848
25849 2011-04-08 Glenn Morris <rgm@gnu.org>
25850
25851 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25852
25853 * net/browse-url.el (browse-url-firefox):
25854 Test system-type, not system-configuration.
25855
25856 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25857 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25858 Use log-edit-empty-buffer-p. (Bug#7598)
25859
25860 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25861 (rlogin-mode-map): Initialize in the defvar.
25862 (rlogin): Use ignore-errors.
25863
25864 * replace.el (occur-mode-map): Some fixes for menu items.
25865
25866 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25867
25868 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25869
25870 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25871
25872 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25873 issuing unused warnings.
25874
25875 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25876 macro directly.
25877
25878 * simple.el: Lisp reimplement of list-processes. Based on an
25879 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25880 (process-menu-mode): New major mode.
25881 (list-processes--refresh, list-processes):
25882 (process-menu-visit-buffer): New functions.
25883
25884 * files.el (save-buffers-kill-emacs): Don't assume any return
25885 value of list-processes, which is undocumented anyway.
25886
25887 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25888
25889 * emacs-lisp/tabulated-list.el: New file.
25890
25891 * emacs-lisp/package.el: Use Tabulated List mode.
25892 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25893 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25894 table format using Tabulated List mode variables.
25895 (package--push): New macro, replacing package-list-maybe-add.
25896 (package-menu--generate): Use package--push. Renamed from
25897 package--generate-package-list.
25898 (package-menu-refresh, list-packages): Use it.
25899 (package-menu--print-info): Rename from package-print-package.
25900 Return insertion data instead of inserting it directly.
25901 (package-menu-describe-package, package-menu-execute):
25902 Use tabulated-list-get-id.
25903 (package-menu-mark-delete, package-menu-mark-install)
25904 (package-menu-mark-unmark, package-menu-backup-unmark)
25905 (package-menu-mark-obsolete-for-deletion):
25906 Use tabulated-list-put-tag.
25907 (package--list-packages, package-menu-revert)
25908 (package-menu-get-package, package-menu-get-version)
25909 (package-menu-sort-by-column): Functions deleted.
25910 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25911 (package-menu--status-predicate, package-menu--version-predicate)
25912 (package-menu--name-predicate)
25913 (package-menu--description-predicate): Handle arguments in the
25914 Tabulated List format.
25915 (package-list-packages-no-fetch): Call list-packages.
25916
25917 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25918
25919 * files.el (after-find-file-from-revert-buffer): Remove variable.
25920 (after-find-file): Don't bind it.
25921 (revert-buffer-in-progress-p): New variable.
25922 (revert-buffer): Bind it.
25923 Pass nil for `after-find-file-from-revert-buffer'.
25924
25925 * saveplace.el (save-place-find-file-hook): Use new variable
25926 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25927
25928 2011-04-06 Glenn Morris <rgm@gnu.org>
25929
25930 * Makefile.in (AUTOGEN_VCS): New variable.
25931 (autoloads): Use $AUTOGEN_VCS.
25932
25933 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25934 * calendar/calendar.el (calendar-mode-map):
25935 Check for toolkit scroll bars. (Bug#8305)
25936
25937 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25938
25939 * minibuffer.el (completion-in-region--postch)
25940 (completion-in-region-mode): Remove unnecessary messages.
25941
25942 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25943
25944 * font-lock.el (font-lock-refresh-defaults):
25945 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25946 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25947
25948 * info.el (Info-directory-list, Info-read-node-name-2)
25949 (Info-split-parameter-string): Doc fixes.
25950 (Info-virtual-nodes): Reflow docstring.
25951 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25952 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25953 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25954 Fix typos in docstrings.
25955 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25956 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25957 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25958 (Info-restore-desktop-buffer): Mark unused parameters.
25959 (Info-directory-find-file, Info-directory-find-node)
25960 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25961 (Info-virtual-index-find-node, Info-apropos-find-file)
25962 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25963 Mark unused parameters; fix typos in docstrings.
25964 (Info-virtual-index): Remove unused local variable `nodename'.
25965
25966 2011-04-05 Deniz Dogan <deniz@dogan.se>
25967
25968 * net/rcirc.el: Update my e-mail address.
25969 (rcirc-mode-map): Remove M-o binding.
25970
25971 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25972
25973 * startup.el (command-line): Save the cursor's theme-face
25974 directly, instead of using face-override-spec.
25975
25976 * custom.el (load-theme): Minor optimization in assigning faces.
25977
25978 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25979
25980 * help-fns.el (describe-variable): Complete all variables having
25981 documentation, including keywords.
25982 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25983
25984 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25985
25986 Convert to lexical-binding.
25987
25988 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25989 (bs--get-marked-string, bs--get-modified-string)
25990 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25991 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25992 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25993
25994 * ehelp.el (electric-help-execute-extended)
25995 (electric-help-ctrl-x-prefix):
25996 * hexl.el (hexl-revert-buffer-function):
25997 * linum.el (linum-after-change, linum-after-scroll):
25998 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25999
26000 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26001
26002 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26003
26004 * epa-dired.el:
26005 * epa-mail.el:
26006 * epa-hook.el:
26007 * epa-file.el:
26008 * epa.el:
26009 * epg.el: Use lexical binding.
26010
26011 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26012
26013 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26014
26015 * textmodes/flyspell.el (flyspell-word): Recognize default
26016 dictionary case for flyspell-mark-duplications-exceptions.
26017 Use regexp matching for languages.
26018 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26019 default dictionary (Bug#7926).
26020
26021 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26022
26023 * emacs-lisp/package.el (package--with-work-buffer):
26024 Recognize https URLs.
26025
26026 * net/network-stream.el: Move from gnus/proto-stream.el.
26027 Change prefix to network-stream throughout.
26028 (open-protocol-stream): Merge into open-network-stream, leaving
26029 open-protocol-stream as an alias. Handle nil BUFFER args.
26030
26031 * subr.el (open-network-stream): Move to net/network-stream.el.
26032
26033 2011-04-02 Glenn Morris <rgm@gnu.org>
26034
26035 * find-dired.el (find-exec-terminator): New option.
26036 (find-ls-option): Test for -ls support.
26037 (find-ls-subdir-switches): Test for -b in find-ls-option.
26038 (find-dired, find-grep-dired): Doc fixes.
26039 (find-dired): Use find-exec-terminator.
26040
26041 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26042 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26043 (find-name-arg): Remove purecopy.
26044
26045 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26046 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26047 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26048 accordingly. Don't add the null-device if not needed.
26049
26050 * files.el (save-some-buffers): Doc fix.
26051
26052 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26053
26054 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26055
26056 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26057
26058 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26059 Use `dolist' rather than `mapcar'.
26060
26061 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26062
26063 Add lexical binding.
26064
26065 * subr.el (apply-partially): Use new closures rather than CL.
26066 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26067 (dolist, dotimes): Use slightly different expansion for lexical code.
26068 (functionp): Move to C.
26069 (letrec): New macro.
26070 (with-wrapper-hook): Use it and apply-partially instead of CL.
26071 (eval-after-load): Preserve lexical-binding.
26072 (save-window-excursion, with-output-to-temp-buffer): Turn them
26073 into macros.
26074
26075 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26076
26077 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26078 than the arglist.
26079 (help-add-fundoc-usage): Don't add `Not documented'.
26080 (help-function-arglist): Handle closures, subroutines, and new
26081 byte-code-functions.
26082 (help-make-usage): Remove leading underscores.
26083 (describe-function-1): Handle closures.
26084 (describe-variable): Use special-variable-p for completion.
26085
26086 * files.el (lexical-binding): Declare safe.
26087
26088 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26089 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26090 (pcase): Add `let' pattern.
26091 Change memoization so it actually works.
26092 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26093 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26094 <let>: New case.
26095
26096 * emacs-lisp/macroexp.el: Use lexical binding.
26097 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26098 Don't convert ' to #' without checking that it's indeed quoting
26099 a lambda.
26100
26101 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26102 Use eval-sexp-add-defvars.
26103 (eval-sexp-add-defvars): New fun.
26104
26105 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26106
26107 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26108 Don't autoload.
26109 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26110 than the internal `byte-compile-lambda'.
26111 (defmethod): Don't hide code under quotes.
26112 (eieio-defmethod): New `code' argument.
26113
26114 * emacs-lisp/eieio-comp.el: Remove.
26115
26116 * emacs-lisp/edebug.el (edebug-eval-defun)
26117 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26118 (edebug-toggle): Avoid `eval'.
26119
26120 * emacs-lisp/disass.el (disassemble-internal): Handle new
26121 `closure' objects.
26122 (disassemble-1): Handle new byte codes.
26123
26124 * emacs-lisp/cl.el (pushnew): Silence warning.
26125
26126 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26127 (cl-byte-compile-throw): Remove.
26128 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26129
26130 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26131 closures.
26132
26133 * emacs-lisp/cconv.el: New file.
26134
26135 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26136 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26137 (byte-compile-initial-macro-environment):
26138 Handle declare-function here.
26139 (byte-compile--lexical-environment): New var.
26140 (byte-stack-ref, byte-stack-set, byte-discardN)
26141 (byte-discardN-preserve-tos): New lap codes.
26142 (byte-interactive-p): Don't use any more.
26143 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26144 New macros.
26145 (byte-compile-lapcode): Use them and handle new lap codes.
26146 (byte-compile-obsolete): Remove.
26147 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26148 (byte-compile-arglist-warn): Check late def of inlinable funs.
26149 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26150 since they should have been expanded by now.
26151 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26152 (byte-compile-from-buffer): Remove unused second arg.
26153 (byte-compile-preprocess): New function.
26154 (byte-compile-toplevel-file-form): New function to distinguish
26155 file-form calls from outside from file-form calls from hunk-handlers.
26156 (byte-compile-file-form): Simplify.
26157 (byte-compile-file-form-defsubst): Remove.
26158 (byte-compile-file-form-defmumble): Simplify now that
26159 byte-compile-lambda always returns a byte-code-function.
26160 (byte-compile): Preprocess.
26161 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26162 Remove, not used any more.
26163 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26164 (byte-compile-make-args-desc): New funs.
26165 (byte-compile-lambda): Handle lexical functions. Always return
26166 a byte-code-function.
26167 (byte-compile-reserved-constants): New var, to make up room for
26168 closed-over variables.
26169 (byte-compile-constants-vector): Obey it.
26170 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26171 (byte-compile-macroexpand-declare-function): New function.
26172 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26173 byte-code-functions.
26174 (byte-compile-form): Check obsolescence here.
26175 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26176 (byte-compile-variable-ref): Remove.
26177 (byte-compile-dynamic-variable-op): New fun.
26178 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26179 (byte-compile-variable-set): New funs.
26180 (byte-compile-discard): Add 2 args.
26181 (byte-compile-stack-ref, byte-compile-stack-set)
26182 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26183 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26184 macroexpand-all instead.
26185 (byte-compile-quote-form): Remove.
26186 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26187 (byte-compile-bind, byte-compile-unbind): New funs.
26188 (byte-compile-let): Handle let* and lexical binding.
26189 (byte-compile-let*): Remove.
26190 (byte-compile-catch, byte-compile-unwind-protect)
26191 (byte-compile-track-mouse, byte-compile-condition-case):
26192 Handle a new :fun-body form, used for lexical scoping.
26193 (byte-compile-save-window-excursion)
26194 (byte-compile-with-output-to-temp-buffer): Remove.
26195 (byte-compile-defun): Simplify.
26196 (byte-compile-stack-adjustment): New fun.
26197 (byte-compile-out): Use it.
26198 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26199
26200 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26201 handler any more.
26202
26203 * emacs-lisp/byte-opt.el: Use lexical binding.
26204 (byte-inline-lapcode): Remove (to bytecomp).
26205 (byte-compile-inline-expand): Pay attention to inlining to/from
26206 lexically bound code.
26207 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26208 any more.
26209 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26210 any more and don't call compiler-macros.
26211 (byte-compile-splice-in-already-compiled-code): Remove.
26212 (byte-code): Don't inline any more.
26213 (disassemble-offset): Receive `bytes' as argument rather than via
26214 dynamic scoping.
26215 (byte-compile-tag-number): Declare before first use.
26216 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26217 `return' even if make-spliceable.
26218 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26219 obsolete interactive-p.
26220 (byte-optimize-lapcode): Optimize new lap-codes.
26221 Don't trip up on new form of `byte-constant' lap code.
26222
26223 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26224
26225 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26226
26227 * custom.el (custom-initialize-default, custom-declare-variable):
26228 Use `defvar'.
26229
26230 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26231 New variables.
26232 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26233 (COMPILE_FIRST): Add macroexp and cconv.
26234 * makefile.w32-in: Mirror changes in Makefile.in.
26235
26236 * vc/cvs-status.el:
26237 * vc/diff-mode.el:
26238 * vc/log-edit.el:
26239 * vc/log-view.el:
26240 * vc/smerge-mode.el:
26241 * textmodes/bibtex-style.el:
26242 * textmodes/css-mode.el:
26243 * startup.el:
26244 * uniquify.el:
26245 * minibuffer.el:
26246 * newcomment.el:
26247 * reveal.el:
26248 * server.el:
26249 * mpc.el:
26250 * emacs-lisp/smie.el:
26251 * doc-view.el:
26252 * dired.el:
26253 * abbrev.el: Use lexical binding.
26254
26255 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26256
26257 * info.el (info-display-manual): New function.
26258
26259 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26260
26261 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26262
26263 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26264
26265 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26266 an entry for that server in rcirc-authinfo. (Bug#8385)
26267
26268 2011-03-31 Glenn Morris <rgm@gnu.org>
26269
26270 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26271
26272 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26273
26274 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26275
26276 * progmodes/python.el (python-default-interpreter)
26277 (python-python-command-args, python-jython-command-args)
26278 (python-which-shell, python-which-args, python-which-bufname)
26279 (python-file-queue, python-comint-output-filter-function)
26280 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26281 variables and functions.
26282
26283 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26284
26285 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26286 (completion-in-region-mode): New minor mode.
26287 (completion-in-region): Use it.
26288 (completion-in-region--data, completion-in-region-mode-map): New vars.
26289 (completion-in-region--postch): New function.
26290 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26291 New vars.
26292 (completion--capf-wrapper): New function.
26293 (completion-at-point): Use it to track well-behavedness of
26294 hook functions.
26295 (completion-help-at-point): New command.
26296
26297 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26298
26299 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26300 syntax class to search for whitespace on a single line
26301 (Message-ID: <4D938140.4030905@redhat.com>).
26302
26303 2011-03-30 Leo Liu <sdl.web@gmail.com>
26304
26305 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26306 New commands.
26307 (edit-abbrevs-map): Bind them here.
26308 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26309
26310 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26311
26312 * allout.el (allout-hide-by-annotation, allout-flag-region):
26313 Reduce possibility of overlay leakage by making them volatile.
26314
26315 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26316 hash is not shared between buffers. Mode initialization is
26317 responsible for giving it a useful starting value.
26318 (allout-item-span): Reduce possibility of overlay leakage by
26319 making them volatile.
26320 (allout-widgets-count-buttons-in-region): Add diagnostic function
26321 for tracking down button overlay leaks.
26322
26323 2011-03-29 Leo Liu <sdl.web@gmail.com>
26324
26325 * ido.el (ido-read-internal): Use the default history var
26326 minibuffer-history if no HISTORY is specified.
26327
26328 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26329
26330 * net/imap.el (imap-shell-open, imap-process-connection-type):
26331 Use imap-process-connection-type for 'shell' streams as well as
26332 Kerberos, SSL, other subprocesses.
26333
26334 2011-03-28 Leo Liu <sdl.web@gmail.com>
26335
26336 * abbrev.el (abbrev-table-empty-p): New function.
26337 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26338 nonempty ones. (Bug#5937)
26339
26340 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26341
26342 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26343
26344 2011-03-27 Leo Liu <sdl.web@gmail.com>
26345
26346 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26347 for foreground and background colors.
26348 (ansi-color-make-color-map): Adapt.
26349
26350 2011-03-25 Leo Liu <sdl.web@gmail.com>
26351
26352 * midnight.el (midnight-time-float): Remove. Note it calculates
26353 the microsecond component incorrectly and seconds-to-time does the
26354 same job.
26355 Remove redundant (require 'timer).
26356
26357 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26358 (ido-completions): Remove unused arguments. (Bug#8329)
26359
26360 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26361
26362 * minibuffer.el (completion--flush-all-sorted-completions):
26363 Remove itself from hook.
26364 (completion-at-point): Let the functions perform the completion
26365 immediately and return nil or t.
26366 * comint.el (comint-dynamic-complete-functions): Now identical to
26367 completion-at-point-functions.
26368 (comint-dynamic-list-input-ring): Remove unused var `index'.
26369 (comint--match-partial-filename, comint--unquote&expand-filename):
26370 New funs, split from comint-match-partial-filename.
26371 (comint-dynamic-complete): Use completion-at-point.
26372 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26373
26374 2011-03-24 Drew Adams <drew.adams@oracle.com>
26375
26376 * thingatpt.el: Support `defun'.
26377
26378 2011-03-23 Leo Liu <sdl.web@gmail.com>
26379
26380 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26381
26382 * help-mode.el (help-mode-finish): Tweak regexp.
26383
26384 2011-03-23 Glenn Morris <rgm@gnu.org>
26385
26386 * eshell/esh-opt.el (eshell-eval-using-options):
26387 Do not bind unused local variable `eshell-option-stub'.
26388
26389 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26390
26391 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26392
26393 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26394 keymap variable in `with-no-warnings' to avoid a warning when the
26395 keymap has been already `defconst'ed.
26396
26397 2011-03-22 Leo Liu <sdl.web@gmail.com>
26398
26399 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26400 encode all chars in abbrevs; otherwise use emacs-mule or
26401 utf-8-emacs. (Bug#8308)
26402
26403 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26404
26405 * simple.el (backward-delete-char-untabify):
26406 Avoid warning about using `delete-backward-char'.
26407
26408 * image.el (image-type-file-name-regexps): Make it variable.
26409 `imagemagick-register-types' modifies it, and the user may want
26410 to add new extensions for known image types.
26411 (imagemagick-register-types): Throw error if not using ImageMagick.
26412
26413 2011-03-22 Leo Liu <sdl.web@gmail.com>
26414
26415 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26416 located before rcirc-prompt-end-marker.
26417 (rcirc-complete): Error if point is not after rcirc prompt.
26418 Handle the case when table is nil.
26419 (rcirc-user-authenticated): Define to fix compiler warning.
26420
26421 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26422
26423 * custom.el (custom--inhibit-theme-enable): Make it affect only
26424 custom-theme-set-variables and custom-theme-set-faces.
26425 (provide-theme): Ignore custom--inhibit-theme-enable.
26426 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26427 (custom-enabling-themes): Delete variable.
26428 (enable-theme): Accept only loaded themes as arguments.
26429 Ignore the special custom-enabled-themes variable.
26430 (custom-enabled-themes): Forbid themes from setting this.
26431 Eliminate use of custom-enabling-themes.
26432 (custom-push-theme): Quote "changed" custom var entry.
26433
26434 2011-03-21 Leo Liu <sdl.web@gmail.com>
26435
26436 * ido.el (ido-read-internal): Add ido-selected to history instead
26437 of user input.
26438
26439 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26440
26441 * subr.el (deferred-action-list, deferred-action-function):
26442 Mark obsolete.
26443
26444 2011-03-21 Leo Liu <sdl.web@gmail.com>
26445
26446 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26447 change on 2011-02-13 (bug#8309).
26448
26449 * minibuffer.el (read-file-name-function): Change default value.
26450 (read-file-name--defaults): Rename from read-file-name-defaults.
26451 (read-file-name-default): Rename from read-file-name.
26452 (read-file-name): Call read-file-name-function.
26453
26454 2011-03-21 Glenn Morris <rgm@gnu.org>
26455
26456 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26457 Doc fixes.
26458
26459 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26460
26461 * cus-theme.el: Add missing provide statement.
26462 (customize-create-theme): Extract theme value correctly.
26463 (custom-theme-visit-theme): Autoload.
26464 (customize-create-theme): Prompt before inserting default faces.
26465
26466 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26467
26468 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26469 units and musical notes.
26470
26471 2011-03-20 Leo Liu <sdl.web@gmail.com>
26472
26473 * ido.el (ido-read-internal): Use completing-read-default.
26474 (ido-completing-read): Fix compatibility with completing-read.
26475
26476 2011-03-20 Christian Ohler <ohler@gnu.org>
26477
26478 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26479 (ert-delete-all-tests): Use `called-interactively-p' rather than
26480 `interactive-p'.
26481 (ert--make-xrefs-region): Respect END.
26482
26483 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26484
26485 * dired-aux.el (dired-create-directory): Signal an error if the
26486 directory already exists (Bug#8246).
26487
26488 * facemenu.el (list-colors-display): Call list-faces-display
26489 inside with-help-window.
26490 (list-colors-print): Use display property to align the final
26491 column, instead of checking window-width.
26492
26493 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26494
26495 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26496 windows-nt systems.
26497 (emerge-protect-metachars): Quote correctly for ms-dos and
26498 windows-nt systems.
26499
26500 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26501
26502 * info.el (info-initialize): Replace all uses of `:' with
26503 path-separator for compatibility with non-Unix systems.
26504 Cache quoting of path-separator. (Bug#8258)
26505
26506 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26507
26508 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26509 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26510 (mouse-avoidance-mode): Fix typos in docstrings.
26511
26512 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26513
26514 * startup.el (package-subdirectory-regexp): Move from package.el.
26515 Omit \\` and \\', and let callers add them.
26516
26517 * emacs-lisp/package.el (package-strip-version)
26518 (package-load-all-descriptors): Add \\` and \\' to
26519 package-subdirectory-regexp before using it.
26520 (package-untar-buffer): New arg DIR; ensure that file untars only
26521 into this expected directory. Remove superfluous delete-region.
26522 (package-unpack): Caller changed.
26523 (package-tar-file-info): Use package-subdirectory-regexp.
26524
26525 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26526
26527 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26528 diff-mode-shared-map (bug#8284).
26529 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26530
26531 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26532
26533 * calendar/time-date.el (format-seconds): Use assoc instead of
26534 assoc-string, since assoc-string doesn't exist in XEmacs.
26535
26536 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26537
26538 * custom.el (custom-known-themes): Reflow docstring.
26539 (custom-theme-load-path): Fix typo in docstring.
26540 (load-theme): Fix typo in error message.
26541 (custom-available-themes, custom-variable-theme-value):
26542 Use `let', not `let*'.
26543
26544 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26545
26546 * calc/README: Mention inclusion of musical notes.
26547
26548 * calc/calc-units.el (calc-lu-quant): Rename from
26549 `calc-logunits-quantity'.
26550 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26551 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26552 (calc-db): Rename from `calc-dblevel'.
26553 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26554 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26555 (calc-np): Rename from `calc-nplevel'.
26556 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26557 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26558 (calc-lu-plus): Rename from `calc-logunits-add'.
26559 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26560 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26561 (calc-lu-minus): Rename from `calc-logunits-sub'.
26562 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26563 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26564 (calc-lu-times): Rename from `calc-logunits-mul'.
26565 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26566 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26567 (calc-lu-divide): Rename from `calc-logunits-div'.
26568 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26569 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26570
26571 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26572 functions being autoloaded.
26573
26574 * calc/calc.el (calc-lu-power-reference): Rename from
26575 `calc-logunits-power-reference'.
26576 (calc-lu-field-reference): Rename from
26577 `calc-logunits-field-reference'.
26578
26579 * calc/calc-help.el (calc-l-prefix-help):
26580 Mention musical note functions.
26581
26582 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26583
26584 * minibuffer.el (completion-all-sorted-completions):
26585 Use :completion-cycle-penalty text property if present.
26586
26587 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26588
26589 * allout.el (allout-yank-processing): Adjust for new rebulleting
26590 regime so bullet being yanked is used without prompting the user
26591 for a choice.
26592
26593 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26594
26595 * startup.el (command-line): Warn the user that _emacs is deprecated.
26596
26597 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26598
26599 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26600 (delphi-verbose, delphi-comment-face, delphi-string-face)
26601 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26602 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26603 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26604 (delphi-new-comment-line, delphi-font-lock-defaults)
26605 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26606 Fix typos in docstrings.
26607
26608 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26609
26610 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26611 Invert the roles of character and string values for INSTEAD, so a
26612 string is used for the more common case of a defaulting prompt.
26613
26614 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26615
26616 * progmodes/ruby-mode.el (ruby-backward-sexp):
26617 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26618 * play/gamegrid.el (gamegrid-make-face):
26619 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26620 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26621 * notifications.el (notifications-notify):
26622 * net/xesam.el (xesam-search-engines):
26623 * net/quickurl.el (quickurl-list-insert):
26624 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26625
26626 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26627
26628 * startup.el (command-line): Update package subdirectory regexp.
26629
26630 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26631
26632 * allout.el (allout-abbreviate-flattened-numbering)
26633 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26634
26635 * subr.el (read-char-choice): Only show the cursor after the prompt,
26636 not after the answer.
26637
26638 2011-03-15 Kevin Ryde <user42@zip.com.au>
26639
26640 * help-fns.el (variable-at-point): Skip leading quotes, if any
26641 (bug#8253).
26642
26643 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26644
26645 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26646 warning message.
26647
26648 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26649
26650 * shell.el (shell): When called interactively, offer to change the
26651 shell file name on remote hosts.
26652
26653 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26654
26655 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26656 integration for LDAP parameters. The host, base, user or binddn,
26657 and secret tokens can be specified in a netrc file, for instance.
26658 This is optional because an `auth-source' parameter must be
26659 specified in the search attributes.
26660
26661 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26662
26663 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26664
26665 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26666
26667 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26668 into declaration. Remove redundant and harmful binding.
26669
26670 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26671
26672 * files.el (file-ownership-preserved-p): Pass `integer' as an
26673 explicit 2nd argument to `file-attributes'. If the file's owner
26674 is the Administrators group on Windows, and the current user is
26675 Administrator, consider that a match.
26676
26677 * server.el (server-ensure-safe-dir): Consider server directory
26678 safe on MS-Windows if its owner is the Administrators group while
26679 the current Emacs user is Administrator. Use `=' to compare
26680 numerical UIDs, since they could be integers or floats.
26681
26682 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26683
26684 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26685
26686 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26687
26688 Sync with Tramp 2.2.1.
26689
26690 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26691
26692 * net/trampver.el: Update release number.
26693
26694 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26695
26696 * progmodes/compile.el (compilation--previous-directory): Fix up
26697 various nil/dead-marker mismatches (bug#8014).
26698 (compilation-directory-properties, compilation-error-properties):
26699 Don't call it at a position past the one we're about to change.
26700
26701 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26702 Disable obsolescence warnings in the file that declares it.
26703
26704 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26705
26706 * allout-widgets.el (allout-widgets-tally):
26707 Initialize allout-widgets-tally as a hash table rather than nil to
26708 prevent mode-line redisplay warnings. Also, clarify the module
26709 description and fix a comment typo.
26710
26711 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26712
26713 * help-fns.el (describe-variable): Don't complete keywords.
26714 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26715
26716 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26717
26718 * emacs-lisp/package.el (package-version-join): Impose a standard
26719 string representation for pre/alpha/beta version lists.
26720 (package-unpack-single): Standardize the directory name by passing
26721 it through package-version-join.
26722 (package-strip-rcs-id): Accept any version string that does not
26723 signal an error in version-to-list.
26724
26725 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26726
26727 * simple.el (delete-trailing-whitespace): Return nil for the
26728 benefit of `write-file-functions'.
26729
26730 2011-03-10 Glenn Morris <rgm@gnu.org>
26731
26732 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26733
26734 * vc/vc-git.el (vc-git-program): New option.
26735 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26736 (vc-git--call): Use it.
26737
26738 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26739
26740 * cus-edit.el (Custom-newline): If no button at point, look
26741 for a subgroup button at start-of-line. (Bug#2298)
26742
26743 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26744
26745 2011-03-10 Julien Danjou <julien@danjou.info>
26746
26747 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26748 `cursor-type' is nil.
26749
26750 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26751
26752 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26753
26754 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26755
26756 * allout.el: Change so yank of distinctive-bullet items
26757 preserves the existing header prefix, rebulleting it if necessary,
26758 rather than replacing it. This is necessary for proper operation
26759 of cooperative addons like allout-widgets.
26760 (allout-make-topic-prefix, allout-rebullet-heading):
26761 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26762 value as alternate bullet to be used, instead of prompting the user
26763 for a bullet character.
26764
26765 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26766
26767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26768 Do not use `tramp-file-name-port', because this returns also
26769 `tramp-default-port'.
26770
26771 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26772
26773 * net/rcirc.el (rcirc-handler-001): Remove useless
26774 with-rcirc-process-buffer.
26775 (rcirc-check-auth-status): Swap arguments to string-match.
26776
26777 2011-03-09 Glenn Morris <rgm@gnu.org>
26778
26779 * shell.el (shell-mode):
26780 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26781
26782 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26783 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26784
26785 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26786
26787 * emacs-lisp/package.el (package-refresh-contents)
26788 (package-menu-execute): Use condition-case-no-debug.
26789
26790 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26791
26792 * simple.el (shell-command-to-string): Use `process-file'.
26793
26794 * emacs-lisp/package.el (package-tar-file-info): Handle also
26795 remote files.
26796
26797 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26798 Use `equal' for upload base check.
26799
26800 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26801
26802 * textmodes/texinfo.el (texinfo-environments):
26803 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26804
26805 2011-03-08 Glenn Morris <rgm@gnu.org>
26806
26807 * cus-start.el (cursor-in-non-selected-windows):
26808 Fix :set quoting oddness. (Bug#8192)
26809
26810 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26811 in some setf expressions. (Bug#2159)
26812
26813 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26814
26815 * custom.el (custom-available-themes): Return themes in
26816 alphabetical order.
26817
26818 See ChangeLog.15 for earlier changes.
26819
26820 ;; Local Variables:
26821 ;; coding: utf-8
26822 ;; End:
26823
26824 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26825
26826 This file is part of GNU Emacs.
26827
26828 GNU Emacs is free software: you can redistribute it and/or modify
26829 it under the terms of the GNU General Public License as published by
26830 the Free Software Foundation, either version 3 of the License, or
26831 (at your option) any later version.
26832
26833 GNU Emacs is distributed in the hope that it will be useful,
26834 but WITHOUT ANY WARRANTY; without even the implied warranty of
26835 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26836 GNU General Public License for more details.
26837
26838 You should have received a copy of the GNU General Public License
26839 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.