]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2012-12-27T17:59:21Z!rgm@gnu.org
[gnu-emacs] / lisp / ChangeLog
1 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
2
3 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
4
5 2013-05-09 Glenn Morris <rgm@gnu.org>
6
7 * international/fontset.el (vertical-centering-font-regexp):
8 Set standard-value.
9
10 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11
12 * bookmark.el (bookmark-search-delay):
13 * cus-start.el (vertical-centering-font-regexp):
14 * ps-mule.el (ps-mule-font-info-database-default):
15 * ps-print.el (ps-default-fg, ps-default-bg):
16 * type-break.el (type-break-good-break-interval):
17 * whitespace.el (whitespace-indentation-regexp)
18 (whitespace-space-after-tab-regexp):
19 * emacs-lisp/testcover.el (testcover-1value-functions)
20 (testcover-noreturn-functions, testcover-progn-functions)
21 (testcover-prog1-functions):
22 * emulation/viper-init.el (viper-emacs-state-cursor-color):
23 * eshell/em-glob.el (eshell-glob-translate-alist):
24 * play/tetris.el (tetris-tty-colors):
25 * progmodes/cpp.el (cpp-face-default-list):
26 * progmodes/flymake.el (flymake-allowed-file-name-masks):
27 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
28 (idlwave-help-browser-generic-args):
29 * progmodes/make-mode.el (makefile-special-targets-list):
30 * progmodes/python.el (python-shell-virtualenv-path):
31 * progmodes/verilog-mode.el (verilog-active-low-regexp)
32 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
33 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
34 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
35 * textmodes/reftex-vars.el (reftex-format-label-function):
36 * textmodes/remember.el (remember-diary-file): Fix custom types.
37
38 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
39 Add :version.
40
41 2013-05-09 Leo Liu <sdl.web@gmail.com>
42
43 * progmodes/octave.el (inferior-octave-completion-at-point):
44 Restore the broken file completion. (Bug#14300)
45 (inferior-octave-startup): Fix incorrect highlighting for the
46 first prompt.
47
48 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * progmodes/ruby-mode.el: First cut at SMIE support.
51 (ruby-use-smie): New var.
52 (ruby-smie-grammar): New constant.
53 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
54 (ruby-smie--forward-token, ruby-smie--backward-token)
55 (ruby-smie-rules): New functions.
56 (ruby-mode-variables): Setup SMIE if applicable.
57
58 2013-05-08 Eli Zaretskii <eliz@gnu.org>
59
60 * simple.el (line-move-visual): Signal beginning/end of buffer
61 only if vertical-motion moved less than it was requested. Avoids
62 silly incorrect error messages when there are display strings with
63 multiple newlines at EOL.
64
65 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
68 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
69 (prolog-char-quote-workaround):
70 * progmodes/cperl-mode.el (cperl-under-as-char):
71 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
72 Mark as obsolete.
73 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
74 their declaration.
75 (vhdl-mode-syntax-table-init): Remove.
76
77 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
78
79 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
80 syntax for "_".
81 (ld-script-font-lock-keywords):
82 Change regexps to use things like \_< and \_>.
83
84 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
85 Change all regexps to use things like \_< and \_>.
86
87 * progmodes/autoconf.el (autoconf-definition-regexp)
88 (autoconf-font-lock-keywords, autoconf-current-defun-function):
89 Handle a _ with symbol syntax.
90 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
91
92 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
93 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
94 the declaration.
95 (ada-create-syntax-table): Remove.
96 (ada-capitalize-word): Don't mess with the syntax of "_" since it
97 already has the right syntax nowadays.
98 (ada-goto-next-word): Don't change the syntax of "_".
99
100 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
101 with-wrapper-hook.
102
103 2013-05-08 Sam Steingold <sds@gnu.org>
104
105 * thingatpt.el (thing-at-point): Accept optional second argument
106 NO-PROPERTIES to strip the text properties from the return value.
107 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
108 to `thing-at-point' instead of stripping the properties ourselves.
109 Also, when `thing-at-point' fails to find a url, prepend "http://"
110 to the filename at point on the assumption that the user is
111 pointing at something like gnu.org/gnu.
112
113 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
114
115 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
116 * faces.el (crm-separator):
117 Silence byte-compiler.
118
119 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
120 (tool-bar-map): Remove unneeded defvars.
121
122 2013-05-08 Leo Liu <sdl.web@gmail.com>
123
124 Re-work a fix for bug#10994 based on Le Wang's patch.
125 * ido.el (ido-remove-consecutive-dups): New helper.
126 (ido-completing-read): Use it.
127 (ido-chop): Revert fix for bug#10994.
128
129 2013-05-08 Adam Spiers <emacs@adamspiers.org>
130
131 * cus-edit.el (custom-save-variables):
132 Pretty-print long values. (Bug#14187)
133
134 2013-05-08 Glenn Morris <rgm@gnu.org>
135
136 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
137 (m4-mode-syntax-table): Init in the defvar.
138 (m4-mode-abbrev-table): Let define-derived-mode define it.
139
140 2013-05-08 Tom Tromey <tromey@redhat.com>
141
142 * progmodes/m4-mode.el (m4-mode-syntax-table):
143 Do not treat "_" as word constituent. (Bug#14167)
144
145 2013-05-07 Glenn Morris <rgm@gnu.org>
146
147 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
148 Remove explicit eshell-isearch-cancel-map.
149
150 * progmodes/f90.el (f90-smart-end-names): New option.
151 (f90-smart-end): Doc fix.
152 (f90-end-block-optional-name): New constant.
153 (f90-block-match): Respect f90-smart-end-names.
154
155 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * progmodes/octave.el (octave-smie-forward-token): Be more careful
158 about implicit semi-colons (bug#14218).
159
160 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
161
162 * frame.el (display-monitor-attributes-list)
163 (frame-monitor-attributes): New functions.
164
165 2013-05-06 Leo Liu <sdl.web@gmail.com>
166
167 * progmodes/octave.el (octave-syntax-propertize-function): Change
168 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
169 (octave-font-lock-keywords): Use octave-operator-regexp.
170 (octave-completion-at-point): Renamed from
171 octave-completion-at-point-function.
172 (inferior-octave-directory-tracker): Robustify.
173 (octave-text-functions): Remove and fix its uses. No such things
174 any more.
175
176 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * emacs-lisp/trace.el (trace--display-buffer): New function.
179 (trace-make-advice): Use it.
180
181 2013-05-06 Juri Linkov <juri@jurta.org>
182
183 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
184 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
185 Doc fix.
186 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
187 in the help string. (Bug#12985)
188
189 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
190
191 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
192
193 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * progmodes/perl-mode.el: Add support for here documents.
196 (perl-syntax-propertize-function): Match here-doc markers.
197 (perl-syntax-propertize-special-constructs): Find their end.
198 (perl-imenu-generic-expression): Use [:alnum:].
199
200 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
201 (advice--add-function): Refresh the advice if already present
202 (bug#14317).
203
204 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
205
206 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
207
208 2013-05-06 Glenn Morris <rgm@gnu.org>
209
210 * w32-fns.el (w32-charset-info-alist): Declare.
211
212 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
213 of its defcustom properties.
214 (eshell-cmpl-initialize): No need to load pcomplete.
215
216 * generic-x.el: No need to require comint when compiling.
217
218 * net/eudc-export.el: Make it loadable without bbdb.
219 (top-level): Use require rather than load-library.
220 (eudc-create-bbdb-record, eudc-bbdbify-phone)
221 (eudc-batch-export-records-to-bbdb)
222 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
223 Require bbdb.
224
225 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
228 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
229 some tweaks, instead.
230
231 2013-05-05 Leo Liu <sdl.web@gmail.com>
232
233 * progmodes/octave.el (octave-font-lock-keywords)
234 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
235 (inferior-octave-send-list-and-digest): Improve error message.
236 (octave-mode, inferior-octave-mode): Use setq-local.
237 (octave-help): Set info-lookup-mode.
238
239 2013-05-05 Richard Stallman <rms@gnu.org>
240
241 * vc/compare-w.el (compare-windows-whitespace):
242 Treat no-break space as whitespace.
243
244 * mail/rmailsum.el (rmail-summary-rmail-update):
245 Detect empty summary and don't change selected message.
246 (rmail-summary-goto-msg): Likewise.
247
248 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
249 Doc fixes, rename args.
250
251 2013-05-05 Alan Mackenzie <acm@muc.de>
252
253 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
254
255 2013-05-05 Juri Linkov <juri@jurta.org>
256
257 * info.el (Info-read-subfile): Use (point-min) instead of (point)
258 to not add the length of the summary segment to the return value.
259 (Bug#14125)
260
261 2013-05-05 Leo Liu <sdl.web@gmail.com>
262
263 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
264 (inferior-octave-output-filter): Remove.
265 (octave-send-region, inferior-octave-startup): Fix callers.
266 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
267 (octave-binary-file-extensions): New user variable.
268 (octave-find-definition): Confirm if opening binary files.
269 (octave-help-file): Use octave-find-definition to get the binary
270 confirmation.
271 (octave-help): Adjust for octave-help-file change.
272
273 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
276 Merge the two entries that handle function definitions.
277 (pascal--syntax-propertize): New const.
278 (pascal-mode): Use it. Use setq-local.
279
280 2013-05-04 Glenn Morris <rgm@gnu.org>
281
282 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
283 (diary-from-outlook): Respect diary-from-outlook-function.
284
285 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
288 Move the declaration from C.
289 (read-minibuffer, eval-minibuffer): Move from C.
290 (completion-setup-function): Avoid minibuffer-completion-contents.
291
292 2013-05-03 Leo Liu <sdl.web@gmail.com>
293
294 * progmodes/octave.el (octave-font-lock-keywords): Do not
295 dehighlight 'end' in comments or strings.
296 (octave-completing-read, octave-goto-function-definition):
297 New helpers.
298 (octave-help-buffer): New user variable.
299 (octave-help-file, octave-help-function): New button types.
300 (octave-help): New command and bind it to C-h ;.
301 (octave-find-definition): New command and bind it to M-.
302 (user-error): Alias to error if not defined.
303
304 2013-05-02 Leo Liu <sdl.web@gmail.com>
305
306 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
307 for \. (bug#14332)
308 (octave-font-lock-keywords): Include [ and {.
309
310 2013-05-02 Leo Liu <sdl.web@gmail.com>
311
312 * progmodes/octave.el (inferior-octave-startup-file): Change default.
313 (inferior-octave): Remove calling comint-mode and return the buffer.
314 (inferior-octave-startup): Cosmetic changes.
315
316 2013-05-02 Leo Liu <sdl.web@gmail.com>
317
318 * progmodes/octave.el (octave-syntax-propertize-function):
319 Include the case when ' is at line beginning. (Bug#14336)
320
321 2013-05-02 Glenn Morris <rgm@gnu.org>
322
323 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
324 * desktop.el (vc-dir-mode): Just autoload it here.
325
326 2013-05-02 Alan Mackenzie <acm@muc.de>
327
328 Eliminate variable c-standard-font-lock-fontify-region-function.
329 * progmodes/cc-mode.el
330 (c-standard-font-lock-fontify-region-function): Remove.
331 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
332
333 2013-05-01 Leo Liu <sdl.web@gmail.com>
334
335 * progmodes/octave.el: Compatible with older emacs-24 releases.
336 (inferior-octave-has-built-in-variables): Remove. Built-in
337 variables were removed from Octave in 2007.
338 (inferior-octave-startup): Fix uses.
339 (comint-line-beginning-position): Remove compatibility code for
340 emacs 21.
341
342 2013-05-01 Juri Linkov <juri@jurta.org>
343
344 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
345
346 2013-05-01 Juri Linkov <juri@jurta.org>
347
348 * comint.el (comint-previous-matching-input): Don't print message
349 "History item: %d" when `isearch-mode' is active.
350 (comint-history-isearch-message): Print message "History item: %d"
351 when `comint-input-ring-index' is not empty and this function is
352 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
353
354 2013-05-01 Leo Liu <sdl.web@gmail.com>
355
356 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
357 definitions. Use completion-at-point to insert keywords.
358 (octave-abbrev-start): Remove.
359 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
360
361 2013-04-30 Leo Liu <sdl.web@gmail.com>
362
363 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
364 change.
365
366 2013-04-30 Alan Mackenzie <acm@muc.de>
367
368 Handle arbitrarily long C++ member initialisation lists.
369 * progmodes/cc-engine.el (c-back-over-member-initializers):
370 new function.
371 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
372 (most) member init lists.
373
374 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
375
376 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
377 variable.
378
379 2013-04-30 Leo Liu <sdl.web@gmail.com>
380
381 * progmodes/octave.el (octave-variables): Remove. No builtin
382 variables any more. All converted to functions.
383 (octave-font-lock-keywords, octave-completion-at-point-function):
384 Fix uses.
385 (octave-font-lock-texinfo-comment): New user variable.
386 (octave-texinfo-font-lock-keywords): New variable for texinfo
387 comment block.
388 (octave-function-comment-block): New face.
389 (octave-font-lock-texinfo-comment): New function.
390 (octave-mode): Font lock texinfo comment block.
391
392 2013-04-29 Leo Liu <sdl.web@gmail.com>
393
394 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
395 indexing expression.
396 (octave-continuation-string): Do not use \.
397 (inferior-octave-complete-impossible): Remove.
398 (inferior-octave-completion-table)
399 (inferior-octave-completion-at-point): Remove its uses.
400 (inferior-octave-startup): completion_matches was introduced to
401 Octave in 1996 so safe to assume it.
402 (octave-function-file-comment): Improve to follow how Octave does it.
403 (octave-update-function-file-comment): Tweak.
404
405 2013-04-29 Leo Liu <sdl.web@gmail.com>
406
407 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
408 (inferior-octave-startup): Remove inferior-octave-startup-hook.
409 (octave-function-file-comment): Fix typo.
410 (octave-sync-function-file-names): Use read-char-choice.
411
412 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
413
414 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
415 to t for the less important warnings.
416
417 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
418
419 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
420
421 2013-04-27 Glenn Morris <rgm@gnu.org>
422
423 * vc/log-view.el (log-view-current-entry):
424 Treat "---" separator lines as part of the following rev. (Bug#14169)
425
426 2013-04-27 Juri Linkov <juri@jurta.org>
427
428 * subr.el (read-number): Doc fix about using it by interactive
429 code letter `n'. (Bug#14254)
430
431 2013-04-27 Juri Linkov <juri@jurta.org>
432
433 * desktop.el (desktop-auto-save-timeout): New option.
434 (desktop-file-checksum): New variable.
435 (desktop-save): Add optional arg `auto-save' and don't auto-save
436 if nothing changed.
437 (desktop-auto-save-timer): New variable.
438 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
439 (after-init-hook): Call `desktop-auto-save-set-timer'.
440 Suggested by Reuben Thomas <rrt@sc3d.org> in
441 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
442
443 2013-04-27 Leo Liu <sdl.web@gmail.com>
444
445 * progmodes/octave.el (octave-function-file-p)
446 (octave-skip-comment-forward, octave-function-file-comment)
447 (octave-update-function-file-comment): New functions.
448 (octave-mode-map): Bind C-c ; to
449 octave-update-function-file-comment.
450 (octave-mode-menu): Add octave-update-function-file-comment.
451 (octave-mode, inferior-octave-mode): Fix doc-string.
452 (octave-insert-defun): Conform to Octave's coding convention.
453 (Bug#14285)
454
455 * files.el (basic-save-buffer): Don't let errors in
456 before-save-hook prevent saving buffer.
457
458 2013-04-20 Roland Winkler <winkler@gnu.org>
459
460 * faces.el (read-face-name): Use completing-read if arg multiple
461 is nil.
462
463 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
464
465 * ls-lisp.el (ls-lisp-insert-directory): If no files are
466 displayed, move point to after the totals line.
467 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
468 for the details.
469
470 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
471
472 * emacs-lisp/package.el (package-autoload-ensure-default-file):
473 Add current dir to the load-path.
474 (package-generate-autoloads): Don't rely on
475 autoload-ensure-default-file.
476
477 2013-04-26 Reuben Thomas <rrt@sc3d.org>
478
479 * textmodes/remember.el (remember-store-in-files): Document that
480 the file name format is passed to `format-time-string'.
481
482 2013-04-26 Leo Liu <sdl.web@gmail.com>
483
484 * progmodes/octave.el (octave-sync-function-file-names): New function.
485 (octave-mode): Use it in before-save-hook.
486
487 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
490 (bug#14274).
491
492 * progmodes/octave.el (octave-smie-forward-token): Properly skip
493 \n and comment, even if it's not an implicit ; (bug#14218).
494
495 2013-04-26 Glenn Morris <rgm@gnu.org>
496
497 * subr.el (read-number): Once more use `read' rather than
498 `string-to-number', to trap non-numeric input. (Bug#14254)
499
500 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
501
502 * emacs-lisp/syntax.el (syntax-propertize-multiline):
503 Use `syntax-multiline' text property consistently instead of
504 `font-lock-multiline'. (bug#14237).
505
506 2013-04-26 Glenn Morris <rgm@gnu.org>
507
508 * emacs-lisp/shadow.el (list-load-path-shadows):
509 No longer necessary to check for duplicate simple.el, since
510 2012-07-07 change to init_lread to not include installation lisp
511 directories in load-path when running uninstalled. (Bug#14270)
512
513 2013-04-26 Leo Liu <sdl.web@gmail.com>
514
515 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
516 (octave-mode, inferior-octave-mode): Use setq-local.
517 (octave-not-in-string-or-comment-p): Rename to
518 octave-in-string-or-comment-p.
519 (octave-in-comment-p, octave-in-string-p)
520 (octave-in-string-or-comment-p): Replace defsubst with defun.
521
522 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
523
524 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
525
526 2013-04-25 Bastien Guerry <bzg@gnu.org>
527
528 * textmodes/remember.el (remember-data-directory)
529 (remember-directory-file-name-format): Fix custom types.
530
531 2013-04-25 Leo Liu <sdl.web@gmail.com>
532
533 * progmodes/octave.el (octave-completion-at-point-function):
534 Make use of inferior octave process.
535 (octave-initialize-completions): Remove.
536 (inferior-octave-completion-table): New function.
537 (inferior-octave-completion-at-point): Use it.
538 (octave-completion-alist): Remove.
539
540 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
541
542 * progmodes/opascal.el: Use font-lock and syntax-propertize.
543 (opascal-mode-syntax-table): New var.
544 (opascal-literal-kind, opascal-is-literal-end)
545 (opascal-literal-token-at): Rewrite.
546 (opascal--literal-start-re, opascal-font-lock-keywords)
547 (opascal--syntax-propertize): New constants.
548 (opascal-font-lock-defaults): Adjust.
549 (opascal-mode): Use them. Set comment-<foo> variables as well.
550 (delphi-comment-face, opascal-comment-face, delphi-string-face)
551 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
552 (delphi-other-face, opascal-other-face): Remove face variables.
553 (opascal-save-state): Remove macro.
554 (opascal-fontifying-progress-step): Remove constant.
555 (opascal--ignore-changes): Remove var.
556 (opascal-set-token-property, opascal-parse-next-literal)
557 (opascal-is-stable-literal, opascal-complete-literal)
558 (opascal-is-literal-start, opascal-face-of)
559 (opascal-parse-region, opascal-parse-region-until-stable)
560 (opascal-fontify-region, opascal-after-change)
561 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
562 (opascal-debug-parse-region, opascal-debug-parse-window)
563 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
564 (opascal-debug-fontify-buffer): Remove.
565 (opascal-debug-mode-map): Adjust accordingly.
566
567 2013-04-25 Leo Liu <sdl.web@gmail.com>
568
569 Merge octave-mod.el and octave-inf.el into octave.el with some
570 cleanups.
571 * progmodes/octave.el: New file renamed from octave-mod.el.
572 * progmodes/octave-inf.el: Merged into octave.el.
573 * progmodes/octave-mod.el: Renamed to octave.el.
574
575 2013-04-25 Tassilo Horn <tsdh@gnu.org>
576
577 * textmodes/reftex-vars.el
578 (reftex-label-ignored-macros-and-environments): New defcustom.
579
580 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
581
582 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
585 (smie-indent-keyword): Improve the check to ensure that the next
586 comment is really on the same line.
587 (smie-indent-comment): Don't align with a subsequent closer (or eob).
588
589 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
590 semi-colons if the line is not otherwise empty (bug#14218).
591
592 2013-04-25 Glenn Morris <rgm@gnu.org>
593
594 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
595
596 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * progmodes/opascal.el (opascal-set-token-property): Rename from
599 opascal-set-text-properties and only set `token' (bug#14134).
600 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
601 (opascal-literal-text-properties): Remove.
602 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
603 Adjust callers.
604
605 2013-04-24 Reuben Thomas <rrt@sc3d.org>
606
607 * textmodes/remember.el (remember-handler-functions): Add an
608 option for a new handler `remember-store-in-files'.
609 (remember-data-directory, remember-directory-file-name-format):
610 New options.
611 (remember-store-in-files): New function to store remember notes
612 as separate files within a directory.
613
614 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
615
616 * progmodes/compile.el (compilation-next-error-function):
617 Pass "formats" to compilation-find-file (bug#11777).
618
619 2013-04-24 Glenn Morris <rgm@gnu.org>
620
621 * vc/vc-bzr.el (vc-bzr-print-log):
622 * vc/vc-hg.el (vc-hg-print-log):
623 * vc/vc-svn.el (vc-svn-print-log):
624 Fix START-REVISION with LIMIT != 1. (Bug#14168)
625
626 * vc/vc-bzr.el (vc-bzr-print-log):
627 * vc/vc-cvs.el (vc-cvs-print-log):
628 * vc/vc-git.el (vc-git-print-log):
629 * vc/vc-hg.el (vc-hg-print-log):
630 * vc/vc-mtn.el (vc-mtn-print-log):
631 * vc/vc-rcs.el (vc-rcs-print-log):
632 * vc/vc-sccs.el (vc-sccs-print-log):
633 * vc/vc-svn.el (vc-svn-print-log):
634 * vc/vc.el (vc-print-log-internal): Doc fixes.
635
636 2013-04-23 Glenn Morris <rgm@gnu.org>
637
638 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
639 Remove venerable code attempting to avoid substitute-command-keys.
640
641 2013-04-23 Tassilo Horn <tsdh@gnu.org>
642
643 * textmodes/reftex-vars.el (reftex-label-regexps):
644 Call `reftex-compile-variables' after changes to this variable.
645
646 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
649 Use lexical-binding.
650 (jit-lock-force-redisplay): Use markers, check buffer's continued
651 existence and beware narrowed buffers.
652 (jit-lock-fontify-now): Adjust call accordingly.
653
654 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
657 to avoid misleading the user.
658
659 2013-04-22 Leo Liu <sdl.web@gmail.com>
660
661 * info-look.el: Prefer latex2e.info. (Bug#14240)
662
663 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
664
665 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
666
667 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
668 * net/tramp.el (tramp-call-process): ... here
669 (tramp-set-completion-function, tramp-parse-putty):
670 * net/tramp-adb.el (tramp-adb-execute-adb-command):
671 * net/tramp-gvfs.el (tramp-gvfs-send-command):
672 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
673 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
674 (tramp-call-local-coding-command): Use `tramp-call-process'
675 instead of `tramp-compat-call-process'.
676
677 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
678 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
679 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
680 (tramp-find-inline-compress):Improve traces.
681 (tramp-maybe-send-script): Check for Perl binary.
682 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
683
684 2013-04-22 Daiki Ueno <ueno@gnu.org>
685
686 * epg.el (epg-context-pinentry-mode): New function.
687 (epg-context-set-pinentry-mode): New function.
688 (epg--start): Pass --pinentry-mode option to gpg command.
689
690 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
691
692 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
693 `comint-dynamic-complete' is obsolete since 24.1, replaced by
694 `completion-at-point'. (Bug#13774)
695
696 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
697 default key binding for `describe-distribution' has been moved to
698 `C-h C-o'. (Bug#13970)
699
700 2013-04-21 Glenn Morris <rgm@gnu.org>
701
702 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
703 Add doc strings.
704 (vc-print-log): Clarify interactive prompt.
705
706 2013-04-20 Glenn Morris <rgm@gnu.org>
707
708 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
709 No longer include timestamp etc information.
710
711 2013-04-20 Roland Winkler <winkler@gnu.org>
712
713 * faces.el (read-face-name): Bug fix, return just one face if arg
714 multiple is nil. (Bug#14209)
715
716 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
717
718 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
719 (remove-function): Autoload.
720
721 * comint.el (comint-redirect-original-filter-function): Remove.
722 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
723 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
724 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
725 * progmodes/prolog.el (prolog-consult-compile):
726 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
727 Use add/remove-function instead.
728 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
729 (gud-tooltip-process-output, gud-tooltip-tips):
730 Use add/remove-function instead.
731 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
732 (scheme-interaction-mode, exit-scheme-interaction-mode):
733 Use add/remove-function instead.
734
735 * vc/vc-dispatcher.el: Use lexical-binding.
736 (vc--process-sentinel): Rename from vc-process-sentinel.
737 Change last arg to be the code to run. Don't use vc-previous-sentinel
738 and vc-sentinel-commands any more.
739 (vc-exec-after): Allow code to be a function. Use add/remove-function.
740 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
741
742 2013-04-19 Masatake YAMATO <yamato@redhat.com>
743
744 * progmodes/sh-script.el (sh-imenu-generic-expression):
745 Handle function names with a single character. (Bug#14111)
746
747 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
748
749 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
750 for subroutines defined in an eval (bug#14182).
751
752 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
753
754 * bookmark.el (bookmark-completing-read): Improve handling of empty
755 string (bug#14176).
756
757 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
758
759 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
760
761 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
762
763 New faster Imenu implementation (bug#14058).
764 * progmodes/python.el:
765 (python-imenu-prev-index-position):
766 (python-imenu-format-item-label-function)
767 (python-imenu-format-parent-item-label-function)
768 (python-imenu-format-parent-item-jump-label-function):
769 New vars.
770 (python-imenu-format-item-label)
771 (python-imenu-format-parent-item-label)
772 (python-imenu-format-parent-item-jump-label)
773 (python-imenu--put-parent, python-imenu--build-tree)
774 (python-imenu-create-index, python-imenu-create-flat-index)
775 (python-util-popn): New functions.
776 (python-mode): Set imenu-create-index-function to
777 python-imenu-create-index.
778
779 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
780
781 * winner.el (winner-active-region): Use region-active-p, activate-mark
782 and deactivate-mark (bug#14225).
783
784 * simple.el (deactivate-mark): Don't inline it.
785
786 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
787
788 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
789
790 2013-04-18 Tassilo Horn <tsdh@gnu.org>
791
792 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
793 file extensions from the archive-mode entry in order to prefer
794 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
795
796 2013-04-18 Leo Liu <sdl.web@gmail.com>
797
798 * bindings.el (help-event-list): Add ?\?.
799
800 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * subr.el (with-wrapper-hook): Declare obsolete.
803 * simple.el (filter-buffer-substring-function): New hook.
804 (filter-buffer-substring): Use it.
805 (filter-buffer-substring-functions): Mark obsolete.
806 * minibuffer.el (completion-in-region-function): New hook.
807 (completion-in-region): Use it.
808 (completion-in-region-functions): Mark obsolete.
809 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
810 * abbrev.el (abbrev-expand-function): New hook.
811 (expand-abbrev): Use it.
812 (abbrev-expand-functions): Mark obsolete.
813 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
814 and :filter-return.
815
816 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
817
818 * progmodes/python.el (python-nav--syntactically): Fix cornercases
819 and do not care about match data.
820
821 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
824 completion tables when completing error conditions and
825 `declare' arguments.
826 (lisp-complete-symbol, field-complete): Mark as obsolete.
827 (check-parens): Unmatched parens are user errors.
828 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
829
830 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
831
832 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
833 command changed buffer (ie. `flyspell-pre-buffer' is not current
834 buffer), which prevents making decisions based on invalid value of
835 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
836 cause an error when `flyspell-pre-point' was nil after switching
837 buffers.
838 (flyspell-post-command-hook): No longer needs to change buffers when
839 checking pre-word. While at it remove unnecessary progn.
840
841 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
842
843 * textmodes/ispell.el (ispell-add-per-file-word-list):
844 Fix `flyspell-correct-word-before-point' error when accepting
845 words and `coment-padding' is an integer by using
846 `comment-normalize-vars' (Bug #14214).
847
848 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
849
850 New defun movement commands.
851 * progmodes/python.el (python-nav--syntactically)
852 (python-nav--forward-defun, python-nav-backward-defun)
853 (python-nav-forward-defun): New functions.
854
855 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
856
857 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
858 (python-syntax-context): Use named compiler-macro for backwards
859 compatibility with Emacs 24.x.
860
861 2013-04-17 Leo Liu <sdl.web@gmail.com>
862
863 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
864 octave-hide-process-buffer.
865
866 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
869 (bug#14216).
870
871 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
872
873 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
874 Fix adjustment of offset when receiving incomplete responses from GDB
875 (bug#14129).
876
877 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
878
879 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
880 python-mode-abbrev-table.
881 (python-skeleton-define): Adjust accordingly.
882 (python-mode-abbrev-table): New table that inherits from it so that
883 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
884
885 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
886 (abbrev-symbol): Use it.
887 (abbrev--before-point): Use it since we already handle inheritance.
888
889 2013-04-16 Leo Liu <sdl.web@gmail.com>
890
891 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
892 binding to info-lookup-symbol.
893
894 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
895
896 * minibuffer.el (completion--twq-all):
897 * term/ns-win.el (ns-initialize-window-system):
898 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
899
900 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
903 global bindings.
904
905 * doc-view.el (doc-view-start-process): Handle url-handler directories.
906
907 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
908
909 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
910 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
911 to nil.
912 (ruby-end-of-defun): Remove the unused arg, change the docstring
913 to reflect that this function is only used as the value of
914 `end-of-defun-function'.
915 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
916 to reflect an earlier change that beginning/end-of-defun functions
917 jump between methods in a class definition, as well as top-level
918 functions.
919
920 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * minibuffer.el (minibuffer-complete): Don't just scroll
923 a *Completions* that's been iconified.
924 (minibuffer-force-complete): Make sure repetitions do cycle when going
925 through completion-in-region -> minibuffer-complete.
926
927 2013-04-15 Alan Mackenzie <acm@muc.de>
928
929 Correct the placement of c-cpp-delimiters when there're #s not at
930 col 0.
931
932 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
933 place a submatch around the #.
934 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
935 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
936 on the #, not BOL.
937
938 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/nadvice.el: Properly test names when adding advice.
941 (advice--member-p): New arg `name'.
942 (advice--add-function, advice-member-p): Use it (bug#14202).
943
944 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
945
946 Reformulate java imenu-generic-expression.
947 The old expression contained ill formed regexps.
948
949 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
950 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
951 (cc-imenu-java-method-arg-regexp): New defconsts.
952 (cc-imenu-java-build-type-args-regex): New defun.
953 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
954 handling of spaces in the regexp.
955
956 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
957
958 * textmodes/ispell.el (ispell-command-loop): Remove
959 flyspell highlight of a word when ispell accepts it (bug #14178).
960
961 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
962
963 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
964 uses code from the previous `ange-ftp-run-real-handler'.
965 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
966 only in case that function exist. This is needed for proper
967 unloading of Tramp.
968
969 2013-04-15 Tassilo Horn <tsdh@gnu.org>
970
971 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
972
973 * textmodes/reftex.el (reftex-compile-variables): Use it.
974
975 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * files.el (normal-mode): Only use default major-mode if no other mode
978 was specified.
979
980 * emacs-lisp/trace.el (trace-values): New function.
981
982 * files.el: Allow : in local variables (bug#14089).
983 (hack-local-variable-regexp): New var.
984 (hack-local-variables-prop-line, hack-local-variables): Use it.
985
986 2013-04-13 Roland Winkler <winkler@gnu.org>
987
988 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
989 data before it gets modified by bibtex-beginning-of-entry.
990
991 2013-04-13 Roland Winkler <winkler@gnu.org>
992
993 * textmodes/bibtex.el (bibtex-url): Doc fix.
994
995 2013-04-13 Roland Winkler <winkler@gnu.org>
996
997 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
998 does not visit a BibTeX file, exclude it from the list of buffers
999 returned by bibtex-initialize.
1000
1001 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1002
1003 * window.el (split-window): Remove interactive form, since as a
1004 command this function is a special case of split-window-below.
1005 Correct doc string.
1006
1007 2013-04-12 Roland Winkler <winkler@gnu.org>
1008
1009 * faces.el (read-face-name): Do not override value of arg default.
1010 Allow single faces and strings as default values. Remove those
1011 elements from return value that are not faces.
1012 (describe-face): Simplify.
1013 (face-at-point): New optional args thing and multiple so that this
1014 function can provide the same functionality previously provided by
1015 read-face-name.
1016 (make-face-bold, make-face-unbold, make-face-italic)
1017 (make-face-unitalic, make-face-bold-italic, invert-face)
1018 (modify-face, read-face-and-attribute): Use face-at-point.
1019
1020 * cus-edit.el (customize-face, customize-face-other-window)
1021 * cus-theme.el (custom-theme-add-face)
1022 * face-remap.el (buffer-face-set)
1023 * facemenu.el (facemenu-set-face): Use face-at-point.
1024
1025 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1026
1027 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1028
1029 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1030
1031 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1032 off leading { and trailing } from field values.
1033
1034 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * emacs-lisp/timer.el (timer--check): New function.
1037 (timer--time, timer-set-function, timer-event-handler): Use it.
1038 (timer-set-idle-time): Simplify.
1039 (timer--activate): CSE.
1040 (timer-event-handler): Give more info in error message.
1041 (internal-timer-start-idle): New function, moved from C.
1042
1043 * mpc.el (mpc-proc): Add `restart' argument.
1044 (mpc-proc-cmd): Use it.
1045 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1046 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1047 less often.
1048
1049 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1050
1051 * progmodes/sh-script.el: Implement `sh-mode' own
1052 `add-log-current-defun-function' (bug#14112).
1053 (sh-current-defun-name): New function.
1054 (sh-mode): Use the function.
1055
1056 2013-04-09 Bastien Guerry <bzg@gnu.org>
1057
1058 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1059
1060 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1063
1064 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1065 timer (bug#14156).
1066
1067 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1068
1069 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1070 declaration.
1071
1072 2013-04-07 Leo Liu <sdl.web@gmail.com>
1073
1074 * pcmpl-x.el: New file.
1075
1076 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1077
1078 Do not set x-display-name until X connection is established.
1079 This is needed to prevent from weird situation described at
1080 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1081 * frame.el (make-frame): Set x-display-name after call to
1082 window system initialization function, not before.
1083 * term/x-win.el (x-initialize-window-system): Add optional
1084 display argument and use it.
1085 * term/w32-win.el (w32-initialize-window-system):
1086 * term/ns-win.el (ns-initialize-window-system):
1087 * term/pc-win.el (msdos-initialize-window-system):
1088 Add compatible optional display argument.
1089
1090 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1091
1092 * files.el (normal-backup-enable-predicate): On MS-Windows and
1093 MS-DOS compare truenames of temporary-file-directory and of the
1094 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1095 don't fail comparison by compare-strings. Also, compare file
1096 names case-insensitively on MS-Windows and MS-DOS.
1097
1098 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1099
1100 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1101 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1102
1103 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1104
1105 * whitespace.el (whitespace-color-on, whitespace-color-off):
1106 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1107
1108 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1109
1110 * ispell.el (ispell-set-spellchecker-params):
1111 Really set `ispell-args' for all equivs.
1112
1113 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * ido.el (ido-completions): Use extra elements of ido-decorations
1116 (bug#14143).
1117 (ido-decorations): Update docstring.
1118
1119 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1120
1121 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1122 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1123 nil during initialization, in order not to miss changes since the
1124 file was opened. (Bug#14140)
1125
1126 2013-04-05 Leo Liu <sdl.web@gmail.com>
1127
1128 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1129
1130 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1131
1132 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1133
1134 2013-04-04 Glenn Morris <rgm@gnu.org>
1135
1136 * electric.el (electric-pair-inhibit-predicate): Add :version.
1137
1138 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1141 when a package is required several times (bug#14082).
1142
1143 2013-04-04 Roland Winkler <winkler@gnu.org>
1144
1145 * faces.el (read-face-name): Behave as promised by the docstring.
1146 Assume that arg default is a list of faces.
1147 (describe-face): Call read-face-name with list of default faces.
1148
1149 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1150
1151 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1152 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1153 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1154 the header.
1155 (bookmark-exit-hook-internal): Save even if list is empty.
1156
1157 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1158
1159 * emacs-lisp/package.el (package-pinned-packages): New var.
1160 (package--add-to-archive-contents): Obey it (bug#14118).
1161
1162 2013-04-03 Alan Mackenzie <acm@muc.de>
1163
1164 Handle `parse-partial-sexp' landing inside a comment opener
1165 (Bug#13244). Also adapt to the new values of element 7 of a parse
1166 state.
1167
1168 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1169 parameter `not-in-delimiter'. Handle being inside comment opener.
1170 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1171 character in case we're typing a '*' after a '/'.
1172 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1173 instead by passing the parameter to c-state-pp-to-literal.
1174
1175 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1176 for elt. 7 of a parse state.
1177
1178 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1179
1180 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1181 * international/latin1-disp.el, international/mule-util.el:
1182 * language/cyril-util.el, language/european.el, language/ind-util.el:
1183 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1184 * language/tibetan.el, language/viet-util.el:
1185 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1186
1187 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1190 (electric-pair-post-self-insert-function): Use it.
1191 (electric-pair-default-inhibit): New function, extracted from
1192 electric-pair-post-self-insert-function.
1193
1194 2013-03-31 Roland Winkler <winkler@gnu.org>
1195
1196 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1197
1198 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1201
1202 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1203
1204 Un-indent after "pass" and "return" statements (Bug#13888)
1205 * progmodes/python.el (python-indent-block-enders): New var.
1206 (python-indent-calculate-indentation): Use it.
1207
1208 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1209
1210 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1211 defun. Defining it as defalias could introduce too eager
1212 byte-compiler optimization. (Bug#14030)
1213
1214 2013-03-30 Chong Yidong <cyd@gnu.org>
1215
1216 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1217
1218 2013-03-30 Leo Liu <sdl.web@gmail.com>
1219
1220 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1221 (kmacro-execute-from-register): Pass the keyboard macro to
1222 kmacro-call-macro or repeating won't work correctly.
1223
1224 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1225
1226 * progmodes/subword.el: Back to using `forward-symbol'.
1227
1228 * subr.el (forward-whitespace, forward-symbol)
1229 (forward-same-syntax): Move from thingatpt.el.
1230
1231 2013-03-29 Leo Liu <sdl.web@gmail.com>
1232
1233 * kmacro.el (kmacro-to-register): New command.
1234 (kmacro-execute-from-register): New function.
1235 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1236
1237 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * mpc.el: Use defvar-local and setq-local.
1240 (mpc--proc-connect): Connection failures are not bugs.
1241 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1242 (mpc-volume-map): Bind to the up-events.
1243
1244 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1245
1246 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1247 instead of `forward-symbol'.
1248
1249 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1250
1251 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1252 (edebug--recursive-edit): Use it.
1253 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1254 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1255
1256 2013-03-28 Leo Liu <sdl.web@gmail.com>
1257
1258 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1259
1260 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1261
1262 * facemenu.el (list-colors-callback): New defvar.
1263 (list-colors-redisplay): New function.
1264 (list-colors-display): Install list-colors-redisplay as the
1265 revert-buffer-function. (Bug#14063)
1266
1267 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1268
1269 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1270 and suffixes don't overlap (bug#14061).
1271
1272 * case-table.el: Use lexical-binding.
1273 (case-table-get-table): New function.
1274 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1275
1276 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1277
1278 * progmodes/subword.el: Add `superword-mode' to do word motion
1279 over symbol_words (parallels and leverages `subword-mode' which
1280 does word motion inside MixedCaseWords).
1281
1282 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1283
1284 * eshell/em-unix.el: Move su and sudo to...
1285 * eshell/em-tramp.el: ...Eshell tramp module.
1286
1287 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1290 Change return value to be a sexp. Delay `get-buffer' to after
1291 restoring the desktop (bug#13951).
1292
1293 2013-03-26 Leo Liu <sdl.web@gmail.com>
1294
1295 * register.el: Move semantic tag handling back to
1296 cedet/semantic/senator.el. (Bug#14052)
1297
1298 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1301 into the prompt either (bug#13963).
1302
1303 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1306 part of "(error-foo)".
1307
1308 2013-03-24 Juri Linkov <juri@jurta.org>
1309
1310 * replace.el (list-matching-lines-prefix-face): New defcustom.
1311 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1312 `occur-engine' if `face-differs-from-default-p' returns t.
1313 (occur-engine): Add `,' inside backquote construct to evaluate
1314 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1315 Pass `prefix-face' to the functions `occur-context-lines' and
1316 `occur-engine-add-prefix'.
1317 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1318 `prefix-face' and propertize the prefix with `prefix-face'.
1319 (Bug#14017)
1320
1321 2013-03-24 Leo Liu <sdl.web@gmail.com>
1322
1323 * nxml/rng-valid.el (rng-validate-while-idle)
1324 (rng-validate-quick-while-idle): Guard against deleted buffer.
1325 (Bug#13999)
1326
1327 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1328 is the last entry in kill-buffer-hook.
1329
1330 * files.el (kill-buffer-hook): Doc fix.
1331
1332 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1333
1334 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1335 Make it safe-local.
1336
1337 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1338
1339 2013-03-23 Leo Liu <sdl.web@gmail.com>
1340
1341 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1342 Remove.
1343
1344 * nxml/rng-valid.el (rng-validate-mode)
1345 (rng-after-change-function, rng-do-some-validation):
1346 * nxml/rng-maint.el (rng-validate-buffer):
1347 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1348 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1349 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1350 (nxml-extend-after-change-region): Use with-silent-modifications.
1351
1352 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1353 timer-idle-list.
1354
1355 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1356 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1357 timer-idle-list. (Bug#13999)
1358
1359 2013-03-23 Juri Linkov <juri@jurta.org>
1360
1361 * info.el (info-index-match): New face.
1362 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1363 main pattern and add text properties with the new face to matches
1364 in index entries relative to the beginning of the index entry.
1365 (Bug#14015)
1366
1367 2013-03-21 Eric Ludlam <zappo@gnu.org>
1368
1369 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1370 Inhibit read only while inserting objects.
1371
1372 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1373
1374 * progmodes/cfengine.el: Update docs to mention
1375 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1376 symbol motion. Remove "_" from the word syntax.
1377
1378 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1379
1380 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1381 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1382
1383 2013-03-20 Juri Linkov <juri@jurta.org>
1384
1385 * info.el (Info-next-reference-or-link)
1386 (Info-prev-reference-or-link): New functions.
1387 (Info-next-reference, Info-prev-reference): Use them.
1388 (Info-try-follow-nearest-node): Handle footnote navigation.
1389 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1390
1391 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1392
1393 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1394 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1395
1396 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1397
1398 Suppress unnecessary non-ASCII chatter during build process.
1399 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1400 (batch-skkdic-convert): Suppress most of the chatter.
1401 It's not needed so much now that machines are faster,
1402 and its non-ASCII component was confusing; see Dmitry Gutov in
1403 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1404
1405 2013-03-20 Leo Liu <sdl.web@gmail.com>
1406
1407 * ido.el (ido-chop): Fix bug#10994.
1408
1409 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1410
1411 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1412 Remove vars.
1413 (whitespace-color-on, whitespace-color-off):
1414 Use `font-lock-fontify-buffer' (Bug#13817).
1415
1416 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1419 remapping in mode-line.
1420 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1421
1422 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1423
1424 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1425 value for `whitespace-line' face (Bug#13875).
1426 (whitespace-font-lock-keywords): Change description.
1427 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1428 the constructed keywords instead.
1429 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1430
1431 2013-03-19 Leo Liu <sdl.web@gmail.com>
1432
1433 * progmodes/compile.el (compilation-display-error): New command.
1434 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1435 C-o. (Bug#13992)
1436
1437 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1438
1439 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1440
1441 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1442
1443 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1444
1445 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1446
1447 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1448
1449 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1450 * net/tramp-gvfs.el (top):
1451 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1452 (tramp-handle-shell-command): Use it.
1453 (tramp-dissect-file-name): Raise an error when hostname is a
1454 method name, and neither method nor user is specified.
1455
1456 * net/trampver.el: Update release number.
1457
1458 2013-03-18 Leo Liu <sdl.web@gmail.com>
1459
1460 Make sure eldoc can be turned off properly.
1461 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1462 eldoc-mode.
1463 (eldoc-display-message-p): Revert last change.
1464 (eldoc-display-message-no-interference-p)
1465 (eldoc-print-current-symbol-info): Tweak.
1466
1467 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1468
1469 * doc-view.el (doc-view-new-window-function): Check the new window
1470 overlay's display property instead the char property of the
1471 buffer's first char. Use `with-selected-window' instead of
1472 `save-window-excursion' with `select-window'.
1473 (doc-view-document->bitmap): Check the current doc-view overlay's
1474 display property instead the char property of the buffer's first char.
1475
1476 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1477
1478 Automate the build of ja-dic.el (Bug#13984).
1479 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1480 from the input, rather than assume that it's been done for us by the
1481 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1482 the current date into a ja-dic.el comment, as that complicates
1483 regression testing.
1484
1485 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1486
1487 * whitespace.el: Fix double evaluation.
1488 (whitespace-space, whitespace-hspace, whitespace-tab)
1489 (whitespace-newline, whitespace-trailing, whitespace-line)
1490 (whitespace-space-before-tab, whitespace-indentation)
1491 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1492 obsolete defvars.
1493 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1494 (whitespace-color-on): Use a single font-lock-add-keywords call.
1495 Fix double-evaluation of face variables.
1496
1497 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1498
1499 * net/tramp-adb.el (tramp-adb-parse-device-names):
1500 Use `start-process' instead of `call-process'. Otherwise, the
1501 function might be blocked under MS Windows. (Bug#13299)
1502
1503 2013-03-17 Leo Liu <sdl.web@gmail.com>
1504
1505 Extend eldoc to display info in the mode-line. (Bug#13978)
1506 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1507 (eldoc-mode-line-string): New variable.
1508 (eldoc-minibuffer-message): New function.
1509 (eldoc-message-function): New variable.
1510 (eldoc-message): Use it.
1511 (eldoc-display-message-p)
1512 (eldoc-display-message-no-interference-p):
1513 Support eldoc-post-insert-mode.
1514
1515 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1516 (eval-expression): Run it.
1517
1518 2013-03-17 Roland Winkler <winkler@gnu.org>
1519
1520 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1521 strings in the list of return values.
1522
1523 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1524
1525 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1526 radix before checking for HMS forms.
1527
1528 2013-03-16 Leo Liu <sdl.web@gmail.com>
1529
1530 * progmodes/scheme.el: Add indentation and font-locking for λ.
1531 (Bug#13975)
1532
1533 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1534
1535 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1536 token before point (bug#13942).
1537
1538 2013-03-16 Leo Liu <sdl.web@gmail.com>
1539
1540 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1541
1542 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1543
1544 * startup.el (command-line-normalize-file-name): Fix handling of
1545 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1546 <xfq.free@gmail.com> in
1547 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1548
1549 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1550
1551 Sync with Tramp 2.2.7.
1552
1553 * net/trampver.el: Update release number.
1554
1555 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1556
1557 * doc-view.el Fix bug#13887.
1558 (doc-view-insert-image): Don't modify overlay associated to
1559 non-live windows, and implement horizontal centering of image in
1560 case it's smaller than the window.
1561 (doc-view-new-window-function): Force redisplay of new windows on
1562 doc-view buffers.
1563
1564 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1565
1566 * saveplace.el (save-place-alist-to-file): Don't sort
1567 `save-place-alist', just pretty-print it (bug#13882).
1568
1569 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1570
1571 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1572 whether `default-file-name-coding-system' is bound. It isn't in
1573 XEmacs.
1574
1575 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1578 backquotes for `obsolete' (bug#13929).
1579
1580 * international/mule.el (find-auto-coding): Include file name in
1581 obsolescence warning (bug#13922).
1582
1583 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1584
1585 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1586 for CFEngine 3-specific indentation.
1587 (cfengine3-indent-line): Use it. Fix up category regex.
1588 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1589
1590 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * type-break.el (type-break-file-name):
1593 * textmodes/remember.el (remember-data-file):
1594 * strokes.el (strokes-file):
1595 * shadowfile.el (shadow-initialize):
1596 * saveplace.el (save-place-file):
1597 * ps-bdf.el (bdf-cache-file):
1598 * progmodes/idlwave.el (idlwave-config-directory):
1599 * net/quickurl.el (quickurl-url-file):
1600 * international/kkc.el (kkc-init-file-name):
1601 * ido.el (ido-save-directory-list-file):
1602 * emulation/viper.el (viper-custom-file-name):
1603 * emulation/vip.el (vip-startup-file):
1604 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1605 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1606
1607 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1608
1609 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1610 * language/thai-word.el: Switch to UTF-8.
1611
1612 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1615
1616 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1617
1618 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1619 Use with-current-buffer and don't move point.
1620 (net-utils-run-simple): Remove useless code.
1621 (net-utils-remove-ctl-m): Remove unused custom.
1622
1623 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1624
1625 * international/characters.el (glyphless-set-char-table-range): New fun.
1626 (update-glyphless-char-display): Use it (bug#13744).
1627
1628 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1629
1630 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1631 namespaces in the syntax, indent closer for hanging brace
1632 correctly, allow single-quote delimited 'strings', and make
1633 `cfengine3-mode' the default.
1634
1635 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1636
1637 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1638 Use lexical-binding. Fix up docstring according to conventions.
1639 (gdbmi-debug-mode): New var.
1640 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1641 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1642 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1643 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1644 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1645 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1646 (gdbmi-bnf-incomplete-record-result): New functions.
1647 (gdb-car<): Remove function.
1648 (gdbmi-record-list): Remove variable.
1649 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1650 (gdbmi-bnf-result-state-configs): New const.
1651 (gud-gdbmi-marker-filter): Rewrite.
1652 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1653 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1654 Add `token' argument.
1655 (gdb-done, gdb-error): New functions.
1656 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1657
1658 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1659
1660 * term/xterm.el (xterm--report-background-handler): Don't burp
1661 upon timeout.
1662 (xterm--version-handler): Extract from terminal-init-xterm.
1663 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1664 Allow multiple handlers.
1665 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1666
1667 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1668 (xterm--report-background-handler, xterm--query): New functions.
1669 (terminal-init-xterm): Use them.
1670
1671 2013-03-11 Michael R. Mauger <michael@mauger.com>
1672
1673 * progmodes/sql.el Version 3.2
1674 Please note that my address changed to <michael@mauger.com>;
1675 the <mmaug@yahoo.com> address remains active.
1676 (sql-connection-alist): Updates documentation to fix bug#13715.
1677 (sql-connect): Handle missing `sql-connection-alist' correctly.
1678 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1679 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1680 property.
1681 (sql-default-value): New function.
1682 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1683 values were not used.
1684 (sql-rename-buffer): Make sure alternate buffer name has no text
1685 properties.
1686 (sql-input-sender, sql-execute-feature): Fetch variable with
1687 `buffer-local-value' rather than `with-current-buffer'.
1688 (sql-*): Use #' function syntax consistently.
1689 (sql-*): Use message/error/user-error consistently.
1690
1691 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * xt-mouse.el (xterm-mouse-event-read): Remove.
1694 (xterm-mouse--read-event-sequence-1000)
1695 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1696
1697 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1698
1699 * term/xterm.el (xterm-function-map): Support format used with
1700 formatOtherKeys=1 (bug#13839).
1701
1702 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1703 (with-no-warnings): Use `declare'.
1704
1705 * whitespace.el (whitespace-enable-predicate): New variable.
1706 (whitespace-enable-predicate): Use it.
1707
1708 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1709 (comint-output-filter, comint-update-fence):
1710 Use with-silent-modifications.
1711
1712 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1713
1714 * replace.el (occur-read-regexp-defaults-function): New var.
1715 (occur-read-regexp-defaults): New defun.
1716 (occur-read-primary-args): Propagate above change (bug#13892).
1717
1718 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1721
1722 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1723
1724 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1725
1726 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1727 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1728 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1729 New defconst.
1730 (tramp-gvfs-file-name-handler-alist) [directory-files]
1731 [directory-files-and-attributes, file-exists-p, file-modes]:
1732 Use Tramp default handler.
1733 [file-acl, file-selinux-context, process-file, set-file-acl]:
1734 [set-file-modes, set-file-selinux-context, shell-command]:
1735 [start-file-process]: Remove handler.
1736 [verify-visited-file-modtime]: New handler.
1737 (tramp-gvfs-dbus-string-to-byte-array)
1738 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1739 calls of `dbus-string-to-byte-array' and
1740 `tramp-gvfs-dbus-byte-array-to-string'.
1741 (tramp-gvfs-handle-copy-file)
1742 (tramp-gvfs-handle-delete-directory)
1743 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1744 (tramp-gvfs-handle-file-directory-p)
1745 (tramp-gvfs-handle-file-executable-p)
1746 (tramp-gvfs-handle-file-name-all-completions)
1747 (tramp-gvfs-handle-file-readable-p)
1748 (tramp-gvfs-handle-file-writable-p)
1749 (tramp-gvfs-handle-insert-directory)
1750 (tramp-gvfs-handle-insert-file-contents)
1751 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1752 (tramp-gvfs-handle-set-visited-file-modtime)
1753 (tramp-gvfs-handle-write-region): Rewrite.
1754 (tramp-gvfs-handle-file-acl)
1755 (tramp-gvfs-handle-file-selinux-context)
1756 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1757 (tramp-gvfs-handle-set-file-modes)
1758 (tramp-gvfs-handle-set-file-selinux-context)
1759 (tramp-gvfs-handle-shell-command)
1760 (tramp-gvfs-handle-start-file-process)
1761 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1762 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1763 over the symlinks. Fix user handling.
1764 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1765 of the D-Bus signals.
1766 (tramp-gvfs-connection-mounted-p): Handle different names of the
1767 D-Bus methods.
1768 (tramp-gvfs-mount-spec-entry): New defun.
1769 (tramp-gvfs-mount-spec): Use it.
1770 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1771 there is a share name. Handle different names of the D-Bus
1772 signals and methods. Set connection properties needed for
1773 `tramp-check-cached-permissions'.
1774 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1775 Return t or nil.
1776
1777 * net/tramp.el (tramp-backtrace): Move up.
1778 (tramp-error): Dump a backtrace into the debug buffer when
1779 `tramp-verbose > 9.
1780 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1781 (tramp-file-mode-permissions, tramp-get-local-uid)
1782 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1783 tramp-sh.el.
1784
1785 * net/tramp-sh.el (tramp-file-mode-type-map)
1786 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1787 (tramp-file-mode-permissions, tramp-get-local-uid)
1788 (tramp-get-local-gid): Move to tramp.el.
1789
1790 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 Separate mouse-1-click-follows-link from mouse-drag-region.
1793 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1794 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1795 (mouse-drag-line, mouse-drag-track):
1796 Remove mouse-1-click-follows-link code.
1797 (mouse--remap-link-click-p): Remove.
1798
1799 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1800
1801 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1802 (hi-lock-read-regexp-defaults): New defun.
1803 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1804 (hi-lock-face-phrase-buffer): Propagate above change.
1805 Update docstring (bug#13892).
1806
1807 * subr.el (find-tag-default-as-regexp): New defun.
1808 * replace.el (read-regexp): Propagate above change.
1809
1810 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1811
1812 * calc/calc-units.el (calc-convert-units): Fix the way that default
1813 new units are stored.
1814
1815 2013-03-07 Matthias Meulien <orontee@gmail.com>
1816
1817 * bookmark.el: Define a face to highlight bookmark names in
1818 bookmark menu buffers, where the default is a bold face similarly
1819 to buffer names in buffer menu buffers.
1820 (bookmark-menu-bookmark): New face to highlight bookmark names.
1821 (bookmark-insert-location): Remove duplicated text property to
1822 conform to buffer list (see `list-buffers').
1823 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1824 `bookmark-menu-bookmark' to bookmark names.
1825
1826 2013-03-07 Matthias Meulien <orontee@gmail.com>
1827 Karl Fogel <kfogel@red-bean.com>
1828
1829 * bookmark.el: Display the bookmark list header similarly to the
1830 buffer list header (see `list-buffers'), where the default is now
1831 an immovable/immutable header line.
1832 (bookmark-bmenu-use-header-line): New variable.
1833 (bookmark-bmenu-inline-header-height): New name for
1834 `bookmark-bmenu-header-height', to avoid confusion with the code
1835 for the new immovable header. All references changed.
1836 (bookmark-bmenu-set-header): New function.
1837 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1838 Conditionalize header construction accordingly.
1839 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1840 the inline header height.
1841 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1842 Conditionalize the skipping of the inline header height.
1843
1844 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1845
1846 * progmodes/js.el (js--multi-line-declaration-indentation):
1847 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1848
1849 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1850
1851 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1852 Only propertize regexp when not inside a string (Bug#13885).
1853
1854 2013-03-06 Alan Mackenzie <acm@muc.de>
1855
1856 Correct the position of point in some line-up functions.
1857 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1858 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1859 point at column 0 rather than at a random place in the line.
1860
1861 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1862
1863 * net/tramp-compat.el (tramp-compat-delete-directory):
1864 Implement TRASH argument.
1865
1866 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1867
1868 Keep pre-existing highlighting in completion candidates (Bug#13250).
1869 * minibuffer.el (completions-first-difference): State that the
1870 face is "added" in the docstring.
1871 (completions-common-part): Same. And don't inherit from default.
1872 (completion-hilit-commonality): Prepend 'completions-common-part
1873 and 'completion-first-difference faces to the 'face property,
1874 instead of replacing the value(s).
1875 (completion--insert-strings): Same with 'completions-annotations face.
1876 (completion-hilit-commonality): Use 'face instead of
1877 'font-lock-face, because it gets priority if the completion
1878 strings already have 'face set.
1879
1880 2013-03-04 Alan Mackenzie <acm@muc.de>
1881
1882 Replace `last-command-event' by `last-command-char' in XEmacs.
1883 * progmodes/cc-defs.el (c-last-command-char): New macro.
1884 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1885 (c-semi&comma-no-newlines-before-nonblanks)
1886 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1887 in place of `last-command-event'.
1888 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1889 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1890 (c-electric-paren, c-electric-continued-statement): Use the new
1891 macro in place of `last-command-event'.
1892
1893 2013-03-04 Glenn Morris <rgm@gnu.org>
1894
1895 * files.el (inhibit-local-variables-regexps):
1896 Add .diff and .patch. (Bug#13862)
1897
1898 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1899
1900 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1901 whether the "su" command is available on the device.
1902
1903 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1904
1905 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1906 (tramp-adb-handle-process-file): Remove superfluous setting.
1907 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1908 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1909 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1910
1911 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1914 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1915 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1916 Use dict-key rather than dict-name for the error message.
1917
1918 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1919
1920 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1921 when reverting (bug#13831).
1922
1923 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1924
1925 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1926 Always expand affix-file before storing to protect against changed
1927 `default-directory'.
1928 (ispell-print-if-debug): Make sure message is printed at the end
1929 of the debug buffer.
1930
1931 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1932
1933 * net/tramp.el (tramp-obsolete-methods): New defconst.
1934 (tramp-warned-obsolete-methods): New defvar.
1935 (tramp-find-method): Check for obsolete methods. Map them to a
1936 replacement method if appropriate.
1937
1938 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1939 Remove methods.
1940 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1941 "ssh2" and "plink1".
1942
1943 2013-02-28 Dale Sedivec <dale@codefu.org>
1944
1945 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1946 Return valid syntax-table property value when converting
1947 quotes within text from string syntax to punctuation syntax (bug#13844).
1948
1949 2013-02-28 Juri Linkov <juri@jurta.org>
1950
1951 * dired-aux.el (dired-diff): If file at point is a backup file,
1952 use its original as the default value, and reverse the order
1953 of arguments to the `diff' call. Doc fix. (Bug#13772)
1954
1955 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1958 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1959
1960 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1961
1962 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1963
1964 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1965 Ask hunspell about available and default dictionaries.
1966 (ispell-parse-hunspell-affix-file): Extract relevant info from
1967 hunspell affix file.
1968 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1969 `ispell-dictionary-alist' entry for given dictionary after info
1970 provided by `ispell-parse-hunspell-affix-file'.
1971 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1972 of parsed hunspell dicts and associated affix files.
1973 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1974 of parsed hunspell dicts and associated parameters.
1975 (ispell-set-spellchecker-params):
1976 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1977 previously done.
1978 (ispell-start-process):
1979 Call `ispell-hunspell-fill-dictionary-entry' for current
1980 dictionary if it is not initialized.
1981
1982 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1983
1984 * imenu.el: Comment nitpicks.
1985
1986 2013-02-28 Sam Steingold <sds@gnu.org>
1987
1988 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1989 See <http://stackoverflow.com/questions/14720205>.
1990
1991 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1992
1993 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1994 (net-utils-mode): Use it.
1995 (net-utils--revert-cmd): New var.
1996 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1997 (traceroute): Use net-utils-run-simple.
1998
1999 2013-02-28 Glenn Morris <rgm@gnu.org>
2000
2001 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2002
2003 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2006 (doc-view-fallback-mode): Remove overlays here.
2007 (doc-view-toggle-display): Instead of here. Don't throw away
2008 image-mode-winprops-alist.
2009 (doc-view-goto-page): Don't mess with hscroll.
2010
2011 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2012
2013 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2014 &optional (bug#13819).
2015
2016 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2017
2018 * net/tramp-adb.el (tramp-adb-parse-device-names)
2019 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2020
2021 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2022
2023 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2024 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2025 defined. POSIX environments fall back to the "C" locale then and
2026 emit a warning, which shall be suppressed.
2027
2028 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2029
2030 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2031 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2032
2033 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2036
2037 2013-02-25 Juri Linkov <juri@jurta.org>
2038
2039 * replace.el (read-regexp): Let-bind `default' to the first
2040 element of `defaults' if it's a list, otherwise it should be
2041 a string or nil. Let-bind `suggestions' to `defaults' if it's
2042 a list, otherwise make a list with the string value. Doc fix.
2043 (Bug#13805)
2044
2045 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2046
2047 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2048 that match "\`\.#", to avoid compiling lock files, even if they
2049 are readable (as they are on MS-Windows).
2050
2051 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2052
2053 * files.el (basic-save-buffer): Remove redundant directory-creation.
2054
2055 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2056
2057 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2058 Add option to force `pi' to remain symbolic.
2059 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2060 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2061 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2062 derivatives, when necessary.
2063
2064 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2065
2066 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2067 (ps-mode-octal-region): Use string-make-unibyte.
2068
2069 2013-02-23 Glenn Morris <rgm@gnu.org>
2070
2071 * emulation/viper-cmd.el (viper-submit-report):
2072 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2073 * progmodes/vera-mode.el (vera-mode-help-address):
2074 * textmodes/artist.el (artist-maintainer-address):
2075 * textmodes/reftex.el (reftex-report-bug):
2076 * vc/ediff-util.el (ediff-submit-report):
2077 Add bug-gnu-emacs to bug report address.
2078
2079 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2080 Remove bug report entries.
2081 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2082
2083 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2084 (byte-compile-file, byte-compile-from-buffer):
2085 Use separate input/output buffers for each level of recursive
2086 byte-compile-file calls. (Bug#13787)
2087
2088 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2089
2090 * net/tramp.el (tramp-methods): Fix docstring.
2091 (tramp-ssh-controlmaster-options): Rename it from
2092 `tramp-ssh-controlmaster-template'. Return a string.
2093 (tramp-default-method): Adapt check for
2094 `tramp-ssh-controlmaster-options'.
2095
2096 * net/tramp-sh.el (tramp-methods):
2097 Replace `tramp-ssh-controlmaster-template' by "%c".
2098 (tramp-do-copy-or-rename-file-out-of-band)
2099 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2100 that it is applied for the first hop only.
2101
2102 2013-02-22 Juri Linkov <juri@jurta.org>
2103
2104 * isearch.el (isearch-lazy-highlight-new-loop):
2105 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2106 to `isearch-other-end' if it is not nil. (Bug#13402)
2107
2108 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2109 to `match-beg'.
2110
2111 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2112 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2113 and `isearch-error' to nil.
2114
2115 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2116
2117 * progmodes/python.el (python-info-current-defun):
2118 Enhance match-data cluttering prevention.
2119
2120 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2121
2122 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2123
2124 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2125 Handle multibyte file names.
2126
2127 2013-02-22 Glenn Morris <rgm@gnu.org>
2128
2129 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2130 (sgml-transformation-function): Give it a :set function.
2131 (sgml-tag): Doc fix.
2132
2133 * cmuscheme.el (scheme-buffer):
2134 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2135 * progmodes/tcl.el (inferior-tcl-buffer):
2136 * textmodes/tex-mode.el (tex-command): Doc fixes.
2137
2138 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2139
2140 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2141
2142 2013-02-21 Bastien Guerry <bzg@gnu.org>
2143
2144 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2145
2146 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2147
2148 * progmodes/python.el (python-info-current-defun):
2149 Enhance match-data cluttering prevention.
2150
2151 2013-02-21 Glenn Morris <rgm@gnu.org>
2152
2153 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2154 loaded while outline-regexp is let bound. (Bug#9584)
2155
2156 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2157
2158 * progmodes/python.el (python-info-current-defun): Fix failed
2159 defun name retrieval because of unwanted match-data cluttering.
2160
2161 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2164 defconst. Apply independent check for ControlPersist.
2165
2166 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2167 temporarily, via "env".
2168
2169 2013-02-21 Glenn Morris <rgm@gnu.org>
2170
2171 * info.el (Info-enable-edit): Remove.
2172 (Info-edit): Disable it rather than using Info-enable.
2173 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2174 (Info-cease-edit): Make editing of Info files obsolete.
2175
2176 * informat.el (Info-tagify):
2177 Handle buffers not visiting files. (Bug#13763)
2178
2179 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2180
2181 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2182
2183 2013-02-21 Glenn Morris <rgm@gnu.org>
2184
2185 * files.el (basic-save-buffer): Move check for existing parent
2186 directory after hooks. (Bug#13773)
2187
2188 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2189
2190 * simple.el (command-execute): Move from C. Add obsolete check.
2191 (extended-command-history): Move from C.
2192
2193 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2194
2195 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2196 (jka-compr-mode-alist-additions): Handle .txz suffix for
2197 XZ-compressed tar archives (bug#13770).
2198
2199 2013-02-20 Bastien Guerry <bzg@gnu.org>
2200
2201 * outline.el (outline-regexp, outline-heading-end-regexp):
2202 Make variables, not options (bug#13731).
2203
2204 2013-02-20 Glenn Morris <rgm@gnu.org>
2205
2206 * image.el (image-current-frame): Change from variable to function.
2207 (image-show-frame): Rename from image-nth-frame. Update callers.
2208 * image-mode.el (image-multi-frame): New variable.
2209 (image-mode-map, image-mode, image-goto-frame):
2210 Use image-multi-frame rather than image-current-frame.
2211 (image-mode, image-goto-frame): Use image-current-frame as
2212 function rather than as variable.
2213
2214 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2215 * emacs-lisp/cl-macs.el (cl--make-type-test)
2216 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2217
2218 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2219
2220 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2221 (tramp-get-file-property, tramp-set-file-property)
2222 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2223 (tramp-flush-file-property, tramp-flush-directory-property):
2224 Rename argument to KEY.
2225 (tramp-flush-connection-property): Simplify a little bit.
2226 (tramp-connection-property-p): New defun.
2227 (top): Reapply saved values only if there isn't a corresponding
2228 entry in `tramp-connection-properties'.
2229
2230 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2231
2232 * progmodes/python.el (python-indent-context):
2233 Fix python-info-line-ends-backslash-p call.
2234 (python-info-line-ends-backslash-p)
2235 (python-info-beginning-of-backslash): Respect line-number argument.
2236 (python-info-current-line-comment-p):
2237 Fix behavior when not at beginning-of-line.
2238 (python-util-position): Remove function.
2239 (python-util-goto-line): New function.
2240
2241 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2242
2243 * eshell/em-unix.el (eshell/su): Require tramp.
2244 (eshell/sudo): Require tramp. Remove now unnecessary check.
2245
2246 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2247 `tramp-current-connection' in order to avoid an error when several
2248 commands are invoked in a short time in eshell and friends.
2249
2250 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2251
2252 Cleanup some of EIEIO's namespace.
2253 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2254 Use it to define all the class-* and object-* field accessors (renamed
2255 to eieio--class-* and eieio--object-*). Update all uses.
2256 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2257 class-num-slots and object-num-slots.
2258 (eieio--check-type): New macro.
2259 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2260 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2261 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2262 (object-assoc-list-safe): Use it.
2263 (eieio-defclass): Tighten regexp.
2264 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2265 Remove unreachable code.
2266 (object-class-fast): Declare obsolete.
2267 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2268 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2269 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2270 Rename from class-name, object-name, object-set-name-string,
2271 object-class, object-class-name, class-parents, class-children,
2272 class-precedence-list, class-parent; with obsolete alias.
2273 (class-of, class-direct-superclasses, class-direct-subclasses):
2274 Declare obsolete.
2275 (eieio-defmethod): Use `memq'; remove unreachable code.
2276 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2277 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2278 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2279
2280 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2281
2282 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2283 commentary.
2284
2285 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2286
2287 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2288 Use font-lock-keyword-face for macros and special forms (bug#8345).
2289
2290 2013-02-17 Didier Verna <didier@didierverna.net>
2291
2292 * net/network-stream.el (network-stream-open-starttls):
2293 Check that response to the starttls-command is non-nil. (Bug#13706)
2294
2295 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2296
2297 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2298 Don't assume all identifier chars have syntax word.
2299 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2300 Remove bar-not-symbol. Adjust callers.
2301 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2302
2303 2013-02-17 Leo Liu <sdl.web@gmail.com>
2304
2305 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2306
2307 2013-02-17 Glenn Morris <rgm@gnu.org>
2308
2309 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2310
2311 * image-mode.el (image-mode-map): Add image-dired menu entry.
2312
2313 * image-dired.el (tumme): Make this alias obsolete.
2314
2315 2013-02-16 Glenn Morris <rgm@gnu.org>
2316
2317 * image.el (image-animated-types): Remove.
2318 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2319 (image-animated-p): Make obsolete alias.
2320 (image-animate, image-nth-frame, image-animate-timeout):
2321 Use image-multi-frame-p.
2322 (image-animate-timeout): If no delay, use image-default-frame-delay.
2323 * image-mode.el (image-mode, image-toggle-animation):
2324 Use image-multi-frame-p. (Bug#763, bug#10739)
2325 (image-mode): Adjust startup message for a multi-frame image.
2326
2327 * image-mode.el (image-mode-map): Give it a menu.
2328
2329 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2330
2331 * net/tramp-cache.el (tramp-connection-properties): New customer
2332 option.
2333 (tramp-get-connection-property): Use it.
2334
2335 * net/tramp-compat.el (top): Require 'trampver.
2336
2337 * net/tramp-sh.el (tramp-remote-process-environment):
2338 Set tramp-autoload cookie.
2339
2340 2013-02-16 Kevin Ryde <user42@zip.com.au>
2341
2342 * info-look.el (info-lookup-select-mode): If major-mode has no
2343 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2344
2345 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2346
2347 * replace.el (read-regexp): Tighten the regexp that matches tag.
2348 When tag is retrieved with `find-tag-default', use regexp that
2349 matches tag at point. Also update docstring (Bug#13687).
2350
2351 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2352
2353 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2354 add watch for the file, not its parent directory, since w32notify
2355 sets up the watch for the directory internally. (Bug#13725)
2356
2357 2013-02-16 Glenn Morris <rgm@gnu.org>
2358
2359 * image.el (image-default-frame-delay): New variable.
2360 (image-animated-p): Use image-default-frame-delay.
2361 (image-minimum-frame-delay): New constant.
2362 (image-animate-timeout): Use image-minimum-frame-delay.
2363
2364 * image.el (image-nth-frame): New, split from image-animate-timeout.
2365 (image-animate-timeout): Use image-nth-frame.
2366 * image-mode.el (image-goto-frame, image-next-frame)
2367 (image-previous-frame): New commands.
2368 (image-mode-map): Add new frame commands.
2369
2370 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2371
2372 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2373 If col-desc already has help-echo, use it. (Bug#13563)
2374
2375 2013-02-16 Glenn Morris <rgm@gnu.org>
2376
2377 * image.el (image-current-frame): New variable.
2378 (image-animate-timeout): Set image-current-frame.
2379 * image-mode.el (image-mode): For animated images,
2380 display a frame counter via mode-line-process.
2381
2382 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2383
2384 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2385
2386 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2387
2388 2013-02-15 Alan Mackenzie <acm@muc.de>
2389
2390 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2391 global minor mode has been enabled, call the minor mode function
2392 for a new buffer once only, after the major mode hook, whilst
2393 allowing that hook explicitly to disable the minor mode.
2394 (MODE-disable-in-buffer): New (generated) function.
2395 (disable-MODE): New (generated) buffer local variable.
2396
2397 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2398
2399 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2400 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2401 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2402 `ido-next-match' and `ido-prev-match' resply.
2403 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2404 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2405 `icomplete-backward-completions' (Bug#13708).
2406
2407 2013-02-15 Glenn Morris <rgm@gnu.org>
2408
2409 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2410
2411 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2412
2413 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2414 (goto-address-fontify-region): Use them instead of narrowing, so
2415 syntax-ppss has access to the whole buffer.
2416
2417 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2418
2419 * progmodes/python.el: Explain how to restore "cc-mode"-like
2420 forward-sexp movement in header documentation (Bug#13642).
2421 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2422 comments and strings (GH bug 114).
2423
2424 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2425
2426 * progmodes/python.el (python-info-current-defun): Fix current
2427 defun detection (Bug#13618).
2428
2429 2013-02-15 Chong Yidong <cyd@gnu.org>
2430
2431 * xml.el (xml-parse-string): Fix typo in handling of bad character
2432 references.
2433
2434 2013-02-15 Glenn Morris <rgm@gnu.org>
2435
2436 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2437
2438 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2439
2440 * net/tramp.el (tramp-debug-message):
2441 Add `tramp-condition-case-unless-debug'.
2442 (tramp-debug-on-error): New defvar.
2443 (tramp-condition-case-unless-debug): New defun.
2444 (tramp-file-name-handler): Use it.
2445
2446 2013-02-14 Juri Linkov <juri@jurta.org>
2447
2448 * info.el (Info-isearch-filter): Treat non-nil values of
2449 `search-invisible' including its default value `open'
2450 like the value `t' to match hidden text. (Bug#13402)
2451
2452 2013-02-14 Glenn Morris <rgm@gnu.org>
2453
2454 * help-fns.el (find-lisp-object-file-name): Give special treatment
2455 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2456
2457 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2458
2459 * net/quickurl.el (quickurl-save-urls):
2460 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2461
2462 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2463
2464 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2465 depth for unfinished percent literal. Not using it in the caller.
2466 (ruby-move-to-block): Jump over multiline literals of all types,
2467 ignoring code-looking contents inside them.
2468 (ruby-add-log-current-method): Improve performance at the expense
2469 of accuracy. `ruby-block-contains-point' is relatively slow, so
2470 only use it for method and singleton class blocks.
2471
2472 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2473
2474 Use ControlMaster where applicable. (Bug#13677)
2475
2476 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2477 replacing `tramp-detect-ssh-controlmaster'.
2478 (tramp-default-method): Use it.
2479
2480 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2481 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2482 arguments.
2483 [scpc, rsyncc]: Remove methods.
2484 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2485 and "ssh2_old".
2486 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2487 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2488
2489 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2490
2491 * emacs-lisp/package.el (package--initialized): Move before first use.
2492
2493 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2494
2495 * icomplete.el (icomplete-hide-common-prefix): New user option.
2496 (icomplete-first-match): New face.
2497 (icomplete-completions): Correct handling of "complete but not
2498 unique" (Bug#12638).
2499
2500 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2501
2502 * descr-text.el (describe-char): Display the script (bug#13698).
2503
2504 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2505
2506 * tmm.el: Use lexical-binding and current-active-maps.
2507 (tmm-menubar): Use map-keymap and pcase.
2508 (tmm--completion-table): New function.
2509 (tmm-prompt): Use it to fix the menu order.
2510 (tmm-get-keybind): Use current-active-maps.
2511
2512 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2513
2514 Add dired-hide-details-mode. (Bug#6799)
2515
2516 * locate.el (locate-mode): Set parent mode property to dired-mode.
2517
2518 * find-dired.el (find-dired): Call dired-insert-set-properties on
2519 initial information line. Set process mark on end of buffer.
2520 (find-dired-sentinel):
2521 Call dired-insert-set-properties on summary.
2522
2523 * dired.el (dired-hide-details-hide-symlink-targets)
2524 (dired-hide-details-hide-information-lines): New options.
2525 (dired-insert-directory):
2526 Set properties after final treatment of output.
2527 (dired-insert-set-properties):
2528 Set dired-hide-details-* properties.
2529 (dired-mode-map): Bind dired-hide-details-mode.
2530 (dired-mode): Set buffer-invisibility-spec to a list.
2531 (dired-next-line): Skip hidden lines.
2532 (dired-previous-line): Use dired-next-line.
2533 (dired-hide-details-mode): New minor mode.
2534 (dired-hide-details-update-invisibility-spec): New function.
2535
2536 2013-02-13 Glenn Morris <rgm@gnu.org>
2537
2538 * play/yow.el: Move to obsolete/. (Bug#9384)
2539
2540 2013-02-13 Juri Linkov <juri@jurta.org>
2541
2542 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2543 to select `ediff-control-frame' and set input focus correctly on Xfce.
2544 (Bug#12218)
2545
2546 2013-02-13 Juri Linkov <juri@jurta.org>
2547
2548 * image-mode.el (image-mode-map):
2549 * doc-view.el (doc-view-mode-map):
2550 * vc/ediff-util.el (ediff-setup-keymap):
2551 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2552
2553 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2554
2555 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2556 performance. Instead of recalculating indentation fully for each
2557 line, sum up indentation depth based only on visited lines.
2558 (ruby-parse-partial): Increase the depth after "do" even when END
2559 is right after it.
2560 (ruby-parse-partial): When END is in the middle of a percent
2561 literal, increase the depth if the delimiter chars belong to the
2562 paren syntax class.
2563
2564 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2565
2566 * play/fortune.el (fortune-compile): Also make the compiled file
2567 if it does not exist at all, not just if it is old. (Bug#5338)
2568
2569 2013-02-13 Glenn Morris <rgm@gnu.org>
2570
2571 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2572
2573 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2574
2575 * lisp/emacs-lisp/package.el (package-menu-execute):
2576 Add optional noquery argument. (Bug#13625)
2577
2578 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2579
2580 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2581 if DIR exists and PARENTS is non-nil.
2582
2583 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2584
2585 * progmodes/js.el (js--multi-line-declaration-indentation):
2586 Silence byte-compiler warning.
2587
2588 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2589
2590 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2591
2592 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2593 only if it doesn't exist.
2594
2595 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2596 Set process marker.
2597
2598 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2599
2600 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2601 UserInstallation when calling soffice to work around LibreOffice
2602 bug 37531.
2603
2604 2013-02-12 Glenn Morris <rgm@gnu.org>
2605
2606 * files.el (basic-save-buffer):
2607 Offer to create a non-existing directory. (Bug#3016)
2608
2609 * calc/calc-graph.el (calc-graph-show-dumb):
2610 * calendar/calendar.el (calendar-mode-map):
2611 * cus-edit.el (custom-mode-map):
2612 * ehelp.el (electric-help-map):
2613 * emulation/vip.el (vip-mode-map):
2614 * epa.el (epa-key-list-mode-map):
2615 * info.el (Info-mode-map):
2616 * mail/rmail.el (rmail-mode-map):
2617 * mail/rmailsum.el (rmail-summary-mode-map):
2618 * man.el (Man-mode-map):
2619 * net/newst-plainview.el (newsticker-mode-map):
2620 * progmodes/cpp.el (cpp-edit-mode-map):
2621 * progmodes/grep.el (grep-mode-map):
2622 * progmodes/idlw-help.el (idlwave-help-mode-map):
2623 * simple.el (special-mode-map):
2624 * startup.el (splash-screen-keymap):
2625 * view.el (view-mode-map):
2626 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2627
2628 2013-02-11 Elias Pipping <pipping@lavabit.com>
2629
2630 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2631 (bug#13679).
2632
2633 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2636
2637 2013-02-11 Glenn Morris <rgm@gnu.org>
2638
2639 * vc/diff.el (diff-use-labels): New variable.
2640 (diff-no-select): Use --label rather than -L, and first
2641 check that it is supported. (Bug#11067)
2642
2643 * files.el (enable-dir-local-variables): New variable.
2644 (hack-dir-local-variables): Respect enable-dir-local-variables.
2645 * tutorial.el (help-with-tutorial):
2646 Ignore directory-local variables. (Bug#11127)
2647
2648 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2649 (vc-svn-global-switches): ... to here. (Bug#13513)
2650
2651 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2652
2653 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2654 Handle "foo (bar, default: xxx): " prompts.
2655
2656 2013-02-10 Chong Yidong <cyd@gnu.org>
2657
2658 * files.el (basic-save-buffer-1): Do not set
2659 buffer-file-coding-system-explicit (Bug#4533).
2660
2661 * mail/emacsbug.el (report-emacs-bug): Change binding of
2662 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2663
2664 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2665
2666 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2667 * calc/calc-units.el (calc-convert-units): Use new variable.
2668
2669 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2670
2671 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2672
2673 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2674 buffer-file-type.
2675
2676 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2677 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2678 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2679 coding-system-for-write instead.
2680
2681 * jka-compr.el (jka-compr-write-region): Don't bind
2682 buffer-file-type.
2683
2684 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2685 buffer-file-type.
2686
2687 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2688 (insert-file-contents-literally): Remove reference to
2689 file-name-buffer-file-type-alist.
2690
2691 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2692 make-obsolete.
2693 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2694 (find-buffer-file-type-coding-system): Remove references to
2695 find-buffer-file-type-match, find-buffer-file-type, and
2696 buffer-file-type.
2697 Don't put find-buffer-file-type-coding-system into
2698 file-coding-system-alist.
2699 (find-file-binary, find-file-text): Bind coding-system-for-read
2700 instead of file-name-buffer-file-type-alist.
2701
2702 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2703
2704 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2705 converter (Bug#13622).
2706 (doc-view-unoconv-program): Make obsolete alias.
2707 (doc-view-odf->pdf-converter-program): New variable.
2708 (doc-view-odf->pdf-converter-function): New variable.
2709 (doc-view-mode-p): Use it.
2710 (doc-view-odf->pdf-converter-unoconv):
2711 Rename from `doc-view-odf->pdf-converter-unoconv'.
2712 (doc-view-odf->pdf-converter-soffice): New function.
2713 (doc-view-convert-current-doc):
2714 Use `doc-view-odf->pdf-converter-function'.
2715
2716 2013-02-09 Chong Yidong <cyd@gnu.org>
2717
2718 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2719 view-echo-area-messages (Bug#13340).
2720
2721 * help.el (view-echo-area-messages): Use display-buffer.
2722
2723 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2724 (Bug#13561).
2725
2726 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2727
2728 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2729 Eval body right away, now that we do eager macroexpansion (bug#13605).
2730
2731 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2732 (fundamental-mode): Use run-mode-hooks.
2733
2734 * eshell/esh-proc.el (eshell/kill): Fix last change.
2735 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2736
2737 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2738
2739 * eshell/esh-proc.el (eshell/kill): Rewrite.
2740
2741 * eshell/em-ls.el (show-almost-all): Declare.
2742 (eshell-do-ls): Add support for -A argument.
2743
2744 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2745
2746 * icomplete.el (icomplete-forward-completions)
2747 (icomplete-backward-completions): Handle corner case (bug#13602).
2748
2749 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2750
2751 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2752 be nil. Handle this. (Bug#13636)
2753
2754 2013-02-07 Richard Stallman <rms@gnu.org>
2755
2756 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2757 `save-buffer-coding-system'.
2758
2759 2013-02-07 Alan Mackenzie <acm@muc.de>
2760
2761 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2762 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2763 (c-parse-state-get-strategy): Don't return 'BOD any more.
2764 (c-append-lower-brace-pair-to-state-cache):
2765 Extra parameter HERE instead of narrowing.
2766 Widen to top of buffer before searching backwards for a brace pair.
2767 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2768 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2769 Narrow to parameter HERE, in place of being called narrowed.
2770 (c-remove-stale-state-cache): Extra parameter HERE in place of
2771 narrowing. Check there's an open brace in the cache before
2772 searching for its match.
2773 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2774 (c-parse-state-1): Don't narrow here for 'forward strategy,
2775 instead passing extra parameter HERE to several functions.
2776 Remove 'BOD strategy.
2777
2778 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2779
2780 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2781 used to install the package.
2782
2783 2013-02-06 Glenn Morris <rgm@gnu.org>
2784
2785 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2786 if we can't get user input. (Bug#6567)
2787
2788 * startup.el (command-line): If simple.el is missing,
2789 test and warn about for some possible causes.
2790
2791 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2792
2793 * cus-start.el (all): Add ns-use-native-fullscreen.
2794
2795 2013-02-05 Glenn Morris <rgm@gnu.org>
2796
2797 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2798
2799 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2800 Fix directory creation in fallback case.
2801
2802 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2803
2804 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2805 (vc-update-change-log): Use dolist.
2806
2807 2013-02-04 Chong Yidong <cyd@gnu.org>
2808
2809 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2810 code from ffap.el.
2811 (thing-at-point-beginning-of-url-regexp): New var.
2812 (thing-at-point-uri-schemes): Update list of URI schemes.
2813 (thing-at-point-url-regexp): Variable deleted.
2814 (thing-at-point-markedup-url-regexp): Disallow newlines.
2815 (thing-at-point-newsgroup-regexp)
2816 (thing-at-point-newsgroup-heads)
2817 (thing-at-point-default-mail-uri-scheme): New variables.
2818 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2819 method to find the possible bounds of the URI at point.
2820 New optional argument to find ill-formed URIs.
2821 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2822 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2823 the scheme-adding heuristics from ffap-url-at-point.
2824 (thing-at-point--bounds-of-well-formed-url): New function.
2825 Do parens matching to decide whether to include parens in the URI
2826 (Bug#9153).
2827
2828 * ffap.el: Require thingatpt.
2829 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2830 All URI-valid characters are now recognized (Bug#5673).
2831 (ffap-string-at-point): Use use-region-p.
2832 (ffap-url-regexp): Extra character is handled by thing-at-point.
2833 (ffap-string-at-point-mode-alist): Allow parentheses.
2834 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2835 Convert to aliases; code moved to thingatpt.el.
2836 (ffap-gnus-hook): Use setq-local.
2837
2838 2013-02-04 Glenn Morris <rgm@gnu.org>
2839
2840 * emacs-lisp/ert.el (ert--explain-format-atom):
2841 Don't try to print non-characters as characters. (Bug#13543)
2842
2843 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2844
2845 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2846 (tramp-backtrace): New defun.
2847 (tramp-handle-insert-file-contents): Use `visit' when inserting
2848 the local copy.
2849
2850 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2851 Use `remote-file-name-inhibit-cache'.
2852
2853 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2856 (bug#13614).
2857
2858 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2859 current-load-list (bug#13366).
2860
2861 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2862
2863 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2864 Identify g++ template instantiation trace. (Bug#12287)
2865 (compilation-mode-hook, compilation-start-hook)
2866 (compilation-window-height): Simplify docstrings. (Bug#13379)
2867
2868 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2869
2870 * mouse.el (mouse-drag-track): Always deactivate the mark before
2871 running the final event's command since that command is in charge of
2872 activating the mark if needed (bug#13523).
2873
2874 2013-02-02 Juri Linkov <juri@jurta.org>
2875
2876 * replace.el (perform-replace): Move let-bindings of isearch-*
2877 variables deeper to the loop that searches for the next match.
2878 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2879 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2880 (Bug#13579)
2881
2882 * isearch.el (isearch-search-fun-default): Check for null
2883 first element of isearch-cmds as a precaution when it's used
2884 with inactive isearch.
2885
2886 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2887
2888 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2889 error when buffer in question is narrowed so position 1 is out of
2890 visible part.
2891
2892 2013-02-02 Glenn Morris <rgm@gnu.org>
2893
2894 * textmodes/remember.el (remember-clipboard): Doc fix.
2895
2896 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2897
2898 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2899 properties (bug#13179).
2900
2901 2013-02-02 Juri Linkov <juri@jurta.org>
2902
2903 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2904 instead of hard-coded default face `match'. (Bug#9438)
2905
2906 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2907
2908 * vc/vc-arch.el (vc-arch-registered):
2909 * vc/vc-bzr.el (vc-bzr-registered):
2910 * vc/vc-cvs.el (vc-cvs-registered):
2911 * vc/vc-git.el (vc-git-registered):
2912 * vc/vc-hg.el (vc-hg-registered):
2913 * vc/vc-mtn.el (vc-mtn-registered):
2914 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2915 (Bug#13139)
2916
2917 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2918 prefix argument. (Bug#11656)
2919
2920 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2923
2924 2013-02-01 Glenn Morris <rgm@gnu.org>
2925
2926 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2927 if the backend is known not to support it.
2928
2929 * imenu.el (imenu-default-create-index-function):
2930 Tweak infinite loop test to check for forward motion as well as none.
2931
2932 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2933
2934 * net/soap-client.el (soap-invoke): Encode the string for
2935 `url-request-data' as UTF-8.
2936 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2937
2938 2013-02-01 Glenn Morris <rgm@gnu.org>
2939
2940 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2941
2942 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2943
2944 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * net/tramp.el (tramp-tramp-file-p): Comment check for
2947 `string-as-unibyte'. The function does not exist on XEmacs, and
2948 likely we need another approach.
2949
2950 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2951 `tramp-gw-*' variables are bound.
2952
2953 2013-01-31 Glenn Morris <rgm@gnu.org>
2954
2955 * files.el (basic-save-buffer-2): Choose coding system for
2956 writing the file before backing it up, to reduce delay between
2957 backing up and writing the new version. (Bug#13522)
2958
2959 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2960
2961 * simple.el (cycle-spacing): New command.
2962 (just-one-space): Use it.
2963
2964 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2967 (opascal-newline-always-indents): Remove custom.
2968 (opascal-tab, opascal-newline): Remove commands.
2969 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2970 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2971 (opascal-save-match-data): Remove, use save-match-data instead.
2972 (opascal-save-state): Use with-silent-modifications.
2973
2974 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2975 (bug#13585).
2976
2977 2013-01-30 Juri Linkov <juri@jurta.org>
2978
2979 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2980 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2981 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2982
2983 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2984
2985 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2986 column if we're just deleting the backslashes.
2987 (makefile-fill-paragraph): Use eolp.
2988
2989 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2990
2991 * autorevert.el (auto-revert-use-notify): Fix docstring.
2992
2993 2013-01-30 Leo Liu <sdl.web@gmail.com>
2994
2995 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2996
2997 2013-01-30 Glenn Morris <rgm@gnu.org>
2998
2999 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3000 unread-command-events twice in some cases. This tries to implement
3001 the 2012-07-26 changes in a different way. (Bug#13560)
3002
3003 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3004
3005 * progmodes/python.el
3006 (python-pdbtrack-comint-output-filter-function): Enhancements on
3007 stacktrace detection. (thanks @gnovak)
3008
3009 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3010
3011 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3012 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3013 Use defvar-local.
3014 (jit-lock-register): Use setq-local.
3015
3016 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3017
3018 * calc-units.el (math-default-units-table): Remove initial value.
3019 (calc-convert-units): Treat expressions where all the units cancel as
3020 if they didn't have units.
3021
3022 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3023
3024 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3025 (tramp-completion-reread-directory-timeout): Fix type.
3026 (tramp-connection-min-time-diff): New defcustom.
3027
3028 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3029
3030 2013-01-30 Glenn Morris <rgm@gnu.org>
3031
3032 * imenu.el (imenu-default-create-index-function):
3033 Put back a version of the infinite loop test removed 2013-01-23.
3034
3035 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3036
3037 * progmodes/python.el (python-shell-parse-command):
3038 Find python-shell-interpreter with modified environment.
3039
3040 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3043
3044 2013-01-29 Alan Mackenzie <acm@muc.de>
3045
3046 Amend to fontify /regexp/s in actions correctly.
3047 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3048 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3049 are no longer included.
3050 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3051 What used to be these variables without "-line" in the name.
3052 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3053 (c-awk-non-arith-op-bra-re): Now also matches {.
3054 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3055 "return", and "case".
3056 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3057 by /.
3058 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3059 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3060
3061 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3062
3063 * autorevert.el (auto-revert-use-notify):
3064 Use `custom-initialize-default' for initialization. (Bug#13583)
3065
3066 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3067
3068 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3069 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3070 in `tramp-file-name-handler'.
3071 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3072 compatibility.
3073 (tramp-compute-multi-hops): Check, whether
3074 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3075
3076 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3079 (bug#13297).
3080
3081 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3082
3083 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3084 checks made superfluous by the \_< operator.
3085 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3086 temporarily) broken indentation.
3087 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3088 Highlight nested constants, too. \_< broke that.
3089
3090 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3091
3092 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3093 instead of "\\b".
3094
3095 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3096
3097 * autorevert.el (auto-revert-handler): Notifications which result
3098 from a saved file shall not be taken into account. (Bug#13557)
3099
3100 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3101
3102 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3103 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3104 (lisp-mode): Pass t for it. (Bug#13556)
3105
3106 2013-01-25 Alan Mackenzie <acm@muc.de>
3107
3108 AWK Mode: Fix indentation bug at top level. Bug #12274.
3109
3110 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3111 just before CASE 5D.
3112
3113 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3114
3115 * net/socks.el (socks-nslookup-host): Use string-to-number.
3116
3117 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3118
3119 * autorevert.el (auto-revert-remote-files)
3120 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3121 (auto-revert-notify-enabled, auto-revert-use-notify)
3122 (auto-revert-notify-watch-descriptor-hash-list)
3123 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3124 (auto-revert-notify-event-descriptor)
3125 (auto-revert-notify-event-action)
3126 (auto-revert-notify-event-file-name): Doc fix.
3127 (global-auto-revert-mode): Reorder checks.
3128 (auto-revert-notify-rm-watch): Respect changed values of
3129 `auto-revert-notify-watch-descriptor-hash-list'.
3130 (auto-revert-notify-add-watch): Check for
3131 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3132 `inotify-add-watch'. Watch `default-directory' instead of
3133 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3134 has a changed meaning now. (Bug#13540)
3135 (auto-revert-notify-handler): Change implementation wrt events
3136 returning from a directory.
3137 (auto-revert-handler): Reorder implementation for checks of remote
3138 files.
3139 (auto-revert-buffers): Fix parentheses error.
3140
3141 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3142
3143 * progmodes/python.el: Enhancements to header documentation about
3144 skeletons. (Bug#5716)
3145
3146 * imenu.el (imenu-default-create-index-function): Remove useless
3147 infinite loop check. (Bug#13438)
3148
3149 2013-01-25 Alan Mackenzie <acm@muc.de>
3150
3151 Fix a bug in the state cache mechanism. Refactor this a bit.
3152
3153 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3154 `cache-pos' element from the return value.
3155 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3156 buffer to enable proper searching from beyond HERE. Amend the
3157 test for detecting the sought brace pair. Amend the value written
3158 to the "brace desert cache" when the brace isn't found.
3159 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3160 and several other variables analogously.
3161 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3162 parameter to a locally calculated variable.
3163 (c-parse-state-1): Change the calling conventions to the two
3164 defuns involving `cache-pos'.
3165
3166 2013-01-25 Chong Yidong <cyd@gnu.org>
3167
3168 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3169
3170 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3171
3172 * paren.el (show-paren-function): Make sure to set 'priority and
3173 'face only if the overlay does exist.
3174
3175 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3176
3177 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3178
3179 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3180 basic attributes.
3181 (tramp-sh-handle-set-file-acl): Improve error checking.
3182
3183 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3184
3185 * doc-view.el (doc-view-display): Force mode line update until all
3186 document is converted. Suggested by Stefan Monnier (Bug#13164).
3187
3188 2013-01-23 Bastien Guerry <bzg@gnu.org>
3189
3190 * paren.el (show-paren-function): Make sure an overlay exists
3191 before trying to delete it. Also use `pos' as a position only
3192 when it is an integer.
3193
3194 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3195
3196 * play/gametree.el (gametree-break-line-here): Use point-marker.
3197
3198 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3199
3200 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3201 Mark descriptive parts with `display' property.
3202
3203 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3204
3205 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3206 New variable to map standard dict names to hunspell ones.
3207 (ispell-set-spellchecker-params): Make sure specific dict names
3208 are used for standard dicts with hunspell.
3209
3210 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3211
3212 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3213 chars for note (%N) and url (%U).
3214 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3215
3216 2013-01-21 Juri Linkov <juri@jurta.org>
3217
3218 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3219 in addition to existing separate binding `meta f10' in `global-map'.
3220 (Bug#13484)
3221
3222 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3223
3224 Improve XEmacs compatibility.
3225
3226 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3227
3228 * net/tramp-adb.el (top): Require `time-date'.
3229 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3230 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3231 Use `tramp-file-name-handler'.
3232 (tramp-adb-maybe-open-connection):
3233 Use `tramp-compat-set-process-query-on-exit-flag'.
3234
3235 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3236 Use `tramp-compat-funcall'.
3237
3238 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3239 `tramp-compat-funcall'.
3240
3241 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3242
3243 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3244 reimplementation using "adb shell command ..." instead of running
3245 remote shell interactively.
3246
3247 2013-01-20 Glenn Morris <rgm@gnu.org>
3248
3249 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3250 Add native profiler menu entries.
3251
3252 * profiler.el (profiler-running-p): New function.
3253 (profiler-cpu-profile): Use profiler-running-p.
3254 (profiler-report-mode-map): Add some more menu entries.
3255
3256 2013-01-19 Glenn Morris <rgm@gnu.org>
3257
3258 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3259 fixes 2012-12-07 change. (Bug#13499)
3260
3261 2013-01-19 Leo Liu <sdl.web@gmail.com>
3262
3263 * dired.el (dired-get-marked-files): Prune erroneous values due to
3264 last change. (Bug#13152)
3265
3266 2013-01-19 Glenn Morris <rgm@gnu.org>
3267
3268 * progmodes/etags.el (tags-table-check-computed-list):
3269 Preserve point in tags buffer. (Bug#13412)
3270
3271 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3272
3273 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3274 Chong Yidong <cyd@gnu.org>
3275
3276 * image-mode.el (image-next-file, image-previous-file):
3277 New commands (Bug#8453).
3278 (image-mode-map): Bind them to n and p.
3279 (image-mode--images-in-directory): New helper function.
3280
3281 2013-01-19 Chong Yidong <cyd@gnu.org>
3282
3283 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3284 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3285 save and restore the old window configuration.
3286
3287 2013-01-18 Leo Liu <sdl.web@gmail.com>
3288
3289 * progmodes/js.el: Tweak autoload cookie for alias.
3290
3291 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3294 buffer local, again. This was lost with the fix on 2013-01-12.
3295
3296 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3297
3298 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3299 order to support several eshell buffers in parallel.
3300
3301 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3302
3303 * autorevert.el (auto-revert-use-notify): In the :set function, do
3304 not modify `kill-buffer-hook'.
3305 (auto-revert-notify-rm-watch):
3306 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3307 (auto-revert-notify-add-watch): Do not call
3308 `auto-revert-notify-rm-watch', but add it to a buffer local
3309 `kill-buffer-hook'.
3310
3311 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3314 call to `eval' rather than a backquoted lambda.
3315
3316 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3319 to return an explicit nil.
3320 (advice--remove-function): Change accordingly.
3321
3322 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3323 the use of nadvice.el.
3324
3325 * progmodes/which-func.el (which-function): Silence imenu errors
3326 (bug#13433).
3327
3328 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3329
3330 * progmodes/sql.el (sql-imenu-generic-expression):
3331 (sql-mode-font-lock-object-name): Match schema qualified names.
3332 (sql-connect): Use string keys.
3333 (sql-product-interactive): Wait for interpreter prompt.
3334 (sql-comint-oracle): Set process coding based on NLS_LANG.
3335
3336 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3337
3338 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3339 (sql-interactive-remove-continuation-prompt):
3340 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3341
3342 2013-01-14 Leo Liu <sdl.web@gmail.com>
3343
3344 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3345 (Bug#13420)
3346
3347 2013-01-14 Glenn Morris <rgm@gnu.org>
3348
3349 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3350 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3351
3352 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3353
3354 * progmodes/python.el (python-nav-end-of-statement):
3355 Fix cornercase when handling multiline strings.
3356
3357 2013-01-13 Richard Stallman <rms@gnu.org>
3358
3359 * mail/sendmail.el (mail-position-on-field): Add doc string.
3360
3361 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3362 Get current message boundaries and pass them to
3363 message-forward-make-body-mime. Minor style changes.
3364
3365 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3366
3367 * cus-start.el (all): Avoid warnings about
3368 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3369
3370 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3371
3372 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3373
3374 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3377 (jit-lock--debug-fontifying): New var.
3378 (jit-lock--debug-fontify): New function.
3379 * subr.el (condition-case-unless-debug): Don't prevent catching the
3380 error, just let the debbugger run.
3381 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3382 timer code and don't drop errors silently.
3383
3384 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3385
3386 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3387 `permanent-local' property.
3388 (auto-revert-notify-handler): Use `file-equal-p'.
3389
3390 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3391
3392 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3393 file notification by ACTION. For filtering by file name, compare
3394 only the non-directory part of the file name.
3395
3396 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * autorevert.el: Use cl-lib instead of cl.
3399
3400 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3401 (vc-bzr-checkin): Use it.
3402 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3403 will preserve match-data.
3404
3405 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3406
3407 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3408 (js--declaration-keyword-re): New var.
3409 (js--multi-line-declaration-indentation): New function.
3410 (js--proper-indentation): Use it.
3411
3412 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3413
3414 * calc/calc.el (calc-highlight-selections-with-faces)
3415 (calc-dispatch):
3416 * comint.el (comint-history-isearch-message):
3417 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3418 * ffap.el (ffap-string-at-point-region, ffap-next)
3419 (ffap-string-at-point, ffap-string-around)
3420 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3421 (ffap-literally):
3422 * font-lock.el (font-lock-keywords-alist)
3423 (font-lock-removed-keywords-alist):
3424 * help-mode.el (help-xref-symbol-regexp):
3425 * info.el (Info-find-emacs-command-nodes):
3426 * international/mule.el (add-to-coding-system-list):
3427 * isearch.el (isearch-message-function, isearch-fail-pos):
3428 * misearch.el (multi-isearch-next-buffer-function):
3429 * newcomment.el (comment-box):
3430 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3431 (pr-setting-database):
3432 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3433 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3434 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3435 (pike-font-lock-keywords-3):
3436 * progmodes/compile.el (compile):
3437 * progmodes/etags.el (tags-table-files)
3438 (tags-table-files-function, tags-included-tables-function):
3439 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3440 (gdb-restore-windows):
3441 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3442 (ps-n-up-filling-database):
3443 * server.el (server-buffer, server-log):
3444 * simple.el (newline, delete-backward-char, delete-forward-char)
3445 (minibuffer-history-isearch-message, kill-line, track-eol)
3446 (temporary-goal-column):
3447 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3448 (flyspell-default-deplacement-commands):
3449 * textmodes/ispell.el (ispell-accept-output):
3450 * textmodes/sgml-mode.el (html-tag-help):
3451 * vc/compare-w.el (compare-ignore-whitespace)
3452 (compare-ignore-case, compare-windows-dehighlight):
3453 * vc/diff.el (diff):
3454 * whitespace.el (whitespace-point)
3455 (whitespace-font-lock-refontify, whitespace-bob-marker)
3456 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3457
3458 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3459
3460 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3461 (auto-revert-notify-rm-watch): Ignore errors.
3462 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3463 inotify, and '(size last-write-time) for w32notify.
3464 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3465 watch fails - this is a fallback to the file modification check.
3466 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3467 (auto-revert-notify-event-action)
3468 (auto-revert-notify-event-file-name): New defuns.
3469 (auto-revert-notify-handler): Use them. Implement first
3470 plausibility checks.
3471 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3472
3473 2013-01-11 Julien Danjou <julien@danjou.info>
3474
3475 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3476 max are almost equal. Also return the correct value for V which is
3477 already between 0 and 1.
3478
3479 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3480
3481 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3482
3483 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3484
3485 * autorevert.el (auto-revert-notify-rm-watch)
3486 (auto-revert-notify-add-watch): Fix typos in w32notify function
3487 names.
3488
3489 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3490
3491 * autorevert.el (auto-revert-notify-enabled): Move up.
3492 (auto-revert-use-notify): New defcustom.
3493 (auto-revert-mode, global-auto-revert-mode)
3494 (auto-revert-notify-add-watch, auto-revert-handler)
3495 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3496 `auto-revert-notify-enabled'.
3497
3498 2013-01-10 Elias Pipping <pipping@exherbo.org>
3499
3500 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3501 * doc-view.el (doc-view-document->bitmap):
3502 Use doc-view-single-page-converter-function instead of
3503 single-page-converter arg; adjust callers.
3504
3505 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3506
3507 * progmodes/which-func.el (which-function): Understand Semantic's use
3508 of overlays in imenu--index-alist.
3509
3510 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3511
3512 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3513 (Man-man-k-use-anchor): New var.
3514 (Man-parse-man-k): New function.
3515 (Man-completion-table): Use it.
3516 (man): Flush the completion cache between uses.
3517
3518 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3519
3520 * autorevert.el: Add file watch support.
3521 (auto-revert-notify-enabled): New defconst.
3522 (auto-revert-notify-watch-descriptor-hash-list)
3523 (auto-revert-notify-watch-descriptor)
3524 (auto-revert-notify-modified-p): New defvars.
3525 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3526 (auto-revert-notify-handler): New defuns.
3527 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3528 when mode is disabled.
3529 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3530 (auto-revert-buffers): Add file watches for active buffers.
3531
3532 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3533
3534 * cus-start.el (toplevel): Only allow float values for
3535 scroll-up-aggressively and scroll-down-aggressively.
3536 Allow any number for line-spacing.
3537
3538 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3541 (doc-view-pdf->png-converter-function): Use mupdf if available.
3542 (doc-view-djvu->png-converter-function)
3543 (doc-view-ps->png-converter-function): Remove.
3544 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3545 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3546 (doc-view-already-converted-p): Adjust accordingly.
3547 (doc-view-mode-p): Simplify.
3548 (doc-view-enlarge): Use setq-local.
3549 (doc-view-pdf->png-converter-ghostscript)
3550 (doc-view-djvu->png-converter-ddjvu)
3551 (doc-view-pdf->png-converter-mupdf): Rework to call
3552 doc-view-start-process directly.
3553 (doc-view-pdf/ps->png): Simplify accordingly.
3554 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3555 (doc-view-document->bitmap): Rename from doc-view-document->png.
3556 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3557 (doc-view-set-slice-from-bounding-box): Fix completion table.
3558 (doc-view-mode): Use add-hook for after-revert-hook.
3559
3560 2013-01-10 Glenn Morris <rgm@gnu.org>
3561
3562 * emacs-lisp/authors.el (authors-ignored-files)
3563 (authors-valid-file-names, authors-renamed-files-alist):
3564 Add some more entries.
3565
3566 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3569 `t' pseudo-window entry.
3570
3571 2013-01-10 Alan Mackenzie <acm@muc.de>
3572
3573 Fix bugs in the c-parse-state mechanism. Reuse some markers
3574 instead of continually generating new ones.
3575
3576 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3577 (c-state-old-cpp-end-marker): New variables.
3578 (c-append-lower-brace-pair-to-state-cache): Start a backward
3579 search for "}" definitively outside CPP constructs.
3580 (c-remove-stale-state-cache): Inform the caller of a need to
3581 search back for a brace pair in certain circumstances.
3582 (c-state-maybe-marker): New macro.
3583 (c-parse-state): Reuse markers when appropriate.
3584
3585 2013-01-10 Glenn Morris <rgm@gnu.org>
3586
3587 * simple.el (execute-extended-command): Doc fix.
3588 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3589
3590 2013-01-10 Chong Yidong <cyd@gnu.org>
3591
3592 * faces.el (read-face-name): Doc fix.
3593
3594 2013-01-10 Roland Winkler <winkler@gnu.org>
3595
3596 * emacs-lisp/crm.el: Allow any regexp for separators.
3597 (crm-default-separator): All spaces around the default comma separator.
3598 (crm--completion-command): New macro.
3599 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3600 (crm-complete-and-exit): Handle non-single-char separators.
3601
3602 2013-01-09 Elias Pipping <pipping@lavabit.com>
3603
3604 * doc-view.el: Add support for DjVu (bug#13164).
3605 (doc-view-djvu->png-converter-function): New config var.
3606 (doc-view-single-page-converter-function, doc-view--image-type)
3607 (doc-view--image-file-extension): New vars.
3608 (doc-view-mode): Initialize them.
3609 (doc-view-goto-page): Use them.
3610 (doc-view-mode-p): Add support for ddjvu.
3611 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3612 (doc-view-set-up-single-converter): New funs.
3613 (doc-view-pdf/ps->png): Extend for djvu.
3614 (doc-view-document->png): Rename from doc-view-pdf->png.
3615 (doc-view-convert-current-doc): Handle djvu.
3616 (doc-view-insert-image, doc-view-display)
3617 (doc-view-already-converted-p): Don't hardcode png.
3618 (doc-view-set-doc-type): Recognize djvu docs.
3619
3620 2013-01-09 Elias Pipping <pipping@lavabit.com>
3621
3622 * doc-view.el: Add support for mupdf converter (bug#13164).
3623 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3624 (doc-view-ps->png-converter-function): New config vars.
3625 (doc-view-pdf->png-converter-ghostscript)
3626 (doc-view-ps->png-converter-ghostscript)
3627 (doc-view-pdf->png-converter-mupdf): New functions.
3628 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3629
3630 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3631
3632 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3633 first in session cache: When `tramp-own-remote-path' is in
3634 `tramp-remote-path', the remote path is only set in the session
3635 cache.
3636
3637 2013-01-09 Glenn Morris <rgm@gnu.org>
3638
3639 * emacs-lisp/trace.el (trace-function-foreground)
3640 (trace-function-background): Doc fix.
3641
3642 2013-01-09 Juri Linkov <juri@jurta.org>
3643
3644 * international/mule-cmds.el (read-char-by-name): Move let-binding
3645 of completion-ignore-case around completing-read to fix regression
3646 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3647 `string-match-p' using the nil value of `case-fold-search' and
3648 `completion-ignore-case' in `completion-pcm--all-completions'.
3649 (Bug#12615).
3650
3651 2013-01-09 Glenn Morris <rgm@gnu.org>
3652
3653 * progmodes/compile.el (compilation-parse-errors):
3654 Fix typo. (Bug#13369)
3655
3656 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3657
3658 * comint.el (comint-send-input): Check size of buffer before
3659 waiting for process output, in case already accepted. (Bug#13290)
3660
3661 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3662
3663 Spelling fixes.
3664 * net/tramp-adb.el (tramp-adb-get-toolbox):
3665 Fix misspelling of 'unknown'.
3666
3667 2013-01-08 Juri Linkov <juri@jurta.org>
3668
3669 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3670 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3671 Use underline style wave on terminals that support it. (Bug#13000)
3672
3673 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3676 the predicate returns nil.
3677
3678 * simple.el: Use lexical-binding.
3679 (primitive-undo): Use pcase.
3680 (minibuffer-history-isearch-push-state): Use a closure.
3681
3682 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3683
3684 * simple.el (primitive-undo): Move from undo.c.
3685
3686 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3689 (cvs-mode-remove-handled): Use it (bug#13380).
3690
3691 * emacs-lisp/nadvice.el (advice--tweak): New function.
3692 (advice--remove-function, advice--subst-main): Use it.
3693
3694 * emacs-lisp/advice.el: Update commentary.
3695
3696 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3697
3698 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3699 Remove spurious entry.
3700
3701 2013-01-08 Glenn Morris <rgm@gnu.org>
3702
3703 * net/tramp.el (tramp-default-host-alist): Add :version.
3704
3705 2013-01-08 Juri Linkov <juri@jurta.org>
3706
3707 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3708 single completion. (Bug#12456)
3709 (info--manual-names): Expand node completions into an explicit list
3710 before appending it to another list. Filter out internal buffers
3711 with the leading space in the buffer name. (Bug#10771)
3712
3713 2013-01-08 Juri Linkov <juri@jurta.org>
3714
3715 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3716 that defaults to the Top node.
3717 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3718 the short format (FILENAME) goes to the Top node.
3719 (Info-build-node-completions): Rename arg `file' to `filename'.
3720 (Bug#13365)
3721
3722 2013-01-07 Bastien Guerry <bzg@gnu.org>
3723
3724 * menu-bar.el (menu-bar-search-documentation-menu):
3725 Use `apropos-user-option' and fix the help message.
3726
3727 2013-01-07 Bastien Guerry <bzg@gnu.org>
3728
3729 * apropos.el (apropos-do-all): Update docstring.
3730 (apropos-user-option-button): New face.
3731 (apropos-user-option): Rename from `apropos-variable' and update
3732 docstring.
3733 (apropos-variable): Rewrite, now show all variables by default.
3734 (apropos-print): Mention "User option" instead of "Variable" when
3735 printing doc for user options. (Bug#13276)
3736
3737 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3738
3739 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3740 Handle filename correctly, when parsing "source -> target" symlink
3741 output.
3742 (tramp-adb-handle-set-file-times): New defun.
3743
3744 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3747 advice list when the interactive-spec of ad-Advice-* changes.
3748
3749 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3750
3751 * wid-edit.el (widget-default-get): Work for inlined elements.
3752 (Bug#12670)
3753
3754 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3755
3756 * net/tramp.el (tramp-default-host-alist): New defcustom.
3757 (tramp-find-host): Use it.
3758 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3759 `eshell-directory-change-hook'.
3760
3761 * net/tramp-adb.el (top): Add adb specific entry in
3762 `tramp-default-host-alist'.
3763 (tramp-adb-file-name-host): Remove function.
3764 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3765 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3766
3767 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3768
3769 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3770
3771 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3772
3773 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3774
3775 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3776 consist of more than one digit.
3777 (tramp-adb-file-name-handler-alist):
3778 Use `tramp-handle-file-exists-p' consistently.
3779 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3780 (tramp-adb-handle-file-exists-p): Remove function.
3781 (tramp-adb-file-name-host): New defun.
3782 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3783 Use it.
3784 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3785
3786 2013-01-06 Chong Yidong <cyd@gnu.org>
3787
3788 * vc/vc.el (vc-next-action): Detect buffer modifications
3789 conflicting with locking VCS operation (Bug#11490).
3790
3791 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3792
3793 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3794
3795 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3796 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3797
3798 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3799
3800 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3801 parsing of ls output using regular expression (handle filenames
3802 with spaces). Use virtual device number.
3803 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3804 cleanup).
3805
3806 2013-01-04 Daiki Ueno <ueno@gnu.org>
3807
3808 * epg.el: Silence byte-compiler warnings.
3809 (epg--start): Use delete-char instead of delete-backward-char.
3810 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3811
3812 2013-01-04 Daiki Ueno <ueno@gnu.org>
3813
3814 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3815 Suggested by Eli Zaretskii <eliz@gnu.org>.
3816
3817 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3820 non-negative integers. Otherwise, the default values are used.
3821 (tramp-convert-file-attributes): Convert uid and gid to integers.
3822
3823 2013-01-04 Glenn Morris <rgm@gnu.org>
3824
3825 * term.el (term-handle-colors-array): Ensure face attributes
3826 are fully specified, not nil. (Bug#13337)
3827
3828 * term.el (term-default-fg-color, term-default-bg-color):
3829 Fix custom type.
3830
3831 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3832 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3833 rather than 'jka-compr being loaded. (Bug#13338)
3834
3835 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3836
3837 * icomplete.el (icomplete-completions):
3838 Honor icomplete-prospects-height once more following
3839 2012-11-29 changes. (Bug#13224)
3840
3841 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3844 of called-interactively-p as well (bug#13237).
3845
3846 * view.el (view--enable, view--disable): Rename from view-mode-enable
3847 and view-mode-disable and assume it's called from view-mode.
3848 (view-mode-enable, view-mode-disable): Redefine as obsolete
3849 compatibility layer above view-mode.
3850 (view-mode-enter): Call `view-mode'.
3851
3852 * files.el (after-find-file): Call `view-mode'.
3853
3854 * doc-view.el (doc-view-scale-internally): New var.
3855 (doc-view-enlarge, doc-view-insert-image): Obey it.
3856
3857 2013-01-03 Daiki Ueno <ueno@gnu.org>
3858
3859 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3860 exist. (Bug#13344)
3861
3862 2013-01-03 Glenn Morris <rgm@gnu.org>
3863
3864 * mail/rmail.el (rmail-set-header-1): Ignore case.
3865 Handle multi-line headers. (Bug#13330)
3866
3867 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3868 Handle paragraph starting at beginning of buffer.
3869
3870 * subr.el (eval-after-load): Don't purecopy the form, so that it
3871 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3872
3873 * emacs-lisp/byte-run.el (defun): Place cl declarations
3874 after any interactive spec. (Bug#13265)
3875
3876 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3879 defun. Don't check for DECL if DOCSTRING isn't a string.
3880 (defun): Likewise.
3881
3882 2013-01-02 Glenn Morris <rgm@gnu.org>
3883
3884 * eshell/em-cmpl.el (eshell-pcomplete):
3885 More thoroughly imitate pcomplete. (Bug#13293)
3886
3887 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3888 Return nil for empty path elements. (Bug#13296)
3889
3890 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3891
3892 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3893 order to improve efficiency (Based on Daniel Colascione's
3894 <dancol@dancol.org> patch). (Bug#13182)
3895
3896 2013-01-02 Glenn Morris <rgm@gnu.org>
3897
3898 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3899
3900 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3901
3902 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3903 neither DOCSTRING nor DECL was given. (Bug#13316)
3904
3905 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3906
3907 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3908 `error' call.
3909 (tramp-do-copy-or-rename-file): Ignore errors when calling
3910 `set-file-extended-attributes'.
3911
3912 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3913 Add handler for `file-acl'.
3914 (tramp-smb-handle-file-acl): New defun.
3915
3916 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3917
3918 * calc/README: Mention ISO 8601 week-numbering dates.
3919
3920 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3921
3922 * view.el (view-mode-enable): New argument run-view-mode-hook.
3923 Run view-mode-hook only when it's non-nil (Bug#13315).
3924 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3925 argument t.
3926
3927 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3928
3929 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3930 (No device connected, invalid device name). (Bug #13299)
3931
3932 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3933
3934 * window.el (window-resizable--p): Rename to window-resizable-p.
3935 (window-resize-no-error): New function.
3936
3937 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3938 broken in fix from 2012-12-28.
3939
3940 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3941
3942 * subr.el (special-form-p): Don't signal errors on undef aliases.
3943
3944 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3945
3946 * calc/calc-forms.el (math-parse-date): Try using
3947 `math-parse-iso-date' when it looks like it might be needed.
3948 Allow times of 24:00.
3949 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3950 of 24:00.
3951
3952 2012-12-30 Glenn Morris <rgm@gnu.org>
3953
3954 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3955 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3956 (rmail-summary-displayed, rmail-summary): Declare.
3957 (mairix-rmail-display): Just require rmail.
3958
3959 2012-12-30 Chong Yidong <cyd@gnu.org>
3960
3961 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3962 check for the tarball contents.
3963
3964 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3965
3966 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3967 tarfile content listings (Bug#13136).
3968
3969 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3970
3971 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3972 Insert the undecoded text of the message being forwarded. (Bug#9521)
3973
3974 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3977 integers, if they are real numbers. (Bug#13282)
3978
3979 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3980 Return `t' on success.
3981
3982 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3983 Add handler for `set-file-selinux-context'.
3984
3985 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3986
3987 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3988 (tramp-sh-handle-set-file-acl): Return `t' on success.
3989
3990 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3991
3992 * files.el (backup-buffer-copy, basic-save-buffer-2):
3993 If set-file-extended-attributes fails, fall back on set-file-modes
3994 instead of signaling an error. (Bug#13298)
3995 (basic-save-buffer): Likewise.
3996
3997 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3998
3999 * progmodes/python.el: Support other commands triggering
4000 python-indent-line so indentation cycling continues to work.
4001 (python-indent-trigger-commands): New defcustom.
4002 (python-indent-line): Use it.
4003
4004 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4005
4006 * progmodes/python.el (python-shell-send-region): Add blank lines
4007 for non sent code so backtraces remain correct.
4008
4009 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4010
4011 * progmodes/python.el: Remove cl dependency.
4012 (python-syntax-count-quotes): Replace incf call.
4013 (python-fill-string): Replace setf call.
4014
4015 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4016
4017 * info.el (info-other-window): New arg, for consistency with info.
4018
4019 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4020
4021 * mail/rmail.el (rmail-maybe-display-summary):
4022 Rewrite (Bug#13066).
4023
4024 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4025
4026 * epg.el (epg--start): Modify process-environment locally.
4027
4028 2012-12-28 Daiki Ueno <ueno@gnu.org>
4029
4030 * epg.el: Support pinentry-curses.
4031 Suggested by Werner Koch in
4032 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4033 (epg-agent-file, epg-agent-mtime): New variable.
4034 (epg--start): Record the modified time of gpg-agent socket file,
4035 to restore Emacs frame after pinentry-curses termination.
4036 (epg-wait-for-completion): Restore Emacs frame here.
4037
4038 2012-12-27 Juri Linkov <juri@jurta.org>
4039
4040 * info.el (Info-file-completions): New variable.
4041 (Info-read-node-name-1): Complete node names in the Info file
4042 when a file name is given. Call `Info-build-node-completions'
4043 with a file name.
4044 (Info-build-node-completions): Add new arg `file'. When it is
4045 non-nil, visit it in a temporary buffer and cache its completions in
4046 `Info-current-file-completions'. Move most of the function body to
4047 `Info-build-node-completions-1'.
4048 (Info-build-node-completions-1): New function with the body from
4049 `Info-build-node-completions'. (Bug#12456)
4050
4051 2012-12-27 Juri Linkov <juri@jurta.org>
4052
4053 * frame.el (frame-maximization-style): Remove user option.
4054 (cycle-frame-maximized): Remove function.
4055 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4056 (toggle-frame-fullscreen): New command bound to <f11> instead of
4057 `toggle-frame-maximized'.
4058 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4059
4060 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4061
4062 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4063
4064 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4065 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4066 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4067 for `file-accessible-directory-p'. (Bug#13275)
4068
4069 2012-12-27 Sam Steingold <sds@gnu.org>
4070
4071 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4072 continuations, see <http://stackoverflow.com/questions/3582436>.
4073
4074 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4075
4076 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4077 "module" and "def" to have indentation before them.
4078 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4079
4080 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4081
4082 2012-12-27 Alan Mackenzie <acm@muc.de>
4083
4084 Speed up fontification where there's large brace blocks.
4085 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4086 to a call of c-beginning-of-decl-1.
4087
4088 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4089
4090 * comint.el (comint-adjust-window-point): New function.
4091 (comint-postoutput-scroll-to-bottom):
4092 Call comint-adjust-window-point (Bug#13248).
4093
4094 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4095
4096 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4097 Rakefile regexp.
4098 (auto-mode-alist): Associate .gemspec files with ruby-mode
4099 (https://bugs.ruby-lang.org/issues/5453).
4100
4101 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4102
4103 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4104 Suppress coloring, if possible (required for BusyBox based systems like
4105 CyanogenMod).
4106 (tramp-adb-handle-file-attributes)
4107 (tramp-adb-handle-insert-directory)
4108 (tramp-adb-handle-file-name-all-completions): Use it.
4109 (tramp-adb-get-toolbox): New defun. Check for remote shell
4110 implementation (BusyBox or Toolbox).
4111
4112 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4113
4114 * startup.el (initial-buffer-choice): Allow function as value
4115 (Bug#13251).
4116 (command-line-1): Handle case where initial-buffer-choice
4117 specifies a function.
4118 * server.el (server-execute): Handle case where
4119 initial-buffer-choice specifies a function.
4120
4121 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4122
4123 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4124 its own function.
4125 (smtpmail-try-auth-methods): Forget the user name/password if the
4126 login is unsuccessful (bug#12424).
4127
4128 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * notifications.el (notifications-notify): Protect body with
4131 `with-demoted-errors'.
4132
4133 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4134 Check properties of remote device. Restart connection, if there is a
4135 change.
4136
4137 2012-12-21 Chong Yidong <cyd@gnu.org>
4138
4139 * sort.el (sort-subr): Doc fix (Bug#13056).
4140
4141 2012-12-21 Bastien Guerry <bzg@gnu.org>
4142
4143 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4144
4145 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4146
4147 * simple.el (process-file): Overwrite stderr file, if exists.
4148
4149 2012-12-21 Daiki Ueno <ueno@gnu.org>
4150
4151 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4152 (epg-error): Set `error-message' property.
4153
4154 2012-12-21 Chong Yidong <cyd@gnu.org>
4155
4156 * international/mule-cmds.el (read-char-by-name): Signal an error
4157 if the user does not supply a valid character (Bug#13177).
4158
4159 * simple.el (transpose-subr-1): Preserve marker positions by
4160 changing the insertion sequence (Bug#13122).
4161
4162 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4163
4164 * simple.el (kill-region): Deactivate mark even for empty regions
4165 (Bug#13169).
4166
4167 2012-12-21 Chong Yidong <cyd@gnu.org>
4168
4169 * help-fns.el (describe-variable): Make sure we get the right
4170 buffer name (Bug#13105). Suggested by Kelly Dean.
4171
4172 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4173
4174 * comint.el (comint-redirect-previous-input-string): New variable.
4175 (comint-redirect-setup, comint-redirect-cleanup)
4176 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4177 (comint-redirect-preoutput-filter): Fix verbose message.
4178
4179 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4180
4181 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4182 is too long for Tramp. See discussion in
4183 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4184
4185 * progmodes/compile.el (compilation-start): Remove line escape
4186 template.
4187
4188 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4189
4190 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4191 Adjust comment.
4192
4193 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4194
4195 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4196 following non-comment text (bug#13207).
4197 (lm-header-multiline): Continuation lines need to be indented more than
4198 the first line.
4199 (lm-homepage): New function.
4200 (lm-with-file): Don't be confused if narrowing is in effect.
4201
4202 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4203
4204 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4205 very beginning of a hunk (e.g. killing the first line).
4206
4207 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4208
4209 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4210 and text properties from returned ACL string.
4211 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4212 for "setfacl" command.
4213
4214 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4215
4216 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4217 `tramp-cleanup-this-connection', when the process has died.
4218 (Bug#13151)
4219
4220 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4221
4222 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4223
4224 2012-12-17 Kevin Ryde <user42@zip.com.au>
4225
4226 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4227
4228 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4229
4230 Add support for preserving ACL entries of files.
4231
4232 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4233 `set-file-acl' handlers.
4234
4235 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4236 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4237
4238 * net/tramp-compat.el (tramp-compat-copy-file):
4239 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4240
4241 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4242 Add `file-acl' and `set-file-acl' handlers.
4243 (tramp-gvfs-handle-copy-file):
4244 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4245 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4246 New defuns.
4247
4248 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4249 Add `file-acl' and `set-file-acl' handlers.
4250 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4251 (tramp-sh-handle-set-file-acl): New defuns.
4252 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4253 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4254
4255 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4256 Add `file-acl' and `set-file-acl' handlers.
4257 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4258
4259 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4260
4261 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4262 use pop-to-buffer with NORECORD argument t. As buffer name, use
4263 *Metahelp* with a leading space (Bug#13190).
4264
4265 2012-12-16 Romain Francoise <romain@orebokech.com>
4266
4267 * files.el (file-extended-attributes)
4268 (set-file-extended-attributes): New functions.
4269 (backup-buffer): Use them to handle both SELinux context and ACL
4270 entries.
4271 (backup-buffer-copy): Work with an alist of extended attributes,
4272 rather than an SELinux context.
4273 (basic-save-buffer-2): Ditto.
4274
4275 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4276
4277 * battery.el (battery-bsd-apm): New function.
4278
4279 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4280
4281 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4282 standard date formats.
4283
4284 2012-12-15 Juri Linkov <juri@jurta.org>
4285
4286 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4287 `isearch-insert-char-by-name'.
4288 (with-isearch-suspended): New defmacro with body mostly from
4289 `isearch-edit-string' except the part that sets
4290 `isearch-new-string' and `isearch-new-message'.
4291 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4292 body that sets `isearch-new-string' and `isearch-new-message'.
4293 (isearch-insert-char-by-name): New command.
4294 * international/mule-cmds.el (read-char-by-name): Let-bind
4295 `enable-recursive-minibuffers' to t.
4296 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4297
4298 2012-12-15 Juri Linkov <juri@jurta.org>
4299
4300 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4301 (Bug#13175)
4302
4303 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4304
4305 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4306 the prompt. (Bug#13045)
4307
4308 2012-12-14 Glenn Morris <rgm@gnu.org>
4309
4310 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4311 Try to include filename in non-bytecomp warning. (Bug#13132)
4312
4313 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4314
4315 Fix permissions bugs with setgid directories etc. (Bug#13125)
4316 * files.el (backup-buffer): Don't rely on 9th output of
4317 file-attributes, as it's now a placeholder. Instead, use the new
4318 optional arg of file-ownership-preserved-p.
4319 (file-ownership-preserved-p): New optional arg GROUP.
4320 Fix mishandling of setuid directories that would cause this
4321 function to return t when it should have returned nil.
4322 Document what happens if the file does not exist, and when
4323 it's not known whether the ownership will be preserved.
4324 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4325 Likewise.
4326 (tramp-get-local-gid): Use group-gid for integer, as that's
4327 faster and more reliable.
4328
4329 2012-12-14 Julien Danjou <julien@danjou.info>
4330
4331 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4332 Update keywords list, data type and PL/pgSQL.
4333
4334 2012-12-14 Dave Abrahams <dave@boostpro.com>
4335
4336 * vc/ediff-util.el (ediff-buffer-type): New function.
4337 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4338 rather than taking it as as argument.
4339 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4340
4341 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4342
4343 * json.el: Add pretty-print option (bug#12634).
4344 (json-encoding-separator, json-encoding-default-indentation)
4345 (json--encoding-current-indentation, json-encoding-pretty-print)
4346 (json-encoding-lisp-style-closings): New vars.
4347 (json--with-indentation): New macro.
4348 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4349 (json-encode-array): Use it to obey json-encoding-pretty-print.
4350 (json-pretty-print-buffer, json-pretty-print): New commands.
4351
4352 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4353
4354 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4355 Extract `ruby-syntax-propertize-expansions'.
4356 (ruby-syntax-propertize-expansions): Only change syntax on
4357 certain string delimiters, to punctuation. This way the common
4358 functions like forward-word and thing-at-point still work.
4359 (ruby-match-expression-expansion): Improve readability.
4360 (ruby-block-contains-point): New function.
4361 (ruby-add-log-current-method): Handle several edge cases.
4362
4363 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4364
4365 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4366 unload-feature finishes even when aborting an ongoing edebug session.
4367 Also, do not worry about edebug-mode, unload-feature takes care of it.
4368
4369 2012-12-13 Andreas Schwab <schwab@suse.de>
4370
4371 * net/tls.el (tls-program): Update customize type.
4372
4373 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4376 (edebug-setup-hook, cl-read-load-hooks): Use it.
4377 (edebug-unload-function): New function. (Bug#13163)
4378
4379 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4380
4381 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4382 Otherwise, there could be errors in autoloading. (Bug#13151)
4383
4384 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4385
4386 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4387 sequences.
4388
4389 2012-12-13 Alan Mackenzie <acm@muc.de>
4390
4391 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4392 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4393 around `forward-comment' not recognizing ^M as whitespace.
4394
4395 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4396
4397 * progmodes/python.el (python-skeleton-class)
4398 (python-skeleton-def): Do not add space after defun name.
4399
4400 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4403 (cl--symbol-function): Remove (now that funbound is like nil).
4404
4405 2012-12-12 Glenn Morris <rgm@gnu.org>
4406
4407 * button.el (button--area-button-p): Fix typo.
4408
4409 2012-12-12 Sam Steingold <sds@gnu.org>
4410
4411 * frame.el (frame-maximization-style): New user option.
4412 (toggle-frame-maximized): Toggle frame maximization according to
4413 `frame-maximization-style', bound to <f11>.
4414 (cycle-frame-maximized): Cycle between all maximization styles and
4415 non-maximized frame, bound to shift-<f11>.
4416
4417 2012-12-12 David Cadé <codename68@gmail.com>
4418
4419 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4420
4421 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4422
4423 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4424 (eieio-override-prin1): Don't quote kewords and booleans.
4425 (object-write) <eieio-default-superclass>: Don't put closing parens
4426 on new line, avoid needless empty lines, align values that are objects
4427 with the slot keyword (instead of beginning on the same line).
4428 (eieio-list-prin1): Align value with slot keyword; increase
4429 eieio-print-depth before printing members of the list.
4430
4431 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4434 a display text-property.
4435 (report-emacs-bug-hook): Don't bother deleting it any more.
4436
4437 * hilit-chg.el (highlight-save-buffer-state): Delete.
4438 Use with-silent-modifications instead.
4439 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4440
4441 * button.el: Handle buttons in display text-properties.
4442 (button--area-button-p, button--area-button-string):
4443 Use (STRING . STRING-POS) representation instead of just STRING.
4444
4445 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4446
4447 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4448 subdirectory be skipped.
4449
4450 2012-12-11 Glenn Morris <rgm@gnu.org>
4451
4452 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4453
4454 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4455 Treat preprocessor lines embedded in continuations like comments.
4456 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4457
4458 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4459
4460 * calc/calc.el (calc-standard-date-formats): Add more date
4461 formats.
4462 * calc/calc-forms.el (math-parse-iso-date): New function.
4463 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4464 (math-parse-iso-date-validate): Add extra error checking.
4465 (calc-date-notation): Add ability to access new date formats.
4466
4467 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4468
4469 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4470 font-lock as well as when there's no text-property.
4471
4472 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4473
4474 * hi-lock.el: Refine the choice of default face.
4475 (hi-lock-keyword->face): New function. Use it wherever we used
4476 cadadadr instead.
4477 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4478 (hi-lock--last-face): Remove var.
4479 (hi-lock--unused-faces): New var to replace it.
4480 (hi-lock-read-face-name): Use/maintain it.
4481 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4482 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4483 if it has another face.
4484
4485 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4486
4487 * subr.el (w32notify-handle-event): New function.
4488 (inotify-handle-event): Doc fix.
4489
4490 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4491
4492 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4493
4494 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4495
4496 * simple.el (just-one-space): Doc fix.
4497
4498 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4499
4500 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4501
4502 2012-12-10 Le Wang <l26wang@gmail.com>
4503
4504 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4505 narrowed buffer (bug#12361).
4506
4507 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4508
4509 * vc/vc-hooks.el (vc-state): Doc fix.
4510
4511 2012-12-10 Glenn Morris <rgm@gnu.org>
4512
4513 * mail/rmail.el (rmail-maybe-display-summary):
4514 Preserve buffer, in case select-window changes it. (Bug#13066)
4515
4516 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4517
4518 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4519 cl-load-hook where they belong.
4520
4521 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4524
4525 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4526
4527 Parallelize byte compilation on MS-Windows.
4528 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4529 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4530 (WINS_BASIC): Define as concatenation of the above.
4531 (compile): Subdivide into 4 separate and independent jobs that can
4532 be run in parallel.
4533 (compile0-CMD, compile0-SH): New targets for compiling
4534 COMPILE_FIRST files, which are prerequisites for the rest of the
4535 byte-compilation.
4536 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4537 New targets for parallel compilation with cmd.exe.
4538 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4539 compiling under a Unixy shell.
4540
4541 2012-12-09 Chong Yidong <cyd@gnu.org>
4542
4543 * simple.el (set-mark-default-inactive): Delete this
4544 accidentally-introduced option.
4545 (set-mark-command, exchange-point-and-mark): Remove calls.
4546
4547 2012-12-09 Glenn Morris <rgm@gnu.org>
4548
4549 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4550 Respect a defcustom's :set function, if appropriate. (Bug#109)
4551 (eval-defun): Doc fix.
4552
4553 2012-12-08 Juri Linkov <juri@jurta.org>
4554
4555 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4556 (Info-fontify-node, Info-bookmark-make-record): Remove the
4557 file extension from Info-current-file (Bug#13016).
4558
4559 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4560
4561 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4562 point, still provide some default.
4563 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4564 names, since we don't use it right now. Actually return the list.
4565 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4566
4567 2012-12-07 Chong Yidong <cyd@gnu.org>
4568
4569 * novice.el (disabled-command-function): Remove a spurious help
4570 xref (Bug#13043). Suggested by Kelly Dean.
4571
4572 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4573 syntax is specified (Bug#13025).
4574
4575 * info.el (Info-set-mode-line): Remove the file extension from
4576 Info-current-file if there is one (Bug#13016).
4577
4578 2012-12-07 Glenn Morris <rgm@gnu.org>
4579
4580 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4581 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4582 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4583 and rmail-mime-decoded. (Bug#9841)
4584
4585 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4586 (batch-unrmail, unrmail): Doc fixes.
4587 (unrmail): Respect unrmail-mbox-format.
4588 * mail/rmail.el (rmail-mbox-format): New option.
4589 (rmail-show-message-1): Respect rmail-mbox-format.
4590
4591 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4594
4595 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4596
4597 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4598 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4599 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4600 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4601 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4602 (cl-progv): Don't rely on dynamic scoping to find the body.
4603 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4604 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4605 (cl-declaim): Use backquotes.
4606 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4607 Use "cl--" prefix for the object's tag.
4608
4609 * ses.el: Use advice-add/remove.
4610 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4611 (copy-region-as-kill, yank): Use advice-add.
4612 (ses-unload-function): Use advice-remove.
4613
4614 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4615
4616 * button.el: Make them work in header-lines (bug#12817).
4617 (button-map): Add bindings for header-line and mode-line use.
4618 (button-get, button-put, button-label): `button' may now be a string.
4619 (button-activate): Don't make it a defsubst.
4620 (button--area-button-p, button--area-button-string): New functions.
4621 (make-text-button): Fix the return value when `beg' was a string.
4622 (push-button): Handle the mode-line case.
4623
4624 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4627 (sql-signum): Remove. Use `cl-signum' instead.
4628 (sql-read-passwd): Remove; use read-passwd instread.
4629 (sql-get-login-ext): Use read-string.
4630 (sql-get-login): Use dolist and pcase.
4631 (sql--completion-table): Rename from sql-try-completion.
4632 Use complete-with-action.
4633 (sql-mode): Don't change abbrev-all-caps globally.
4634 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4635 (sql-postgres-completion-object): Initialize vars in their `let'.
4636 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4637 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4638 (sql-comint-interbase): Use a single append, without setq.
4639 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4640
4641 * hi-lock.el: Rework the default face and the serialize regexp code.
4642 (hi-lock--auto-select-face-defaults): Remove.
4643 (hi-lock-string-serialize-serial): Remove.
4644 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4645 make weak.
4646 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4647 equal string.
4648 (hi-lock-set-pattern): Adjust accordingly.
4649 (hi-lock--regexps-at-point): Simplify accordingly.
4650 (hi-lock--auto-select-face-defaults): Remove.
4651 (hi-lock--last-face): New var to replace it.
4652 (hi-lock-read-face-name): Rewrite (bug#11095).
4653 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4654
4655 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * net/tramp.el (tramp-replace-environment-variables):
4658 Hide compiler warning.
4659 (tramp-file-name-for-operation): Remove `executable-find',
4660 `start-process', `call-process' and `call-process-region'.
4661
4662 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4663
4664 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4665 compatibility.
4666
4667 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4668
4669 2012-12-06 Chong Yidong <cyd@gnu.org>
4670
4671 * ffap.el (ffap-replace-file-component): Fix typo.
4672
4673 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4674
4675 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4676 fix open-paren-like token test (bug#12785).
4677
4678 2012-12-06 Glenn Morris <rgm@gnu.org>
4679
4680 * mail/rmailsum.el (rmail-new-summary): Tweak for
4681 rmail-maybe-display-summary changing buffer. (Bug#13066)
4682
4683 2012-12-06 Juri Linkov <juri@jurta.org>
4684
4685 * info.el (Info-fontify-node): Don't hide the last newline.
4686 (Bug#12272)
4687
4688 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4689
4690 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4691 so as to enable message-read-from-minibuffer to expand mail aliases.
4692
4693 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4694
4695 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4696 the `intangible' property.
4697 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4698
4699 2012-12-05 Deniz Dogan <deniz@dogan.se>
4700
4701 * net/rcirc.el (rcirc-urls): Update documentation.
4702 (rcirc-condition-filter): New function.
4703 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4704 and exclude consecutive duplicate URLs (Bug#6082).
4705
4706 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4707
4708 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4709 Check return code of copy command.
4710
4711 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4712 Use group `tramp'. Add version.
4713
4714 2012-12-05 Chong Yidong <cyd@gnu.org>
4715
4716 * ffap.el (ffap-url-regexp): Don't require matching at front of
4717 string (Bug#4952).
4718 (ffap-url-p): If only a substring matches, return that.
4719 (ffap-url-at-point): Use the return value of ffap-url-p.
4720 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4721 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4722 (ffap-guess-file-name-at-point): Likewise.
4723 (ffap-replace-file-component): Fix typo.
4724
4725 * info.el (info-display-manual): Add existing Info buffers, whose
4726 files may not be in Info-directory-list, to the completion.
4727 (info--manual-names): New helper function.
4728
4729 2012-12-05 Glenn Morris <rgm@gnu.org>
4730
4731 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4732 New functions, for detecting and resolving conflicts. (Bug#10709)
4733
4734 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4735
4736 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4737 (hi-lock-auto-select-face-defaults): New buffer local variable.
4738 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4739 (hi-lock-unface-buffer): Prompt user with useful defaults.
4740 With prefix arg, unhighlight all hi-lock patterns in buffer.
4741
4742 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4743
4744 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4745
4746 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * Makefile.in (TRAMP_SRC):
4749 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4750
4751 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4752
4753 * net/tramp-adb.el: New package.
4754
4755 2012-12-04 Chong Yidong <cyd@gnu.org>
4756
4757 * terminal.el: Move to obsolete/.
4758
4759 * longlines.el: Move to obsolete/.
4760
4761 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4762 Remove code referring to longlines mode.
4763
4764 2012-12-03 Juri Linkov <juri@jurta.org>
4765
4766 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4767
4768 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4769
4770 * textmodes/ispell.el (ispell-init-process)
4771 (ispell-start-process, ispell-internal-change-dictionary):
4772 Make sure personal dictionary name is expanded after initial
4773 `default-directory' value. Use expanded strings for
4774 keep/restart checks and for value (Bug#13019).
4775
4776 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4777
4778 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4779
4780 2012-12-03 Leo Liu <sdl.web@gmail.com>
4781
4782 * files.el (dir-locals-read-from-file): Check file non-empty
4783 before reading. (Bug#13038)
4784
4785 2012-12-03 Glenn Morris <rgm@gnu.org>
4786
4787 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4788 Remove any version extension before checking filename. (Bug#13006)
4789 (jka-compr-compression-info-list): Belated :version bump.
4790
4791 2012-12-03 Chong Yidong <cyd@gnu.org>
4792
4793 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4794
4795 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4796 (buffer-menu): Doc fix (Bug#12294).
4797
4798 2012-12-03 Roland Winkler <winkler@gnu.org>
4799
4800 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4801 of diary-show-all-entries in the diary buffer (Bug#12994).
4802
4803 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4806 "<STDIN>". This is binary safe.
4807
4808 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4809
4810 * calc/calc-forms.el (math-absolute-from-iso-dt)
4811 (math-date-to-iso-dt, math-parse-iso-date-validate)
4812 (math-iso-dt-to-date): New functions.
4813 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4814 (math-fd-isoweekday): New variables.
4815 (calc-date-notation, math-parse-standard-date, math-format-date)
4816 (math-format-date-part): Add support for more formatting codes.
4817
4818 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4819
4820 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4821 current buffer's file name when called interactively (Bug#12488).
4822
4823 2012-12-02 Juri Linkov <juri@jurta.org>
4824
4825 * info.el (info-display-manual): Don't clobber an existing Info
4826 buffer (Bug#10770). Add completion (Bug#10771).
4827
4828 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4829
4830 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4831 before using it for comparison (Bug#5297).
4832
4833 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4834
4835 * textmodes/css-mode.el (css-current-defun-name): New function.
4836 (css-mode): Use it.
4837
4838 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4839 (html-mode): Use it.
4840
4841 2012-12-01 Chong Yidong <cyd@gnu.org>
4842
4843 Modularize add-log-current-defun (Bug#2224).
4844 Suggested by Jari Aalto.
4845
4846 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4847 (add-log-current-defun): Move mode-specific code to other files.
4848 (add-log-lisp-like-modes, add-log-c-like-modes)
4849 (add-log-tex-like-modes): Variables deleted.
4850
4851 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4852 (lisp-mode-variables): Use it.
4853
4854 * progmodes/cc-mode.el (c-common-init):
4855 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4856 add-log-current-defun-function.
4857
4858 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4859 (m4-mode): Use it.
4860
4861 * progmodes/perl-mode.el (perl-current-defun-name): New.
4862 (perl-mode): Use it.
4863
4864 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4865 Use lisp-current-defun-name.
4866
4867 * textmodes/tex-mode.el (tex-current-defun-name): New.
4868 (tex-common-initialization): Use it.
4869
4870 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4871 (texinfo-mode): Use it.
4872
4873 2012-12-01 Chong Yidong <cyd@gnu.org>
4874
4875 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4876 * progmodes/autoconf.el (autoconf-mode):
4877 * progmodes/js.el (js-mode):
4878 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4879 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4880 * progmodes/perl-mode.el (perl-mode):
4881 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4882 * textmodes/css-mode.el (css-mode):
4883 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4884 (sgml-tags-invisible, sgml-guess-indent):
4885 * textmodes/tex-mode.el (tex-common-initialization)
4886 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4887 (doctex-mode, plain-tex-mode, latex-mode):
4888 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4889
4890 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4891
4892 * vc/vc-hg.el (vc-hg-next-revision):
4893 Ensure use of default "tip" output format. (Bug#6968)
4894
4895 2012-12-01 Kim F. Storm <storm@cua.dk>
4896
4897 * startup.el (fancy-startup-tail): Add a clickable link
4898 (Bug#2176).
4899
4900 2012-12-01 Chong Yidong <cyd@gnu.org>
4901
4902 * startup.el (fancy-startup-tail): Improve the message about
4903 auto-save files (Bug#2176).
4904
4905 * files.el (recover-session): Improve the descriptive message, and
4906 use substitute-command-keys.
4907
4908 2012-12-01 Glenn Morris <rgm@gnu.org>
4909
4910 * ido.el (ido-file-internal):
4911 Handle other-window, other-frame for dired. (Bug#13036)
4912
4913 2012-11-30 Glenn Morris <rgm@gnu.org>
4914
4915 * icomplete.el (icomplete-separator): Fix :version.
4916
4917 2012-11-30 Chong Yidong <cyd@gnu.org>
4918
4919 * shell.el (shell): For C-u M-x shell, use an inactive shell
4920 buffer as the default (Bug#1975).
4921 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4922 (shell-mode): Use them to reapply ansi colorization if Shell mode
4923 is re-enabled.
4924
4925 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4926
4927 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4928
4929 2012-11-30 Samuel Bronson <naesten@gmail.com>
4930
4931 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4932 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4933
4934 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4935
4936 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4937 by move-to-column (Bug#3234).
4938
4939 2012-11-30 Chong Yidong <cyd@gnu.org>
4940
4941 * longlines.el (longlines-wrap-line, longlines-encode-region):
4942 Preserve text properties (Bug#1425).
4943
4944 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4945
4946 * vc/vc.el (vc-register): Allow registering a file which is
4947 already registered with a different backend (Bug#10589).
4948
4949 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4950 Stefan Monnier <monnier@iro.umontreal.ca>
4951
4952 * icomplete.el: Change separator; add ido-style commands.
4953 (icomplete-show-key-bindings): Remove custom var.
4954 (icomplete-get-keys): Remove function.
4955 (icomplete-forward-completions, icomplete-backward-completions):
4956 New commands.
4957 (icomplete-minibuffer-map): New var.
4958 (icomplete-minibuffer-setup): Use it.
4959 (icomplete-exhibit): Don't delay if the list of completions is known.
4960 (icomplete-separator): New custom.
4961 (icomplete-completions): Use it.
4962 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4963 (minibuffer-force-complete-and-exit): New command.
4964 (minibuffer--complete-and-exit): New function extracted from
4965 minibuffer-complete-and-exit.
4966 (minibuffer-complete-and-exit): Use it.
4967
4968 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4969 error message when the file doesn't exist (bug#12974).
4970
4971 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4972
4973 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4974
4975 2012-11-29 Glenn Morris <rgm@gnu.org>
4976
4977 * files.el (hack-dir-local-variables): Warn if try to set
4978 coding via dir-locals, since it doesn't work. (Bug#7169)
4979
4980 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4981 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4982 Set buffer-local value of desktop-save-buffer.
4983 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4984 New functions.
4985 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4986 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4987
4988 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4989 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4990 Doc fix.
4991 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4992 Doc fixes.
4993
4994 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4995
4996 * calc/calc-forms.el (calc-date-notation): Fix regexp
4997 used to find time codes. Fix symbol for seconds.
4998
4999 2012-11-27 Glenn Morris <rgm@gnu.org>
5000
5001 * emacs-lisp/derived.el (derived-mode-make-docstring):
5002 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5003
5004 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5005
5006 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5007 lexically scoped variables (bug#13005).
5008
5009 2012-11-27 Glenn Morris <rgm@gnu.org>
5010
5011 * vc/vc-hooks.el (vc-mistrust-permissions):
5012 Default to t, to avoid data-loss. (Bug#11490)
5013
5014 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5015
5016 * progmodes/python.el (python-indent-guess-indent-offset):
5017 If indentation is guessed make python-indent-offset buffer-local.
5018
5019 Fix Imenu regression.
5020 * progmodes/python.el (python-nav-beginning-of-defun):
5021 Fix forward movement when statement(s) separates point from defun.
5022 (python-imenu-prev-index-position): New function.
5023
5024 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5025
5026 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5027
5028 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5029 Don't set buffer-file-type. Return nil. (Bug#12989)
5030
5031 2012-11-27 Glenn Morris <rgm@gnu.org>
5032
5033 * hippie-exp.el (hippie-expand-try-functions-list):
5034 Re-autoload it. (Bug#12982)
5035
5036 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5037
5038 * descr-text.el (describe-char-padded-string):
5039 Call internal-char-font only on GUI frames. (Bug#11964)
5040
5041 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5042
5043 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5044 and obsoletion message.
5045
5046 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5047
5048 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5049 the constructs to keep outside of the `cl-block' (bug#12977).
5050
5051 2012-11-27 Chong Yidong <cyd@gnu.org>
5052
5053 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5054 keep reading until we get the up-event anyway, in order to process
5055 the up-event for mouse-1-click-follows-link (Bug#12971).
5056
5057 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5058
5059 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5060 base function is not yet defined (bug#12965).
5061 (ad-activate-advised-definition): Use ad-compile-function.
5062 (ad-activate): Use cond.
5063
5064 2012-11-25 Leo Liu <sdl.web@gmail.com>
5065
5066 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5067 (Bug#12979)
5068
5069 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5070
5071 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5072 reftex-section-info-function in order to be compatible with
5073 Texinfo integration.
5074
5075 * textmodes/reftex.el (reftex-section-pre-regexp)
5076 (reftex-section-post-regexp, reftex-section-info-function):
5077 New variable.
5078 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5079 reftex-section-post-regexp, and reftex-section-info-function in order
5080 to be compatible with Texinfo integration.
5081
5082 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5083 use reftex-section-pre-regexp variable in order to be compatible with
5084 Texinfo integration.
5085
5086 2012-11-25 Chong Yidong <cyd@gnu.org>
5087
5088 * faces.el: Make face-spec-set more analogous to setq.
5089 (face-spec-set): Change the third arg to specify whether this
5090 function is being called via defface, customize, or a third party.
5091 Set the appropriate symbol properties. Clear the override spec if
5092 setting via Custom. Initialize face if necessary. (Bug#4988)
5093 (face-spec-recalc): Allow theme faces to completely replace the
5094 defface spec, in the same way as custom faces (Bug#8454).
5095
5096 * cus-face.el (custom-declare-face): Move face initialization to
5097 face-spec-set.
5098 (custom-theme-set-faces): Don't initialize the face name here, as
5099 that is now done in face-spec-set.
5100
5101 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5102 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5103 Simplify by using the new arg to face-spec-set.
5104
5105 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5106 reset face-override-spec too, and use custom-declare-face.
5107
5108 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5109
5110 * term/ns-win.el (ns-initialize-window-system): Move creation of
5111 fontsets here (Bug#11964).
5112
5113 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5114
5115 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5116 cell renaming.
5117
5118 2012-11-24 Chong Yidong <cyd@gnu.org>
5119
5120 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5121 obsolete.
5122
5123 * custom.el (custom-theme-set-variables): Use a topological sort
5124 for ordering by custom dependencies (Bug#12952).
5125 (custom--sort-vars, custom--sort-vars-1): New functions.
5126
5127 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5128
5129 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5130 lexical-binding (bug#12938).
5131
5132 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5133
5134 * image-mode.el (image-transform-check-size): Use assertions only
5135 for images of type imagemagick.
5136
5137 Otherwise no error, image-transform-fit-to-{width,height} is
5138 silently ignored, as before. Doc fix.
5139
5140 2012-11-24 Chong Yidong <cyd@gnu.org>
5141
5142 * faces.el (color-defined-p): Doc fix (Bug#12853).
5143
5144 2012-11-24 Juri Linkov <juri@jurta.org>
5145
5146 * dired.el (dired-mark): Add optional arg `interactive'.
5147 Check for `use-region-p' if `interactive' is non-nil.
5148 (dired-unmark, dired-flag-file-deletion): Add optional arg
5149 `interactive'. Call `dired-mark' with the arg `interactive'.
5150 (Bug#10624)
5151
5152 * wdired.el: Revert 2012-10-17 change partly and replace it with
5153 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5154 (wdired-finish-edit): Add marks for new file names to
5155 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5156 after `revert-buffer'.
5157 (wdired-do-renames): Remove calls to `dired-remove-file',
5158 `dired-add-file', `dired-add-entry'. (Bug#11795)
5159
5160 2012-11-24 Alan Mackenzie <acm@muc.de>
5161
5162 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5163
5164 Fix bugs in the state cache. Enhance a debugging mechanism.
5165 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5166 "brace at column zero" strategy for C++.
5167 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5168 (c-parse-state-point): New variable.
5169 (c-record-parse-state-state): Record old parse state with
5170 `copy-tree'. Record previous value of point.
5171 (c-debug-parse-state-double-cons): New debugging function.
5172 (c-debug-parse-state): Call the above new function.
5173 (c-toggle-parse-state-debug): Output a confirmatory message.
5174
5175 * progmodes/cc-mode.el (c-before-change, c-after-change):
5176 Call c-invalidate-state-cache from `c-before-change' instead of
5177 `c-after-change'.
5178
5179 2012-11-23 Chong Yidong <cyd@gnu.org>
5180
5181 * find-cmd.el (find-constituents): Add executable, ipath,
5182 readable, samefile, writable, daystart, regextype (Bug#12856).
5183
5184 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5185
5186 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5187
5188 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5189
5190 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5191 definition. This fixes a bootstrap failure.
5192 (calc-gregorian-switch): In menu, put dates before regions.
5193 This is easier to follow, lines up better in the menu, and lets us
5194 coalesce regions that switch at the same time. Give country
5195 names, not "Vatican", as that's better for non-expert users.
5196 Use names that are stable between the date of switch and now, e.g.,
5197 Bohemia and Moravia (which existed then and now) and not
5198 Czechoslovakia (which didn't exist then and doesn't exist now).
5199 What is now the U.S. mostly did not switch at the same time as
5200 Britain, so omit the U.S. Correct spelling of "Britain".
5201 Catholic Switzerland was too much of a mess, so omit it.
5202
5203 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5204
5205 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5206 after the variable is changed.
5207
5208 2012-11-21 Daniel Colascione <dancol@dancol.org>
5209
5210 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5211 in SQL declarations for font-lock.
5212 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5213
5214 2012-11-21 Glenn Morris <rgm@gnu.org>
5215
5216 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5217 (face-italic-p): Add optional argument "inherit".
5218
5219 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5220 Remove -p suffix from names, for consistency with other set-face-*.
5221 (set-face-inverse-video): Fix interactive spec.
5222 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5223 * textmodes/table.el (table--update-cell-face):
5224 Use set-face-inverse-video rather than now obsolete alias.
5225
5226 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5227
5228 * simple.el (line-move): Don't call line-move-partial if
5229 scroll-conservatively is in effect. (Bug#12927)
5230
5231 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5234 Fallback on completion-at-point rather than
5235 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5236 (eshell-cmpl-initialize): Setup completion-at-point.
5237
5238 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5239
5240 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5241
5242 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5243
5244 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5245 are remote, check out-of-band property for both.
5246
5247 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5250 code rewrite.
5251
5252 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5253
5254 More minor time fixes.
5255 * calendar/time-date.el: Commentary fix.
5256 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5257 too much other code depends on (0 0) time stamps.
5258 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5259 Add a couple of FIXME comments.
5260
5261 Minor cleanup for times as lists of four integers.
5262 * files.el (dir-locals-directory-cache):
5263 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5264 Doc fixes.
5265 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5266 * ps-bdf.el (bdf-file-newer-than-time):
5267 Process four-integers time stamps, not two. Doc fixes.
5268
5269 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * uniquify.el (uniquify-managed): Use defvar-local.
5272 (rename-buffer, create-file-buffer): Advise with advice-add.
5273 (uniquify-unload-function): Unadvise accordingly.
5274
5275 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5276 (trace-buffer): Don't purecopy.
5277 (trace-entry-message, trace-exit-message): Add `context' arg.
5278 (trace--timer): New var.
5279 (trace-make-advice): Adjust for use in nadvice.
5280 Add `context' argument. Delay `display-buffer' via a timer.
5281 (trace-function-internal): Use advice-add.
5282 (trace--read-args): New function.
5283 (trace-function-foreground, trace-function-background): Use it.
5284 (trace-function): Rename to trace-function-foreground and redefine as
5285 an alias to that new name.
5286 (untrace-function, untrace-all): Adjust to the use of nadvice.
5287
5288 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5289
5290 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5291
5292 * subr.el (called-interactively-p-functions): New var.
5293 (internal--called-interactively-p--get-frame): New macro.
5294 (called-interactively-p, interactive-p): Rewrite in Lisp.
5295 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5296 (called-interactively-p-functions): Use it.
5297 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5298 (called-interactively-p-functions): Use it.
5299 * allout.el (allout-called-interactively-p): Don't assume
5300 called-interactively-p is a subr.
5301
5302 2012-11-20 Glenn Morris <rgm@gnu.org>
5303
5304 * profiler.el (profiler-report-mode-map): Add a menu.
5305 No need to bind `q' because we derive from special-mode.
5306 (profiler-report-find-entry): Handle calls from the menu-bar.
5307
5308 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 * emacs-lisp/byte-run.el (defun-declarations-alist):
5311 Allow a compiler-macro to be a lambda expression.
5312
5313 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5314 eval-when-compile.
5315 (python-syntax-context): Add compiler-macro.
5316 (python-font-lock-keywords): Simplify with De Morgan.
5317
5318 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5319
5320 * files.el (load-file): Require match in minibuffer selection, as was
5321 the case in Emacs-20 before we changed the spec to allow .elc files
5322 (bug#12935).
5323
5324 * json.el: Don't require cl since we don't use it.
5325 * color.el: Don't require cl.
5326 (color-complement): `caddr' -> `nth 2'.
5327
5328 * calendar/time-date.el (time-to-seconds): De-obsolete.
5329
5330 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5331
5332 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5333 year numbers.
5334 (math-date-to-julian-dt): Adjust the initial approximation for the
5335 year to deal with the new definition of the DATE.
5336
5337 2012-11-19 Daniel Colascione <dancol@dancol.org>
5338
5339 * term/w32-win.el (cygwin-convert-path-from-windows):
5340 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5341
5342 2012-11-18 Chong Yidong <cyd@gnu.org>
5343
5344 * filecache.el (file-cache--read-list): New function.
5345 (file-cache-add-directory-list, file-cache-add-file-list)
5346 (file-cache-delete-file-list, file-cache-delete-directory-list):
5347 Use it to read a list of files or directories (Bug#12846).
5348 (file-cache-add-file, file-cache-add-directory)
5349 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5350 (file-cache-delete-directory): Print an message.
5351
5352 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5353
5354 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5355 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5356
5357 2012-11-18 Glenn Morris <rgm@gnu.org>
5358
5359 * image.el (insert-image, insert-sliced-image): Doc fix.
5360
5361 2012-11-18 Chong Yidong <cyd@gnu.org>
5362
5363 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5364 (Bug#12810).
5365
5366 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5367
5368 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5369 response when the target file is in a subdirectory (Bug#12757).
5370
5371 2012-11-18 Chong Yidong <cyd@gnu.org>
5372
5373 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5374
5375 2012-11-18 Glenn Morris <rgm@gnu.org>
5376
5377 * emacs-lisp/cl-lib.el (face-underline-p):
5378 Use set-face-underline rather than the alias set-face-underline-p.
5379
5380 * window.el (with-temp-buffer-window): Doc fix.
5381 * subr.el (with-output-to-temp-buffer):
5382 Add doc xref to with-temp-buffer-window.
5383
5384 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5385
5386 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5387 * calc/calc.el (math-format-date-cache): Declare.
5388
5389 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5390
5391 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5392 It also uses January 1, 1 AD as its day number 1.
5393 * calc/calc-forms.el (math-julian-date-beginning)
5394 (math-julian-date-beginning-int): Implement this.
5395
5396 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * descr-text.el (quail-find-key):
5399 * dired.el (desktop-file-name):
5400 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5401 * generic-x.el (comint-mode, comint-exec):
5402 * image-dired.el (widget-forward):
5403 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5404 (speedbar-change-expand-button-char)
5405 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5406 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5407 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5408 (widget-field-action, widget-value-set):
5409 * speedbar.el (imenu--make-index-alist):
5410 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5411 (ring-length, ring-insert):
5412 * vcursor.el (compare-windows-skip-whitespace):
5413 * woman.el (dired-get-filename):
5414 Declare functions.
5415
5416 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5417
5418 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5419
5420 * calc/calc.el (calc-gregorian-switch): New variable.
5421
5422 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5423 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5424 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5425 (math-leap-year-p): Add option to distinguish between Julian
5426 and Gregorian calendars.
5427 (math-day-number): Use `math-day-in-year' to do the computations.
5428 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5429 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5430 to do the computations.
5431 (math-date-to-dt): Use `math-date-to-julian-dt' and
5432 `math-date-to-gregorian-dt' to do the computations.
5433 (calcFunc-weekday, math-format-date-part): Use the new version of
5434 the DATE to determine the weekday.
5435 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5436 when necessary.
5437
5438 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5439
5440 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5441 Cygwin; otherwise use 'file:'. (Bug#12914)
5442 (cygwin-convert-path-from-windows): Declare, to avoid
5443 byte-compiler warnings.
5444
5445 2012-11-17 Andreas Politz <politza@fh-trier.de>
5446
5447 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5448 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5449 prefix and negative numeric prefix args (Bug#12795).
5450
5451 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5452
5453 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5454 Don't signal an error with a score that is too low to add to the
5455 list of top scores. (Bug#12779)
5456
5457 2012-11-17 Chong Yidong <cyd@gnu.org>
5458
5459 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5460
5461 * filecache.el (file-cache-add-file): Handle relative file name in
5462 the argument (Bug#12694).
5463
5464 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5465
5466 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5467
5468 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5471
5472 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5473
5474 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5475
5476 * window.el (enlarge-window, shrink-window): Don't mention return
5477 value in doc-string (Bug#12896).
5478 (window--display-buffer): Don't resize frames - it won't work
5479 with all window managers and defeat pop-up-frame-alist.
5480 (display-buffer-alist): In doc-string explain that CONDITION can
5481 be a function and which arguments are passed to it (Bug#12854).
5482 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5483 expressions (Bug#12854).
5484 (display-buffer): Pass ACTION argument to
5485 display-buffer-assq-regexp.
5486
5487 2012-11-16 Glenn Morris <rgm@gnu.org>
5488
5489 * window.el (fit-frame-to-buffer-bottom-margin)
5490 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5491
5492 * faces.el (face-underline-p): Use face-attribute-specified-or.
5493
5494 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5495
5496 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5497
5498 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5499
5500 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5501
5502 2012-11-16 Glenn Morris <rgm@gnu.org>
5503
5504 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5505 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5506
5507 * faces.el (face-underline-p): Doc fix. Handle :underline being
5508 things other than `t' (a string, a list).
5509 (face-inverse-video-p): Doc fix.
5510 (set-face-underline): Rename it back from set-face-underline-p.
5511 Doc fix. Allow interactive input of values other than t.
5512 (read-face-attribute): Apply formatting to :underline,
5513 since like :box and :stipple it can take list values.
5514
5515 * term.el (ansi-term): Don't let C-x escape-char binding
5516 clobber the more standard C-c binding. (Bug#12842)
5517
5518 * subr.el (set-temporary-overlay-map): Doc fix.
5519
5520 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5521
5522 * window.el (record-window-buffer)
5523 (display-buffer-record-window): When copying the markers to
5524 window-point preserve window-point-insertion-type. (Bug#12588)
5525
5526 2012-11-16 Glenn Morris <rgm@gnu.org>
5527
5528 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5529 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5530 Use new names for hooks rather than obsolete aliases.
5531
5532 2012-11-15 Daniel Colascione <dancol@dancol.org>
5533
5534 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5535 prefix instead of "file:" so that when FILE-NAME begins with "//",
5536 as it does when the target file is on a network share, url-handler
5537 isn't confused.
5538
5539 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5540
5541 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5542 a preactivated advice from an old advice.el; they're not compatible!
5543
5544 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5545
5546 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5547 Fix string-spec case.
5548
5549 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5550
5551 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5554 (advice--buffer-local-function-sample): New var.
5555 (advice--set-buffer-local, advice--buffer-local): New functions.
5556 (add-function, remove-function): Use them.
5557
5558 2012-11-15 Drew Adams <drew.adams@oracle.com>
5559
5560 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5561
5562 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5563
5564 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5565 potential binding of print-gensym to t, and prettify (back)quotes in
5566 case they appear in args's default values (bug#12884).
5567
5568 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5569
5570 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5571 (advice-eval-interactive-spec): New function.
5572 (advice--make-interactive-form): Support around advice (bug#12844).
5573
5574 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5575
5576 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5577 more strict. Add docstring.
5578 (ruby-expression-expansion-re): Extract from
5579 `ruby-match-expression-expansion'.
5580 (ruby-syntax-propertize-function): After everything else, search
5581 for expansions in string literals, mark their insides as
5582 whitespace syntax and save match data for font-lock.
5583 (ruby-font-lock-keywords): Use the 2nd group from expression
5584 expansion matches.
5585 (ruby-match-expression-expansion): Use the match data saved to the
5586 text property in ruby-syntax-propertize-function.
5587
5588 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5589
5590 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5591 (bug#12879).
5592
5593 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5594
5595 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5596 start/end keyword a bit harder. Works with different values of N.
5597 Add more comments.
5598 (ruby-end-of-block): Update accordingly.
5599
5600 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * woman.el (woman-file-name): Don't mess with unread-command-events
5603 (bug#12861).
5604
5605 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5606 Remove out of date self-require hack.
5607 (ad-do-advised-functions): Use simple `dolist'.
5608 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5609 (ad-advice-definition): Redefine as functions.
5610 (ad-advice-classes): Move before first use.
5611 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5612 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5613 (ad--defalias-fset): Remove functions.
5614 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5615 (ad-get-orig-definition): Rewrite.
5616 (ad-make-advised-definition-docstring): Change base docstring.
5617 (ad-real-orig-definition): Rewrite.
5618 (ad-map-arglists): Change name of called function.
5619 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5620 (ad-make-advised-definition): Simplify.
5621 (ad-assemble-advised-definition): Tweak for new calling context.
5622 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5623 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5624 function and call ad-activate if needed.
5625 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5626 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5627 (ad-compile-function): Compile ad-Advice-*.
5628 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5629 (ad-start-advice, ad-stop-advice): Remove.
5630
5631 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5632
5633 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5634 period before class method names, not after. Remove handling of
5635 one impossible case. Add comments.
5636
5637 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5638
5639 * emacs-lisp/advice.el: Remove support for freezing.
5640 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5641 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5642 Remove support for `freeze'.
5643
5644 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5645 override the default.
5646 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5647 cl--dotimes/dolist.
5648 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5649 `cl' is loaded.
5650
5651 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5652 from add-advice.
5653 (advice--strip-macro): New function.
5654 (advice--defalias-fset): Use them to handle macros.
5655 (advice-add): Use them.
5656 (advice-member-p): Correctly handle macros.
5657
5658 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5659
5660 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5661 Never font-lock the beginning of singleton class as heredoc.
5662
5663 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5666
5667 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5668
5669 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5670 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5671 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5672
5673 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5674
5675 Fix end-of-defun misbehavior.
5676 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5677 python-beginning-of-defun-function. Handle nested defuns
5678 correctly.
5679 (python-nav-end-of-defun): Rename from
5680 python-end-of-defun-function. Ensure forward movement.
5681 (python-info-current-defun): Reimplement to work as intended
5682 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5683 parent defuns as soon as possible.
5684
5685 2012-11-13 Glenn Morris <rgm@gnu.org>
5686
5687 * progmodes/flymake.el (flymake-error-bitmap)
5688 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5689 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5690
5691 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5692
5693 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5694 backward, always stop at indentation. Reverts the change from
5695 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5696
5697 2012-11-13 Glenn Morris <rgm@gnu.org>
5698
5699 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5700 Add ibuffer-filter-by-derived-mode.
5701
5702 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5703 the same name shadowing each other.
5704
5705 * window.el (with-temp-buffer-window): Doc tweak.
5706
5707 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5708
5709 * help.el (temp-buffer-max-height):
5710 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5711 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5712
5713 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5714
5715 * emacs-lisp/nadvice.el: New package.
5716 * subr.el (special-form-p): New function.
5717 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5718 (elp-all-instrumented-list): Remove var.
5719 (elp-not-profilable): Remove elp-wrapper.
5720 (elp-profilable-p): Use autoloadp and special-form-p.
5721 (elp--advice-name): New const.
5722 (elp-instrument-function): Use advice-add.
5723 (elp--instrumented-p): New predicate.
5724 (elp-restore-function): Use advice-remove.
5725 (elp-restore-all, elp-reset-all): Use mapatoms.
5726 (elp-set-master): Use elp--instrumented-p.
5727 (elp--make-wrapper): Rename from elp-wrapper, return a function
5728 suitable for advice-add. Use cl-inf.
5729 (elp-results): Use mapatoms+elp--instrumented-p.
5730 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5731 (debug-function-list): Remove var.
5732 (debug): Rename arg, and then let-bind it explicitly inside.
5733 (debugger-setup-buffer): Rename arg.
5734 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5735 (debugger-frame-number): Adjust to new debug-on-entry setup.
5736 (debug--implement-debug-on-entry): Rename from
5737 implement-debug-on-entry, add argument.
5738 (debugger-special-form-p): Remove, use special-form-p instead.
5739 (debug-on-entry): Use advice-add.
5740 (debug--function-list): New function.
5741 (cancel-debug-on-entry): Use it, along with advice-remove.
5742 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5743 (debugger-list-functions): Use debug--function-list instead of
5744 debug-function-list.
5745 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5746 (ad-special-form-p): Remove, use special-form-p instead.
5747 (ad-set-advice-info): Use add-function and remove-function.
5748 (ad--defalias-fset): Adjust accordingly.
5749
5750 2012-11-10 Glenn Morris <rgm@gnu.org>
5751
5752 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5753 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5754 (report-emacs-bug-create-existing-bugs-buffer)
5755 (report-emacs-bug-parse-query-results)
5756 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5757
5758 * term.el (term-default-fg-color, term-default-bg-color):
5759 Make obsolete, rather than just saying "deprecated" in the doc.
5760
5761 * term.el (term): Rename from `term-face'.
5762 (term-current-face, ansi-term-color-vector)
5763 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5764 Update all users.
5765
5766 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5767
5768 * server.el (server-create-window-system-frame): Handle Nextstep
5769 specially (Bug#12780).
5770
5771 2012-11-10 Glenn Morris <rgm@gnu.org>
5772
5773 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5774 Unautoload, and make obsolete. (Bug#7449)
5775
5776 2012-11-10 Chong Yidong <cyd@gnu.org>
5777
5778 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5779 rename from diff-remove-trailing-whitespace (Bug#12831).
5780
5781 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5782
5783 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5784 miscompilation of trace.el.
5785
5786 2012-11-10 Glenn Morris <rgm@gnu.org>
5787
5788 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5789
5790 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5793 (bug#12812).
5794
5795 2012-11-10 Chong Yidong <cyd@gnu.org>
5796
5797 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5798 a defcustom with an appropriate :set function.
5799 (minibuffer-default--in-prompt-regexps): New function.
5800
5801 2012-11-10 Glenn Morris <rgm@gnu.org>
5802
5803 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5804 (define-modify-macro): Doc fixes.
5805
5806 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5807 (gv-define-simple-setter): Update doc of `fix-return'.
5808
5809 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5812 twice when `fix-return' is set (bug#12813).
5813
5814 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5815 gv-define-simple-setter (bug#12812).
5816
5817 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5818 (bug#12756).
5819
5820 2012-11-10 Glenn Morris <rgm@gnu.org>
5821
5822 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5823
5824 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5825 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5826 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5827 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5828
5829 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5830
5831 2012-11-10 Leo Liu <sdl.web@gmail.com>
5832
5833 * ido.el (ido-set-matches-1): Improve flex matching performance by
5834 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5835
5836 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5837
5838 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5839 (ad--defalias-fset): New function.
5840 (ad-safe-fset): Remove.
5841 (ad-make-freeze-definition): Use cl-letf*.
5842
5843 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5844
5845 * subr.el (dolist): Don't bind VAR in RESULT.
5846
5847 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5848 (fset, documentation): Don't save real def since we don't advise.
5849 (ad-do-advised-functions): Remove problematic `result-form'.
5850 (ad-safe-fset): `ad-real-fset' => `fset'.
5851 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5852 uses CL's dolist internally.
5853 (ad-arglist): Remove unused arg `name'.
5854 (ad-docstring, ad-make-advised-docstring):
5855 `ad-real-documentation' => `documentation'.
5856 (warning-suppress-types): Declare.
5857 (ad-set-arguments): Simple CSE.
5858 (ad-recover-normality): Sanity check.
5859
5860 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5861 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5862
5863 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5864
5865 * ses.el: symbol to coordinate mapping is made by symbol property
5866 `ses-cell'. This means that the same mapping is done for all SES
5867 sheets. That is good enough for cells with standard A1 names, but
5868 not for named cell. So a hash map is added for the latter.
5869 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5870 (ses-sym-rowcol): Use hashmap for named cell.
5871 (ses-is-cell-sym-p): New defun.
5872 (ses-decode-cell-symbol): New defun.
5873 (ses-create-cell-variable): Add cell to hashmap when name is not
5874 A1-like.
5875 (ses-rename-cell): Check that cell new name is not already in
5876 spreadsheet with the use of ses-is-cell-sym-p
5877 (ses-rename-cell): Use hash map for named cells, but accept also
5878 renaming back to A1-like.
5879
5880 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5881
5882 * emacs-lisp/advice.el: Use new dynamic docstrings.
5883 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5884 Use dynamic-docstring-function instead of ad-advice-info.
5885 (ad--make-advised-docstring): New function extracted from
5886 ad-make-advised-docstring.
5887 (ad-make-advised-docstring): Use it.
5888 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5889 from sql-help.
5890 (sql-help): Use it with dynamic-docstring-function.
5891
5892 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5893
5894 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * files.el (hack-one-local-variable--obsolete): New function.
5897 (hack-one-local-variable): Use it for obsolete settings.
5898
5899 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5900 the new name.
5901
5902 * progmodes/js.el (js--filling-paragraph): New var.
5903 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5904 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5905 less sneaky.
5906
5907 2012-11-08 Julien Danjou <julien@danjou.info>
5908
5909 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5910 `auto-mode-alist' (Bug#12835).
5911
5912 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5913
5914 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5915 (perl--prettify-symbols-alist): New const.
5916 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5917 New functions.
5918 (perl-font-lock-keywords-2): Use them.
5919 (perl-electric-noindent-p): New function.
5920 (perl-mode): Use it to set up electric-indent-mode.
5921 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5922 (perl-mode-map): Remove bindings for them.
5923 (perl-imenu-generic-expression, perl-outline-level):
5924 Match functions&packages in column>0.
5925
5926 * env.el (env--substitute-vars-regexp): New const.
5927 (substitute-env-vars): Use it. Add `only-defined' arg.
5928 * net/tramp.el (tramp-replace-environment-variables): Use it.
5929
5930 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5931 Byte-compile *before* eval in eval-and-compile.
5932 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5933 (byte-compile-file-form-autoload): Don't hide actual definition.
5934 (byte-compile-maybe-guarded): Accept `functionp' as well.
5935
5936 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5937
5938 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5939
5940 * notifications.el (notifications-get-server-information-method):
5941 New defconst.
5942 (notifications-get-capabilities): Fix docstring.
5943 (notifications-get-server-information): New defun.
5944
5945 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5946
5947 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5948 readability.
5949
5950 * textmodes/ispell.el: Experimental support for support debugging.
5951 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5952 buffer for ispell.
5953 (ispell-print-if-debug): New function to print stuff to
5954 `ispell-debug-buffer' if debugging is enabled.
5955 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5956 show some debugging info.
5957 (ispell-buffer-with-debug): New function that creates a debugging
5958 buffer and calls `ispell-buffer' with debugging enabled.
5959
5960 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5961 comment in autoconf mode. (Bug#12768)
5962
5963 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5964
5965 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5966 frame-first-window, frame-root-window, frame-selected-window,
5967 minibuffer-selected-window, minibuffer-window,
5968 window-absolute-pixel-edges, window-at, window-body-height,
5969 window-body-width, window-display-table, window-combination-limit,
5970 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5971 window-inside-edges, window-inside-pixel-edges, window-left-child,
5972 window-left-column, window-margins, window-next-buffers,
5973 window-next-sibling, window-new-normal, window-new-total,
5974 window-normal-size, window-parameter, window-parameters, window-parent,
5975 window-pixel-edges, window-point, window-prev-buffers,
5976 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5977 window-start, window-text-height, window-top-child, window-top-line,
5978 window-total-height, window-total-width and window-use-time to the list
5979 of functions without side-effects.
5980 (toplevel): Add window-valid-p to the list of error-free functions
5981 without side-effects.
5982
5983 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5984
5985 * textmodes/ispell.el (ispell-program-name):
5986 Update spellchecker parameters when customized.
5987
5988 2012-11-04 Glenn Morris <rgm@gnu.org>
5989
5990 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5991
5992 2012-11-04 Chong Yidong <cyd@gnu.org>
5993
5994 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5995 same-window-* variables.
5996
5997 2012-11-04 Juri Linkov <juri@jurta.org>
5998
5999 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6000 (isearch-describe-key, isearch-describe-mode): Use a display
6001 action instead of binding same-window-* variables (Bug#10040).
6002
6003 2012-11-03 Glenn Morris <rgm@gnu.org>
6004
6005 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6006 Rename handler properties back from cl-- to cl-. (Bug#12788)
6007
6008 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6009
6010 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6011
6012 * term/pc-win.el: Don't load term/internal from here.
6013
6014 * loadup.el: Load term/internal from here.
6015
6016 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6017
6018 * progmodes/python.el (inferior-python-mode): Fix hang in
6019 jit-lock (Bug#12645).
6020
6021 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6022
6023 * window.el (switch-to-visible-buffer)
6024 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6025
6026 2012-11-03 Glenn Morris <rgm@gnu.org>
6027
6028 * emacs-lisp/cl-lib.el (cl--random-time):
6029 Rename from cl-random-time. (Bug#12773)
6030 (cl--gensym-counter, cl--random-state): Update callers.
6031 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6032
6033 2012-11-03 Chong Yidong <cyd@gnu.org>
6034
6035 * cus-start.el: Make cursor-type customizable (Bug#11633).
6036
6037 2012-11-02 Glenn Morris <rgm@gnu.org>
6038
6039 * filecache.el: No need to load find-lisp when compiling.
6040 (find-lisp-find-files): Autoload it.
6041 (file-cache-add-directory-recursively): Don't require find-lisp.
6042
6043 * image.el (image-type-from-file-name): Trivial simplification.
6044
6045 * emacs-lisp/bytecomp.el (byte-compile-eval):
6046 Decouple "noruntime" and "cl-functions" warnings.
6047
6048 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6049
6050 * play/gomoku.el (gomoku-display-statistics): Update mode line
6051 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6052
6053 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6054
6055 * window.el (quit-restore-window): If the window has been
6056 created on an existing frame and ended up as the sole window on
6057 that frame, do not delete it (Bug#12764).
6058
6059 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6060
6061 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6062 Rename from sh--inside-arithmetic-expression, handle more cases
6063 (bug#11263).
6064
6065 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6066 (sh-font-lock-open-heredoc): Use it (bug#12770).
6067
6068 2012-10-30 Glenn Morris <rgm@gnu.org>
6069
6070 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6071
6072 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6073
6074 2012-10-29 Chong Yidong <cyd@gnu.org>
6075
6076 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6077 function key is stored in a keyboard macro (Bug#4894).
6078
6079 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6080
6081 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6084 header comments".
6085 (diff-unified->context, diff-context->unified)
6086 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6087
6088 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6089
6090 * files.el (find-alternate-file): Only ask one question (bug#12487).
6091
6092 2012-10-29 Chong Yidong <cyd@gnu.org>
6093
6094 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6095 Suggested by Dan Nicolaescu (Bug#6326).
6096
6097 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6098
6099 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6100
6101 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6102
6103 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6104
6105 * face-remap.el (face-remap-add-relative): Handle the case where a
6106 face-remapping-alist entry is a cons cell (Bug#12762).
6107
6108 2012-10-29 Kevin Ryde <user42@zip.com.au>
6109
6110 * woman.el (woman-parse-numeric-value): Handle picas correctly
6111 (Bug#12639).
6112
6113 2012-10-29 Glenn Morris <rgm@gnu.org>
6114
6115 * emacs-lisp/cl.el (defsetf): Doc fix.
6116
6117 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6120 syntax to the matching opener, if any (bug#12547).
6121 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6122 matching open as a "case-(".
6123 (sh-smie-rc-grammar): Add a corresponding rule for it.
6124
6125 2012-10-28 Daniel Hackney <dan@haxney.org>
6126
6127 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6128 "PKGNAME-autoloads.el" in case we created it.
6129
6130 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6133 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6134 (completion--twq-all): Disable too-strict assertions.
6135
6136 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6137
6138 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6139
6140 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6141 text to match the real keybindings.
6142
6143 2012-10-27 Juri Linkov <juri@jurta.org>
6144
6145 * wdired.el (wdired-keep-marker-rename): New defcustom.
6146 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6147 (Bug#11795)
6148
6149 * dired.el (dired-keep-marker-rename): Add reference to
6150 `wdired-keep-marker-rename' in the docstring.
6151 Add default character value ?R to display initially in
6152 Customization UI instead of ?@.
6153
6154 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6155
6156 * window.el (display-buffer): In doc-string describe
6157 window-height and window-width alist entries.
6158
6159 * time.el (display-time-world): Restore fit-window-to-buffer
6160 behavior.
6161
6162 2012-10-27 Chong Yidong <cyd@gnu.org>
6163
6164 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6165
6166 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6167
6168 * minibuffer.el (completion-category-overrides): New completion
6169 category `bookmark' (bug#11131).
6170
6171 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6174 Silence bogus compiler warnings for ad-do-it.
6175
6176 * bookmark.el (bookmark-completing-read): Set the completion category
6177 to `bookmark' (bug#11131).
6178
6179 2012-10-26 Bastien <bzg@altern.org>
6180 Stefan Monnier <monnier@iro.umontreal.ca>
6181
6182 * face-remap.el: Use lexical-binding.
6183 (text-scale-adjust): Improve docstring. Use itself for the temporary
6184 overlay-map bindings, so as to repeat the "Use..." message each time.
6185
6186 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6187
6188 * emacs-lisp/macroexp.el (macroexp--expand-all):
6189 Obey byte-compile-warning-enabled-p (bug#12486).
6190
6191 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6192 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6193
6194 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6195
6196 * mouse.el (mouse-drag-line): Move last form into preceding when
6197 clause (Bug#12731).
6198
6199 * help.el (resize-temp-buffer-window): Fix doc-string.
6200
6201 2012-10-25 David Engster <deng@randomsample.de>
6202
6203 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6204 Remove. This feature is already integrated in imenu.
6205
6206 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6207 always loaded. Require `speedbar' unconditionally.
6208
6209 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6210
6211 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6212
6213 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6214
6215 * net/ldap.el (ldap-search-internal): The official ldif format starts
6216 with a "version: 1" header (bug#12724).
6217
6218 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6219 (bug#12721).
6220
6221 2012-10-25 Glenn Morris <rgm@gnu.org>
6222
6223 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6224
6225 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6226
6227 * minibuffer.el (minibuffer-force-complete): Use one more marker
6228 for the temporary-overlay-map command (bug#12619).
6229
6230 2012-10-24 Chong Yidong <cyd@gnu.org>
6231
6232 * time.el (display-time-world-mode): Derive from special-mode.
6233 (display-time-world): Use display-buffer (Bug#12708).
6234 (display-time-world-mode-map): Variable deleted.
6235 (display-time-world-display): Wrap the final delete-char inside
6236 inhibit-read-only.
6237
6238 2012-10-24 Chong Yidong <cyd@gnu.org>
6239
6240 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6241 Doc fix.
6242
6243 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6244
6245 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * minibuffer.el (completion--all-sorted-completions-location): New var.
6248 (completion--cache-all-sorted-completions)
6249 (completion--flush-all-sorted-completions): Use it.
6250 (completion-in-region, completion-in-region--postch)
6251 (completion-at-point, completion-help-at-point): Use markers in
6252 completion-in-region--data (bug#12619).
6253
6254 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6255
6256 * progmodes/compile.el (compilation-start): Try to handle common
6257 quoting of `cd' argument (bug#12640).
6258
6259 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6260 (bug#12671).
6261
6262 2012-10-23 Glenn Morris <rgm@gnu.org>
6263
6264 * progmodes/gud.el (gud-menu-map):
6265 Check gdb-active-process is bound. (Bug#12358)
6266
6267 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6268
6269 * repeat.el (repeat): Set real-this-command (bug#12232).
6270
6271 * htmlfontify.el (hfy-post-html-hook):
6272 * filesets.el (filesets-cache-fill-content-hook):
6273 * arc-mode.el (archive-extract-hook):
6274 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6275 * net/rcirc.el (rcirc-sentinel-functions)
6276 (rcirc-receive-message-functions, rcirc-activity-functions)
6277 (rcirc-print-functions):
6278 * net/dbus.el (dbus-event-error-functions):
6279 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6280 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6281 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6282 * term/sun.el (sun-raw-prefix-hooks):
6283 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6284
6285 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6286
6287 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6288 Set `tramp-chunksize' to 1. This improves the performance.
6289 (tramp-smb-wait-for-output): Add timeout to
6290 `tramp-accept-process-output' calls.
6291
6292 2012-10-23 Chong Yidong <cyd@gnu.org>
6293
6294 * faces.el (font-list-limit): Define as an obsolete variable.
6295
6296 * startup.el (command-line):
6297 * cus-start.el: Don't refer to font-list-limit.
6298
6299 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6300
6301 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * subr.el (internal-temp-output-buffer-show): Rename from
6304 temp-output-buffer-show, since previously compiled files expect this name.
6305
6306 2012-10-23 Glenn Morris <rgm@gnu.org>
6307
6308 * image.el (image-type-from-file-name): If multiple types match,
6309 return the first one that is supported. (Bug#9045)
6310
6311 2012-10-22 Glenn Morris <rgm@gnu.org>
6312
6313 * image.el (imagemagick-enabled-types): Doc fix.
6314
6315 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6316
6317 * progmodes/which-func.el (which-func-current): The hash-table may have
6318 an explicit nil (bug#12338).
6319
6320 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * electric.el (electric-pair-delete-selection-self-insert-function):
6323 Rename to electric-pair-will-use-region, return a boolean.
6324 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6325
6326 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6327 (delete-selection-pre-hook): Use use-region-p.
6328 (delete-selection-self-insert-function): Remove.
6329 (self-insert-command): Obey self-insert-uses-region-functions.
6330 (self-insert-iso): Revert to previous setting, since we don't actually
6331 know what that command does.
6332 (delete-selection-self-insert-hooks): Remove.
6333
6334 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6335
6336 * delsel.el (delete-selection-helper): New function, extracted from
6337 delete-selection-pre-hook.
6338 (delete-selection-pre-hook): Use it.
6339 (delete-selection-self-insert-function): New function.
6340 (delete-selection-self-insert-hooks): New hook.
6341 (self-insert-command, self-insert-iso): Use it.
6342 * electric.el (electric-pair-syntax): New function, extracted from
6343 electric-pair-post-self-insert-function.
6344 (electric-pair-post-self-insert-function): Use it.
6345 (electric-pair-delete-selection-self-insert-function): New function.
6346 (electric-pair-mode): Require delsel and setup
6347 delete-selection-self-insert-hooks (bug#11520).
6348
6349 2012-10-20 Chong Yidong <cyd@gnu.org>
6350
6351 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6352 no changes to show (Bug#12586).
6353
6354 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6355 list explicitly (Bug#12571).
6356
6357 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6358
6359 * progmodes/flymake.el (flymake-create-temp-inplace):
6360 Use file-truename.
6361
6362 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6363
6364 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6365
6366 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6367
6368 * calc/calc-units.el (math-extract-units): Properly extract powers
6369 of units.
6370
6371 2012-10-20 Daniel Colascione <dancol@dancol.org>
6372
6373 * frame.el (make-frame): Set x-display-name as we used to in order
6374 to unbreak creating an X11 frame from an Emacs daemon started
6375 without a display.
6376
6377 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6378
6379 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6380 the same completion-field (bug#12221).
6381
6382 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6383
6384 * emacs-lisp/debug.el (debug): Record height of debugger window
6385 also when debugger will be back (Bug#8789).
6386
6387 2012-10-18 Chong Yidong <cyd@gnu.org>
6388
6389 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6390 Convert to defcustom.
6391 (gdb-get-source-file): Don't bind pop-up-windows.
6392
6393 * progmodes/gud.el (gud-display-line): Don't specially re-use
6394 other frames for the gdb-mi case (Bug#12648).
6395
6396 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6397
6398 * emacs-lisp/advice.el: Clean up commentary a bit.
6399 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6400 (byte-code-function-p): Never redefine.
6401
6402 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6403
6404 2012-10-18 Glenn Morris <rgm@gnu.org>
6405
6406 * dired.el (dired-sort-toggle): Some ls implementations only allow
6407 a single option string. (Bug#12666)
6408
6409 * minibuffer.el (completion-cycle-threshold): Doc fix.
6410
6411 2012-10-17 Kenichi Handa <handa@gnu.org>
6412
6413 * international/mule.el (set-keyboard-coding-system):
6414 Recover input meta mode when the new coding system doesn not use 8-bit.
6415 Supply TERMINAL arg to set-input-meta-mode.
6416
6417 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6418
6419 * wdired.el (wdired-old-marks): New variable.
6420 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6421 (wdired-do-renames): Move point with renamed file and don't lose
6422 mark status (Bug#11795).
6423
6424 2012-10-16 Juri Linkov <juri@jurta.org>
6425
6426 * replace.el (query-replace-help): Mention multi-buffer replacement
6427 keys in the Help message. (Bug#12655)
6428
6429 2012-10-15 Chong Yidong <cyd@gnu.org>
6430
6431 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6432
6433 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6434
6435 * window.el (display-buffer): Doc fix.
6436
6437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6438 Adjust the msft regexp to the output of Studio 2010, and move msft
6439 before edg-1. See the discussion on emacs-devel,
6440 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6441 for the details.
6442
6443 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6444
6445 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6446 (oset): Move uses of object-class-fast macro after its definition.
6447
6448 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6449
6450 2012-10-13 Chong Yidong <cyd@gnu.org>
6451
6452 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6453 enabled, re-enable it (Bug#11963).
6454
6455 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6456
6457 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6458 non-nil, restore window configuration (Bug#12623).
6459
6460 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * help-fns.el (describe-variable, describe-function-1):
6463 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6464
6465 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6466
6467 2012-10-12 Glenn Morris <rgm@gnu.org>
6468
6469 * mail/rmailsum.el (rmail-header-summary):
6470 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6471
6472 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6473
6474 * progmodes/python.el (python-mode-map):
6475 Replace subtitute-key-definition with proper command remapping.
6476 (python-nav--up-list): Fix behavior for blocks on the same level.
6477
6478 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6481
6482 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6483 changes to the format of load-history.
6484
6485 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6486 completion-ignore-case in case that var is buffer-local (bug#12615).
6487
6488 2012-10-11 Kenichi Handa <handa@gnu.org>
6489
6490 * international/eucjp-ms.el: Re-generated.
6491
6492 2012-10-10 Kenichi Handa <handa@gnu.org>
6493
6494 * select.el (xselect--encode-string): If a coding is specified for
6495 selection, and that is compatible with COMPOUND_TEXT, use it.
6496
6497 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6498
6499 * window.el (switch-to-buffer-preserve-window-point): New option.
6500 (switch-to-buffer):
6501 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6502
6503 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6506 Don't document nil as a useful value (bug#12583).
6507
6508 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6509
6510 * net/tramp.el (tramp-debug-message):
6511 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6512 (with-tramp-progress-reporter): Rename from
6513 `tramp-with-progress-reporter'.
6514 (with-tramp-file-property, with-tramp-connection-property):
6515 Move from tramp-cache.el, rename from `with-file-property' and
6516 `with-connection-property', respectively.
6517
6518 * net/tramp-cache.el: Remove `with-file-property' and
6519 `with-connection-property'.
6520
6521 * net/tramp.el:
6522 * net/tramp-gvfs.el:
6523 * net/tramp-sh.el:
6524 * net/tramp-smb.el: Adapt callees.
6525
6526 * net/trampver.el: Update release number.
6527
6528 2012-10-09 Glenn Morris <rgm@gnu.org>
6529
6530 * w32-fns.el (set-message-beep):
6531 * term/w32-win.el (set-message-beep): Update declarations.
6532
6533 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6536 (mode-line-widen, mode-line-input-method-map)
6537 (mode-line-coding-system-map, mode-line-remote)
6538 (mode-line-unbury-buffer, mode-line-bury-buffer)
6539 (mode-line-next-buffer, mode-line-previous-buffer):
6540 Replace save-selected-window+select-window => with-selected-window.
6541
6542 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6543 * progmodes/cc-vars.el (bq-process): Remove, unused.
6544
6545 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6546
6547 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6548
6549 Implemented `backward-up-list'-like navigation.
6550 * progmodes/python.el (python-nav-up-list)
6551 (python-nav-backward-up-list): New functions.
6552 (python-mode-map): Define substitute key for backward-up-list to
6553 python-nav-backward-up-list.
6554
6555 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6556
6557 * progmodes/python.el (python-fill-paragraph): Rename from
6558 python-fill-paragraph-function. Fixed fill-paragraph for
6559 decorators (Bug#12605).
6560
6561 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6562
6563 * progmodes/python.el (python-shell-output-filter): Handle extra
6564 carriage return in OSX (Bug#12409).
6565
6566 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6567
6568 Fix shell handling of unbalanced quotes and parens in output.
6569 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6570 (python-syntax-propertize-function): Use it.
6571 (python-shell-output-syntax-table): New var.
6572 (inferior-python-mode): Prevent unbalanced parens/quotes from
6573 previous output mess with current input context.
6574
6575 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6576
6577 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6578 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6579
6580 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * ffap.el (ffap-replace-file-component): Support Tramp file name
6583 syntax, not only ange-ftp's one.
6584
6585 2012-10-08 Glenn Morris <rgm@gnu.org>
6586
6587 * cus-start.el (message-log-max): Set :version.
6588
6589 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6590
6591 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6592
6593 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6594 the minibuffer window (Bug#10851).
6595
6596 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6597
6598 Enhancements on forward-sexp movement.
6599 * progmodes/python.el (python-nav-beginning-of-statement)
6600 (python-nav-end-of-statement): Return point-marker.
6601 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6602 (python-info-current-symbol)
6603 (python-info-statement-starts-block-p): Rename from
6604 python-info-beginning-of-block-p.
6605 (python-info-statement-ends-block-p): Rename from
6606 python-info-end-of-block-p.
6607 (python-info-beginning-of-statement-p)
6608 (python-info-end-of-statement-p)
6609 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6610 New functions.
6611
6612 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6615 frame-selected-windows.
6616
6617 2012-10-08 Daniel Colascione <dancol@dancol.org>
6618
6619 * battery.el (battery-status-function): Check for
6620 w32-battery-status itself, not system-time windows-nt.
6621
6622 * frame.el: Require cl-lib.
6623 (display-format-alist): New variable mapping frame types to
6624 functions that initialize them.
6625 (window-system-for-display): New function: interprets
6626 display-format-alist.
6627 (make-frame-on-display): Remove existing display-selection logic
6628 and just forward to make-frame, which will now DTRT.
6629 (make-frame): Restructure to use window-system-for-display to
6630 figure out how to create a frame on a given display.
6631 (display-mouse-p): Look for frame-type w32, not a particular
6632 system-type.
6633
6634 * loadup.el: Load w32 lisp code when we have the w32 feature.
6635
6636 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6637 system-type windows-nt.
6638
6639 * server.el (server-create-window-system-frame): Look for window
6640 type.
6641 (server-proces-filter): Only force a window system when windows-nt
6642 _and_ w32. Explain why.
6643
6644 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6645 of window systems we configure for the mode.
6646
6647 * startup.el (command-line): Mark window system is initialized
6648 after we've done it.
6649
6650 * common-win.el (x-select-text): Look for w32, not windows-nt.
6651
6652 * ns-win.el: Require cl-lib. Add ourselves to
6653 display-format-alist.
6654 (ns-initialize-window-system): Assert we're not initialized twice.
6655
6656 * w32-win.el: Enable lexical binding; require cl-lib; add
6657 ourselves to display-format-alist.
6658 (w32-handle-dropped-file): Convert incoming dropped files from
6659 Windows paths to Cygwin ones before passing them on to the rest of
6660 Emacs.
6661 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6662 (w32-initialize-window-system): Assert we're not initialized twice.
6663
6664 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6665 (x-initialize-window-system): Assert we're not initialized twice.
6666
6667 * w32-common-fns.el: New File.
6668 (w32-version, w32-using-nt, w32-get-clipboard-data)
6669 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6670 (w32-charset-info-alist, x-last-selected, text)
6671 (x-get-selection-value, x-selection-value): Move here.
6672
6673 * w32-fns.el: Require w32-common-fns.
6674 (w32-version, w32-using-nt, w32-get-clipboard-data)
6675 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6676 (w32-charset-info-alist, x-last-selected, text)
6677 (x-get-selection-value, x-selection-value): Move to
6678 w32-common-fns.
6679
6680 * w32-vars.el:
6681 (w32-allow-system-shell, w32-system-shells): Define only in
6682 non-cygwin case.
6683
6684 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6687 (read-passwd): Remove a few more potential sources of leaks.
6688
6689 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6690
6691 * progmodes/python.el (inferior-python-mode)
6692 (python-shell-make-comint): Fix initialization of local
6693 variables copied from parent buffer.
6694
6695 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6696
6697 * term/ns-win.el (ns-read-file-name): Update declaration to match
6698 nsfns.m.
6699 (ns-respond-to-change-font): Change fontsize separately so we are sure
6700 it is set when font is acted upon.
6701
6702 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6703
6704 Enhancements to indentation.
6705 * progmodes/python.el (python-indent-context): Give priority to
6706 inside-string context. Make comments indentation markers.
6707 (python-indent-region): Do not mess with strings, unless it's the
6708 enclosing set of quotes.
6709
6710 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6711
6712 * window.el (internal--before-save-selected-window)
6713 (internal--after-save-selected-window): New functions extracted from
6714 save-selected-window. Make sure we return the `alist' we construct.
6715 (save-selected-window): Use them.
6716
6717 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6718 Use with-selected-window.
6719
6720 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6721 forms that define macros (bug#12593).
6722
6723 2012-10-07 Kenichi Handa <handa@gnu.org>
6724
6725 * international/mule-conf.el (compound-text-with-extensions):
6726 Add :mime-charset property as x-ctext.
6727
6728 2012-10-07 Stefan Merten <smerten@oekonux.de>
6729
6730 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6731 (rst-indent-literal-normal, rst-indent-literal-minimized)
6732 (rst-indent-comment): Correct :version tag.
6733 (rst-official-cvs-rev): Correct version string.
6734
6735 2012-10-07 Glenn Morris <rgm@gnu.org>
6736
6737 * mail/rmailmm.el (rmail-mime-process-multipart):
6738 Do not confuse a multipart message with an epilogue
6739 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6740
6741 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6742
6743 Fix shell output retrieval and comint-prompt-regexp init.
6744 * progmodes/python.el (inferior-python-mode):
6745 (python-shell-make-comint): Fix initialization of
6746 comint-prompt-regexp from copied file local variables.
6747 (python-shell-fetched-lines): Remove var.
6748 (python-shell-output-filter-in-progress): Rename from
6749 python-shell-fetch-lines-in-progress.
6750 (python-shell-output-filter-buffer): Rename from
6751 python-shell-fetch-lines-string.
6752 (python-shell-fetch-lines-filter): Delete function.
6753 (python-shell-output-filter): New function.
6754 (python-shell-send-string-no-output): Use them.
6755
6756 2012-10-07 Glenn Morris <rgm@gnu.org>
6757
6758 * hi-lock.el (hi-lock-process-phrase):
6759 Try to make it less fragile. (Bug#7161)
6760
6761 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6762
6763 2012-10-06 Glenn Morris <rgm@gnu.org>
6764
6765 * ehelp.el (electric-help-mode): Use help-mode rather than
6766 non-existent mode `help'.
6767 (electric-help-map): Use button-buffer-map. (Bug#10917)
6768
6769 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6770 (reftex-create-bibtex-footer): Fix custom types.
6771
6772 * progmodes/sh-script.el (sh-indent-after-continuation):
6773 Add explicit :group.
6774
6775 * textmodes/rst.el (rst-preferred-decorations)
6776 (rst-shift-basic-offset): Clarify obsolescence versions.
6777
6778 * profiler.el (profiler): Add missing group :version tag.
6779 * avoid.el (mouse-avoidance-banish-position):
6780 * proced.el (proced-renice-command):
6781 * calc/calc.el (calc-ensure-consistent-units):
6782 * calendar/icalendar.el (icalendar-import-format-uid):
6783 * net/tramp.el (tramp-save-ad-hoc-proxies):
6784 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6785 * progmodes/flymake.el (flymake-error-bitmap)
6786 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6787 * progmodes/sh-script.el (sh-indent-after-continuation):
6788 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6789 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6790 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6791 (vhdl-array-index-record-field-in-sensitivity-list)
6792 (vhdl-indent-comment-like-next-code-line):
6793 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6794 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6795 (reftex-cite-key-separator, reftex-create-bibtex-header)
6796 (reftex-create-bibtex-footer):
6797 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6798 (rst-indent-literal-normal, rst-indent-literal-minimized)
6799 (rst-indent-comment): Add missing custom :version tags.
6800
6801 * calendar/timeclock.el (timeclock-modeline-display):
6802 Add missing obsolete alias for renamed user option.
6803
6804 * strokes.el (strokes-modeline-string):
6805 * emulation/crisp.el (crisp-mode-modeline-string):
6806 * eshell/esh-mode.el (eshell-status-in-modeline):
6807 Aliases to defcustoms must come before the defcustom.
6808
6809 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6810 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6811 (cal-tex-cursor-week-monday): Doc fixes.
6812 (cal-tex-cursor-week2-summary): Doc fix.
6813 Rename from cal-tex-cursor-week-at-a-glance.
6814
6815 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6816 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6817
6818 * calendar/calendar.el (calendar-mode-map):
6819 Add cal-tex-cursor-week2-summary.
6820
6821 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6824
6825 * subr.el (read-passwd-map): New var.
6826 (read-passwd): Use `read-string' again.
6827 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6828
6829 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6830
6831 * register.el (append-to-register, prepend-to-register):
6832 Deactivate mark, as does `copy-to-register' (bug#12389).
6833
6834 2012-10-06 Chong Yidong <cyd@gnu.org>
6835
6836 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6837
6838 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6839
6840 * international/characters.el: Fix simple mistake ((car chars) ->
6841 elt), delete duplicated code.
6842
6843 2012-10-06 Glenn Morris <rgm@gnu.org>
6844
6845 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6846
6847 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6848
6849 * color.el (color-hsl-to-rgb): Fix incorrect results for
6850 small and large hue values. (Bug#12559)
6851
6852 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6853
6854 Enhancements to docstring formatting when filling paragraphs.
6855 * progmodes/python.el (python-fill-docstring-style): Rename from
6856 python-fill-string-style. Added new style.
6857 (python-fill-string): Use new style. Better checks for
6858 docstrings.
6859
6860 2012-10-05 Glenn Morris <rgm@gnu.org>
6861
6862 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6863
6864 * color.el (color-name-to-rgb, color-rgb-to-hex)
6865 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6866 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6867 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6868 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6869
6870 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6871
6872 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6873
6874 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6875 to get the correct size across symlinks.
6876
6877 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6878
6879 2012-10-04 Juri Linkov <juri@jurta.org>
6880
6881 * replace.el (query-replace-interactive): Declare obsolete.
6882 (query-replace-read-from): Add the last incremental search string
6883 to the list of default values accessible via M-n.
6884 (map-query-replace-regexp): Use `read-regexp'.
6885 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6886 (map-query-replace-regexp, replace-string, replace-regexp):
6887 Fix docstrings to replace mentions of `query-replace-interactive'
6888 with alternatives. (Bug#12526)
6889
6890 2012-10-04 Juri Linkov <juri@jurta.org>
6891
6892 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6893 (dired-pop-to-buffer): Declare obsolete.
6894 (dired-mark-pop-up): Doc fix.
6895
6896 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6897
6898 Allow user to set docstring style for fill-paragraph.
6899 * progmodes/python.el
6900 (python-fill-comment-function, python-fill-string-function)
6901 (python-fill-decorator-function, python-fill-paren-function):
6902 Remove :safe for defcustoms.
6903 (python-fill-string-style): New defcustom
6904 (python-fill-paragraph-function): Enhance context detection.
6905 (python-fill-string): Honor python-fill-string-style settings.
6906
6907 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6908
6909 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6910 after setting its buffer (Bug#10805).
6911
6912 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6913
6914 Fix cornercase for string syntax.
6915 * progmodes/python.el (python-syntax-propertize-function):
6916 Simplify and enhance the regexp for unescaped quotes. Now it also
6917 matches quotes in weird situations like the single quote in
6918 "something\"'".
6919 (python-syntax-stringify): Simplify num-quotes detecting code.
6920
6921 2012-10-03 Glenn Morris <rgm@gnu.org>
6922
6923 * help-macro.el (three-step-help):
6924 Revert 2012-09-29 change. (Bug#12567)
6925
6926 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6927
6928 * menu-bar.el (kill-this-buffer): Don't do anything when
6929 `menu-frame' is not alive or visible (Bug#8184).
6930
6931 * emacs-lisp/debug.el (debug): When quitting the debugger window
6932 restore current buffer (Bug#12502).
6933
6934 2012-10-02 Chong Yidong <cyd@gnu.org>
6935
6936 * progmodes/hideif.el (hif-lookup, hif-defined):
6937 Handle semantic-c-takeover-hideif.
6938
6939 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6940
6941 Change sampling interval units from ms to ns.
6942 * profiler.el (profiler-sampling-interval): Change units
6943 from ms to ns, multiplying the default by 1000000 so that
6944 it remains 1 ms.
6945 (profiler-report-cpu-line-format): Give enough room for
6946 the maximum counters on 64-bit hosts.
6947 (profiler-report-render-calltree-1): Call them "CPU samples",
6948 not "Time (ms)", since they are not milliseconds now (and
6949 never really were).
6950
6951 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6952
6953 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6954 Fix querying BBDB for entries without a last name (Bug#11580).
6955
6956 2012-10-02 Chong Yidong <cyd@gnu.org>
6957
6958 * emacs-lisp/eieio.el: Restore Version header.
6959
6960 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6961
6962 * vc/diff-mode.el (diff--auto-refine-data): New var.
6963 (diff-hunk): Use it to delay refinement.
6964 (diff-mode): Remove overlays when we turn off font-lock.
6965
6966 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6967 (table-initialize-table-fixed-width-mode)
6968 (table-set-table-fixed-width-mode): Remove functions.
6969 (table-command-list): Move initialization into declaration.
6970 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6971 (table-with-cache-buffer): Use `declare'.
6972 (table-span-cell): Simplify via CSE.
6973 (table-fixed-width-mode): Use define-minor-mode.
6974 (table-call-interactively, table-funcall, table-apply): Remove.
6975 (table-function): New function, to replace them.
6976
6977 * bookmark.el (bookmark-search-pattern): Remove var.
6978 (bookmark-read-search-input): Remove function.
6979 (bookmark-bmenu-search): Reimplement using a minibuffer.
6980
6981 * faces.el (modeline): Remove obsolete face name.
6982
6983 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6984 and give a non-nil default value.
6985 (add-change-log-entry): Simplify accordingly.
6986
6987 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6988
6989 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6990 (vc-git-log-edit-toggle-amend): New function.
6991 (vc-git-log-edit-toggle-signoff): New function.
6992 (vc-git-log-edit-mode): New major mode.
6993 (vc-git-log-edit-mode-map): Keymap for it.
6994 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6995
6996 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6997 header names.
6998 (log-edit-toggle-header): New function.
6999 (log-edit-extract-headers): Accept function values in HEADERS alist.
7000
7001 2012-10-01 David Engster <deng@randomsample.de>
7002
7003 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7004 from symbol property and change message to be more consistent with
7005 Emacs proper.
7006 (eieio-describe-generic): Add filename for each implementation.
7007 Fix indices for generic and normal methods.
7008 (eieio-method-def, eieio-class-def): New buttons.
7009 (eieio-help-find-method-definition)
7010 (eieio-help-find-class-definition): New functions.
7011 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7012 class, constructor and method definitions.
7013
7014 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7015 information in symbol property.
7016 (scoped-class): Remove.
7017 (eieio-slot-name-index, call-next-method): Check if it is bound.
7018
7019 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7020
7021 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7022 (eieio-custom-mode): New major mode.
7023 (eieio-customize-object): Use it.
7024
7025 2012-10-01 Eric Ludlam <zappo@gnu.org>
7026
7027 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7028 specifying the expected class, and whether subclassing is allowed.
7029 (eieio-persistent-convert-list-to-object):
7030 (eieio-persistent-validate/fix-slot-value)
7031 (eieio-persistent-slot-type-is-class-p): New functions.
7032 (eieio-named::slot-missing): Doc fix.
7033
7034 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7035 Stop using unused publd variable.
7036
7037 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7038 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7039 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7040 (eieio-speedbar-handle-click): Do not specify a class for the
7041 method. Fixes method invocation order problems with EDE.
7042
7043 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7044
7045 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7046 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7047
7048 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7049
7050 * bookmark.el (bookmark-version-control): Give tags in the
7051 :type choices (Bug#12309), and improve doc string.
7052 (bookmark-write-file): Bind `print-circle' to `t' to allow
7053 circular custom bookmark types. (Bug#12503)
7054
7055 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7056
7057 Revert the FOLLOW-SYMLINKS change for file-attributes.
7058 * files.el (remote-file-name-inhibit-cache, after-find-file):
7059 * time.el (display-time-file-nonempty-p): Undo last change.
7060
7061 * profiler.el (profiler-sampling-interval): Change default back to 1.
7062 See Stefan Monnier in
7063 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7064
7065 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7066
7067 Shell output catching a la gud-gdb.
7068 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7069 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7070 New Vars.
7071 (python-shell-fetch-lines-filter): New function.
7072 (python-shell-send-string-no-output): Use them.
7073
7074 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7075
7076 * profiler.el (profiler-sampling-interval): Rename from
7077 profiler-sample-interval.
7078 (profiler-sampling-interval): Default to 10.
7079 (profiler-find-profile): New command (was profiler-find-log).
7080 (profiler-find-profile-other-window): New command.
7081 (profiler-find-profile-other-frame): New command.
7082 (profiler-profile): Introduce API-level data structure.
7083
7084 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7085
7086 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7087 * files.el (remote-file-name-inhibit-cache):
7088 * time.el (display-time-file-nonempty-p): Use it.
7089 * files.el (after-find-file): Don't chase links before calling
7090 file-exists-p, as file-exists-p already does the right thing.
7091
7092 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7093
7094 Merge from standalone RefTeX repository.
7095
7096 The following ChangeLog entries are shortened versions of the
7097 original ones with file paths adapted. A not so strongly edited
7098 version of the original ChangeLog can be found in the commit log.
7099
7100 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7101 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7102 Correctly handle new value type returned by `reftex-citation'.
7103
7104 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7105 that entries with whitespace at various places are found.
7106 Doc fix. Include entries that are cross-referenced from cited entries.
7107 Include @String definitions in the resulting bib file. Add header
7108 and footer defined in `reftex-create-bibtex-header' and
7109 `reftex-create-bibtex-footer'.
7110 (reftex-do-citation): Make it possible again to insert
7111 non-existent entries. Save match data when asking for optional
7112 arguments. Return all keys, not just the first one.
7113 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7114 all citations in the same line.
7115 (reftex-parse-bibtex-entry): Accept additional optional argument
7116 `raw' and keep quotes or braces if it is non-nil. Match fields
7117 containing hyphens besides word constituents.
7118 (reftex-get-string-refs): New function.
7119 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7120 and ask if it should be reread in case it did.
7121 (reftex-pop-to-bibtex-entry)
7122 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7123 entries with spaces or tabs in front of arguments.
7124 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7125 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7126 Match entries containing numbers and symbol constituents.
7127 (reftex-do-citation, reftex-figure-out-cite-format):
7128 Use `reftex-cite-key-separator'.
7129
7130 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7131 (reftex-mouse-view-crossref): Explain why point is set.
7132
7133 * textmodes/reftex-global.el: Whitespace changes.
7134
7135 * textmodes/reftex-index.el: Move provide statement to end of
7136 file.
7137 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7138 (reftex-index-visit-phrases-buffer): Set marker when visiting
7139 buffer. This allows for returning from the phrases file to the
7140 file one was just editing instead of the file where the last
7141 phrases was added from.
7142 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7143 punctuation syntax as it usually is not used as string quote in
7144 TeX-related modes and may occur unmatched. The change also
7145 prevents fontification of quoted content.
7146 (reftex-index-phrases-mode): Use it.
7147
7148 * textmodes/reftex-parse.el (reftex-parse-from-file):
7149 Move backward one char if a `\' was matched after a section macro.
7150 (reftex-parse-from-file): Use beginning of match instead of end as
7151 bound.
7152
7153 * textmodes/reftex-ref.el: Adapt creation of
7154 `reftex-<package>-<macro>' functions to new structure of
7155 `reftex-ref-style-alist'.
7156 (reftex-reference): Use `reftex-ref-style-list' function.
7157 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7158 reference macro if `reftex-ref-macro-prompt' is non-nil.
7159 (reftex-reference): Pass refstyle to `reftex-format-special'.
7160 Determine reference macro by looking at
7161 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7162 Use only one special format function.
7163 (reftex-varioref-vref, reftex-fancyref-fref)
7164 (reftex-fancyref-Fref): Remove definitions. The functions are now
7165 generated from `reftex-ref-style-alist'.
7166 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7167 Remove.
7168 (reftex-format-special): New function.
7169
7170 * textmodes/reftex-sel.el
7171 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7172 of `reftex-ref-style-alist'. Remove code for testing macro type.
7173 (reftex-select-toggle-varioref)
7174 (reftex-select-toggle-fancyref): Remove.
7175 (reftex-select-cycle-ref-style-internal)
7176 (reftex-select-cycle-ref-style-forward)
7177 (reftex-select-cycle-ref-style-backward): New functions.
7178 (reftex-select-label-map): Use `v' and `V' for general cycling
7179 through reference styles. Add `p' for switching between number
7180 and page reference types.
7181
7182 * textmodes/reftex-toc.el (reftex-re-enlarge):
7183 Call `enlarge-window' only if there is something to do because in Emacs
7184 the horizontal version throws an error even if the parameter is 0.
7185
7186 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7187 (reftex-plug-into-AUCTeX): Doc fix.
7188 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7189 string. Adapt to new name.
7190 (reftex-ref-style-alist): Change structure so that it is not
7191 possible to use multiple different package names within a style.
7192 Remove the symbols for symbols for macro type distinction.
7193 Add characters for macro selection.
7194 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7195 (reftex-create-bibtex-footer): New variables.
7196 (reftex-format-ref-function): Mention third argument of special
7197 format function.
7198 (reftex-ref-style-alist, reftex-ref-style-default-list):
7199 New variables.
7200 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7201 to new implementation. Mark as obsolete. Add compatibility code
7202 for honoring the variable values in case they are set.
7203 (reftex-cite-format-builtin, reftex-bibliography-commands):
7204 Add support for ConTeXt.
7205 (reftex-format-ref-function, reftex-format-cite-function):
7206 Fix custom type.
7207 (reftex-cite-key-separator): New variable.
7208
7209 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7210 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7211 `reftex-syntax-table' because parens have to retain their paren
7212 syntax in order for parsing of BibTeX entries like @book(...) to
7213 work.
7214 (reftex-in-comment): Do not error out if `comment-start-skip' is
7215 not set. Deal correctly with escaped comment characters.
7216 (reftex-tie-multifile-symbols): Add doc string.
7217 Initialize `reftex-ref-style-list'.
7218 (reftex-untie-multifile-symbols): Add doc string.
7219 (reftex-add-index-macros): Doc fix.
7220 (reftex-ref-style-activate, reftex-ref-style-toggle)
7221 (reftex-ref-style-list): New functions.
7222 (reftex-mode-menu): Use them. Adapt to new structure of
7223 `reftex-ref-style-alist'.
7224 (reftex-select-with-char): Kill the RefTeX Select buffer when
7225 done.
7226 (reftex-remove-if): New function.
7227 (reftex-erase-all-selection-and-index-buffers)
7228 (reftex-mode-menu): Reference styles are now computed from
7229 `reftex-ref-style-alist'. Fix typo.
7230 (reftex-report-bug): New function.
7231 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7232 algorithms with O(n log n). Introduce optional argument SORT (not
7233 yet used).
7234
7235 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7236
7237 Enhancements for triple-quote string syntax.
7238 * progmodes/python.el (python-syntax-propertize-function):
7239 Match both quote cases in one regexp.
7240 (python-syntax-stringify): Handle matches properly.
7241
7242 2012-09-30 Juri Linkov <juri@jurta.org>
7243
7244 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7245 to nil around the call to `insert' to prevent
7246 directory time modification by lock_file. (Bug#2295)
7247 * tar-mode.el (tar-summarize-buffer): Idem.
7248
7249 2012-09-30 Juri Linkov <juri@jurta.org>
7250
7251 * facemenu.el (list-colors-sort): Add option "Luminance".
7252 (list-colors-sort-key): Implement it.
7253
7254 * vc/diff-mode.el (diff-refine-removed):
7255 * vc/ediff-init.el (ediff-fine-diff-A):
7256 * vc/smerge-mode.el (smerge-refined-removed):
7257 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7258
7259 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7260
7261 * term/ns-win.el (x-file-dialog): New function.
7262
7263 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7264
7265 * ido.el (ido-max-directory-size): Default to nil; the current
7266 default is small for POSIX systems, and impractical on Windows 7
7267 now that lstat returns directory sizes for NTFS.
7268
7269 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7270
7271 In buffer display functions handle window-height/window-width
7272 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7273 * window.el (window--display-buffer): New argument ALIST.
7274 Obey window-height and window-width alist entries.
7275 (window--try-to-split-window): New argument ALIST.
7276 Bind window-combination-limit to t when the window's size shall be
7277 changed and window-combination-limit equals `window-size'.
7278 (display-buffer-in-atom-window)
7279 (display-buffer-in-major-side-window)
7280 (display-buffer-in-side-window, display-buffer-same-window)
7281 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7282 (display-buffer-pop-up-window, display-buffer-below-selected)
7283 (display-buffer-at-bottom, display-buffer-in-previous-window)
7284 (display-buffer-use-some-window): Adjust all callers of
7285 window--display-buffer and window--try-to-split-window.
7286 (fit-frame-to-buffer): New option.
7287 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7288 is non-nil.
7289 (display-buffer-in-major-side-window): Evaluate window-height /
7290 window-width alist entries.
7291
7292 * help.el (temp-buffer-resize-frames)
7293 (temp-buffer-resize-regexps): Remove options.
7294 (temp-buffer-resize-mode): Adjust doc-string.
7295 (resize-temp-buffer-window): Don't consult
7296 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7297 temp-buffer-resize-frames.
7298
7299 * dired.el (dired-mark-pop-up):
7300 Call display-buffer-below-selected with a fit-window-to-buffer alist
7301 entry.
7302
7303 2012-09-30 Chong Yidong <cyd@gnu.org>
7304
7305 * server.el (server-host): Document the security implications.
7306 (server-auth-key): Doc fix.
7307
7308 * startup.el (initial-buffer-choice): Doc fix.
7309
7310 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7311
7312 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7313 restriction change.
7314
7315 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7316
7317 * help-fns.el (help-fns--obsolete): Fix last change.
7318
7319 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7320
7321 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7322 (minor-mode-map-alist): Remove redundant code.
7323
7324 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7325 visited in a buffer.
7326 (cvs-insert-visited-file): New function.
7327 (find-file-hook): Use it.
7328
7329 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7330
7331 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7332 chose face.
7333 (log-edit-empty-buffer-p): Don't require a space after a header.
7334
7335 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7336
7337 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7338
7339 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7340 a proper minor-mode.
7341
7342 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7343
7344 2012-09-29 Glenn Morris <rgm@gnu.org>
7345
7346 * winner.el (winner-mode): Remove variable (let define-minor-mode
7347 handle it).
7348 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7349 Doc fixes.
7350 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7351 (winner-mode): Use define-minor-mode.
7352
7353 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7354 the full definition in loaddefs, rather than duplicating it.
7355
7356 * help-macro.el (three-step-help): No need to autoload defcustom.
7357
7358 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7359 (inferior-lisp-program, inferior-lisp-load-command)
7360 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7361 No need to autoload defcustoms.
7362
7363 * hippie-exp.el (hippie-expand-try-functions-list)
7364 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7365 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7366 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7367 (hippie-expand-only-buffers): No need to autoload defcustoms.
7368 * progmodes/vhdl-mode.el (vhdl-line-expand):
7369 Explicitly load hippie-exp, so it does not get autoloaded
7370 while hippie-expand-try-functions-list is let-bound.
7371
7372 2012-09-28 Glenn Morris <rgm@gnu.org>
7373
7374 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7375
7376 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7377 Only "cl.el" counts as cl these days.
7378
7379 2012-09-28 Juri Linkov <juri@jurta.org>
7380
7381 Display archive errors in the echo area instead of inserting
7382 to the file buffer.
7383
7384 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7385 to STDERR-TEST that can be a regexp matching a successful output.
7386 Create a temporary file and redirect stderr to it. Search for
7387 STDERR-TEST in the stderr output and display it in the echo area
7388 if no match is found.
7389 (archive-extract-by-file): New function like
7390 `archive-extract-by-stdout' but extracting archives to files
7391 and looking for successful matches in stdout. Function body is
7392 mostly copied from `archive-rar-extract'.
7393 (archive-rar-extract): Use `archive-extract-by-file'.
7394 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7395
7396 2012-09-28 Leo Liu <sdl.web@gmail.com>
7397
7398 * pcomplete.el (pcomplete-show-completions):
7399 Use minibuffer-message to make pcomplete usable in minibuffer.
7400
7401 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7402
7403 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7404
7405 * type-break.el: Use lexical-binding.
7406 (type-break-mode): Use define-minor-mode.
7407
7408 * emacs-lisp/pcase.el (pcase--mark-used): New.
7409 (pcase--u1): Use it (bug#12512).
7410
7411 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7412 in load-history with the right file name.
7413
7414 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7415
7416 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7417 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7418 (doc-view-get-bounding-box): Make bounding box slicing work for
7419 ODF and DVI documents.
7420
7421 2012-09-28 Glenn Morris <rgm@gnu.org>
7422
7423 * type-break.el (type-break-mode, type-break-interval)
7424 (type-break-good-rest-interval, type-break-keystroke-threshold):
7425 No need to autoload.
7426 (type-break-good-rest-interval, type-break-keystroke-threshold):
7427 Add :set-after.
7428
7429 2012-09-28 Chong Yidong <cyd@gnu.org>
7430
7431 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7432 Add :version tag.
7433
7434 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7437
7438 2012-09-27 Glenn Morris <rgm@gnu.org>
7439
7440 * faces.el (x-display-name): Declare (for without-x builds).
7441
7442 * linum.el (linum-format): Don't autoload it. Improve :type.
7443
7444 * progmodes/tcl.el: Don't require outline when compiling.
7445 (outline-regexp, outline-level): Declare.
7446 * textmodes/sgml-mode.el: Don't require outline when compiling.
7447 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7448
7449 * term.el (term-ansi-reset):
7450 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7451
7452 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7453 files for RCS and SCCS. (Bug#9781)
7454
7455 2012-09-27 Chong Yidong <cyd@gnu.org>
7456
7457 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7458 change; value should be t.
7459
7460 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * image-mode.el: Use lexical-binding.
7463 (image-mode-winprops): Use t to stand for the window of
7464 a buffer that's not displayed.
7465 * doc-view.el (doc-view-new-window-function): Handle the new
7466 t in winprops.
7467 (doc-view-enlarge): Make it a real nop if the size is not changed.
7468 (doc-view-display): Handle the case where the buffer is not (yet?)
7469 displayed in any window.
7470 (doc-view-saved-settings): New var.
7471 (doc-view-mode): Use it.
7472 (doc-view-fallback-mode): Set it.
7473
7474 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7475 Set lexical-binding.
7476 (minibuffer-eldef-shorten-default): New var.
7477 (minibuffer-default-in-prompt-regexps): Use it for new default.
7478 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7479
7480 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7481
7482 * international/uni-bidi.el:
7483 * international/uni-category.el:
7484 * international/uni-name.el:
7485 * international/uni-numeric.el: Regenerate.
7486
7487 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7488 Stefan Monnier <monnier@iro.umontreal.ca>
7489
7490 * profiler.el: New file.
7491
7492 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7495 (testcover-reinstrument): Simplify with CSE.
7496
7497 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7498
7499 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7500
7501 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7502
7503 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7504 (verilog-auto-input, verilog-auto-insert-lisp)
7505 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7506 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7507 (verilog-auto-unused, verilog-auto-wire)
7508 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7509 newline. Reported by Andrew Jones.
7510 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7511 Reported by Brad Dobbie.
7512 (verilog-batch-delete-trailing-whitespace):
7513 Create verilog-batch-delete-trailing-whitespace.
7514 Reported by Brad Dobbie.
7515 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7516 parameters from another module. Reported by Dan Katz.
7517 (verilog-auto, verilog-auto-assign-modport)
7518 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7519 AUTOINOUTMODPORT for UVM interface module shell generation.
7520 Reported by Brad Dobbie.
7521 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7522 standard behavior.
7523 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7524 Reported by Matt Martin.
7525
7526 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (window--resize-child-windows): When resizing child
7529 windows proportionally, process them in reverse order to
7530 preserve the "when splitting a window the new one gets the odd
7531 line" behavior.
7532 (window--resize-root-window-vertically): When resizing the
7533 minibuffer window try to affect only windows at the bottom of the
7534 frame. (Bug#12419)
7535
7536 2012-09-25 Chong Yidong <cyd@gnu.org>
7537
7538 * subr.el (declare): Doc fix.
7539
7540 * help-fns.el (help-fns--obsolete): Handle macros properly.
7541
7542 2012-09-25 Chong Yidong <cyd@gnu.org>
7543
7544 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7545 this function obsolete.
7546
7547 * calendar/cal-x.el (calendar-two-frame-setup)
7548 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7549 * calendar/calendar.el (american-calendar, european-calendar)
7550 (calendar-for-loop):
7551 * comint.el (comint-dynamic-simple-complete)
7552 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7553 * desktop.el (desktop-load-default):
7554 * dired-x.el (dired-omit-here-always)
7555 (dired-hack-local-variables, dired-default-directory):
7556 * emacs-lisp/derived.el (derived-mode-class):
7557 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7558 * emacs-lock.el (toggle-emacs-lock):
7559 * epa.el (epa-display-verify-result):
7560 * epg.el (epg-sign-keys, epg-start-sign-keys)
7561 (epg-passphrase-callback-function):
7562 * eshell/esh-util.el (eshell-for):
7563 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7564 (eshell-add-to-window-buffer-names):
7565 * files.el (locate-file-completion):
7566 * imenu.el (imenu-example--create-c-index)
7567 (imenu-example--create-lisp-index)
7568 (imenu-example--lisp-extract-index-name)
7569 (imenu-example--name-and-position):
7570 * international/mule-cmds.el (princ-list):
7571 * international/mule-diag.el (decode-codepage-char):
7572 * international/mule-util.el (detect-coding-with-priority):
7573 * iswitchb.el (iswitchb-read-buffer):
7574 * mail/mailalias.el (mail-complete):
7575 * mail/sendmail.el (mail-sent-via):
7576 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7577 (mouse-major-mode-menu):
7578 * password-cache.el (password-read-and-add):
7579 * pcomplete.el (pcomplete-parse-comint-arguments):
7580 * progmodes/sh-script.el (sh-maybe-here-document):
7581 * replace.el (query-replace-regexp-eval):
7582 * savehist.el (savehist-load):
7583 * simple.el (choose-completion-delete-max-match):
7584 * term.el (term-dynamic-simple-complete):
7585 * vc/ediff-init.el (ediff-check-version):
7586 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7587 * vc/vc.el (vc-diff-switches-list):
7588 * view.el (view-return-to-alist-update): Likewise.
7589
7590 * subr.el (eval-next-after-load, makehash, insert-string)
7591 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7592 mark obsolete.
7593 (mode-line-inverse-video): Variable deleted.
7594
7595 * international/mule-util.el (string-to-sequence): Remove.
7596
7597 * calendar/calendar.el (calendar-version):
7598 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7599 (icalendar-convert-diary-to-ical):
7600 * cus-edit.el (custom-mode):
7601 * ansi-color.el (ansi-color-unfontify-region):
7602 * international/latin1-disp.el (latin1-char-displayable-p):
7603 * progmodes/cwarn.el (turn-on-cwarn-mode):
7604 * progmodes/which-func.el (which-func-update-1):
7605 Use define-obsolete-function-alias.
7606
7607 * net/newst-backend.el (newsticker-cache-filename):
7608 * net/newst-treeview.el (newsticker-groups-filename):
7609 Fix incorrect obsolescence declaration.
7610
7611 * allout.el (allout-passphrase-hint-string): Likewise.
7612 (allout-init): Use a declare form to mark obsolete.
7613
7614 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7615 this applies to functions.
7616
7617 * iswitchb.el (iswitchb-read-buffer): Move code of
7618 iswitchb-define-mode-map here, and delete that obsolete function.
7619
7620 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7621 font-lock-reference-face.
7622
7623 2012-09-25 Glenn Morris <rgm@gnu.org>
7624
7625 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7626 Doc fixes.
7627
7628 * eshell/em-term.el (eshell-term-name):
7629 Default to term-term-name. (Bug#12485)
7630
7631 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7632
7633 * progmodes/python.el (python-shell-send-buffer): Better handling
7634 of "if __name__ == '__main__':" conditionals when sending the buffer.
7635
7636 2012-09-24 Glenn Morris <rgm@gnu.org>
7637
7638 * eshell/esh-cmd.el (eshell-find-alias-function):
7639 Tighten up file-name regexp. (Bug#12499)
7640
7641 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7642
7643 Enhancements for triple-quote string syntax.
7644 * progmodes/python.el (python-quote-syntax): Remove.
7645 (python-syntax-propertize-function): New value.
7646 (python-syntax-count-quotes, python-syntax-stringify):
7647 New functions.
7648
7649 2012-09-24 Chong Yidong <cyd@gnu.org>
7650
7651 * mail/supercite.el (sc-version): Remove obsolete function.
7652 (sc-describe): Don't mark as obsolete, since it is bound.
7653 (sc-submit-bug-report): Remove.
7654
7655 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7656 (cvs-commit-buffer-require-final-newline): Remove.
7657 (log-edit-require-final-newline)
7658 (log-edit-changelog-full-paragraphs): Default to t.
7659
7660 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7661 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7662 * vc/vc.el (vc-checkout-carefully): Likewise.
7663
7664 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7665 (emerge-version): Remove.
7666
7667 * progmodes/compile.el (compile-internal): Remove.
7668 (compilation-parse-errors-function): Fix typo.
7669
7670 * international/mule.el (set-char-table-default): Remove.
7671 (set-coding-priority, make-coding-system, generic-char-p)
7672 (charset-list, charset-bytes, charset-id): Use declare to mark
7673 functions as obsolete.
7674
7675 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7676 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7677 * vc/vc-hooks.el (vc-default-registered): Don't use
7678 vc-master-templates.
7679
7680 * font-lock.el (font-lock-reference-face):
7681 Use define-obsolete-variable-alias.
7682
7683 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7684 * calendar/calendar.el (calendar-font-lock-keywords):
7685 * calendar/diary-lib.el (diary-font-lock-keywords)
7686 (diary-fancy-font-lock-keywords):
7687 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7688 * textmodes/reftex-index.el (reftex-insert-index):
7689 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7690 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7691 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7692 * progmodes/prolog.el (prolog-font-lock-keywords):
7693 * progmodes/idlwave.el (idlwave-idl-keywords):
7694 * progmodes/ada-mode.el (ada-font-lock-keywords):
7695 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7696
7697 2012-09-24 Glenn Morris <rgm@gnu.org>
7698
7699 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7700
7701 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7702
7703 * progmodes/python.el (python-indent-line): More consistent cursor
7704 movement behavior.
7705
7706 2012-09-23 Stefan Merten <smerten@oekonux.de>
7707
7708 * textmodes/rst.el: Fix compiler warning.
7709
7710 2012-09-23 Roland Winkler <winkler@gnu.org>
7711
7712 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7713 Transcribe also LaTeX hyphenation.
7714 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7715 bibtex-reformat-previous-options.
7716
7717 2012-09-23 Roland Winkler <winkler@gnu.org>
7718
7719 * proced.el (proced-renice-command): New variable.
7720 (proced-marked-processes): New function.
7721 (proced-with-processes-buffer): New macro.
7722 (proced-send-signal): Use them.
7723 (proced-renice): New command bound to r.
7724
7725 2012-09-23 Roland Winkler <winkler@gnu.org>
7726
7727 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7728 ibuffer-saved-filter-groups has one element, shortcut the call of
7729 completing-read. (Bug#12331)
7730
7731 2012-09-23 Chong Yidong <cyd@gnu.org>
7732
7733 * bindings.el (mode-line-toggle-read-only):
7734 * bs.el (bs-toggle-readonly):
7735 * buff-menu.el (Buffer-menu-toggle-read-only):
7736 * dired.el (dired-toggle-read-only):
7737 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7738
7739 2012-09-23 Chong Yidong <cyd@gnu.org>
7740
7741 * image.el (image-type-available-p): Adapt to init-image-library
7742 argument changes.
7743
7744 2012-09-22 Juri Linkov <juri@jurta.org>
7745
7746 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7747 `dired-toggle-read-only'. (Bug#12462)
7748
7749 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7750
7751 * subr.el (temp-output-buffer-show): New function.
7752 (with-output-to-temp-buffer): Call temp-output-buffer-show
7753 instead of internal-temp-output-buffer-show.
7754
7755 2012-09-22 Chong Yidong <cyd@gnu.org>
7756
7757 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7758 (Bug#12462).
7759
7760 * repeat.el (repeat): Doc fix (Bug#12348).
7761
7762 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7763 (Bug#10909).
7764
7765 * simple.el (shell-command-on-region): Doc fix.
7766 (read-only-mode): Doc fix.
7767
7768 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7769
7770 * emacs-lisp/timer.el (run-with-idle-timer)
7771 (timer-activate-when-idle): Warn against reinvoking an idle timer
7772 from within its own timer action. (Bug#12447)
7773
7774 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7775
7776 * cus-start.el (window-combination-limit): Add new optional
7777 values.
7778 * window.el (temp-buffer-window-show)
7779 (window--try-to-split-window): Handle new values of
7780 window-combination-limit (Bug#1806).
7781 (split-window): Test window-combination-limit for t instead of
7782 non-nil.
7783 (display-buffer-at-bottom): New buffer display action function.
7784 * help.el (temp-buffer-resize-regexps): New option.
7785 (temp-buffer-resize-mode): Rewrite doc-string.
7786 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7787 Don't resize reused window. Suggested by Glenn Morris.
7788
7789 2012-09-22 Stefan Merten <smerten@oekonux.de>
7790
7791 * textmodes/rst.el: Revamp section title faces.
7792 (rst-official-version)
7793 (rst-package-emacs-version-alist): Sync with official version
7794 V1.4.0.
7795 (rst-faces-defaults, rst-set-level-default)
7796 (rst-level-face-max, rst-level-face-base-color)
7797 (rst-level-face-base-light, rst-level-face-format-light)
7798 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7799 (rst-adornment-faces-alist): Match new setup.
7800 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7801 (rst-level-5, rst-level-6): New faces.
7802
7803 2012-09-22 Chong Yidong <cyd@gnu.org>
7804
7805 * simple.el (undo): Handle indirect buffers (Bug#8207).
7806
7807 2012-09-21 Leo Liu <sdl.web@gmail.com>
7808
7809 IDO: Disable match re-ordering for buffer switching.
7810 * ido.el (ido-buffer-disable-smart-matches): New variable.
7811 (ido-set-matches-1): Use it. (Bug#2042)
7812
7813 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7814
7815 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7816 Fix 2011-05-17 change. (Bug#12418)
7817
7818 2012-09-21 Leo Liu <sdl.web@gmail.com>
7819
7820 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7821
7822 2012-09-21 Glenn Morris <rgm@gnu.org>
7823
7824 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7825 Be more robust about locating simple.el.
7826
7827 2012-09-21 Glenn Morris <rgm@gnu.org>
7828
7829 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7830
7831 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7832
7833 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7834
7835 2012-09-20 Juri Linkov <juri@jurta.org>
7836
7837 * replace.el (query-replace-read-from): Use `read-regexp' instead
7838 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7839 (occur-read-primary-args): Use `read-regexp' instead of
7840 `read-string'.
7841 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7842 `read-from-minibuffer'.
7843 * isearch.el (isearch-occur): Use `read-regexp' instead of
7844 `read-string'.
7845 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7846 `read-from-minibuffer'.
7847 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7848 of `read-string'. (Bug#7567)
7849
7850 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7851 and allow accepting a list of strings prepended to a list of
7852 standard default values. Doc fix. (Bug#12321)
7853
7854 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7855
7856 * replace.el (read-regexp): Don't add ": " when PROMPT already
7857 ends with a colon and space. (Bug#12321)
7858
7859 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7860
7861 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7862 error.
7863
7864 2012-09-20 Stefan Merten <smerten@oekonux.de>
7865
7866 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7867 Fixes feature request bug#11711.
7868 (rst-mode): Create `imenu-create-index-function'.
7869 (rst-get-stripped-line): Delete after refactoring.
7870 (rst-section-tree, rst-section-tree-rec)
7871 (rst-section-tree-point): Refactor and document properly.
7872 (rst-imenu-find-adornments-for-position)
7873 (rst-imenu-convert-cell, rst-imenu-create-index):
7874 New function.
7875
7876 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7877
7878 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7879 (macroexp--expand-all): Use it.
7880 (macroexp--funcall-and-return): Remove by folding it into its sole
7881 caller (macroexp--warn-and-return).
7882 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7883 Use macroexp--obsolete-warning.
7884
7885 * calc/calc.el: Fix last change by removing the whole chunk, since it
7886 was only needed back when Calc was not bundled.
7887
7888 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7889
7890 * emacs-lisp/debug.el (debug): Restore assignment to
7891 debugger-old-buffer removed on 2012-09-08.
7892
7893 2012-09-20 Juri Linkov <juri@jurta.org>
7894
7895 * dired-aux.el (dired-diff): Remove (require 'diff) since
7896 `diff-latest-backup-file' is now autoloaded.
7897
7898 2012-09-20 Chong Yidong <cyd@gnu.org>
7899
7900 * vc/diff.el (diff-latest-backup-file): Autoload.
7901
7902 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7903
7904 * calc/calc.el: Remove redundant autoload shape check.
7905 (sel-mode): Don't defvar.
7906 (calc-get-stack-element): Add `sel-mode' arg instead.
7907 (calc-top, calc-top-list): Pass it this additional argument.
7908 * calc/calc-store.el (calc-store-map):
7909 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7910 (calc-map-equation, calc-outer-product, calc-inner-product):
7911 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7912
7913 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7914
7915 2012-09-19 Juri Linkov <juri@jurta.org>
7916
7917 * dired-aux.el (dired-diff): Add (require 'diff) because
7918 `diff-latest-backup-file' is not autoloaded.
7919 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7920 of `dired-get-filename' to t to not report error when there is
7921 no default file on the current line.
7922
7923 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7926 macroexp--eval-if-compile.
7927 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7928 (macroexp--expand-all): Use them (bug#12371).
7929
7930 * doc-view.el (doc-view-guess-paper-size)
7931 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7932
7933 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7934
7935 New feature: set optimal slice from BoundingBox information.
7936 * doc-view.el (doc-view-mode-map): Add keybinding.
7937 (doc-view-menu): Add menu entry.
7938 (doc-view-set-slice): Adapt docstring.
7939 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7940 (doc-view-scale-bounding-box)
7941 (doc-view-set-slice-from-bounding-box): New functions.
7942 (doc-view-paper-sizes): New defvar.
7943
7944 2012-09-19 Glenn Morris <rgm@gnu.org>
7945
7946 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7947 (byte-compile-log-warning): Autoload. (Bug#12371)
7948
7949 * calendar/calendar.el (calendar-american-month-header)
7950 (calendar-european-month-header, calendar-iso-month-header)
7951 (calendar-month-header): New options.
7952 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7953 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7954
7955 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7956
7957 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7958
7959 2012-09-18 Juri Linkov <juri@jurta.org>
7960
7961 * dired-aux.el (dired-diff): Restore original functionality of
7962 getting the default value, but keep new feature of using the
7963 latest existing backup file (`diff-latest-backup-file').
7964
7965 2012-09-18 Juri Linkov <juri@jurta.org>
7966
7967 * dired.el (dired-mark): If the region is active in Transient Mark
7968 mode, mark all files in the active region. Doc fix.
7969 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7970 Doc fix. (Bug#10624)
7971
7972 2012-09-18 Juri Linkov <juri@jurta.org>
7973
7974 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7975 attributes for M-n are pulled from the file at point.
7976 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7977 Suggested by Drew Adams. (Bug#10624)
7978
7979 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7980
7981 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7982 whitespace after "end".
7983 (ruby-do-end-to-brace): Collapse block to one line if it fits
7984 within fill-column.
7985
7986 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7987
7988 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7989 value.
7990 (debug): Don't remove debugger window when debugger is expected
7991 to be back.
7992
7993 2012-09-18 Chong Yidong <cyd@gnu.org>
7994
7995 * custom.el (defface): Doc fix.
7996
7997 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7998
7999 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8000
8001 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8002 to initialize query-on-exit; then test that instead (bug#12288).
8003
8004 2012-09-17 Stefan Merten <smerten@oekonux.de>
8005
8006 * textmodes/rst.el: Add support for `testcover'.
8007 (rst-defcustom-testcover, rst-testcover-add-compose)
8008 (rst-testcover-add-1value): New functions.
8009 (rst-portable-mark-active-p): Replace by `use-region-p'.
8010 (rst-update-section, rst-classify-adornment)
8011 (rst-find-title-line): Mark `1value' forms.
8012 (rst-classify-adornment): Remove superfluous form.
8013 (rst-update-section, rst-get-adornments-around)
8014 (rst-adornment-complete-p, rst-get-next-adornment)
8015 (rst-adjust, rst-promote-region)
8016 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8017 (rst-find-pfx-in-region, rst-section-tree-rec)
8018 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8019 (rst-toc-node, rst-toc, rst-forward-section)
8020 (rst-iterate-leftmost-paragraphs)
8021 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8022 (rst-bullet-list-region)
8023 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8024 (rst-compile-find-conf, rst-compile)
8025 (rst-repeat-last-character): Fix style.
8026
8027 2012-09-17 Chong Yidong <cyd@gnu.org>
8028
8029 * comint.el (comint--complete-file-name-data): Don't add a space
8030 if the status is `sole'; that adds a gratuitous space in the
8031 completion-cycling case (Bug#12092).
8032
8033 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8034
8035 2012-09-17 Richard Stallman <rms@gnu.org>
8036
8037 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8038 only in the mime-shown mode, not in raw mode.
8039 (rmail-mime): Toggle off mime by displaying the message without
8040 mime processing. (Bug#12305)
8041
8042 * mail/rmail.el (rmail-retry-failure):
8043 Turn off mime processing first. (Bug#12037)
8044
8045 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8046
8047 2012-09-17 Chong Yidong <cyd@gnu.org>
8048
8049 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8050 (shell-dynamic-complete-functions): Convert to defcustom.
8051 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8052
8053 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8054 * comint.el (comint-prompt-read-only):
8055 * custom.el (defcustom):
8056 * hi-lock.el (hi-lock-mode):
8057 * ibuffer.el (ibuffer-formats):
8058 * ielm.el (ielm-prompt-read-only):
8059 * novice.el (disable-command):
8060 * saveplace.el (toggle-save-place):
8061 * speedbar.el (speedbar-supported-extension-expressions):
8062 * startup.el (auto-save-list-file-prefix, init-file-user)
8063 (after-init-hook, inhibit-startup-echo-area-message):
8064 * strokes.el (strokes-help):
8065 * time-stamp.el (time-stamp):
8066 * calendar/calendar.el (calendar, diary-file):
8067 * calendar/diary-lib.el (diary-mail-entries, diary)
8068 (diary-list-entries-hook):
8069 * calendar/holidays.el (holidays, calendar-holidays):
8070 * calendar/lunar.el (lunar-phases):
8071 * calendar/solar.el (sunrise-sunset):
8072 * emulation/edt.el (edt-load-keys):
8073 * emulation/viper.el (viper-mode):
8074 * eshell/em-alias.el (eshell-command-aliases-list):
8075 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8076 * international/ogonek.el (ogonek-information):
8077 * net/tramp-cmds.el (tramp-bug):
8078 * net/quickurl.el (quickurl-reread-hook-postfix):
8079 * play/decipher.el (decipher-font-lock-keywords):
8080 * progmodes/cc-styles.el (c-set-style):
8081 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8082 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8083 * progmodes/octave-mod.el (octave-mode):
8084 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8085 * progmodes/verilog-mode.el (verilog-read-defines):
8086 * textmodes/two-column.el (2C-mode): Likewise.
8087
8088 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8089
8090 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8091 that holds many addresses.
8092
8093 2012-09-16 Chong Yidong <cyd@gnu.org>
8094
8095 * align.el (align-areas): Call the indication function with
8096 positions instead of markers for arguments (Bug#12343).
8097
8098 * files.el (parse-colon-path): Use split-string (Bug#12351).
8099
8100 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8101 (display-buffer-function): Mark as obsolete.
8102
8103 * progmodes/compile.el (compilation-parse-errors): Accept list
8104 values similar to font-lock-keywords (Bug#12136).
8105 Suggested by Oleksandr Manzyuk.
8106 (compilation-error-regexp-alist): Doc fix.
8107
8108 2012-09-15 Glenn Morris <rgm@gnu.org>
8109
8110 * version.el (emacs-bzr-version-bzr): New function.
8111 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8112
8113 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8114 checkouts, check the parent dirstate matches the branch.
8115 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8116 empty string.
8117
8118 * version.el (emacs-bzr-version): Doc fix.
8119 (emacs-bzr-version-dirstate): New function.
8120 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8121 is local try and check that it matches the branch. If not, just
8122 use dirstate information. (Bug#12441)
8123
8124 2012-09-14 Juri Linkov <juri@jurta.org>
8125
8126 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8127 (Bug#12399)
8128
8129 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8130
8131 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8132
8133 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8134 Remove obsolete byte-compiler hack that tried to silence some warnings.
8135 (edebug-submit-bug-report): Remove.
8136 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8137 Remove aliases, use the un-prefixed name instead.
8138 (edebug-pop-to-buffer): Consider other frames.
8139 (edebug-original-read):: Make it more obvious that it's always defined.
8140 (edebug--make-form-data-entry, edebug--form-data-name)
8141 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8142 single-dashed name, and implement with cl-defstruct.
8143 (edebug-set-form-data-entry): Use the standard accessors.
8144 (edebug-make-top-form-data-entry): Use push.
8145 (edebug-no-match): Drop useless `funcall'.
8146 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8147 to functions.
8148 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8149 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8150 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8151 (easy-menu-define, with-custom-print): Remove redundant specs.
8152 (edebug-outside-overriding-local-map)
8153 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8154 (edebug--display): Bind unread-command-events directly to nil rather
8155 than binding it to unread-command-events and later setting it to nil.
8156 (edebug--display): Kill edebug-eval-buffer here...
8157 (edebug--recursive-edit): ...rather than here.
8158 Bind standard-output and standard-input.
8159 (edebug-eval): Check cl-macroexpand-all is fboundp.
8160 (edebug-temp-display-freq-count): Fix last change.
8161
8162 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8163 * subr.el (noreturn, 1value): Add `debug' spec.
8164 * emacs-lisp/advice.el: Require cl-lib.
8165 (ad-copy-tree): Remove, use copy-tree instead.
8166 (ad-dolist): Remove use dolist or cl-dolist instead.
8167 (ad-do-return): Remove, use cl-return instead.
8168 (defadvice): Add `debug' spec.
8169
8170 2012-09-13 Juri Linkov <juri@jurta.org>
8171
8172 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8173 (Bug#12399)
8174
8175 2012-09-13 Glenn Morris <rgm@gnu.org>
8176
8177 * calc/calc.el (math-compose-expr):
8178 * calc/calc-ext.el (math-compose-expr):
8179 * progmodes/cc-defs.el (cl-macroexpand-all):
8180 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8181 (cl-macroexpand-all): Update declarations.
8182
8183 * vc/vc.el: No need to require ediff.
8184 (ediff-load-version-control): Declare.
8185 (ediff-vc-internal): Fix declaration.
8186 (vc-version-ediff): Require ediff.
8187
8188 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8189
8190 Use a more backwards-compatible timer format (Bug#12430).
8191 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8192 being right after USECS, as that better supports old code that
8193 inadvisedly looked directly at the timer vector.
8194
8195 2012-09-13 Kenichi Handa <handa@gnu.org>
8196
8197 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8198 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8199 `coding-priority' property of these language environment.
8200
8201 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8202
8203 Fix glitches caused by addition of psec to timers (Bug#12430).
8204 * image.el (image-animate-timer):
8205 * time.el (display-time-world-timer):
8206 Use timer--function and timer--args rather than raw access to
8207 timer vector.
8208
8209 2012-09-13 Glenn Morris <rgm@gnu.org>
8210
8211 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8212 If not compiling a file, try using load-file-name.
8213
8214 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8217 Fix last change.
8218 (edebug-update-eval-list): Use `push'.
8219
8220 * emacs-lisp/edebug.el: Use lexical-binding.
8221 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8222 Mark unused args with underscore.
8223 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8224 (edebug-form-data): Use defvar-local.
8225 (edebug-make-before-and-after-form, edebug-make-after-form):
8226 Use backquote.
8227 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8228 Not dynamically scoped any more.
8229 (edebug--enter-trace): Add arguments `function' and `args'.
8230 Rename from edebug-enter-trace.
8231 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8232 (edebug--update-coverage): Add `after-index' and `value' args.
8233 Rename from edebug-update-coverage.
8234 (edebug-slow-after): Call it accordingly.
8235 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8236 edebug-recursive-edit.
8237 (edebug--display): Call it accordingly. Add args `value',
8238 `offset-index', and `arg-mode'. Rename from edebug-display.
8239 (edebug-debugger, edebug): Call it accordingly.
8240 (edebug-eval-display-list): Use dolist.
8241
8242 2012-09-12 Juri Linkov <juri@jurta.org>
8243
8244 * info.el (Info-search): Don't check for isearch-mode and
8245 isearch-regexp before let-binding search-spaces-regexp to
8246 Info-search-whitespace-regexp.
8247 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8248 search-whitespace-regexp if isearch-lax-whitespace or
8249 isearch-regexp-lax-whitespace is non-nil.
8250 (Info-mode): Don't set local variable search-whitespace-regexp.
8251 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8252
8253 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8254
8255 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8256 (debugger-env-macro): Remove support for unread-command-char.
8257
8258 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8259 the temporary map re-appearing on emulation-mode-map-alists.
8260
8261 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8262 since 22.1.
8263
8264 * ehelp.el (with-electric-help): Accept functions in
8265 electric-help-form-to-execute.
8266 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8267 And replace unread-command-char -> unread-command-events.
8268
8269 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8270
8271 Sync with Tramp 2.2.6.
8272
8273 * net/tramp.el (tramp-accept-process-output): Don't use
8274 JUST-THIS-ONE in the XEmacs case.
8275
8276 * net/trampver.el: Update release number.
8277
8278 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8279
8280 * emacs-lisp/debug.el (debugger-previous-window-height):
8281 New variable.
8282 (debug): When debugger-jumping-flag is non-nil try to restore
8283 height of debugger window. (Bug#8789)
8284
8285 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8286
8287 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8288 overriding-local-map and pre/post-command-hook here.
8289 (edebug-recursive-edit): Do it here instead (bug#12345).
8290 (edebug-outside-unread-command-char): Remove all uses of
8291 unread-command-char.
8292
8293 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8294 inhibit-debugger is bound instead.
8295
8296 2012-09-11 Bastien Guerry <bzg@gnu.org>
8297
8298 * subr.el (set-temporary-overlay-map): Add a docstring.
8299 (Bug#12346)
8300
8301 2012-09-11 Bastien Guerry <bzg@gnu.org>
8302
8303 * minibuffer.el (completion-table-subvert): Fix docstring.
8304 (Bug#12347)
8305
8306 2012-09-11 Bastien Guerry <bzg@gnu.org>
8307
8308 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8309
8310 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8311
8312 * progmodes/sql.el: Version 3.1
8313 (sql-db2-escape-newlines): New variable.
8314 (sql-escape-newlines-filter): Use it.
8315
8316 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8317
8318 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8319
8320 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8321
8322 * vc/diff-mode.el (diff-mode-menu):
8323 Bind diff-remove-trailing-whitespace.
8324
8325 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8326
8327 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8328 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8329 (emacs-lisp-byte-code-mode): New functions.
8330 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8331 (eval-defun-2): Remove bogus interactive spec.
8332 (lisp-indent-line): Remove redundant whole-exp code, now done in
8333 indent-according-to-mode.
8334 (save-match-data): Remove redundant indent data.
8335
8336 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8337 Use `declare'.
8338
8339 2012-09-09 Juri Linkov <juri@jurta.org>
8340
8341 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8342 (replace-lax-whitespace, query-replace-regexp)
8343 (query-replace-regexp-eval, replace-regexp): Doc fix.
8344 (perform-replace, replace-highlight): Let-bind
8345 isearch-lax-whitespace to replace-lax-whitespace and
8346 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8347
8348 * isearch.el (isearch-query-replace): Let-bind
8349 replace-lax-whitespace to isearch-lax-whitespace and
8350 replace-regexp-lax-whitespace to
8351 isearch-regexp-lax-whitespace. (Bug#10885)
8352
8353 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8354
8355 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8356
8357 2012-09-09 Alan Mackenzie <acm@muc.de>
8358
8359 * progmodes/cc-engine.el (c-state-cache-init):
8360 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8361 (c-record-parse-state-state):
8362 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8363
8364 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8365
8366 * register.el (register-separator): Rename from
8367 separator-register. All uses changed. Doc fix.
8368 (register): Fix version.
8369
8370 2012-09-09 Chong Yidong <cyd@gnu.org>
8371
8372 * replace.el (query-replace-map): Bind four new symbols for
8373 requesting window scrolling.
8374
8375 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8376 query-replace-map (Bug#8948).
8377
8378 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8379
8380 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8381 since they are now in query-replace-map.
8382
8383 * window.el (scroll-other-window-down): Make the arg optional.
8384
8385 2012-09-09 Chong Yidong <cyd@gnu.org>
8386
8387 * files.el (hack-local-variables-confirm): Use quit-window to kill
8388 the *Local Variables* buffer.
8389
8390 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8391
8392 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8393 not just expect to be at its beginning. Adjust callees.
8394 Succeed when do-end block has no space before the pipe character.
8395 (ruby-brace-to-do-end): When the original block is one-liner,
8396 convert to multiline. Reindent the result.
8397
8398 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8399
8400 * register.el (register): New group.
8401 (separator-register): New user option.
8402 (increment-register): Route it to `append-to-register', if
8403 register contains text. Implication is that `C-x r +' can now be
8404 used for appending to a text register (bug#12217).
8405 (append-to-register, prepend-to-register): Add separator based on
8406 `separator-register'.
8407
8408 2012-09-08 Alan Mackenzie <acm@muc.de>
8409
8410 AWK Mode: make auto-newline work when there's "==" in the pattern.
8411 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8412 correctly.
8413 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8414 Test more rigorously for "=" token.
8415
8416 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8417
8418 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8419 Only fail when reached LIMIT.
8420
8421 2012-09-08 Chong Yidong <cyd@gnu.org>
8422
8423 * dired.el (dired-mode-map): Don't bind M-=.
8424
8425 * dired-aux.el (dired-diff): Use backup file as default.
8426
8427 2012-09-08 Drew Adams <drew.adams@oracle.com>
8428
8429 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8430
8431 2012-09-08 Chong Yidong <cyd@gnu.org>
8432
8433 * subr.el (syntax-after, syntax-class): Doc fix.
8434
8435 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8436
8437 * window.el (display-buffer-in-previous-window): New buffer
8438 display action function.
8439
8440 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8441 (debugger-previous-window): New variable.
8442 (debug): Rewrite using display-buffer-in-previous-window,
8443 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8444
8445 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8446
8447 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8448
8449 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8450
8451 * progmodes/python.el (python-shell-send-string):
8452 When default-directory is remote, create temp file on remote
8453 filesystem.
8454 (python-shell-send-file): When file is remote, pass local view of
8455 file paths to remote Python interpreter. (Bug#12340)
8456
8457 2012-09-07 Chong Yidong <cyd@gnu.org>
8458
8459 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8460
8461 * files.el (after-find-file): Don't fail on a read-only buffer if
8462 require-final-newline is `visit' or `visit-save' (Bug#11156).
8463
8464 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8465
8466 * userlock.el (ask-user-about-supersession-threat):
8467 Use read-char-choice (Bug#12093).
8468
8469 2012-09-07 Chong Yidong <cyd@gnu.org>
8470
8471 * subr.el (buffer-narrowed-p): New function.
8472
8473 * ses.el (ses-widen):
8474 * simple.el (count-words--buffer-message):
8475 * net/browse-url.el (browse-url-of-buffer): Use it.
8476
8477 * simple.el (count-words-region): Don't signal an error if there
8478 is a non-nil prefix arg and the mark is not set.
8479
8480 * help.el (describe-key-briefly): Allow the message to be seen
8481 when invoked from the minibuffer (Bug#7014).
8482
8483 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8484
8485 * progmodes/ruby-mode.el (ruby-end-of-defun)
8486 (ruby-beginning-of-defun): Simplify, allow indentation before
8487 block beginning and end keywords.
8488 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8489 (ruby-end-of-defun): Expect that the point is at the beginning of
8490 the defun.
8491
8492 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8495 (bug#12367).
8496 (cl--make-usage-args): Strip _ from argument names.
8497
8498 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8499
8500 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8501 obsolete alias speedbar-key-map.
8502 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8503 (vhdl-index-menu-init): Don't use obsolete variable
8504 font-lock-maximum-size.
8505
8506 2012-09-06 Chong Yidong <cyd@gnu.org>
8507
8508 * frame.el (window-system-version): Mark as obsolete.
8509
8510 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8511 of obsolete variable speedbar-key-map.
8512
8513 2012-09-06 Juri Linkov <juri@jurta.org>
8514
8515 * replace.el (replace-lax-whitespace): New defcustom.
8516 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8517 (replace-string, replace-regexp): Mention it in docstrings.
8518 (perform-replace, replace-highlight): Let-bind
8519 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8520 to the values of replace-lax-whitespace and regexp-flag.
8521 Don't let-bind search-whitespace-regexp. (Bug#10885)
8522
8523 * isearch.el (isearch-query-replace): Let-bind
8524 replace-lax-whitespace instead of let-binding
8525 replace-search-function and replace-re-search-function.
8526 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8527 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8528 (isearch-toggle-symbol): Set isearch-regexp to nil
8529 in isearch-word mode (like in isearch-toggle-word).
8530
8531 2012-09-06 Juri Linkov <juri@jurta.org>
8532
8533 * replace.el (replace-search-function)
8534 (replace-re-search-function): Set default values to nil.
8535 (perform-replace): Let-bind isearch-related variables based on
8536 replace-related values, call `isearch-search-fun' and let-bind
8537 the result to `search-function'. Remove code that sets
8538 `search-function' and `search-string' separately for
8539 `delimited-flag'.
8540 (replace-highlight): Add new argument `delimited-flag' and
8541 rename other arguments to the names used in `perform-replace'.
8542 Let-bind `isearch-word' to the argument `delimited-flag'.
8543 (Bug#10885, bug#10887)
8544
8545 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8546
8547 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8548 ruby-beginning-of-indent, simplify, allow all keywords to have
8549 indentation before them.
8550 (ruby-beginning-of-indent): Adjust for above. Search until the
8551 found point is not inside a string or comment.
8552 (ruby-font-lock-keywords): Allow symbols to start with "@"
8553 character, give them higher priority than variables.
8554 (ruby-syntax-propertize-function)
8555 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8556 matchers. Expression expansions are not comments when inside a
8557 string, and there comment syntax status is irrelevant.
8558 (ruby-match-expression-expansion): New function. Check that
8559 expression expansion is inside a string, and it's not escaped.
8560 (ruby-font-lock-keywords): Use it.
8561
8562 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8563
8564 * help.el (temp-buffer-max-height): New default value.
8565 (temp-buffer-resize-frames): New option.
8566 (resize-temp-buffer-window): Optionally resize frame.
8567
8568 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8569 (fit-frame-to-buffer): New function.
8570
8571 2012-09-05 Glenn Morris <rgm@gnu.org>
8572
8573 * emulation/cua-rect.el (cua--init-rectangles):
8574 * textmodes/picture.el (picture-mode-map):
8575 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8576 like forward-char and backward-char. (Bug#12317)
8577
8578 2012-09-05 Leo Liu <sdl.web@gmail.com>
8579
8580 * progmodes/flymake.el (flymake-warning-re): New variable.
8581 (flymake-parse-line): Use it.
8582
8583 2012-09-05 Glenn Morris <rgm@gnu.org>
8584
8585 * calendar/holidays.el (holiday-christian-holidays):
8586 Rename an entry. (Bug#12289)
8587
8588 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8589
8590 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8591 (bug#12222).
8592
8593 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8594
8595 * loadup.el: Load macroexp. Remove hack.
8596 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8597 (macroexp--expand-all): Use it to get better warnings.
8598 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8599 (internal-macroexpand-for-load): New functions.
8600 (macroexp--pending-eager-loads): New var.
8601 (emacs-startup-hook): New hack to replace one in loadup.el.
8602 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8603 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8604 (cl-psetf): Simplify.
8605 (cl-defstruct): Add indent rule.
8606
8607 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8608
8609 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8610 over `user-mail-address' for the SMTP MAIL FROM envelope.
8611 (smtpmail-via-smtp): Ditto.
8612
8613 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8614
8615 * progmodes/ruby-mode.el: Clean up keybindings.
8616 (ruby-mode-map): Don't bind ruby-electric-brace,
8617 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8618 backward-kill-word, reindent-then-newline-and-indent.
8619 (ruby-mark-defun): Remove.
8620 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8621 (ruby-mode): Set local beginning-of-defun-function and
8622 end-of-defun-function values.
8623
8624 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8625
8626 * window.el (temp-buffer-window-setup-hook)
8627 (temp-buffer-window-show-hook): New hooks.
8628 (temp-buffer-window-setup, temp-buffer-window-show)
8629 (with-temp-buffer-window): New functions.
8630 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8631 (special-display-popup-frame): Make sure the window used shows BUFFER.
8632
8633 * help.el (temp-buffer-resize-mode): Fix doc-string.
8634 (resize-temp-buffer-window): New optional argument WINDOW.
8635
8636 * files.el (recover-file, save-buffers-kill-emacs):
8637 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8638
8639 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8640
8641 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8642 remote definition of `default-directory', ensure we can connect.
8643
8644 2012-09-02 Juri Linkov <juri@jurta.org>
8645
8646 Toggle whitespace matching mode with M-s SPC.
8647 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8648
8649 * isearch.el (search-whitespace-regexp): Doc fix.
8650 Remove cons cell customization.
8651 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8652 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8653 New variables.
8654 (isearch-forward, isearch-forward-regexp): Doc fix.
8655 (isearch-toggle-lax-whitespace): New command.
8656 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8657 (re-search-forward-lax-whitespace)
8658 (re-search-backward-lax-whitespace): New functions.
8659 (isearch-whitespace-regexp): Remove function.
8660 (isearch-query-replace): Let-bind replace-search-function and
8661 replace-re-search-function.
8662 (isearch-occur): Let-bind search-spaces-regexp according to the
8663 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8664 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8665 condition for C-q SPC.
8666 (isearch-search-fun-default): Use new functions mentioned above.
8667 (isearch-search-forward, isearch-search-backward): Remove functions.
8668 (isearch-search): Don't let-bind search-spaces-regexp.
8669 (isearch-lazy-highlight-space-regexp): Remove variable.
8670 (isearch-lazy-highlight-lax-whitespace)
8671 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8672 (isearch-lazy-highlight-new-loop): Use them.
8673 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8674
8675 2012-09-02 Chong Yidong <cyd@gnu.org>
8676
8677 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8678
8679 2012-09-02 Glenn Morris <rgm@gnu.org>
8680
8681 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8682
8683 2012-09-01 Glenn Morris <rgm@gnu.org>
8684
8685 * term.el: Tidy up menu definitions.
8686 (term-mode-map): Use easymenu for In/Out, Complete menus.
8687 (term-pager-break-map): Initialize in the defvar.
8688 (term-terminal-menu, term-signals-menu): Define with easymenu.
8689 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8690 (term-pager-menu): New, extracted from term-process-pager.
8691 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8692 (term-update-mode-line): Propertize line/char and page items.
8693 (term-process-pager): Move keymap initialization elsewhere.
8694
8695 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8696
8697 * window.el (switch-to-prev-buffer): Handle additional values of
8698 BURY-OR-KILL argument. Don't switch in minibuffer window.
8699 (switch-to-next-buffer): Don't switch in minibuffer window.
8700 (quit-restore-window): New function based on quit-window.
8701 Handle additional values of former KILL argument.
8702 (quit-window): Call quit-restore-window with appropriate
8703 interpretation of KILL argument.
8704 (display-buffer-below-selected): New buffer display action
8705 function.
8706
8707 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8708
8709 * minibuffer.el (completion-at-point-functions): Complete docstring
8710 (bug#12254).
8711
8712 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8713
8714 Better seed support for (random).
8715 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8716 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8717 * play/mpuz.el, play/tetris.el, play/zone.el:
8718 * calc/calc-comb.el (math-init-random-base):
8719 * play/blackbox.el (bb-init-board):
8720 * play/life.el (life):
8721 * server.el (server-use-tcp):
8722 * type-break.el (type-break):
8723 Remove unnecessary call to (random t).
8724 * net/sasl.el (sasl-unique-id-function):
8725 Change (random t) to (random), now that the latter is more random.
8726 * play/life.el (life-initialized): Remove no-longer-needed var.
8727
8728 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8729
8730 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8731 Consider frame's buffer predicate when choosing the buffer.
8732 (Bug#12081)
8733
8734 2012-08-30 Richard Stallman <rms@gnu.org>
8735
8736 * simple.el (special-mode-map): Delete binding for `z'.
8737
8738 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8739
8740 * progmodes/compile.el (compilation-always-kill): Doc fix.
8741
8742 2012-08-30 Chong Yidong <cyd@gnu.org>
8743
8744 * window.el (display-buffer-reuse-frames): Make the obsolescence
8745 message more informative.
8746
8747 2012-08-30 Glenn Morris <rgm@gnu.org>
8748
8749 * paren.el (show-paren-delay):
8750 Add a :set function. Doc fix. (Bug#12297)
8751
8752 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8753
8754 * progmodes/compile.el (compilation-always-kill): New var.
8755 (compilation-start): Use it.
8756
8757 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8760 * files.el (read-only-mode): Move to simple.el.
8761
8762 * files.el (read-only-mode): New minor mode.
8763 (toggle-read-only): Use it and mark obsolete.
8764 (find-file--read-only):
8765 * vc/vc.el (vc-next-action, vc-checkout):
8766 * vc/vc-cvs.el (vc-cvs-checkout):
8767 * obsolete/vc-mcvs.el (vc-mcvs-update):
8768 * ffap.el (ffap--toggle-read-only): Update callers.
8769
8770 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8771
8772 * eshell/esh-ext.el (eshell-external-command): Do not examine
8773 remote shell scripts.
8774 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8775
8776 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8777 "/usr/local/sbin".
8778
8779 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8782
8783 2012-08-28 Leo Liu <sdl.web@gmail.com>
8784
8785 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8786 completion-at-point. (Bug#12220)
8787
8788 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8789
8790 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8791
8792 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8795 be buffer-local; add delete-trailing-whitespace (bug#12259).
8796
8797 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8798
8799 * progmodes/hideif.el (hif-compress-define-list):
8800 Fix typo. (Bug#11951)
8801
8802 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8803
8804 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8805 buffer local setting.
8806
8807 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8808 rcirc-encode-coding-system.
8809
8810 2012-08-28 Leo Liu <sdl.web@gmail.com>
8811
8812 * net/rcirc.el (rcirc-split-message): New function.
8813 (rcirc-send-message): Use it. (Bug#12051)
8814
8815 2012-08-28 Juri Linkov <juri@jurta.org>
8816
8817 * info.el (Info-fontify-node): Hide empty lines at the end of
8818 the node. (Bug#12272)
8819
8820 2012-08-27 Drew Adams <drew.adams@oracle.com>
8821
8822 * dired.el (dired-pop-to-buffer): Make window start at beginning
8823 of buffer (Bug#12281).
8824
8825 2012-08-26 Chong Yidong <cyd@gnu.org>
8826
8827 * window.el (special-display-regexps, special-display-frame-alist)
8828 (special-display-buffer-names, special-display-function)
8829 (display-buffer-reuse-frames): Mark as obsolete.
8830
8831 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8832
8833 * help.el (help-print-return-message): Don't treat
8834 display-buffer-reuse-frames specially.
8835
8836 2012-08-26 Chong Yidong <cyd@gnu.org>
8837
8838 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8839 New variable, replacing gdb-frame-parameters.
8840 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8841 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8842 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8843 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8844 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8845 the functions directly with gdb-display-buffer-other-frame-action.
8846 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8847 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8848 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8849 (gdb-display-registers-buffer): Define directly.
8850 (def-gdb-display-buffer): Macro deleted.
8851 (gdb-display-buffer): Remove second and third args, callers don't
8852 use them. Defer to the default display-buffer behavior, apart
8853 from making windows dedicated.
8854 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8855
8856 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8857
8858 * window.el (display-buffer-pop-up-frame): Handle a
8859 pop-up-frame-parameters alist entry.
8860 (display-buffer): Document it.
8861
8862 2012-08-26 Chong Yidong <cyd@gnu.org>
8863
8864 * isearch.el (search-whitespace-regexp): Make string and nil
8865 values apply to both ordinary and regexp search. Allow a cons
8866 cell value to distinguish between the two.
8867 (isearch-whitespace-regexp, isearch-search-forward)
8868 (isearch-search-backward): New functions.
8869 (isearch-occur, isearch-search-fun-default, isearch-search)
8870 (isearch-lazy-highlight-new-loop): Use them.
8871 (isearch-forward, isearch-forward-regexp): Doc fix.
8872
8873 2012-08-26 Chong Yidong <cyd@gnu.org>
8874
8875 * faces.el (help-argument-name): Always inherit from italic
8876 (Bug#12213).
8877
8878 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8879
8880 * window.el (window--even-window-heights): Even heights when
8881 WINDOW and the selected window form a vertical combination.
8882 (display-buffer-use-some-window): Provide that window used gets
8883 sized back by quit-window. (Bug#11880) and (Bug#12091)
8884
8885 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8886
8887 Fix file time stamp problem with bzr and CVS (Bug#12001).
8888 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8889 in the file's time stamp, since the version control system loses
8890 that information.
8891
8892 2012-08-22 Juri Linkov <juri@jurta.org>
8893
8894 * info.el (Info-fontify-node): Hide the suffix of the
8895 Info file name in the header line. (Bug#12187)
8896
8897 2012-08-22 Glenn Morris <rgm@gnu.org>
8898
8899 * calendar/cal-tex.el (cal-tex-weekly-common):
8900 Restore leading blank page.
8901
8902 2012-08-22 Le Wang <l26wang@gmail.com>
8903
8904 * misc.el (forward-to-word, backward-to-word): Activate or extend
8905 the region under `shift-select-mode'. (Bug#12231)
8906
8907 2012-08-22 Bastien Guerry <bzg@gnu.org>
8908
8909 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8910 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8911 gives details on why the space is never needed.
8912
8913 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8914
8915 * window.el (walk-window-tree, window-with-parameter):
8916 New optional argument MINIBUF to control whether these functions
8917 should run on the minibuffer window.
8918 (window-at-side-list): Don't operate on minibuffer window.
8919 (window-in-direction): Simplify and rewrite doc-string.
8920 (window--size-ignore): Rename to window--size-ignore-p.
8921 Update callers.
8922 (display-buffer-in-atom-window, window--major-non-side-window)
8923 (window--major-side-window, display-buffer-in-major-side-window)
8924 (delete-side-window, display-buffer-in-side-window):
8925 New functions.
8926 (window--side-check, window-deletable-p, delete-window)
8927 (delete-other-windows, split-window): Handle side windows and
8928 atomic windows appropriately.
8929 (window--display-buffer): Call display-buffer-record-window also
8930 when the window buffer did not change.
8931
8932 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8933
8934 * help-fns.el (help-fns--key-bindings):
8935 Abbreviate non-symbol remap targets. (Bug#12174)
8936
8937 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8938
8939 * dired.el (dired-mark-remembered): Don't clobber point.
8940 (Bug#11795)
8941
8942 2012-08-22 Glenn Morris <rgm@gnu.org>
8943
8944 * progmodes/bug-reference.el (bug-reference): New custom group.
8945 (bug-reference-bug-regexp): Make it a defcustom.
8946
8947 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8948
8949 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8950 (js-paren-indent-offset, js-square-indent-offset)
8951 (js-curly-indent-offset): Add :safe (Bug#12257).
8952
8953 2012-08-22 Edward O'Connor <hober0@gmail.com>
8954
8955 * json.el (json-key-format): Add error properties.
8956 (json-encode-key): New function.
8957 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8958 Use json-encode-key.
8959
8960 2012-08-22 Glenn Morris <rgm@gnu.org>
8961
8962 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8963 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8964 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8965 Update for above change.
8966
8967 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8968
8969 * cus-face.el (custom-face-attributes): Fix customize type for the
8970 :underline attribute. (Bug#11805)
8971
8972 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8973
8974 * window.el (window-point-1, set-window-point-1): Remove.
8975 (window-in-direction, record-window-buffer)
8976 (set-window-buffer-start-and-point, split-window-below)
8977 (window--state-get-1, display-buffer-record-window):
8978 Replace calls to window-point-1 and set-window-point-1 by calls to
8979 window-point and set-window-point respectively.
8980
8981 2012-08-21 Glenn Morris <rgm@gnu.org>
8982
8983 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8984 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8985 Use it.
8986
8987 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8988 (cal-tex-shortday): New function.
8989 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8990 (cal-tex-cursor-filofax-daily): Use the above.
8991
8992 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8993 New functions.
8994 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8995 (cal-tex-cursor-filofax-week): Use them.
8996
8997 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8998 New constants.
8999 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9000 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9001
9002 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9003 (cal-tex-end-document): Don't rely on buffer name.
9004
9005 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9006 Use cal-tex-vspace.
9007 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9008 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9009 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9010 Use cal-tex-arg.
9011
9012 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9013 (cal-tex-cursor-week, cal-tex-cursor-week2)
9014 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9015 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9016 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9017 (cal-tex-insert-preamble, cal-tex-b-document)
9018 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9019 Improve cal-tex-cmd usage.
9020
9021 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9022 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9023 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9024 (cal-tex-weekly-paper): New function.
9025 (cal-tex-cursor-week, cal-tex-cursor-week2)
9026 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9027 (cal-tex-cursor-day): Use it.
9028
9029 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9030 (cal-tex-cursor-filofax-week): Remove leading blank page.
9031
9032 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9033 Add autoload cookie. For now at least, don't use color, since
9034 no other cal-tex function does.
9035
9036 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9037 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9038 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9039
9040 2012-08-21 Juri Linkov <juri@jurta.org>
9041
9042 * info.el (Info-file-attributes): New variable.
9043 (info-insert-file-contents): Add file attributes to
9044 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9045 `Info-toc-nodes' when previous modtime of the Info file is less
9046 than new modtime.
9047 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9048 of info.el. (Bug#12230)
9049
9050 2012-08-20 Glenn Morris <rgm@gnu.org>
9051
9052 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9053 * calendar/holidays.el (calendar-holiday-list):
9054 Report errors with display-warning rather than beep'n'sleep.
9055
9056 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9057
9058 * net/tramp.el (tramp-accept-process-output): Accept only output
9059 from PROC. Otherwise, process filters and sentinels might be
9060 confused. (Bug#12145)
9061
9062 2012-08-20 Chong Yidong <cyd@gnu.org>
9063
9064 * descr-text.el (describe-text-properties-1): Use overlays-in to
9065 report on empty overlays (Bug#3322).
9066
9067 2012-08-20 Glenn Morris <rgm@gnu.org>
9068
9069 * mail/rmailout.el (rmail-output-read-file-name):
9070 Trap and report errors in rmail-output-file-alist elements.
9071
9072 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9073 since most non-font-lock faces are not also variables).
9074
9075 2012-08-20 Edward Reingold <reingold@iit.edu>
9076
9077 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9078 New function. (Bug12160)
9079
9080 2012-08-19 Glenn Morris <rgm@gnu.org>
9081
9082 * mail/rmailout.el (rmail-output-read-file-name):
9083 Fix previous change (when the alist is nil or does not match).
9084
9085 2012-08-19 Chong Yidong <cyd@gnu.org>
9086
9087 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9088 (Bug#12228).
9089
9090 2012-08-18 Chong Yidong <cyd@gnu.org>
9091
9092 * simple.el (yank-handled-properties): New defcustom.
9093 (yank-excluded-properties): Add font-lock-face and category.
9094 (yank): Doc fix.
9095
9096 * subr.el (remove-yank-excluded-properties):
9097 Obey yank-handled-properties. The special handling of font-lock-face
9098 and category is now done this way, instead of being hard-coded.
9099 (insert-for-yank-1): Remove font-lock-face handling.
9100 (yank-handle-font-lock-face-property)
9101 (yank-handle-category-property): New function.
9102
9103 2012-08-17 Glenn Morris <rgm@gnu.org>
9104
9105 * mail/rmailout.el (rmail-output-read-file-name):
9106 Check rmail-output-file-alist against the full message body
9107 in the correct rmail buffer. (Bug#12214)
9108
9109 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9110
9111 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9112 Eliminate superfluous prompt. (Bug#12203)
9113
9114 2012-08-17 Chong Yidong <cyd@gnu.org>
9115
9116 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9117 font spec, set the font directly (Bug#3228).
9118
9119 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9120
9121 * window.el (delete-window): Fix last fix.
9122
9123 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9124
9125 * window.el (window-valid-p): Move to window.c.
9126 (window-child, window-child-count, window-last-child)
9127 (window-normalize-window, window-combined-p)
9128 (window-combinations, window-atom-root, window-min-size)
9129 (window-sizable, window-sizable-p, window-size-fixed-p)
9130 (window-min-delta, window-max-delta, window--resizable)
9131 (window--resizable-p, window-resizable, window-total-size)
9132 (window-full-height-p, window-full-width-p, window-body-size)
9133 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9134 (minimize-window, window-deletable-p, delete-window)
9135 (delete-other-windows, set-window-buffer-start-and-point)
9136 (next-buffer, previous-buffer, split-window, balance-windows-2)
9137 (set-window-text-height, window-buffer-height)
9138 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9139 (truncated-partial-width-window-p): Minor code adjustments.
9140 In doc-strings state whether the argument window has to denote a
9141 live, valid or any window.
9142
9143 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9144
9145 * progmodes/subword.el (subword-forward-function)
9146 (subword-backward-function, subword-forward-regexp)
9147 (subword-backward-regexp): New variables.
9148 (subword-forward, subword-forward-internal, subword-backward-internal):
9149 Use new variables, eg so that different "word" definitions
9150 can be easily used. (Bug#11411)
9151
9152 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9155 for composite selectors.
9156 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9157 operation just because we can't find a previous revision.
9158
9159 2012-08-15 Chong Yidong <cyd@gnu.org>
9160
9161 * frame.el (set-frame-font): Accept font objects.
9162
9163 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9166
9167 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9168
9169 * man.el (Man-overstrike-face, Man-underline-face)
9170 (Man-reverse-face): Remove variables.
9171 (Man-overstrike, Man-underline, Man-reverse): New faces.
9172 (Man-fontify-manpage): Use them instead of the variables.
9173 (Man-cleanup-manpage): Comment change.
9174 (Man-ansi-color-map): New variable.
9175 (Man-fontify-manpage): Use it.
9176 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9177
9178 Implement ANSI SGR parameters 22-27 (bug#12146).
9179 * ansi-color.el (ansi-colors): Doc fix.
9180 (ansi-color-context, ansi-color-context-region): Doc fix.
9181 (ansi-color--find-face): New function.
9182 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9183 Rename the local variable `face' to `codes' since it is now a list of
9184 ansi codes. Doc fix.
9185 (ansi-color-get-face): Remove.
9186 (ansi-color-parse-sequence): New function, derived from
9187 ansi-color-get-face.
9188 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9189 codes 22-27.
9190
9191 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9192
9193 * subr.el (read-passwd): Allow use from a minibuffer.
9194
9195 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9196
9197 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9198 inside comments and strings as identifiers.
9199
9200 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9201 expression to evaluate. This allows to evaluate expressions with
9202 embedded whitespace.
9203 (gud-tooltip-tips): Add a blank before the newline in the
9204 message-box text, for the benefit of message-box emulation on
9205 MS-Windows.
9206
9207 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9208 messages from GDB, pop them up in a tooltip to give feedback to
9209 user.
9210 (gdb-tooltip-print-1): Quote the expression to evaluate.
9211 This allows to evaluate expressions with embedded whitespace.
9212 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9213 if the TTY name is nil or empty (which happens when communicating
9214 with the inferior via pipes, e.g. on MS-Windows).
9215 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9216 don't send that to the GUD buffer.
9217
9218 2012-08-14 Glenn Morris <rgm@gnu.org>
9219
9220 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9221 Optimize away setq-default with no args, as for setq. (Bug#12195)
9222
9223 2012-08-14 Chong Yidong <cyd@gnu.org>
9224
9225 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9226
9227 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9228 (Bug#12085).
9229
9230 2012-08-14 Glenn Morris <rgm@gnu.org>
9231
9232 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9233
9234 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9235
9236 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9237 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9238 Use cached shell name.
9239
9240 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9241
9242 * progmodes/python.el (python-shell-send-string):
9243 (python-shell-send-setup-code): Do not use `format' with `message'.
9244
9245 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9246
9247 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9248 (ruby-percent-literal-beg-re): New constant.
9249 (ruby-syntax-general-delimiters-goto-beg): Rename to
9250 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9251 (ruby-syntax-propertize-general-delimiters): Rename to
9252 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9253 popular term. Adjust comments everywhere.
9254 (ruby-syntax-propertize-percent-literal): Only propertize when not
9255 inside a simple string or comment. When the literal is unclosed,
9256 leave the text after it unpropertized.
9257 (ruby-syntax-methods-before-regexp): New constant.
9258 (ruby-syntax-propertize-function): Use it to recognize regexps.
9259 Don't look at the text after regexp, just use the whitelist.
9260
9261 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9262
9263 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9264 non-nil always load the compiled file if it exists. (Bug#12197)
9265
9266 2012-08-14 Chong Yidong <cyd@gnu.org>
9267
9268 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9269 (hi-lock-set-pattern): When deciding whether to use font lock or
9270 overlays, look at font-lock-mode instead of font-lock-fontified
9271 (Bug#12168).
9272 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9273 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9274
9275 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9276
9277 * subr.el (internal--after-with-selected-window): Fix typo
9278 (Bug#12193).
9279
9280 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9281
9282 Use `completion-table-dynamic' for completion functions.
9283 * progmodes/python.el
9284 (python-shell-completion--do-completion-at-point)
9285 (python-shell-completion--get-completions):
9286 Remove functions.
9287 (python-shell-completion-complete-at-point): New function.
9288 (python-completion-complete-at-point): Use it.
9289
9290 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9291
9292 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9293 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9294
9295 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9296
9297 * subr.el (function-get): Refine `autoload' arg so it can also
9298 autoload functions for gv.el (bug#12191).
9299 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9300 autoloads macros.
9301
9302 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9303 Prefer pcase-let over destructuring-bind.
9304 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9305 Also, remove whitespace as we go, rather than after accumulating the
9306 various places.
9307
9308 * subr.el (internal--before-with-selected-window)
9309 (internal--after-with-selected-window): Fix typo seleted->selected.
9310 (with-selected-window): Adjust callers.
9311 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9312
9313 2012-08-13 Bastien Guerry <bzg@gnu.org>
9314
9315 * window.el (special-display-popup-frame): Minor docstring
9316 enhancement. (Bug#12172)
9317
9318 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9319
9320 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9321 type 1-6.
9322 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9323 extended headers.
9324
9325 * files.el (hack-local-variables-filter): Remove useless eval.
9326
9327 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9328
9329 * subr.el (with-selected-window): Fix last change.
9330
9331 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * subr.el (internal--before-with-seleted-window)
9334 (internal--after-with-seleted-window): New functions.
9335 (with-selected-window): Use them, to replace dependency on
9336 tty-top-frame.
9337
9338 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9339
9340 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9341 binding for `newline'.
9342 (ruby-move-to-block): When moving backward, stop at block opening,
9343 not indentation.
9344 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9345 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9346 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9347 `ruby-toggle-block'.
9348
9349 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * ibuffer.el (ibuffer-do-toggle-read-only):
9352 * dired.el (dired-toggle-read-only):
9353 * buff-menu.el (Buffer-menu-toggle-read-only):
9354 * bindings.el (mode-line-toggle-read-only):
9355 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9356
9357 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9358
9359 * descr-text.el (describe-char): Put the overlays over the
9360 "displayed as" character.
9361
9362 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9363
9364 * calc/calc-units.el (math-default-units-table): Give an
9365 initial value.
9366 (math-put-default-units): Add options to put composite units and
9367 unit systems in the default units table.
9368 (calc-convert-units): Send composite units to
9369 `math-put-default-units' when appropriate.
9370
9371 2012-08-11 Glenn Morris <rgm@gnu.org>
9372
9373 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9374
9375 * tutorial.el (help-with-tutorial):
9376 * emacs-lisp/copyright.el (copyright-update-directory):
9377 * emacs-lisp/autoload.el (autoload-find-generated-file)
9378 (autoload-find-file): Disable local eval: (for insurance).
9379
9380 * files.el (hack-local-variables-filter): If an eval: form is not
9381 known to be safe, and enable-local-variables is :safe, then ignore
9382 the form totally, as is done for non-eval forms. (Bug#12155)
9383 This is CVE-2012-3479.
9384
9385 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9388 (rx-form): Simplify.
9389
9390 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9391
9392 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9393 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9394 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9395 (ruby-syntax-propertize-function): Adjust for changes in
9396 `ruby-syntax-propertize-heredoc'.
9397
9398 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9399
9400 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9401 binding (use `M-;' instead).
9402 (ruby-singleton-class-p): New function.
9403 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9404
9405 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9408
9409 2012-08-10 Chong Yidong <cyd@gnu.org>
9410
9411 * progmodes/python.el (python-shell-get-process-name): Don't mess
9412 with same-window-buffer-names.
9413
9414 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9415 (eshell-remove-from-window-buffer-names): Make obsolete.
9416 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9417 (eshell): Just use pop-to-buffer-same-window instead.
9418
9419 2012-08-10 Chong Yidong <cyd@gnu.org>
9420
9421 * bindings.el: Bind M-= back to count-words-region.
9422
9423 * simple.el (count-words-region): Accept a prefix arg for acting
9424 on the entire buffer.
9425 (count-words--buffer-message): New helper function.
9426
9427 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9430 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9431 (event-start, event-end): Use posn-at-point to return a more
9432 informative posn.
9433 (posnp): New function.
9434 * mouse.el (popup-menu-normalize-position): Use it.
9435
9436 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9437
9438 * mouse.el (popup-menu-normalize-position): New function.
9439 (popup-menu): Use `popup-menu-normalize-position' to normalize
9440 the form for POSITION argument.
9441
9442 * term/x-win.el (x-menu-bar-open):
9443 Use the value returend from (posn-at-point) as position
9444 passed to `popup-menu'.
9445
9446 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9447
9448 * calc/calccomp.el (math-compose-expr): Add extra argument
9449 indicating that parentheses should be put around products in
9450 denominators. Give multiplication precedence over division during
9451 composition.
9452
9453 2012-08-09 Chong Yidong <cyd@gnu.org>
9454
9455 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9456 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9457 (Man-untabify-command, manual-program): Convert to defcustom
9458 (Bug#10429).
9459
9460 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9461
9462 * descr-text.el (describe-char): Don't insert extra newlines
9463 (Bug#10127).
9464
9465 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9466 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9467
9468 * align.el (align-region): Delete temporary markers (Bug#10047).
9469 Plus some code cleanups.
9470
9471 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9472
9473 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9474 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9475 (python-shell-internal-last-output): Use make-local-variable
9476 instead of make-variable-buffer-local.
9477
9478 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9479
9480 * progmodes/python.el: Enhancements to forward-sexp.
9481 (python-nav-forward-sexp): Rename from
9482 python-nav-forward-sexp-function.
9483 (python-nav--forward-sexp, python-nav--backward-sexp):
9484 New functions.
9485
9486 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9487
9488 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9489 modes and simplification modes.
9490
9491 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9492
9493 * delsel.el (delete-selection-pre-hook): Don't propagate the
9494 file-supersession signals (bug#12161).
9495
9496 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9499 (cl-map-extents): Add compatibility aliases (bug#12135).
9500
9501 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9502
9503 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9504 tests by `ignore-error'.
9505 (tramp-find-shell): Open also a new shell, when cache is already
9506 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9507
9508 2012-08-08 Juri Linkov <juri@jurta.org>
9509
9510 * bookmark.el: Add `defaults' property to the bookmark record.
9511 (bookmark-current-buffer): Doc fix.
9512 (bookmark-make-record): Add `defaults' property with default values
9513 to the bookmark record.
9514 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9515 with `bookmark-insert-current-bookmark'.
9516 (bookmark-set): Get `defaults' property from the bookmark record
9517 and use it in `read-from-minibuffer'.
9518 (bookmark-insert-current-bookmark): Remove function.
9519
9520 * info.el (Info-bookmark-make-record): Add `defaults' property
9521 with values of canonical Info node name, the current Info file
9522 name and the current Info node name. (Bug#12107)
9523
9524 2012-08-08 Juri Linkov <juri@jurta.org>
9525
9526 * files.el (basic-save-buffer): Use `buffer-name' as the default
9527 of `read-file-name' when buffer is not visiting a file (bug#12128).
9528
9529 2012-08-08 Juri Linkov <juri@jurta.org>
9530
9531 * info.el (Info-isearch-search): Doc fix.
9532 (Info-search): Change search-failed message from "initial node" to
9533 "end of node" (bug#12078).
9534 (Info-isearch-search): Change `isearch-string-state' to
9535 `isearch--state-string'.
9536
9537 2012-08-08 Glenn Morris <rgm@gnu.org>
9538
9539 * language/persian.el: Remove file.
9540 * language/misc-lang.el: Move unique part of persian.el here.
9541 * loadup.el: Remove language/persian.
9542
9543 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9544
9545 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9546
9547 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9548
9549 * progmodes/python.el: Fix defsubst warning.
9550 (python-syntax-context) Rename from python-info-ppss-context.
9551 (python-syntax-context-type): Rename from
9552 python-info-ppss-context-type.
9553 (python-syntax-comment-or-string-p): Rename from
9554 python-info-ppss-comment-or-string-p.
9555
9556 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9557
9558 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9559
9560 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9561
9562 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9563 a defcustom that is quoted with backquote.
9564
9565 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9566 Fix handling of interactive spec when the body uses return.
9567 (math-do-arg-check, math-define-function-body): Use backquote forms.
9568 * calc/calc-ext.el (math-defcache): Likewise.
9569 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9570 * allout.el (allout-new-exposure): Likewise.
9571 * calc/calcalg2.el (math-tracing-integral): Likewise.
9572 * info.el (Info-last-menu-item): Likewise.
9573 * emulation/vip.el (vip-loop): Likewise.
9574 * textmodes/artist.el (artist-funcall): Likewise.
9575 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9576 Construct menu-item directly.
9577
9578 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9579 Don't declare.
9580
9581 2012-08-07 Chong Yidong <cyd@gnu.org>
9582
9583 * simple.el (deactivate-mark): Preserve text properties when
9584 saving the primary selection (Bug#8384).
9585
9586 2012-08-07 Kevin Ryde <user42@zip.com.au>
9587
9588 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9589 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9590 and continue processing (Bug#12110).
9591
9592 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9595 syntax-propertize-function (bug#10095).
9596
9597 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9600 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9601 describe-function-1.
9602 (describe-function-1): Use them. Move compiler macro after sig.
9603 (help-fns--compiler-macro): Use function-get. Assume we're already in
9604 standard-output. Adjust layout to new call order.
9605
9606 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9607 re-binding a symbol that has a symbol-macro (bug#12119).
9608
9609 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9610
9611 * language/persian.el: New file. (Bug#11812)
9612 * loadup.el: Add language/persian.el.
9613
9614 2012-08-06 Chong Yidong <cyd@gnu.org>
9615
9616 * window.el (window--maybe-raise-frame): New function.
9617 (window--display-buffer): Split off from here.
9618 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9619 (display-buffer-pop-up-window, display-buffer-use-some-window):
9620 Obey an inhibit-switch-frame action alist entry.
9621 (display-buffer): Update doc.
9622
9623 * replace.el (occur-after-change-function): Avoid losing focus by
9624 using the inhibit-switch-frame display parameter (Bug#12139).
9625
9626 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9627
9628 Make internal shell process buffer names start with space.
9629 * progmodes/python.el (python-shell-make-comint): Add optional
9630 argument INTERNAL.
9631 (run-python-internal): Use it.
9632 (python-shell-internal-get-or-create-process): Check for new
9633 internal buffer names.
9634
9635 2012-08-06 Glenn Morris <rgm@gnu.org>
9636
9637 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9638 Do less getting and setting of environment variables.
9639
9640 2012-08-05 Chong Yidong <cyd@gnu.org>
9641
9642 * proced.el (proced): Add substitution string to docstring to
9643 trigger autoloading of the proced library on C-h f (Bug#1768).
9644
9645 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9646 Don't show defvars which have no second argument (Bug#8638).
9647
9648 * imenu.el (imenu-generic-expression): Move documentation here
9649 from imenu--generic-function.
9650 (imenu--generic-function): Refer to imenu-generic-expression.
9651
9652 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9653
9654 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9655 indentation declaration.
9656 (viper-loop): Add indentation declaration (Bug#7025).
9657
9658 2012-08-05 Chong Yidong <cyd@gnu.org>
9659
9660 * help-fns.el (describe-variable): Add hyperlink for
9661 directory-local variables files. Improve buffer-local and
9662 permanent-local reporting; suggested by MON KEY (Bug#6644).
9663
9664 * help-mode.el (help-dir-local-var-def): New button type.
9665
9666 * files.el (kill-buffer-hook): Provide a defvar.
9667
9668 2012-08-05 Glenn Morris <rgm@gnu.org>
9669
9670 * eshell/esh-ext.el (eshell/addpath):
9671 Also update eshell-path-env. (Bug#12013)
9672
9673 2012-08-05 Chong Yidong <cyd@gnu.org>
9674
9675 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9676
9677 * fringe.el (fringe-styles): Add docstring.
9678 (fringe--check-mode): New function.
9679 (set-fringe-mode, set-fringe-style): Use it.
9680 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9681
9682 * files.el (set-auto-mode): Fix invalid setq call.
9683
9684 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9685
9686 * isearch.el: Misc simplification; use defstruct.
9687 (isearch-mode-map): Dense maps now work like sparse ones.
9688 (isearch--state): New defstruct.
9689 (isearch-string-state, isearch-message-state, isearch-point-state)
9690 (isearch-success-state, isearch-forward-state)
9691 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9692 (isearch-wrapped-state, isearch-barrier-state)
9693 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9694 replaced by defstruct's accessors.
9695 (isearch--set-state): Rename from isearch-top-state and change
9696 calling convention.
9697 (isearch-push-state): Use new isearch--get-state.
9698 (isearch-toggle-word): Disable regexp when enabling word.
9699 (isearch-message-prefix): Remove unused arg _c-q-hack.
9700 (isearch-message-suffix): Remove unused arg _ellipsis.
9701
9702 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9703
9704 * simple.el (list-processes--refresh): For a server use :host or
9705 :local as the address.
9706 (list-processes): Doc fix.
9707
9708 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9709
9710 * lisp/mpc.el: Support password in host argument.
9711 (mpc--proc-connect): Parse and use new password element.
9712 Set mpc-proc variable instead of returning process.
9713 (mpc-proc): Adjust accordingly.
9714
9715 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9716
9717 * whitespace.el (whitespace-display-mappings): Use Unicode
9718 codepoints, instead of emacs-mule codepoints. See
9719 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9720 for the details.
9721
9722 * files.el (file-truename): Don't skip symlink-chasing part on
9723 windows-nt. Incorporate the resolution of 8+3 short aliases on
9724 Windows into the loop that recursively chases symlinks.
9725 Compare directory and its parent case-insensitively on MS-Windows and
9726 MS-DOS.
9727
9728 2012-08-03 Chong Yidong <cyd@gnu.org>
9729
9730 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9731
9732 * sort.el (sort-regexp-fields): Doc fix.
9733
9734 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9735
9736 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9737 labels regex position point at the expected place.
9738
9739 2012-08-03 MON KEY <monkey@sandpframing.com>
9740
9741 * net/imap.el (imap-interactive-login, imap-authenticate)
9742 (imap-mailbox-lsub, imap-mailbox-list)
9743 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9744 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9745 (imap-parse-response): Doc fix.
9746
9747 2012-08-03 João Távora <joaotavora@gmail.com>
9748
9749 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9750 if sexp scanning does not move point (Bug#5734).
9751
9752 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9753
9754 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9755 Add listings, minted, and ctable packages.
9756 (reftex-label-alist-builtin): Move listings, minted, and ctable
9757 entries before LaTeX.
9758 (reftex-label-alist): Docfix.
9759
9760 2012-08-02 Bastien Guerry <bzg@gnu.org>
9761
9762 * replace.el (occur): Fix docstring (bug#12122).
9763
9764 2012-08-02 Glenn Morris <rgm@gnu.org>
9765
9766 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9767
9768 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9769
9770 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9771 * international/mule-cmds.el: Create
9772 inactivate-current-input-method-function as an obsolete alias for
9773 deactivate-current-input-method-function. See Katsumi Yamaoka in
9774 <http://bugs.gnu.org/10150#46>.
9775
9776 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9777
9778 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9779 of nested `if's.
9780
9781 2012-08-01 Glenn Morris <rgm@gnu.org>
9782
9783 * progmodes/autoconf.el (autoconf-definition-regexp):
9784 Add AH_TEMPLATE, adjust submatch numbering.
9785 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9786 (autoconf-current-defun-function): Update for above change.
9787 (autoconf-current-defun-function): First skip to end of current word.
9788
9789 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9790
9791 * calendar/cal-html.el (cal-html-insert-agenda-days):
9792 Fix typo. (Bug#12018)
9793
9794 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9795
9796 Shell processes: enhancements to startup and CEDET compatibility.
9797 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9798 (python-shell-make-comint): accept-process-output at startup.
9799 (run-python-internal): Set inferior-python-mode-hook to nil.
9800 (python-shell-internal-get-or-create-process): call sit-for.
9801 (python-preoutput-result): Add obsolete alias.
9802 (python-shell-internal-send-string): Use it.
9803 (python-shell-send-setup-code): Remove call to
9804 accept-process-output.
9805
9806 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9807
9808 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9809 (Bug#12108)
9810
9811 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9812
9813 * calc-mode.el (calc-basic-simplification-mode): Rename from
9814 `calc-limited-simplification-mode'.
9815 (calc-alg-simplification-mode): New function.
9816 (calc-set-simplify-mode): Adjust message.
9817
9818 * calc.el (calc-set-mode-line): Adjust mode line display for
9819 basic simplification mode.
9820
9821 * calc-help.el (calc-m-prefix-help): Update help message.
9822
9823 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9824 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9825
9826 2012-07-31 Bastien Guerry <bzg@gnu.org>
9827
9828 * man.el (man): Fix comment. (bug#12101)
9829
9830 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9831
9832 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9833 Don't return a non-nil value when no suitable buffer was found.
9834
9835 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9836
9837 * progmodes/python.el (run-python-internal): Disable font lock for
9838 internal shells.
9839
9840 2012-07-30 Stefan Merten <smerten@oekonux.de>
9841
9842 * textmodes/rst.el: Silence `checkdoc-ispell'.
9843 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9844 (rst-official-version, rst-official-cvs-rev)
9845 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9846 (rst-mode-map): New key binding.
9847
9848 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9849
9850 Update .PHONY listings in makefiles.
9851 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9852 autoloads, update-subdirs, updates, bzr-update, update-authors,
9853 compile-onefile, compile-calc, backup-compiled-files,
9854 compile-after-backup, compile-one-process, mh-autoloads,
9855 bootstrap-clean, distclean, maintainer-clean.
9856
9857 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9858
9859 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9860 (calc-set-mode-line): Don't display "AlgSimp ".
9861
9862 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9863 (calc-lim-simplify-mode): New function.
9864 (calc-set-simplify-mode): Default to 'alg.
9865 (calc-default-simplify-mode): Make algebraic simplifications
9866 the default.
9867
9868 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9869 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9870
9871 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9872 indicate new simplification modes.
9873
9874 * calc/README: Mention new default simplification mode.
9875
9876 * calc/calc.el (math-normalize-error): New variable.
9877 (math-normalize): Set `math-normalize-error' to t
9878 when there's an error.
9879
9880 * calc/calc-alg.el (math-simplify): Don't simplify when
9881 `math-normalize' returns an error.
9882
9883 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9884
9885 * international/mule-cmds.el (set-locale-environment): Revert last
9886 change, since display-graphic-p returns nil when this function is
9887 called during startup. Instead...
9888
9889 * term/w32console.el (terminal-init-w32console): ...setup the
9890 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9891
9892 2012-07-29 Juri Linkov <juri@jurta.org>
9893
9894 * simple.el (goto-line): Don't display default line number in the
9895 prompt because it should be displayed by `read-number' (bug#9952).
9896 Add the current line number to the defaults of `goto-line' to
9897 allow its easier modification by users with `M-n' (bug#9201).
9898
9899 * subr.el (read-number): Support multiple default values like in
9900 other minibuffer reading functions. Replace `read' with
9901 `string-to-number' for consistency with `number-to-string'.
9902
9903 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9904
9905 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9906 * emulation/viper-init.el (viper-deactivate-input-method-action):
9907 Rename from viper-inactivate-input-method-action.
9908 (viper-deactivate-input-method):
9909 Rename from viper-inactivate-input-method.
9910 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9911 * international/mule-cmds.el (deactivate-input-method):
9912 Rename from inactivate-input-method.
9913 Also run input-method-deactivate-hook.
9914 (deactivate-current-input-method-function):
9915 Rename from inactivate-current-input-method-function.
9916 (input-method-deactivate-hook): New hook.
9917 (input-method-inactivate-hook): Mark obsolete.
9918 (inactivate-input-method): Mark obsolete.
9919
9920 * international/quail.el (quail-activate):
9921 Also run quail-deactivate-hook.
9922 (quail-deactivate): Rename from quail-inactivate.
9923 * international/robin.el (robin-activate):
9924 Also run robin-deactivate-hook.
9925 (robin-deactivate): Rename from robin-inactivate.
9926
9927 2012-07-29 Chong Yidong <cyd@gnu.org>
9928
9929 * simple.el (indicate-copied-region): New function.
9930 (kill-ring-save): Split off from here.
9931
9932 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9933 (kill-rectangle): Set deactivate-mark to t on read-only error.
9934
9935 * register.el (copy-to-register, copy-rectangle-to-register):
9936 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9937 (append-to-register, prepend-to-register): Call indicate-copied-region.
9938
9939 2012-07-29 Juri Linkov <juri@jurta.org>
9940
9941 * simple.el (async-shell-command-buffer): New defcustom.
9942 (shell-command): Use it. (Bug#4719)
9943
9944 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9945
9946 * international/mule-cmds.el (set-locale-environment): In a
9947 console session on MS-Windows, set up keyboard and terminal
9948 encoding from the OEM codepage, not the ANSI codepage.
9949 (Bug#12055)
9950
9951 2012-07-28 Chong Yidong <cyd@gnu.org>
9952
9953 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9954 gdb-get-location.
9955
9956 2012-07-28 Leo Liu <sdl.web@gmail.com>
9957
9958 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9959 the alist (bug#12029).
9960
9961 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9962
9963 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9964 (compile-always, compile-first)
9965 ($(lisp)/calendar/cal-loaddefs.el)
9966 ($(lisp)/calendar/diary-loaddefs.el)
9967 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9968 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9969 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9970 instead of on update-subdirs.
9971 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9972
9973 2012-07-28 Chong Yidong <cyd@gnu.org>
9974
9975 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9976 directory if vc-deduce-backend returns nil (Bug#7350).
9977
9978 * simple.el (delete-trailing-lines): New option.
9979 (delete-trailing-whitespace): Obey it (Bug#11879).
9980
9981 2012-07-28 David Engster <deng@randomsample.de>
9982
9983 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9984 Explanation of new 'symbol-qnames feature in doc-strings.
9985 (xml-maybe-do-ns): Return expanded names as plain symbols if
9986 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9987 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9988
9989 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9990
9991 Consistent completion in inferior python with emacs -nw.
9992 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9993 binding in inferior-python-mode-map with "\t".
9994 (python-shell-completion-complete-at-point)
9995 (python-completion-complete-at-point): Remove interactive spec.
9996
9997 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9998
9999 * calc/calccomp.el (math-compose-expr): Undo previous change.
10000
10001 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10002
10003 * progmodes/python.el (python-mode-map): Add keybinding for
10004 run-python.
10005 (python-shell-make-comint): Fix pop-to-buffer call.
10006 (run-python): Autoload. New arg SHOW.
10007 (python-shell-get-or-create-process): Do not pop python process
10008 buffer.
10009
10010 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10011
10012 * notifications.el (notifications-on-action-signal)
10013 (notifications-on-closed-signal): Use also the bus address for the map.
10014 (notifications-notify, notifications-close-notification)
10015 (notifications-get-capabilities): Add optional argument BUS.
10016
10017 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10018
10019 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10020 Add support for the lstlisting and minted environments, and for the
10021 ctable macro.
10022 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10023 labels written in keyvals syntax.
10024
10025 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10026
10027 * calc/calccomp.el (math-compose-expr): Use parentheses when
10028 there is a product in the denominator of a fraction.
10029
10030 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10031
10032 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10033 ($(lisp)/calendar/diary-loaddefs.el)
10034 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10035 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10036 Fixes failures in parallel bootstrap because subdirs.el is being
10037 rewritten while the autoload files are built at the same time,
10038 which needs to load subdirs.el.
10039
10040 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10041
10042 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10043 (mouse-drag-line): Don't exit tracking when a switch-frame or
10044 switch-window event occurs (Bug#12006).
10045
10046 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10047
10048 * mouse.el (popup-menu): Fix last change.
10049
10050 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10051
10052 Autoload from Lisp with more care. Follow aliases when looking for
10053 function properties.
10054 * subr.el (autoloadp): New function.
10055 (symbol-file): Use it.
10056 (function-get): New function.
10057 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10058 autoload-do-load.
10059 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10060 (lisp-indent-function):
10061 * emacs-lisp/gv.el (gv-get):
10062 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10063 * emacs-lisp/byte-opt.el (byte-optimize-form):
10064 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10065 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10066 Use function-get.
10067 * emacs-lisp/cl.el: Don't propagate function properties any more.
10068
10069 * speedbar.el (speedbar-add-localized-speedbar-support):
10070 * emacs-lisp/disass.el (disassemble-internal):
10071 * desktop.el (desktop-load-file):
10072 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10073 (describe-function-1):
10074 * emacs-lisp/find-func.el (find-function-noselect):
10075 * emacs-lisp/elp.el (elp-instrument-function):
10076 * emacs-lisp/advice.el (ad-has-proper-definition):
10077 * apropos.el (apropos-safe-documentation, apropos-macrop):
10078 * emacs-lisp/debug.el (debug-on-entry):
10079 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10080 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10081 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10082
10083 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10084
10085 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10086 function, not an obsolete variable (Bug#12046).
10087
10088 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10089
10090 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10091
10092 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10093
10094 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10095 window only if it is still live (Bug#12034).
10096
10097 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10098
10099 * subr.el (redirect-frame-focus): Add advertised calling
10100 convention (Bug#12030).
10101
10102 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10103
10104 Prefer typical American spelling for "acknowledgment".
10105 * vc/add-log.el (change-log-acknowledgment): Rename from
10106 change-log-acknowledgement, with an alias for the old name.
10107
10108 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10109
10110 * calc-alg.el (math-simplify-divide): Don't cross multiply
10111 in an equation when the lhs is a variable.
10112
10113 2012-07-24 Julien Danjou <julien@danjou.info>
10114
10115 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10116 Remove, unused.
10117
10118 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10119
10120 * startup.el (command-line): Don't display an empty user name in
10121 the error message about non-existent home directory, when
10122 init-file-user was set to an empty string. See
10123 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10124 for the details and context.
10125
10126 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10127
10128 * ses.el (ses-cell-formula-aset): New macro.
10129 (ses-cell-references-aset): New macro.
10130 (ses-cell-p): New function.
10131 (ses-rename-cell): Do no longer rely on complex operations like
10132 ses-cell-set-formula or ses-set-cell to change the cell and handle
10133 the undo at the same time, but rather use lower level new macros
10134 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10135 the undo directly. Refresh the mode line.
10136
10137 2012-07-21 Leo Liu <sdl.web@gmail.com>
10138
10139 * progmodes/cc-cmds.el (c-defun-name):
10140 Use match-string-no-properties instead for consistency.
10141
10142 2012-07-20 Leo Liu <sdl.web@gmail.com>
10143
10144 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10145 (Bug#7879)
10146
10147 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10148
10149 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10150
10151 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10152 * progmodes/bug-reference.el, misearch.el: Provide themselves
10153 (bug#11915).
10154
10155 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10156 of narrowed buffer (bug#11966).
10157
10158 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10159
10160 * ses.el (ses-rename-cell): Set new name also in reference list of
10161 cells of which the renamed cell depends.
10162
10163 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10164
10165 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10166 to check whether menu-bar is shown or not. If not shown,
10167 show the menu-bar as a popup menu instead of using tmm.
10168 * mouse.el (popup-menu): Accept `point' as `position' argument.
10169
10170 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10171
10172 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10173 up inside string symbol literal (bug#11923).
10174
10175 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10176
10177 * startup.el (fancy-startup-text): Read the whole tutorial, not
10178 just its first 256 bytes. Prevents gibberish in display of the
10179 tutorial title.
10180
10181 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10182
10183 Drop idle buffer compaction due to an absence of the
10184 proved efficiency.
10185 * compact.el: Remove.
10186
10187 2012-07-19 Sam Steingold <sds@gnu.org>
10188
10189 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10190 vc-bzr-pull & vc-bzr-merge-branch.
10191 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10192 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10193 for consistency with compilation-error-regexp-alist.
10194 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10195 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10196 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10197 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10198
10199 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * emacs-lisp/chart.el: Use lexical-binding.
10202 (chart-emacs-storage): Don't hardcode the list of entries.
10203
10204 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10205
10206 Next round of tweaks caused by Fgarbage_collect changes.
10207 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10208
10209 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10210
10211 Compact buffers when idle.
10212 * compact.el: New file.
10213
10214 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10215
10216 * subr.el (eventp): Presume that if it looks vaguely like an event,
10217 it's an event (bug#10190).
10218
10219 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10220
10221 Enhancements to ppss related code (thanks Stefan).
10222 * progmodes/python.el (python-indent-context)
10223 (python-indent-calculate-indentation, python-indent-dedent-line)
10224 (python-indent-electric-colon, python-nav-forward-block)
10225 (python-mode-abbrev-table)
10226 (python-info-assignment-continuation-line-p): Simplify checks
10227 for ppss context.
10228 (python-info-continuation-line-p): Cleanup.
10229 (python-info-ppss-context): Do not catch 'quote.
10230 (python-info-ppss-context-type)
10231 (python-info-ppss-comment-or-string-p): Simplify.
10232
10233 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10234
10235 * progmodes/python.el: Enhancements to eldoc support.
10236 (python-info-current-symbol): New function.
10237 (python-eldoc-at-point): Use python-info-current-symbol.
10238 (python-info-current-defun): Fix cornercase on first defun scan.
10239 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10240 and signal error when no inferior python process is available.
10241
10242 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10243
10244 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10245 assume it's always t.
10246 (vc-git-registered): Remove caching, the function is only called
10247 once.
10248 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10249
10250 2012-07-18 Chong Yidong <cyd@gnu.org>
10251
10252 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10253
10254 * simple.el (count-words): Report on narrowing (Bug#9959).
10255
10256 * bindings.el: Bind M-= to count-words.
10257
10258 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10259
10260 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10261
10262 * progmodes/sh-script.el (sh-imenu-generic-expression):
10263 Capture a function with `function' keyword and without parentheses
10264 like "function FOO" (bug#11856).
10265
10266 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10267
10268 * window.el (split-window-sensibly): Make WINDOW argument
10269 optional.
10270
10271 2012-07-18 Chong Yidong <cyd@gnu.org>
10272
10273 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10274
10275 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10276 and make C-x 8 RET exit isearch (Bug#11439).
10277
10278 * international/iso-transl.el: Move isearch-mode-map key
10279 definitions to isearch.el.
10280
10281 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10282
10283 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10284 (eieio-defclass): Use gv-define-setter when possible.
10285
10286 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10287
10288 Reflect recent changes in Fgarbage_collect.
10289 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10290 reflect new format of data returned by Fgarbage_collect.
10291
10292 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10293
10294 New utility functions + python-info-ppss-context fix (Bug#11910).
10295 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10296 (python-info-ppss-comment-or-string-p): New functions.
10297 (python-info-ppss-context): Small fix for string check.
10298
10299 2012-07-17 Juri Linkov <juri@jurta.org>
10300
10301 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10302 (dired-do-async-shell-command): Don't add `*' at the end of the
10303 command (Bug#11815).
10304 (dired-do-shell-command): Doc fix.
10305 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10306 Join the individual commands using either "&" or ";" as the
10307 separator depending on the values of these trailing characters.
10308 At the end re-add the trailing "&". (Bug#10598)
10309
10310 * simple.el (async-shell-command): Sync the interactive spec with
10311 `shell-command'. Doc fix.
10312 (shell-command): Doc fix.
10313
10314 2012-07-17 Juri Linkov <juri@jurta.org>
10315
10316 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10317
10318 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10319
10320 Final renames and doc fixes for movement commands (bug#11899).
10321 * progmodes/python.el (python-nav-beginning-of-statement):
10322 Rename from python-nav-statement-start.
10323 (python-nav-end-of-statement): Rename from
10324 python-nav-statement-end.
10325 (python-nav-beginning-of-block): Rename from
10326 python-nav-block-start.
10327 (python-nav-end-of-block): Rename from python-nav-block-end.
10328
10329 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10330
10331 * progmodes/python.el (python-shell-send-string-no-output):
10332 Allow accept-process-output to quit, keeping shell process ready for
10333 future interactions (Bug#11868).
10334
10335 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10336
10337 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10338
10339 * emacs-lisp/elint.el (elint-find-args-in-code):
10340 Use help-function-arglist, so as to handle lexical byte-code.
10341
10342 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10343 change (bug#11826).
10344
10345 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10348 Avoid spuriously marking the buffer as modified because of c-is-sws.
10349
10350 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10351 as not-a-comment (bug#11946).
10352
10353 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10354 for uninterned vars.
10355
10356 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10357 Use read-event since we don't really want to read chars but bytes.
10358
10359 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10360 $$..$$ but also $..$ using regexps (bug#11953).
10361 Use tex-verbatim for \url and \path.
10362 (tex-font-lock-keywords): Define as defconst like the others.
10363 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10364
10365 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10366
10367 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10368 alias for insert-char.
10369
10370 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10371
10372 * progmodes/python.el: Simplified imenu implementation.
10373 (python-nav-jump-to-defun): Remove command.
10374 (python-mode-map): Use `imenu' instead.
10375 (python-nav-list-defun-positions-cache)
10376 (python-imenu-include-defun-type, python-imenu-make-tree)
10377 (python-imenu-subtree-root-label, python-imenu-index-alist):
10378 Remove vars.
10379 (python-nav-list-defun-positions, python-nav-read-defun)
10380 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10381 (python-imenu-make-tree, python-imenu-create-index):
10382 Remove functions.
10383 (python-mode): Update to interact with imenu by setting
10384 `imenu-extract-index-name-function' only.
10385
10386 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10387
10388 * progmodes/python.el: Enhancements to navigation commands.
10389 (python-nav-backward-sentence)
10390 (python-nav-forward-sentence): Remove.
10391 (python-nav-backward-statement, python-nav-forward-statement)
10392 (python-nav-statement-start, python-nav-statement-end)
10393 (python-nav-backward-block, python-nav-forward-block)
10394 (python-nav-block-start, python-nav-block-end)
10395 (python-nav-forward-sexp-function)
10396 (python-info-current-line-comment-p)
10397 (python-info-current-line-empty-p): New functions.
10398 (python-indent-context): Use `python-nav-statement-start'.
10399
10400 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10401
10402 * eshell/em-ls.el (eshell/ls): Use `apply'.
10403
10404 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10405 multi-hops, instead of Tramp internals.
10406
10407 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10408
10409 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10410 when F1 and F2 are located on different hosts.
10411
10412 2012-07-14 Chong Yidong <cyd@gnu.org>
10413
10414 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10415 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10416 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10417 (xterm-mouse--read-event-sequence-1000)
10418 (xterm-mouse--read-event-sequence-1006): New functions. For old
10419 mouse protocol, handle M-mouse-X events correctly.
10420 (xterm-mouse-event): New arg specifying mouse protocol.
10421 (turn-on-xterm-mouse-tracking-on-terminal)
10422 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10423 sequence to toggle extended coordinates on newer XTerms.
10424 This appears to be harmless on terminals which do not support this.
10425
10426 2012-07-14 Leo Liu <sdl.web@gmail.com>
10427
10428 Add fringe bitmap indicators for flymake. (Bug#11253)
10429 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10430 (flymake-make-overlay): New arg BITMAP.
10431 (flymake-error-bitmap, flymake-warning-bitmap)
10432 (flymake-fringe-indicator-position): New user variables.
10433
10434 * fringe.el: New bitmap exclamation-mark.
10435
10436 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10437
10438 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10439 also (Bug#7879).
10440
10441 2012-07-14 Chong Yidong <cyd@gnu.org>
10442
10443 * electric.el (electric-pair-post-self-insert-function): Fix pair
10444 insertion in empty-region case (Bug#11520).
10445
10446 2012-07-14 Chong Yidong <cyd@gnu.org>
10447
10448 * bindings.el: Consolidate ctl-x-r-map bindings.
10449 Bind copy-rectangle-as-kill to C-x r w.
10450
10451 * rect.el, register.el: Move bindings to bindings.el.
10452
10453 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10454
10455 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10456
10457 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10458
10459 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10460
10461 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10462
10463 * bindings.el (top): Use `mapc' instead of `mapcar'.
10464
10465 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10466
10467 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10468
10469 * progmodes/sql.el (sql-comint): Suppress the check for program on
10470 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10471 (Bug#11908)
10472
10473 2012-07-13 Chong Yidong <cyd@gnu.org>
10474
10475 * bindings.el: Assign a non-nil permanent-local property to
10476 per-buffer variables which lack a default value (Bug#11930).
10477
10478 * help-fns.el (describe-variable): In the "automatically becomes
10479 local" notice, take note of permanent-local variables.
10480
10481 2012-07-13 Chong Yidong <cyd@gnu.org>
10482
10483 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10484 to allow printing the message when called from Lisp.
10485
10486 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10487 Remove toggle-read-only.
10488
10489 * bs.el (bs-toggle-readonly):
10490 * buff-menu.el (Buffer-menu-toggle-read-only):
10491 Remove with-no-warnings around toggle-read-only.
10492
10493 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10494 Remove with-no-warnings around toggle-read-only.
10495 (ffap-read-only, ffap-read-only-other-window)
10496 (ffap-read-only-other-frame): Callers changed.
10497
10498 * help-mode.el: Don't require view package.
10499 (help-mode-finish): Set buffer-read-only instead of calling
10500 toggle-read-only.
10501
10502 * bindings.el (mode-line-toggle-read-only):
10503 * dired.el (dired-toggle-read-only):
10504 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10505 with non-nil second arg.
10506
10507 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10508 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10509 directly.
10510
10511 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10512
10513 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10514 not incf.
10515
10516 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10517
10518 More CL cleanups and reduction of use of cl.el.
10519 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10520 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10521 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10522 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10523 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10524 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10525 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10526 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10527 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10528 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10529 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10530 * eshell/em-cmpl.el, eshell/em-banner.el:
10531 * calendar/parse-time.el: Use cl-lib.
10532 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10533 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10534 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10535 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10536 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10537 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10538 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10539 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10540 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10541 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10542 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10543 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10544 `lambda' rather than with `quote'.
10545 (eshell-do-opt): Adjust accordingly.
10546 (eshell-process-option): Simplify.
10547 * eshell/esh-var.el:
10548 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10549 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10550 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10551 to `pcase--dontcare'.
10552 * emacs-lisp/cl.el (labels): Mark obsolete.
10553 (cl--letf, letf): Move to cl-lib.
10554 (cl--letf*, letf*): Remove.
10555 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10556 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10557 (cl-progv): Rewrite.
10558 (cl--letf, cl-letf): Move from cl.el.
10559 (cl-letf*): New macro.
10560 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10561
10562 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10563
10564 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10565
10566 2012-07-11 Chong Yidong <cyd@gnu.org>
10567
10568 * vc/log-edit.el (log-edit-vc-backend): New variable.
10569 (log-edit): Doc fix.
10570
10571 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10572 argument of log-edit to set up all local variables.
10573 (vc-start-logentry): New optional arg specifying VC backend.
10574
10575 * vc/vc.el (vc-checkin): Use it.
10576 (vc-deduce-fileset): Handle Log Edit buffers.
10577 (vc-diff): Make first argument optional too.
10578
10579 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10580
10581 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10582
10583 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10584 command, just in case. The function is not needed anymore.
10585 (eshell-external-command): Do not call `eshell-remote-command'.
10586
10587 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10588
10589 Reduce use of (require 'cl).
10590 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10591 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10592 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10593 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10594 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10595 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10596 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10597 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10598 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10599 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10600 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10601 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10602 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10603 (byte-compile-unfold-bcf, byte-compile-check-variable):
10604 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10605 (byte-compile-nilconstp):
10606 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10607 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10608
10609 * emacs-lisp/gv.el (cond): Make it a valid place.
10610 (if): Simplify slightly.
10611
10612 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10613 (pcase--self-quoting-p): New function.
10614 (pcase--u1): Use it.
10615
10616 2012-07-10 Glenn Morris <rgm@gnu.org>
10617
10618 * emacs-lisp/authors.el (authors-fixed-entries):
10619 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10620
10621 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10622
10623 Rename configure.in to configure.ac (Bug#11603).
10624 * emacs-lisp/authors.el (authors-canonical-file-name):
10625 * progmodes/autoconf.el (autoconf-mode):
10626 Prefer configure.ac to configure.in.
10627
10628 2012-07-08 Chong Yidong <cyd@gnu.org>
10629
10630 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10631 Implement the mouse-1-click-follows-link handling properly.
10632
10633 * info.el (Info-link-keymap): Use follow-link mechanism for
10634 header-line links (Bug#374).
10635
10636 * simple.el (deactivate-mark): Do not set the primary selection
10637 if another program has acquired it (Bug#11772).
10638
10639 2012-07-07 Kevin Ryde <user42@zip.com.au>
10640
10641 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10642 (woman-decode-region): Replace escaped-escapes without destroying
10643 bold or underline (Bug#11552).
10644 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10645
10646 2012-07-07 Chong Yidong <cyd@gnu.org>
10647
10648 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10649 (interprogram-cut-function, interprogram-paste-function):
10650 Mention that we typically mean the clipboard.
10651
10652 2012-07-06 Glenn Morris <rgm@gnu.org>
10653
10654 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10655
10656 * files.el (toggle-read-only): Restrict message to interactive use.
10657
10658 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10659
10660 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10661
10662 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10663
10664 2012-07-06 Glenn Morris <rgm@gnu.org>
10665
10666 * Makefile.in (compile-one-process): Rename from "recompile".
10667
10668 * Makefile.in (bzr-update): "compile" is the same as "recompile
10669 autoloads", but parallelizable, so use that instead.
10670
10671 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10672
10673 * window.el (quit-window): Always restore window height when
10674 it's saved in quit-restore parameter (Bug#11810).
10675
10676 2012-07-06 Glenn Morris <rgm@gnu.org>
10677
10678 * simple.el (kill-whole-line): Doc tweak.
10679
10680 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10681
10682 * files.el (file-relative-name): Compare file names
10683 case-insensitively if on MS-Windows or MS-DOS, or if
10684 read-file-name-completion-ignore-case is non-nil. Don't use
10685 case-fold-search for this purpose. (Bug#11827)
10686
10687 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10688
10689 * calendar/cal-dst.el (calendar-current-time-zone):
10690 Return calendar-current-time-zone-cache if non-nil.
10691
10692 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10693 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10694
10695 * calendar/cal-dst.el (calendar-current-time-zone):
10696 Return calendar-current-time-zone-cache if non-nil.
10697
10698 2012-07-06 Glenn Morris <rgm@gnu.org>
10699
10700 * Makefile.in (cvs-update): Remove old alias.
10701
10702 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10703
10704 Sync with Tramp 2.2.6-pre.
10705
10706 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10707 compatible declaration.
10708
10709 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10710 Protect `list-load-path-shadows' call.
10711
10712 * net/tramp-compat.el (top): Require packages, which aren't
10713 autoloaded anymore for XEmacs. Protect call of
10714 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10715 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10716 it hurts at least for SXEmacs.
10717 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10718 standard-value for `temporary-file-directory'.
10719
10720 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10721 Redirect stderr to /dev/null.
10722 (tramp-sh-handle-write-region): uid and gid can be floats.
10723 Reported by Russell Sim <russell.sim@gmail.com>.
10724 (tramp-sh-handle-vc-registered): Hide errors.
10725 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10726 and `start-file-process'.
10727 (tramp-maybe-open-connection): Check also whether `non-essential'
10728 is bound.
10729
10730 2012-07-04 Chong Yidong <cyd@gnu.org>
10731
10732 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10733 (xml-parse-tag): Likewise, and avoid changing entity tables.
10734 (xml-syntax-table): Define from scratch, making sure not to give
10735 x2000 and other Unicode spaces whitespace syntax, since those are
10736 not spaces in XML.
10737 (xml-parse-fragment): Delete unused function.
10738 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10739 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10740 (xml-entity-ref, xml-pe-reference-re)
10741 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10742 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10743 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10744 (xml-entity-value-re): Use syntax references in regexps where
10745 possible; no need to define inside a let-binding.
10746 (xml-parse-dtd): Use xml-pe-reference-re.
10747 (xml-entity-or-char-ref-re): New defconst.
10748 (xml-parse-string, xml-substitute-special): Use it.
10749
10750 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10753 (find-file--read-only): New function.
10754 (find-file-read-only, find-file-read-only-other-window)
10755 (find-file-read-only-other-frame): Use it.
10756 (insert-file-contents-literally): Don't `fset'.
10757 (get-free-disk-space): Use locate-dominating-file.
10758
10759 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10760 function is already compiled.
10761
10762 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10763
10764 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10765
10766 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10767 files on the same host.
10768
10769 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10770
10771 * help-fns.el (describe-function-1): Only call
10772 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10773
10774 2012-07-03 Chong Yidong <cyd@gnu.org>
10775
10776 * xml.el: Protect parser against XML bombs.
10777 (xml-entity-expansion-limit): New variable.
10778 (xml-parse-string, xml-substitute-special): Use it.
10779 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10780
10781 2012-07-03 Glenn Morris <rgm@gnu.org>
10782
10783 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10784 Allow linking to specific messages in debbugs reports (eg 123#5).
10785
10786 2012-07-02 Chong Yidong <cyd@gnu.org>
10787
10788 * xml.el: Fix entity and character reference expansion, allowing
10789 them to expand into markup as per XML spec.
10790 (xml-default-ns): New variable.
10791 (xml-entity-alist): Use XML spec definitions for lt and amp.
10792 (xml-parse-region): Make first two arguments optional.
10793 Discard text properties.
10794 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10795 All callers changed.
10796 (xml-parse-tag): Call xml-parse-tag-1. For backward
10797 compatibility, this function should not modify buffer contents.
10798 (xml-parse-tag-1): Fix opening-tag regexp.
10799 (xml-parse-string): Rewrite, handling entity and character
10800 references properly.
10801 (xml--entity-replacement-text): Signal an error if a parameter
10802 entity is undefined.
10803
10804 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10805
10806 * comint.el (comint-output-filter): Filter out repeated prompts.
10807
10808 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10809 and file-name-absolute-p.
10810 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10811 internal calls.
10812
10813 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10814
10815 Spelling fixes.
10816 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10817 Rename from byte-compile--refiy-function. All uses changed.
10818
10819 2012-07-01 Chong Yidong <cyd@gnu.org>
10820
10821 * xml.el (xml--parse-buffer): New function. Move most of
10822 xml-parse-region here.
10823 (xml-parse-region): Copy region into a temporary buffer, since
10824 parameter entity substitution requires changing buffer contents.
10825 Use xml--parse-buffer.
10826 (xml-parse-file): Use xml--parse-buffer.
10827 (xml-parse-dtd): Make parameter entity substitution work right.
10828 Use proper regexps for ELEMENT declarations (Bug#7172).
10829
10830 2012-06-30 Glenn Morris <rgm@gnu.org>
10831
10832 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10833
10834 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10835 Remove outdated and unnecessary dbus declarations.
10836
10837 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10838
10839 * emacs-lisp/timer.el (timer-until): Subtract results of
10840 float-time, instead of taking float-time of the result of
10841 time-subtract, since float-time signals an error for negative time
10842 arguments.
10843
10844 2012-06-30 Chong Yidong <cyd@gnu.org>
10845
10846 * xml.el (xml-*-re): Convert defvars into defconsts, and
10847 eval-and-compile them so eval-and-compile works on derivatives.
10848 (xml--entity-replacement-text): Use eval-and-comple.
10849
10850 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10851
10852 * vc/vc-git.el (vc-git-registered): Use cache property
10853 `git-registered'.
10854 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10855 `vc-git-working-revision' in order to benefit from the cache.
10856 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10857
10858 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10859
10860 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10861 removed (likely outside Emacs). (Bug#11757)
10862
10863 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * emacs-lisp/cl-lib.el: Require macroexp.
10866
10867 2012-06-30 Chong Yidong <cyd@gnu.org>
10868
10869 * xml.el: Implement XML parameter entities.
10870 (xml-parameter-entity-alist): New variable.
10871 (xml-parse-region, xml-parse-fragment): Preserve previous values
10872 of xml-entity-alist and xml-parameter-entity-alist, so that
10873 repeated calls on different documents do not change them.
10874 (xml-parse-tag): Fix doctype regexp.
10875 (xml--entity-replacement-text): New function.
10876 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10877 properly requires url retrieval which is unimplemented.
10878 (xml-escape-string): Doc fix.
10879
10880 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10883
10884 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10885
10886 * fringe.el (fringe-mode): Doc fix.
10887
10888 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10889
10890 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10891 is non-nil.
10892 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10893 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10894
10895 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10896
10897 * calendar/cal-dst.el (calendar-current-time-zone):
10898 Return calendar-current-time-zone-cache if non-nil.
10899
10900 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10901
10902 * progmodes/which-func.el (which-func-format):
10903 Add mouse-face. (Bug#11698)
10904
10905 2012-06-29 Leo Liu <sdl.web@gmail.com>
10906
10907 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10908
10909 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * minibuffer.el (minibuffer-confirm-exit-commands):
10912 Add completion-at-point (bug#11725).
10913
10914 2012-06-29 Glenn Morris <rgm@gnu.org>
10915
10916 * progmodes/f90.el (f90-font-lock-keywords-2):
10917 Add some preprocessor elements. (Bug#10499)
10918
10919 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10920
10921 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10922 Use syntax-propertize (bug#11739).
10923
10924 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10925
10926 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10927
10928 2012-06-28 Julien Danjou <julien@danjou.info>
10929
10930 * term.el (term-handle-colors-array): Use a set of new faces to
10931 color the terminal. Also uses :inverse-video property.
10932 (term-default-fg-color): Set to nil by default, deprecate in favor
10933 of `term-face'.
10934 (term-default-bg-color): Set to nil by default, deprecate in favor
10935 of `term-face'.
10936 (term-current-face): Use `term-face' by default.
10937 (term-bold-attribute): Variable deleted.
10938
10939 2012-06-28 Glenn Morris <rgm@gnu.org>
10940
10941 * simple.el (completion-list-mode-finish):
10942 Don't use toggle-read-only. (Since completion-list-mode has
10943 a special mode-class, it wasn't doing anything extra anyway.)
10944
10945 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10946
10947 Make inlining of other-mode interpreted functions work (bug#11799).
10948 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10949 (byte-compile): Use it to fix compilation of lexical-binding closures.
10950 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10951 function, if needed.
10952
10953 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * help-mode.el (help-make-xrefs): Don't just withstand
10956 cyclic-variable-indirection but any error in documentation-property.
10957
10958 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10959 memory use.
10960 * bindings.el (bindings--define-key): New function.
10961 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10962 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10963 * bindings.el: Use it to purecopy define-key bindings.
10964
10965 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10966
10967 * emacs-lisp/cl.el (flet): Mark obsolete.
10968 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10969 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10970 * progmodes/js.el (js-c-fill-paragraph):
10971 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10972 (ebrowse-switch-member-buffer-to-derived-class):
10973 * play/5x5.el (5x5-solver): Use cl-flet.
10974
10975 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10976 (cl--symbol-function): New macro.
10977 (cl--letf, cl--letf*): Use it.
10978
10979 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10980 Strip "toggle-" if any.
10981
10982 2012-06-27 Glenn Morris <rgm@gnu.org>
10983
10984 * info.el (Info-default-directory-list): Move here from paths.el.
10985 * paths.el: Remove file, which is now empty.
10986 * loadup.el: No longer load "paths".
10987
10988 * custom.el (custom-initialize-delay): Doc fix.
10989
10990 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10991 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10992 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10993 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10994 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10995 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10996 * eshell/eshell.el (eshell-defgroup): Remove alias.
10997
10998 2012-06-27 Chong Yidong <cyd@gnu.org>
10999
11000 * help.el (help-enable-auto-load): New variable.
11001
11002 * help-fns.el (help-fns--autoloaded-p): New function.
11003 (describe-function-1): Refer to a function as "autoloaded" if it
11004 was autoloaded at any time in the past. Perform autoloading if
11005 help-enable-auto-load is non-nil.
11006
11007 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11008
11009 * makefile.w32-in (compile, compile-always): Depend on
11010 update-subdirs, not on subdirs.el. Otherwise, several different
11011 sub-targets of 'bootstrap' running in parallel could
11012 simultaneously write to subdirs.el, producing a garbled file.
11013
11014 2012-06-26 Sam Steingold <sds@gnu.org>
11015
11016 * files.el (file-name-base): New convenience function.
11017 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11018 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11019 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11020 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11021 * textmodes/ispell.el, textmodes/reftex-ref.el:
11022 * textmodes/tex-mode.el: Use it.
11023 Did not touch cedet and org because they are maintained elsewhere.
11024
11025 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11026
11027 * calendar/calendar.el (calendar-exit): Don't try to delete or
11028 iconify last frame. See:
11029 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11030
11031 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11032
11033 * server.el (server-process-filter): Remember dir in the
11034 process's `server-client-directory' properties.
11035
11036 2012-06-24 Chong Yidong <cyd@gnu.org>
11037
11038 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11039 non-tag text.
11040
11041 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11042
11043 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11044
11045 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * help-fns.el (describe-variable): Don't croak when doc is not found.
11048 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11049 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11050 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11051 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11052 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11053 ((lambda ..) ..).
11054 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11055
11056 2012-06-23 Chong Yidong <cyd@gnu.org>
11057
11058 * info.el (Info-mouse-follow-link): Accept symbol values of
11059 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11060 (Info-fontify-node): Use Info-link-keymap for all navigation
11061 buttons, with link-args property to perform the desired action.
11062 (Info-link-keymap): Doc fix.
11063 (Info-next-link-keymap, Info-prev-link-keymap)
11064 (Info-up-link-keymap): Delete now-unused keymaps.
11065
11066 2012-06-23 Chong Yidong <cyd@gnu.org>
11067
11068 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11069
11070 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11071 system abbrevs.
11072
11073 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11074
11075 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11076
11077 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11078 (bug#11719).
11079
11080 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11081 the requote function doesn't work properly (bug#11714).
11082
11083 2012-06-23 Glenn Morris <rgm@gnu.org>
11084
11085 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11086
11087 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11088
11089 Further GV/CL cleanups.
11090 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11091 gv-expander.
11092 (gv--defun-declaration): New function.
11093 (defun-declarations-alist): Use it.
11094 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11095 (gv-place): Autoload.
11096 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11097 original definition of dotimes and dolist.
11098 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11099 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11100 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11101 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11102 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11103 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11104 to the function's definition.
11105 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11106 * window.el:
11107 * files.el:
11108 * faces.el:
11109 * env.el: Don't use CL.
11110
11111 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11112
11113 Support higher-resolution time stamps (Bug#9000).
11114
11115 * calendar/time-date.el (with-decoded-time-value): New arg
11116 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11117 (encode-time-value): New optional arg PICO. New type 3.
11118 (time-to-seconds) [!float-time]: Support the new picoseconds
11119 component if it's used.
11120 (seconds-to-time, time-subtract, time-add):
11121 Support ps-resolution time stamps as well.
11122
11123 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11124 (timerp): Timer vectors now have length 9, not 8.
11125 (timer--time): Support new-style (4-part) time stamps.
11126 (timer-next-integral-multiple-of-time): Time stamps now have
11127 picosecond resolution, so take a bit more care about rounding.
11128 (timer-relative-time, timer-inc-time): New optional arg psecs.
11129 (timer-set-time-with-usecs): Set psecs to 0.
11130 (timer--activate): Check psecs component, too.
11131
11132 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11133
11134 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11137 Move the non-essential binding to the post/pre-command-hook where it is
11138 more obviously correct.
11139
11140 * subr.el (read-passwd): Don't use a history at all.
11141 * savehist.el (savehist-save): Remove password saved accidentally
11142 because of the above bug.
11143
11144 2012-06-22 Bastien Guerry <bzg@gnu.org>
11145
11146 * files.el (toggle-read-only): Display a message telling whether
11147 the buffer is read-only or not (bug#11726).
11148
11149 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11150
11151 * emacs-lisp/gv.el: New file.
11152 * subr.el (push, pop): Extend to generalized variables.
11153 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11154 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11155 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11156 gv-define-simple-setter, and gv-define-expander.
11157 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11158 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11159 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11160 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11161 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11162 gv-letplace.
11163 (cl-defstruct): Don't define setf-method any more.
11164 * emacs-lisp/cl.el (flet): Don't autoload.
11165 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11166 (define-setf-expander, defsetf, define-modify-macro)
11167 (cl-struct-setf-expander): Move from cl-lib.el.
11168 * emacs-lisp/syntax.el:
11169 * emacs-lisp/ewoc.el:
11170 * emacs-lisp/smie.el:
11171 * emacs-lisp/cconv.el:
11172 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11173 (timer--time): Use gv-define-simple-setter.
11174 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11175 to avoid coding-system problems in subr.el. Adjust all users.
11176 (macroexp--maxsize, macroexp-small-p): New functions.
11177 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11178 * scroll-bar.el (scroll-bar-mode):
11179 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11180 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11181 * winner.el (winner-configuration, winner-make-point-alist)
11182 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11183 * files.el (locate-file-completion-table): Avoid list*.
11184
11185 2012-06-22 Chong Yidong <cyd@gnu.org>
11186
11187 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11188 (dired-create-files): Doc fix (Bug#11329).
11189 (dired-do-copy): Doc fix (Bug#11334).
11190 (dired-mark-read-string): Doc fix (Bug#11553).
11191
11192 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11193 Doc fix (Bug#11326).
11194 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11195 (dired-dwim-target): Doc fix.
11196
11197 * wdired.el (wdired-mode): Doc fix.
11198
11199 2012-06-22 Glenn Morris <rgm@gnu.org>
11200
11201 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11202 (pcmpl-rpm-cache-stamp-file): New constant.
11203 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11204 (pcmpl-rpm-packages): Optionally cache list of packages.
11205
11206 * pcmpl-rpm.el (pcmpl-rpm): New group.
11207 (pcmpl-rpm-query-options): New option.
11208 (pcmpl-rpm-packages): No need to inline it.
11209 Use pcmpl-rpm-query-options.
11210
11211 * calendar/calendar.el (calendar-in-read-only-buffer):
11212 Avoid some needless mode changes.
11213
11214 2012-06-21 Chong Yidong <cyd@gnu.org>
11215
11216 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11217 (desktop-path): Remove . from the default value (Bug#10977).
11218 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11219
11220 2012-06-20 Chong Yidong <cyd@gnu.org>
11221
11222 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11223
11224 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11225
11226 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11227 (bug#11201).
11228
11229 2012-06-20 Chong Yidong <cyd@gnu.org>
11230
11231 * term.el (term-window-width): Handle the case of a missing right
11232 fringe (Bug#8837).
11233 (term-check-size): Use window-text-height (Bug#5445).
11234 (term-mode): Use define-derived-mode. Minor cleanups.
11235 Set font-lock-defaults (Bug#7692).
11236 (term-move-columns, term-insert-char, term-emulate-terminal)
11237 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11238
11239 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11240
11241 * net/ange-ftp.el (ange-ftp-get-passwd):
11242 Bind `enable-recursive-minibuffers'.
11243 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11244
11245 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11246
11247 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11248
11249 2012-06-19 Glenn Morris <rgm@gnu.org>
11250
11251 * progmodes/python.el (python-mode): Derive from prog-mode.
11252
11253 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11254
11255 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11256 (edt-user-menu-bar-update-buffers): New functions.
11257 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11258
11259 2012-06-19 Chong Yidong <cyd@gnu.org>
11260
11261 * subr.el (with-selected-window): Preserve the selected window's
11262 terminal's top-frame (Bug#4702).
11263
11264 * window.el (save-selected-window): Likewise.
11265
11266 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 * progmodes/python.el (python-rx-constituents): Move backquote.
11269 (python-skeleton-define, python-define-auxiliary-skeleton):
11270 Use `declare'.
11271
11272 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11273
11274 * minibuffer.el (read-file-name-default): Revert the patch from
11275 2012-06-17.
11276
11277 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11278
11279 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11280 (pcase--u1, pcase--q1): Don't use apply-partially.
11281
11282 2012-06-18 Glenn Morris <rgm@gnu.org>
11283
11284 * progmodes/python.el (python-proc, python-buffer)
11285 (python-send-receive, python-send-string): Fix obsolete versions.
11286
11287 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11288
11289 * window.el (special-display-p): Completely remove stringp
11290 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11291
11292 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11293
11294 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11295
11296 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11297
11298 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11299 * net/tramp-sh.el (tramp-maybe-open-connection):
11300 Throw if `non-essential' is non-nil.
11301
11302 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11303
11304 * window.el (special-display-p): Signal an error if BUFFER-NAME
11305 is not a string (Bug#11713).
11306
11307 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11308
11309 * progmodes/python.el (python-info-beginning-of-backslash):
11310 Rename from python-info-beginning-of-backlash, as a spelling fix.
11311
11312 2012-06-17 Chong Yidong <cyd@gnu.org>
11313
11314 * term.el (term-emulate-terminal): If term-check-size is called,
11315 move point to the process mark without resetting point (Bug#4635).
11316
11317 2012-06-17 Glenn Morris <rgm@gnu.org>
11318
11319 * international/mule-cmds.el (mule-menu-keymap)
11320 (set-language-environment, set-locale-environment): Doc tweaks.
11321
11322 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11323
11324 * cus-face.el (custom-face-attributes): Add wave-style underline
11325 attribute.
11326 * faces.el (set-face-attribute): Update docstring to describe
11327 wave-style underline attribute.
11328
11329 2012-06-16 Chong Yidong <cyd@gnu.org>
11330
11331 * term/xterm.el (terminal-init-xterm): Discard input before
11332 querying background mode (Bug#10959).
11333
11334 2012-06-16 Stefan Merten <smerten@oekonux.de>
11335
11336 * textmodes/rst.el: Added and corrected some comments.
11337 (rst-re-alist-def): Improve symbol syntax.
11338 (rst-mode-syntax-table): Correct syntax entries.
11339 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11340 (rst-official-version, rst-official-cvs-rev): Update version
11341 information.
11342
11343 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11344
11345 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11346 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11347
11348 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11349
11350 * progmodes/python.el: New python.el merge.
11351 (python-guess-indent): Obsolete var.
11352 (python-indent-guess-indent-offset): New defcustom.
11353 (python-indent): Obsolete var.
11354 (python-indent-offset): New defcustom.
11355 (python-python-command, python-jython-command): Delete var.
11356 (python-shell-interpreter): New defcustom.
11357 (python-pdbtrack-do-tracking-p): Delete var.
11358 (python-pdbtrack-activate): New defcustom.
11359 (python-use-skeletons): Obsolete var.
11360 (python-skeleton-autoinsert): New defcustom.
11361 (inferior-python-filter-regexp, python-continuation-offset)
11362 (python-honour-comment-indentation, python-indent-string-contents)
11363 (python-jython-packages, python-mode-hook)
11364 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11365 (python-shell-prompt-alist)
11366 (python-source-modes): Delete defcustoms.
11367 (python-check-buffer-name, python-eldoc-setup-code)
11368 (python-eldoc-string-code, python-ffap-setup-code)
11369 (python-ffap-string-code, python-fill-comment-function)
11370 (python-fill-decorator-function, python-fill-paren-function)
11371 (python-fill-string-function, python-imenu-include-defun-type)
11372 (python-imenu-make-tree, python-imenu-subtree-root-label)
11373 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11374 (python-shell-compilation-regexp-alist)
11375 (python-shell-completion-module-string-code)
11376 (python-shell-completion-pdb-string-code)
11377 (python-shell-completion-setup-code)
11378 (python-shell-completion-string-code)
11379 (python-shell-enable-font-lock, python-shell-exec-path)
11380 (python-shell-extra-pythonpaths)
11381 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11382 (python-shell-process-environment)
11383 (python-shell-prompt-block-regexp)
11384 (python-shell-prompt-output-regexp)
11385 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11386 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11387 (python-shell-virtualenv-path): New defcustoms.
11388 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11389 (inferior-python-mode-syntax-table, python--prompt-regexp)
11390 (python-buffer, python-command python-python-command)
11391 (python-default-template, python-imports, python-indent-index)
11392 (python-indent-list, python-indent-list-length)
11393 (python-mode-running, python-pdbtrack-is-tracking-p)
11394 (python-preoutput-continuation, python-preoutput-leftover)
11395 (python-preoutput-result, python-preoutput-skip-next-prompt)
11396 (python-prev-dir/file, python-recursing)
11397 (python-saved-check-command, python-version-checked)
11398 (python-which-func-length-limit)
11399 (view-return-to-alist): Delete vars.
11400 (python-check-custom-command, python-dotty-syntax-table)
11401 (python-imenu-index-alist, python-indent-current-level)
11402 (python-indent-dedenters, python-indent-levels)
11403 (python-nav-beginning-of-defun-regexp)
11404 (python-nav-list-defun-positions-cache)
11405 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11406 (python-shell-internal-buffer)
11407 (python-skeleton-available): New vars.
11408 (def-python-skeleton): Delete macro.
11409 (python-skeleton-define): New macro.
11410 (python-define-auxiliary-skeleton, python-rx): New macros.
11411 (python-insert-class): Delete command.
11412 (python-skeleton-class): New command.
11413 (python-insert-def): Delete command.
11414 (python-skeleton-def): New command.
11415 (python-insert-for): Delete command.
11416 (python-skeleton-for): New command.
11417 (python-insert-if): Delete command.
11418 (python-skeleton-if): New command.
11419 (python-insert-try/except, python-insert-try/finally): Delete commands.
11420 (python-skeleton-try): New command.
11421 (python-insert-while): Delete command.
11422 (python-skeleton-while): New command.
11423 (python-backspace): Delete command.
11424 (python-indent-dedent-line-backspace): New command.
11425 (python-electric-colon): Delete command.
11426 (python-indent-electric-colon): New command.
11427 (python-guess-indent): Delete command.
11428 (python-indent-guess-indent-offset): New command.
11429 (python-shift-left): Delete command.
11430 (python-indent-shift-left): New command.
11431 (python-shift-right): Delete command.
11432 (python-indent-shift-right): New command.
11433 (python-find-function): Delete command.
11434 (python-nav-jump-to-defun): New command.
11435 (python-next-statement): Delete command.
11436 (python-nav-forward-sentence): New command.
11437 (python-previous-statement): Delete command.
11438 (python-nav-backward-sentence): New command.
11439 (python-fill-paragraph): Delete command.
11440 (python-fill-paragraph-function): New command.
11441 (python-send-buffer): Delete command.
11442 (python-shell-send-buffer): New command.
11443 (python-send-defun): Delete command.
11444 (python-shell-send-defun): New command.
11445 (python-send-region, python-send-region-and-go): Delete commands.
11446 (python-shell-send-region)
11447 (python-shell-switch-to-shell): New commands.
11448 (python-send-string): Delete command.
11449 (python-shell-send-string): New command.
11450 (python-switch-to-python): Delete command.
11451 (python-shell-switch-to-shell): New command.
11452 (python-describe-symbol): Delete command.
11453 (python-eldoc-at-point): New command.
11454 (python--set-prompt-regexp, python-args-to-list)
11455 (python-after-info-look, python-check-version)
11456 (python-check-comint-prompt, python-find-imports)
11457 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11458 (python-unload-function, python-expand-template)
11459 (python-maybe-jython, python-preoutput-filter)
11460 (python-pdbtrack-get-source-buffer)
11461 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11462 (python-pdbtrack-toggle-stack-tracking)
11463 (python-pdbtrack-track-stack-file, python-initial-text)
11464 (python-first-word, python-comment-line-p, python-send-command)
11465 (python-setup-brm, python-sentinel, python-set-proc)
11466 (python-skip-out, python-input-filter, python-outdent-p)
11467 (python-outline-level, python-backslash-continuation-line-p)
11468 (python-end-of-block, python-end-of-statement, python-mark-block)
11469 (python-beginning-of-block, python-beginning-of-statement)
11470 (python-blank-line-p, python-beginning-of-string)
11471 (python-open-block-statement-p): Delete functions.
11472 (python-indent-line, python-indent-line-1): Delete functions.
11473 (python-indent-line): New function.
11474 (python-indentation-levels): Delete function.
11475 (python-indent-calculate-levels): New function.
11476 (python-proc): Delete function.
11477 (python-shell-get-process): New function.
11478 (python-send-receive): Delete function.
11479 (python-shell-send-string-no-output): New function.
11480 (python-module-path): Delete function.
11481 (python-ffap-module-path): New function.
11482 (python-completion-at-point)
11483 (python-symbol-completions): Delete functions.
11484 (python-completion-complete-at-point): New function.
11485 (python-load-file): Delete function.
11486 (python-shell-send-file): New function.
11487 (python-calculate-indentation): Delete function.
11488 (python-indent-calculate-indentation): New function.
11489 (python-skip-comments/blanks): Delete function.
11490 (python-util-forward-comment): New function.
11491 (python-continuation-line-p): Delete function.
11492 (python-info-continuation-line-p): New function.
11493 (python-which-func, python-current-defun): Delete function.
11494 (python-info-current-defun): New function.
11495 (python-beginning-of-defun): Delete function.
11496 (python-nav-beginning-of-defun): New function.
11497 (python-close-block-statement-p)
11498 (python-block-end-p): Delete function.
11499 (python-info-closing-block): New function.
11500 (python-comint-output-filter-function)
11501 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11502 (python-fill-comment, python-fill-decorator, python-fill-paren)
11503 (python-fill-string, python-imenu-make-element-tree)
11504 (python-imenu-make-tree, python-imenu-tree-assoc)
11505 (python-indent-context, python-indent-dedent-line)
11506 (python-indent-line-function)
11507 (python-indent-post-self-insert-function)
11508 (python-indent-toggle-levels)
11509 (python-info-assignment-continuation-line-p)
11510 (python-info-beginning-of-backlash)
11511 (python-info-block-continuation-line-p)
11512 (python-info-closing-block-message)
11513 (python-info-line-ends-backslash-p)
11514 (python-info-looking-at-beginning-of-defun)
11515 (python-info-ppss-context, python-info-ppss-context-type)
11516 (python-nav-list-defun-positions, python-nav-read-defun)
11517 (python-nav-sentence-end, python-nav-sentence-start)
11518 (python-pdbtrack-comint-output-filter-function)
11519 (python-pdbtrack-set-tracked-buffer)
11520 (python-shell-calculate-exec-path)
11521 (python-shell-calculate-process-environment)
11522 (python-shell-completion--do-completion-at-point)
11523 (python-shell-completion--get-completions)
11524 (python-shell-completion-complete-at-point)
11525 (python-shell-completion-complete-or-indent)
11526 (python-shell-get-or-create-process)
11527 (python-shell-get-process-name)
11528 (python-shell-internal-get-or-create-process)
11529 (python-shell-internal-get-process-name)
11530 (python-shell-internal-send-string, python-shell-make-comint)
11531 (python-shell-parse-command, python-shell-send-setup-code)
11532 (python-skeleton-add-menu-items)
11533 (python-util-clone-local-variables, python-util-position)
11534 (run-python-internal, python-indentation-levels)
11535 (python-nav-beginning-of-defun)
11536 (python-completion-complete-at-point): New functions.
11537 (run-python): Change arguments. New API requirements.
11538
11539 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11542 (bug#11649).
11543
11544 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11545 (macroexp--expand-all): Use it.
11546
11547 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11548 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11549 Use `cl-function' instead.
11550
11551 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11552
11553 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11554 Suggested by Stefan Monnier while discussing bug#11657.
11555
11556 2012-06-14 Sam Steingold <sds@gnu.org>
11557
11558 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11559
11560 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11561
11562 * play/doctor.el (doctor-doc): Remove parameter and use
11563 doctor-sent instead of sent.
11564 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11565
11566 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * files.el: Require cl-lib.
11569 (file-name-non-special): Replace case -> cl-case.
11570
11571 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11572
11573 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11574 mapping from #' to function*.
11575
11576 2012-06-13 Chong Yidong <cyd@gnu.org>
11577
11578 * mouse.el (mouse-drag-track): Do not set the mark if the user
11579 releases the mouse without selecting anything (Bug#11588).
11580
11581 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11584 as well (bug#11646).
11585
11586 * loadup.el: Count byte-code functions as well.
11587
11588 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11589 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11590
11591 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11592 (bug#11649). Add cl-defun and cl-defmacro.
11593
11594 2012-06-13 Drew Adams <drew.adams@oracle.com>
11595
11596 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11597 Fix last change.
11598
11599 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11600
11601 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11602 Otherwise, it blocks in batch mode.
11603
11604 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11605
11606 * help-mode.el (bookmark-make-record-default): Declare.
11607
11608 2012-06-13 Chong Yidong <cyd@gnu.org>
11609
11610 * emacs-lisp/package.el (list-packages): Compute a list of
11611 packages that are newly-available since the last list-packages
11612 invocation.
11613 (package-menu--new-package-list): New var.
11614 (package-menu--generate, package-menu--print-info)
11615 (package-menu--status-predicate, package-menu-mark-install):
11616 Handle new status label "new".
11617
11618 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11621 conversion to backquotes.
11622
11623 2012-06-12 Chong Yidong <cyd@gnu.org>
11624
11625 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11626 Rename from gud-inhibit-global-bindings.
11627
11628 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11629
11630 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11631 hook from nxml-glyph-set-hook.
11632
11633 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11634 declaration.
11635
11636 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11637
11638 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11639 Convert to defcustom.
11640
11641 2012-06-12 Drew Adams <drew.adams@oracle.com>
11642
11643 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11644 New functions.
11645 (help-mode): Use them.
11646
11647 2012-06-11 Glenn Morris <rgm@gnu.org>
11648
11649 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11650 Use preprocessor face for directives.
11651 (fortran-directive-re): Doc fix.
11652
11653 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11654
11655 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11656 conversion to backquotes (bug#11652).
11657
11658 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11659 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11660 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11661 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11662 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11663 (cl-ninth, cl-tenth): Mark them as inlinable.
11664 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11665 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11666 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11667 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11668 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11669 (cl-list*, cl-adjoin): Don't put an autoload manually.
11670 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11671 (cl--compiler-macro-list*): Add autoload cookie.
11672 (cl--compiler-macro-cXXr): New function.
11673
11674 * help-fns.el (help-fns--compiler-macro): New function extracted from
11675 describe-function-1; follow aliases and use `compiler-macro' property.
11676 (describe-function-1): Use it.
11677
11678 2012-06-11 Chong Yidong <cyd@gnu.org>
11679
11680 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11681 is uninstalled, if imagemagick is installed.
11682
11683 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * emacs-lisp/cl-lib.el: Use lexical-binding.
11686 (cl-map-extents, cl-maclisp-member): Remove.
11687 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11688 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11689 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11690 * emacs-lisp/cl-extra.el: Use lexical-binding.
11691 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11692 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11693 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11694 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11695 * emacs-lisp/cl-seq.el: Use lexical-binding.
11696 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11697 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11698 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11699 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11700 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11701 CL's internals.
11702
11703 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11704
11705 Sync with Tramp 2.2.6-pre.
11706
11707 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11708 `print-length' and `print-level' to nil, in order to avoid
11709 truncation. Reported by Christopher Schmidt
11710 <christopher@ristopher.com>.
11711
11712 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11713
11714 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11715 New defmacro.
11716 (tramp-compat-copy-directory): Add optional argument
11717 COPY-CONTENTS. It is not handled yet.
11718
11719 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11720 (tramp-ftp-file-name-p): Simplify.
11721
11722 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11723 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11724 connection vector.
11725
11726 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11727 (tramp-methods): Do not use `tramp-password-end-of-line'.
11728 (tramp-completion-function-alist-putty): Handle UNIX case.
11729 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11730 (tramp-do-file-attributes-with-stat)
11731 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11732 gid as real numbers. They could run out of integer range on cygwin.
11733 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11734 (tramp-sh-handle-expand-file-name): Handle hops.
11735 (tramp-open-connection-setup-interactive-shell):
11736 Use `tramp-cleanup'. Move check for busyboxes ...
11737 (tramp-find-shell): ... here. Simplify implementation.
11738 Set "remote-shell" property also for alternative shells.
11739 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11740 If failing, a regular file would be written otherwise.
11741 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11742 (tramp-find-inline-encoding): Cache the coding commands in the
11743 process cache. Apply test command on the remote side, if defined.
11744 (tramp-find-inline-compress): Cache the compress commands in the
11745 process cache.
11746 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11747 when requested. Handle hops.
11748 (tramp-current-connection): New defvar.
11749 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11750 Throw `suppress', if there was a failed connection shortly before.
11751 Handle user interrupt. (Bug#10187)
11752 (tramp-get-inline-compress, tramp-get-inline-coding):
11753 Read connection properties from the process cache.
11754
11755 * net/tramp-smb.el (tramp-smb-server-version)
11756 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11757 New defconsts.
11758 (tramp-smb-prompt): Extend for powershell prompt.
11759 (tramp-smb-file-name-handler-alist): Add handlers for
11760 `process-file', `shell-command' and `start-file-process'.
11761 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11762 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11763 (tramp-smb-file-name-p): Simplify.
11764 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11765 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11766 (tramp-smb-shell-quote-argument): New defuns.
11767 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11768 Implement using "tar". By this, time-stamps are preserved.
11769 (tramp-smb-handle-copy-file): Handle also the case of directories.
11770 (tramp-smb-do-file-attributes-with-stat)
11771 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11772 Use `tramp-get-connection-buffer').
11773 (tramp-smb-handle-rename-file): Use "rename", when source and
11774 target are on the same share.
11775 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11776 Use `tramp-smb-server-version'.
11777 (tramp-smb-wait-for-output): Remove prompt.
11778
11779 * net/tramp.el (top): Require 'cl.
11780 (tramp-methods, tramp-rsh-end-of-line):
11781 Remove `tramp-password-end-of-line' from docstring.
11782 (tramp-save-ad-hoc-proxies): New defcustom.
11783 (tramp-completion-function-alist): Adapt docstring.
11784 (tramp-default-password-end-of-line): Remove defcustom.
11785 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11786 (tramp-user-regexp, tramp-file-name-regexp-unified)
11787 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11788 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11789 (tramp-remote-file-name-spec-regexp): New defconst.
11790 (tramp-file-name-structure): Extend structure for hops.
11791 (tramp-get-method-parameter): Move up.
11792 (tramp-file-name-p, tramp-dissect-file-name)
11793 (with-parsed-tramp-file-name): Handle hops.
11794 (tramp-file-name-hop): New defun.
11795 (tramp-make-tramp-file-name): New optional arg HOP.
11796 (tramp-message-show-progress-reporter-message): New defvar.
11797 (tramp-with-progress-reporter): Use it. We cannot use
11798 `tramp-message-show-message' here, because this suppresses also
11799 error buffers.
11800 (tramp-error-with-buffer): Suppress buffer view, if
11801 `tramp-message-show-message' is nil.
11802 Use `tramp-get-connection-buffer'.
11803 (tramp-cleanup): New defun.
11804 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11805 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11806 an error unchanged.
11807 (tramp-completion-handle-file-name-all-completions): Handle hops.
11808 Fix an error when called from ido.
11809 (tramp-completion-dissect-file-name): Use better local variable
11810 name. Add hop to the vector.
11811 (tramp-handle-insert-file-contents): Use progress-reporter for the
11812 whole scenario.
11813 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11814 to `t'.
11815 (tramp-check-for-regexp): Simplify search.
11816 (tramp-enter-password): Remove it. Move implementation ...
11817 (tramp-action-password): ... here.
11818 (tramp-mode-string-to-int, tramp-local-host-p)
11819 (tramp-make-tramp-temp-file, tramp-read-passwd)
11820 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11821 Set tramp-autoload cookie.
11822
11823 * net/trampver.el: Update release number.
11824
11825 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11826 Michael Albinus <michael.albinus@gmx.de>
11827
11828 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11829 (tramp-parse-group, tramp-parse-file)
11830 (tramp-parse-shostkeys-sknownhosts): New defuns.
11831 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11832 (tramp-parse-shosts-group, tramp-parse-sconfig)
11833 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11834 (tramp-parse-sknownhosts, tramp-parse-hosts)
11835 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11836 Use them.
11837 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11838 (tramp-parse-putty-group): Don't narrow.
11839 (tramp-parse-putty): Make a loop.
11840 (tramp-file-name-handler): Catch the `suppress' signal.
11841
11842 2012-06-11 Chong Yidong <cyd@gnu.org>
11843
11844 * image.el (imagemagick-register-types): Put the ImageMagick entry
11845 at the end of image-type-file-name-regexps.
11846
11847 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11848
11849 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11850 (pcase, pcase-let*, pcase-dolist): Use them.
11851
11852 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * emacs-lisp/pcase.el (pcase--let*): New function.
11855 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11856 (pcase--expand): Use macroexp-let².
11857
11858 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11859
11860 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11861 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11862 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11863 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11864 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11865 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11866
11867 2012-06-10 Glenn Morris <rgm@gnu.org>
11868
11869 * mail/rmail.el (rmail-yank-current-message): Leave point at
11870 correct position. (Bug#11660)
11871
11872 2012-06-10 Chong Yidong <cyd@gnu.org>
11873
11874 * allout-widgets.el: Fix code header.
11875
11876 2012-06-10 Chong Yidong <cyd@gnu.org>
11877
11878 * cus-edit.el (customize-changed-options-previous-release):
11879 Bump to 24.1.
11880
11881 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11882
11883 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11884
11885 2012-06-09 Chong Yidong <cyd@gnu.org>
11886
11887 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11888
11889 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11890
11891 * window.el (special-display-popup-frame): Don't use
11892 window--display-buffer (Bug#11651).
11893
11894 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11895
11896 Fix parallel builds: make sure loaddefs.el is not being written
11897 while Lisp files are compiled.
11898 (compile): Don't depend on 'mh-autoloads'.
11899 (compile-CMD, compile-SH): Depend on 'autoloads'.
11900 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11901
11902 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11903
11904 2012-06-09 Chong Yidong <cyd@gnu.org>
11905
11906 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11907 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11908 Doc fixes (Bug#11225).
11909
11910 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11911
11912 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11913 a function if there's a clear indication that it has a compiler-macro.
11914 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11915 (macro-declarations-alist): Add arglist to declaration functions.
11916 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11917 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11918 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11919 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11920 Also add autoload to find the compiler macro.
11921 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11922 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11923 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11924 (cl--compiler-macro-get): New functions, replacing calls to
11925 cl-define-compiler-macro.
11926 (cl-typep) [compiler-macro]: Use macroexp-let².
11927
11928 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11929
11930 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11931 string properly, fixes Bug#11473.
11932
11933 2012-06-08 Chong Yidong <cyd@gnu.org>
11934
11935 * faces.el (set-face-attribute): Doc fix.
11936 (modify-face): Don't use :bold and :italic.
11937 (error, warning, success): Tweak definitions.
11938
11939 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11940 (custom-modified, custom-set, custom-changed, custom-themed)
11941 (custom-saved, custom-button, custom-button-mouse)
11942 (custom-button-pressed, custom-state, custom-comment-tag)
11943 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11944 (custom-group-subtitle): Use new-style face specs.
11945 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11946 (custom-set-face, custom-changed-face, custom-saved-face)
11947 (custom-button-face, custom-button-pressed-face)
11948 (custom-documentation-face, custom-state-face)
11949 (custom-comment-face, custom-comment-tag-face)
11950 (custom-variable-tag-face, custom-variable-button-face)
11951 (custom-face-tag-face, custom-group-tag-face-1)
11952 (custom-group-tag-face): Remove obsolete face alias.
11953
11954 * epa.el (epa-validity-high, epa-validity-medium)
11955 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11956 (epa-field-name, epa-field-body):
11957 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11958 (font-lock-keyword-face, font-lock-builtin-face)
11959 (font-lock-function-name-face, font-lock-variable-name-face)
11960 (font-lock-type-face, font-lock-constant-face):
11961 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11962 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11963 * speedbar.el (speedbar-button-face, speedbar-file-face)
11964 (speedbar-directory-face, speedbar-tag-face)
11965 (speedbar-selected-face, speedbar-highlight-face)
11966 (speedbar-separator-face):
11967 * whitespace.el (whitespace-newline, whitespace-space)
11968 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11969 (whitespace-line, whitespace-space-before-tab)
11970 (whitespace-space-after-tab, whitespace-indentation)
11971 (whitespace-empty):
11972 * emulation/cua-base.el (cua-global-mark):
11973 * eshell/em-prompt.el (eshell-prompt):
11974 * net/newst-plainview.el (newsticker-new-item-face)
11975 (newsticker-old-item-face, newsticker-immortal-item-face)
11976 (newsticker-obsolete-item-face, newsticker-date-face)
11977 (newsticker-statistics-face, newsticker-default-face):
11978 * net/newst-reader.el (newsticker-feed-face)
11979 (newsticker-extra-face, newsticker-enclosure-face):
11980 * net/newst-treeview.el (newsticker-treeview-face)
11981 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11982 (newsticker-treeview-immortal-face)
11983 (newsticker-treeview-obsolete-face)
11984 (newsticker-treeview-selection-face):
11985 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11986 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11987 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11988 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11989 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11990 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11991 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11992 (mpuz-text):
11993 * progmodes/vera-mode.el (vera-font-lock-number)
11994 (vera-font-lock-function, vera-font-lock-interface):
11995 * textmodes/table.el (table-cell): Use new-style face specs, and
11996 don't use the old :bold and :italic attributes.
11997
11998 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11999 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12000 (ebrowse-member-class, ebrowse-progress): Likewise.
12001 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12002 (ebrowse-file-name-face, ebrowse-default-face)
12003 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12004 (ebrowse-progress-face): Remove obsolete faces.
12005
12006 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12007 Inherit from error and warning faces respectively.
12008
12009 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12010 Likewise.
12011 (flyspell-incorrect-face, flyspell-duplicate-face):
12012 Remove obsolete aliases.
12013
12014 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12015
12016 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12017 Avoid infloop.
12018
12019 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12020
12021 * startup.el (argv, argi): Make lexically scoped.
12022 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12023 * emacs-lisp/cl-macs.el: Use lexical-binding.
12024 Rename cl-bind-* to cl--bind-*.
12025 * files.el: Don't require `cl' since it doesn't use it.
12026 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12027
12028 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12029
12030 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12031 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12032 instead of calling external sort utility.
12033 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12034
12035 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12036
12037 * descr-text.el (describe-char): Mention how to insert the
12038 character, if the current input method doesn't support it.
12039 See the discussion in this thread for the details:
12040 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12041
12042 2012-06-08 Sam Steingold <sds@gnu.org>
12043
12044 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12045 XF86Back to previous-buffer.
12046 (minibuffer-local-map): Bind them to next-history-element and
12047 previous-history-element respectively.
12048 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12049 help-go-back respectively.
12050 * info.el (Info-mode-map): Bind them to Info-history-forward and
12051 Info-history-back respectively.
12052 These are the keys next to Up on the ThinkPad keyboard.
12053
12054 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12057 * emacs-lisp/cl-macs.el: Provide itself.
12058 (cl--labels-convert-cache): New var.
12059 (cl--labels-convert): New function.
12060 (cl-flet, cl-labels): New implementation with new semantics, relying on
12061 lexical-binding.
12062 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12063 (cl-closure-vars, cl--function-convert-cache)
12064 (cl--function-convert): Move from cl-macs.el.
12065 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12066 rename by removing the "cl-" prefix.
12067 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12068
12069 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12070
12071 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12072 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12073 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12074 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12075 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12076 (cl-hash-table-count): Add old compatibility aliases.
12077
12078 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12079 Use macroexpand-all-environment instead.
12080 (cl--old-macroexpand): New var.
12081 (cl--sm-macroexpand): New function.
12082 (cl-symbol-macrolet): Use it during macro expansion.
12083 (cl--function-convert-cache): New var.
12084 (cl--function-convert): New function, extracted from
12085 cl-macroexpand-all.
12086 (cl-lexical-let): Use it.
12087
12088 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12089 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12090 (cl-member): Remove old alias.
12091
12092 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12093 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12094 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12095 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12096 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12097 (cl-macroexpand-cmacs): Remove var.
12098 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12099 Use macroexpand-all instead.
12100
12101 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12104 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12105 (macroexp-copyable-p): New functions and macros.
12106 * emacs-lisp/edebug.el (edebug-unwrap):
12107 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12108 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12109 (pcase--let*): Remove.
12110 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12111 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12112 macroexp-const-p instead.
12113 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12114
12115 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12116 instead of "cl-" for internal definitions. Use macroexp-const-p.
12117 (cl-old-bc-file-form): Remove var.
12118 (cl-const-exprs-p): Remove fun.
12119 (cl-labels, cl-macrolet): Use backquote.
12120 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12121 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12122 (cl-define-setf-expander): Rename from cl-define-setf-method.
12123 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12124
12125 * international/mule-cmds.el: Don't require CL.
12126 (view-hello-file): Don't use `letf'.
12127
12128 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * tmm.el (tmm-prompt): Use string-prefix-p.
12131 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12132 (tmm-add-prompt): Use minibuffer-completion-help.
12133 (tmm-delete-map): Remove.
12134
12135 * subr.el (kbd): Make it its own function.
12136
12137 2012-06-07 Stefan Merten <smerten@oekonux.de>
12138
12139 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12140 Silence compiler warnings. Fix versions.
12141 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12142 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12143 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12144 (rst-package-emacs-version-alist): Correct Emacs version to
12145 represent major merge with upstream.
12146 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12147
12148 2012-06-06 Glenn Morris <rgm@gnu.org>
12149
12150 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12151 Only print environment variables if set.
12152
12153 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12156 (macroexp--cons): Rename from maybe-cons.
12157 (macroexp--accumulate): Rename from macroexp-accumulate.
12158 (macroexp--all-forms): Rename from macroexpand-all-forms.
12159 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12160 (macroexp--expand-all): Rename from macroexpand-all-1.
12161
12162 2012-06-06 Sam Steingold <sds@gnu.org>
12163
12164 * calendar/calendar.el (calendar-in-read-only-buffer):
12165 Call `special-mode' to enable the standard read-only keybindings.
12166
12167 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12170 with "loading" messages (bug#11635).
12171
12172 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12173
12174 * files.el (enable-remote-dir-locals): New option.
12175 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12176
12177 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12178 Ensure, that the temp directory is local.
12179
12180 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12181 `temporary-file-directory'.
12182
12183 * progmodes/python.el (python-send-region): Ensure, that the
12184 temporary file is created also in the remote case.
12185
12186 2012-06-06 Glenn Morris <rgm@gnu.org>
12187
12188 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12189 (vc-rcs-update-changelog): Use it.
12190
12191 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12192
12193 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12194 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12195 (vc-sccs-diff): Replace use of the external vcdiff script.
12196
12197 2012-06-05 Glenn Morris <rgm@gnu.org>
12198
12199 * ledit.el: Move to obsolete/.
12200
12201 2012-06-05 Sam Steingold <sds@gnu.org>
12202
12203 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12204 patch (Bug#11140).
12205
12206 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12207
12208 * emacs-lisp/cust-print.el: Move to obsolete.
12209
12210 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12211 compiler-macro expansion.
12212
12213 Add native compiler-macro support.
12214 * emacs-lisp/macroexp.el (macroexpand-all-1):
12215 Support compiler-macros directly. Properly follow aliases and apply
12216 the compiler macros more thoroughly.
12217 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12218 macroexpand now properly follows aliases.
12219 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12220 (cl-compiler-macroexpand): Use new prop.
12221 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12222
12223 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12224
12225 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12226
12227 * window.el (get-lru-window, get-mru-window, get-largest-window):
12228 New argument NOT-SELECTED to avoid picking the selected window.
12229 (window--display-buffer-1, window--display-buffer-2): Replace by
12230 new function window--display-buffer
12231 (display-buffer-same-window, display-buffer-reuse-window)
12232 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12233 Use window--display-buffer.
12234 (display-buffer-use-some-window): Remove temporary dedication
12235 hack by calling get-lru-window and get-largest-window with
12236 NOT-SELECTED argument non-nil. Call window--display-buffer.
12237
12238 2012-06-05 Glenn Morris <rgm@gnu.org>
12239
12240 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12241 Replace external vcdiff script.
12242
12243 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12244
12245 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12246
12247 2012-06-04 Chong Yidong <cyd@gnu.org>
12248
12249 * image.el (imagemagick-types-inhibit): Revert last change.
12250 Add INFO and M.
12251 (imagemagick-enabled-types): Remove CIN and EPS*.
12252
12253 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12254
12255 * emacs-lisp/cl-lib.el: Rename from cl.el.
12256 * emacs-lisp/cl.el: New compatibility file.
12257 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12258 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12259 to obey the "cl-" prefix.
12260 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12261
12262 2012-06-03 Glenn Morris <rgm@gnu.org>
12263
12264 * emacs-lisp/authors.el (authors-aliases): Addition.
12265
12266 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12267 Fix :version.
12268
12269 2012-06-03 Stefan Merten <smerten@oekonux.de>
12270
12271 * textmodes/rst.el: Add comments.
12272 (rst-transition, rst-adornment): New faces.
12273 (rst-adornment-faces-alist): Make default safe to reevaluate.
12274 Fixes
12275 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12276 Improve customization tags.
12277 (rst-define-level-faces): Clarify meaning.
12278
12279 2012-06-03 Chong Yidong <cyd@gnu.org>
12280
12281 * progmodes/compile.el (compilation-mode-line-fail)
12282 (compilation-mode-line-run, compilation-mode-line-exit):
12283 New faces.
12284 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12285
12286 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12287
12288 * progmodes/which-func.el (which-func-update-ediff-windows):
12289 New function. Use it in ediff-select-hook (Bug#11478).
12290
12291 2012-06-03 Chong Yidong <cyd@gnu.org>
12292
12293 * bindings.el: Remove explicit help text from format-mode-line.
12294 It is now supplied by mode-line-default-help-echo.
12295 (mode-line-front-space, mode-line-end-spaces)
12296 (mode-line-misc-info): New variables.
12297 (mode-line-modes, mode-line-position): Move the default value to
12298 the variable definition.
12299 (mode-line-default-help-echo): New defcustom.
12300 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12301 (mode-line-modified-help-echo): New functions.
12302 (mode-line-mule-info, mode-line-modified): Use them.
12303 (mode-line-eol-desc, propertized-buffer-identification):
12304 Consistency fixes for help text.
12305 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12306 set-buffer-file-coding-system (Bug#289).
12307 (mode-line-mule-info-help-echo): Update help text.
12308
12309 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 * simple.el (execute-extended-command): Set real-this-command
12312 (bug#11506).
12313
12314 2012-06-02 Chong Yidong <cyd@gnu.org>
12315
12316 Remove incorrect uses of "modeline" in comments, docstrings, and
12317 function/variable names (Bug#10329).
12318
12319 * cus-edit.el (mode-line):
12320 * dframe.el (dframe-mouse-hscroll):
12321 * emacs-lisp/re-builder.el:
12322 * emacs-lisp/easy-mmode.el (define-minor-mode):
12323 * frame.el (set-frame-name):
12324 * help.el (lookup-minor-mode-from-indicator):
12325 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12326 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12327 (c-toggle-hungry-state):
12328 * progmodes/antlr-mode.el (antlr-language-alist):
12329 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12330 * progmodes/vhdl-mode.el (vhdl-mode):
12331 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12332 * term/ns-win.el (ns-face-at-pos):
12333 * term/sup-mouse.el (sup-mouse-report):
12334 * textmodes/flyspell.el (flyspell-mode-line-string):
12335 * textmodes/ispell.el (ispell-highlight-face):
12336 * textmodes/reftex-global.el:
12337 * vc/vc-arch.el (vc-arch-mode-line-string):
12338 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12339 * vc/vc-git.el (vc-git-mode-line-string):
12340 * vc/vc-hooks.el (vc-display-status)
12341 (vc-default-mode-line-string):
12342 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12343
12344 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12345
12346 * dired.el (dired-sort-set-mode-line): Rename from
12347 dired-sort-set-modeline. All callers changed.
12348
12349 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12350 eshell-status-in-modeline.
12351
12352 * foldout.el (foldout-mode-line-string): Rename from
12353 foldout-modeline-string. All callers changed.
12354 (foldout-update-mode-line): Rename from foldout-update-modeline.
12355
12356 * subr.el (redraw-modeline): Make into obsolete alias.
12357
12358 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12359 timeclock-modeline-display. Make old name an alias.
12360 (timeclock-update-mode-line): Likewise. All callers changed.
12361 (timeclock-mode-line-display): No need to check before using
12362 add-hook.
12363 (timeclock-relative, timeclock-day-over-hook)
12364 (timeclock-use-elapsed, timeclock-mode-string)
12365 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12366
12367 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12368 crisp-mode-modeline-string.
12369
12370 * play/solitaire.el (solitaire-build-mode-line): Rename from
12371 solitaire-build-modeline. All callers changed.
12372
12373 * play/zone.el (zone-hiding-mode-line): Rename from
12374 zone-hiding-modeline. All callers changed.
12375 (zone): Remove unusued `modeline-hidden-level' property.
12376
12377 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12378 xscheme-modeline-initialize. All callers changed.
12379
12380 * strokes.el (strokes-lighter): Rename from
12381 strokes-modeline-string.
12382
12383 * textmodes/sgml-mode.el (html-face-tag-alist)
12384 (html-tag-face-alist): Use mode-line face instead of obsolete
12385 alias modeline.
12386
12387 2012-06-02 Stefan Merten <smerten@oekonux.de>
12388
12389 * textmodes/rst.el: Always require `cl'.
12390 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12391
12392 2012-06-02 Chong Yidong <cyd@gnu.org>
12393
12394 * image.el (imagemagick-enabled-types): Rename from
12395 imagemagick-types-enable. Add many more types.
12396 (imagemagick-types-inhibit): Change default to nil.
12397 (imagemagick-filter-types): Caller changed.
12398
12399 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 * emacs-lisp/cl-macs.el: Use backquotes.
12402 (cl-transform-function-property): Use eval-and-compile rather than
12403 abusing `require'.
12404 (defstruct): Use declare-function instead of with-no-warnings.
12405
12406 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12407 (byte-compile-output-docform): Re-add the print-circle bindings.
12408 (byte-compile-fix-header): Use #$ just because it's shorter.
12409 (byte-compile-output-file-form): Remove defun/defmacro.
12410
12411 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12412
12413 * simple.el (choose-completion): Remove now obsolete binding for
12414 owindow.
12415
12416 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12417
12418 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12419 in order to avoid "Stack overflow in regexp matcher".
12420
12421 2012-05-31 Glenn Morris <rgm@gnu.org>
12422
12423 * image.el: For clarity, call imagemagick-register-types at
12424 top-level, rather than relying on a custom :initialize.
12425 (imagemagick-types-enable): New option. (Bug#11557)
12426 (imagemagick-filter-types): New function. (Bug#7406)
12427 (imagemagick-register-types): Use imagemagick-filter-types.
12428 If disabling support, remove elements altogether rather
12429 than using an impossible regexp.
12430 (imagemagick-types-inhibit): Give it the default init function.
12431
12432 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12433
12434 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12435 Handle arbitrary file name lengths (Bug#11585).
12436
12437 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12438
12439 * desktop.el (desktop-read): Clear previous and next buffers for
12440 all windows and bury *Messages* buffer (bug#11556).
12441
12442 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12443
12444 Add `declare' for `defun'. Align `defmacro's with it.
12445 * emacs-lisp/easy-mmode.el (define-minor-mode)
12446 (define-globalized-minor-mode): Don't autoload the var definitions.
12447 * emacs-lisp/byte-run.el: Use lexical-binding.
12448 (defun-declarations-alist, macro-declarations-alist): New vars.
12449 (defmacro, defun): Use them.
12450 (make-obsolete, define-obsolete-function-alias)
12451 (make-obsolete-variable, define-obsolete-variable-alias):
12452 Use `declare'.
12453 (macro-declaration-function): Mark obsolete.
12454 * emacs-lisp/autoload.el: Use lexical-binding.
12455 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12456
12457 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12458
12459 * textmodes/ispell.el (ispell-with-no-warnings):
12460 Define as a macro.
12461 (ispell-kill-ispell, ispell-change-dictionary):
12462 Use `called-interactively-p' for Emacs instead of obsolete
12463 `interactive-p'.
12464
12465 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12466
12467 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12468 (macro-declaration-function): Move var from C code.
12469 (macro-declaration-function): Define function with defalias.
12470 * emacs-lisp/macroexp.el (macroexpand-all-1):
12471 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12472 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12473 defun/defmacro any more.
12474 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12475 Provide fallback for unknown arglist.
12476 (byte-compile-arglist-warn): Change calling convention.
12477 (byte-compile-output-file-form): Move print-vars binding.
12478 (byte-compile-output-docform): Simplify accordingly.
12479 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12480 (byte-compile-defmacro-declaration): Remove.
12481 (byte-compile-file-form-defmumble): Generalize to defalias.
12482 (byte-compile-output-as-comment): Return byte-positions.
12483 Simplify callers accordingly.
12484 (byte-compile-lambda): Use `assert'.
12485 (byte-compile-defun, byte-compile-defmacro): Remove.
12486 (byte-compile-file-form-defalias):
12487 Use byte-compile-file-form-defmumble.
12488 (byte-compile-defalias-warn): Remove.
12489
12490 2012-05-29 Stefan Merten <smerten@oekonux.de>
12491
12492 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12493 possible. Fix authors. Improve comments. Improve loading of `cl'.
12494
12495 (rst-mode-abbrev-table): Merge definition.
12496 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12497 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12498
12499 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12500
12501 * calendar/icalendar.el
12502 (icalendar-export-region): Export UID properly.
12503
12504 2012-05-29 Leo Liu <sdl.web@gmail.com>
12505 * calendar/icalendar.el (icalendar-import-format):
12506 Add `icalendar-import-format-uid' (Bug#11525).
12507 (icalendar-import-format-uid): New.
12508 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12509 Export UID.
12510
12511 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12514 different alternative patterns.
12515 (pcase-codegen): Be more careful to preserve identity.
12516 (pcase--u1): Don't forget to mark vars as used.
12517
12518 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12519 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12520 (byte-compile-from-buffer): ...rather than here.
12521
12522 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12523 functions from byte-compile-function-environment.
12524
12525 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12526
12527 * window.el (window-deletable-p): Avoid deleting the root window
12528 of a frame with an active minibuffer.
12529
12530 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12531
12532 * simple.el (choose-completion): Use quit-window (Bug#11567).
12533
12534 2012-05-29 Chong Yidong <cyd@gnu.org>
12535
12536 * whitespace.el (whitespace-cleanup): Fix usage of
12537 whitespace-empty-at-bob-regexp (Bug#11492).
12538
12539 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12540
12541 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12542 revert (Bug#11488).
12543
12544 2012-05-29 Juri Linkov <juri@jurta.org>
12545
12546 * isearch.el (isearch-mode-map): Bind `M-s _' to
12547 `isearch-toggle-symbol'. Bind `M-s c' to
12548 `isearch-toggle-case-fold'.
12549 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12550 (isearch-forward): Add `M-s _' to the docstring.
12551 (isearch-forward-symbol, isearch-toggle-case-fold)
12552 (isearch-symbol-regexp): New functions. (Bug#11381)
12553
12554 2012-05-29 Juri Linkov <juri@jurta.org>
12555
12556 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12557 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12558 a function, call it to get the regexp.
12559 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12560 property `isearch-message-prefix' instead of the string "word ".
12561 (isearch-search-fun-default): For the case of `isearch-word',
12562 return a lambda that calls re-search-forward/re-search-backward
12563 with a regexp returned by `word-search-regexp' or by the function
12564 in `isearch-word'.
12565
12566 2012-05-29 Juri Linkov <juri@jurta.org>
12567
12568 * isearch.el (isearch-search-fun-default): New function.
12569 (isearch-search-fun): Move default part to the new function
12570 `isearch-search-fun-default'.
12571 (isearch-search-fun-function): Set the default value to
12572 `isearch-search-fun-default'. (Bug#11381)
12573
12574 * comint.el (comint-history-isearch-end):
12575 Use `isearch-search-fun-default'.
12576 (comint-history-isearch-search): Use `isearch-search-fun-default'
12577 and remove spacial case for `isearch-word'.
12578 (comint-history-isearch-wrap): Remove spacial case for
12579 `isearch-word'.
12580
12581 * hexl.el (hexl-isearch-search-function):
12582 Use `isearch-search-fun-default'.
12583
12584 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12585 Use `word-search-regexp' for `isearch-word'.
12586
12587 * misearch.el (multi-isearch-search-fun):
12588 Use `isearch-search-fun-default'.
12589
12590 * simple.el (minibuffer-history-isearch-search):
12591 Use `isearch-search-fun-default' and remove spacial case for
12592 `isearch-word'.
12593 (minibuffer-history-isearch-wrap): Remove spacial case for
12594 `isearch-word'.
12595
12596 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12597 Remove spacial case for `isearch-word'.
12598 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12599
12600 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12601
12602 Decrease XEmacs incompatibilities.
12603 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12604 Use `string-match'.
12605 (flyspell-delete-region-overlays): Use alternative definition for
12606 XEmacs.
12607 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12608 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12609 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12610 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12611 `define-obsolete-face-alias' under XEmacs, but old method.
12612
12613 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12614 `with-no-warnings' definition or Emacs alias.
12615 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12616 (ispell-word): Do not use `region-p' if XEmacs.
12617
12618 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12619
12620 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12621 Check for `ispell-dictionary-base-alist' instead of full
12622 `ispell-dictionary-alist'.
12623 (ispell-init-process): Show spellchecker when starting new Ispell
12624 process.
12625
12626 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12629 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12630
12631 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * version.el (motif-version-string, gtk-version-string)
12634 (ns-version-string): Declare.
12635
12636 2012-05-27 Juri Linkov <juri@jurta.org>
12637
12638 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12639 after the `eval-defun-1' specialcaseing
12640 like in `edebug-eval-defun' (bug#10181).
12641
12642 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12643 like in `eval-defun-1'.
12644
12645 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12646
12647 * mail/sendmail.el (mail-yank-region):
12648 Recognize rmail-yank-current-message in addition to insert-buffer.
12649 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12650 a *mail* buffer created through rmail-start-mail with sendmail as
12651 mail-user-agent.
12652
12653 2012-05-27 Chong Yidong <cyd@gnu.org>
12654
12655 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12656 Default to 256 (Bug#11267).
12657
12658 * help.el (describe-mode): Doc fix.
12659
12660 2012-05-26 Glenn Morris <rgm@gnu.org>
12661
12662 * w32-fns.el (w32-init-info): Remove.
12663 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12664
12665 * info.el (info-initialize): For self-contained NS builds, put the
12666 included info/ directory at the front. (Bug#2791)
12667
12668 * paths.el (Info-default-directory-list): Make it a defcustom,
12669 mainly so that we can use custom-initialize-delay.
12670
12671 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12672
12673 * subr.el (buffer-has-markers-at): Mark obsolete.
12674
12675 * subr.el (lambda): Use declare.
12676
12677 * emacs-lisp/lisp-mode.el (lambda):
12678 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12679
12680 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12681
12682 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12683
12684 2012-05-26 Glenn Morris <rgm@gnu.org>
12685
12686 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12687
12688 2012-05-25 Glenn Morris <rgm@gnu.org>
12689
12690 * paths.el: Remove no-byte-compile.
12691 * loadup.el: No need to load paths.el uncompiled.
12692
12693 * image.el (imagemagick-types-inhibit): Doc fix.
12694
12695 * version.el: Remove no-byte-compile and associated formatting.
12696 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12697 is ancient code from when there was an "inc-vers.el".
12698
12699 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12700
12701 * progmodes/gdb-mi.el: Minor style changes.
12702 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12703 Turn into minor modes.
12704 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12705 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12706 (gdb-shell): Remove unneeded let-binding.
12707 (gdb-get-many-fields): Eliminate O(n²) behavior.
12708
12709 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12710
12711 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12712 platforms that don't link in fontset.c.
12713
12714 2012-05-25 Juri Linkov <juri@jurta.org>
12715
12716 Use the same diff color scheme as in modern VCSes (bug#10181).
12717
12718 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12719 to avoid confusion with `diff-added' that now uses green colors.
12720 (diff-removed): Use shades of red.
12721 (diff-added): Use shades of green.
12722 (diff-changed): Leave just the yellow color.
12723 (diff-use-changed-face): New variable.
12724 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12725 how to highlight context diff changes.
12726 (diff-refine-change): Use shades of yellow.
12727 (diff-refine-removed): New face that uses shades of red.
12728 (diff-refine-added): New face that uses shades of green.
12729 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12730 `diff-refine-removed' in the call to `smerge-refine-subst'
12731 depending on the value of `diff-use-changed-face'.
12732
12733 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12734 (smerge-other): Use shades of green.
12735 (smerge-base): Use shades of yellow.
12736 (smerge-refined-change): Empty face.
12737 (smerge-refined-removed): New face that uses shades of red.
12738 (smerge-refined-added): New face that uses shades of green.
12739 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12740 args `props-r' and `props-a', and use them. Doc fix.
12741 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12742 on its value use different faces `smerge-refined-change',
12743 `smerge-refined-removed', `smerge-refined-added' in the call to
12744 `smerge-refine-subst'.
12745
12746 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12747 Add face condition `min-colors 88' with shades of red.
12748 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12749 `min-colors 88' with shades of green.
12750 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12751 `min-colors 88' with shades of yellow.
12752
12753 2012-05-24 Glenn Morris <rgm@gnu.org>
12754
12755 * paths.el (prune-directory-list, remote-shell-program): Move to...
12756 * files.el (prune-directory-list, remote-shell-program): ...here.
12757 For the latter, delay initialization, prefer ssh, just search PATH.
12758
12759 * paths.el (term-file-prefix): Move to faces.el (the only user).
12760 * faces.el (term-file-prefix): Move here, make it a defcustom.
12761
12762 * paths.el (news-directory, news-path, news-inews-program):
12763 Move to gnus/nnspool.el.
12764
12765 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12766
12767 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12768 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12769 Make the latter a defcustom, with a delayed initialization.
12770
12771 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12772 These were deleted from Gnus itself late 2010.
12773
12774 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12775
12776 * progmodes/which-func.el (which-func-ff-hook):
12777 Check against user-error, not error.
12778
12779 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12780 cl-specs.el, which no longer exists.
12781
12782 2012-05-22 Glenn Morris <rgm@gnu.org>
12783
12784 * info.el (info-emacs-bug): New command.
12785 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12786 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12787
12788 2012-05-21 Glenn Morris <rgm@gnu.org>
12789
12790 * makefile.w32-in (update-subdirs-SH):
12791 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12792
12793 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12796
12797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12798 Simplify Maven regexp, and make sure the file can't start with a space
12799 (bug#11517).
12800
12801 2012-05-21 Glenn Morris <rgm@gnu.org>
12802
12803 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12804 Scrap superfluous subshells.
12805
12806 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12807
12808 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12809 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12810
12811 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12812
12813 * calc/calc.el (calc-ensure-consistent-units): New variable.
12814
12815 * calc/calc-units.el (math-consistent-units-p)
12816 (math-check-unit-consistency): New functions.
12817 (calc-quick-units, calc-convert-units):
12818 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12819 is non-nil.
12820 (calc-extract-units): Fix typo.
12821
12822 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12825
12826 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12827 (flyspell-default-deplacement-commands): Don't spell check after
12828 repeated window/frame switches (e.g. triggered by mouse-movement).
12829 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12830 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12831 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12832 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12833 Remove unused vars.
12834 (flyspell-get-casechars, flyspell-get-not-casechars):
12835 Simplify; Don't bother removing a ] just to add it back.
12836 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12837
12838 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12839
12840 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12841 New functions.
12842 (math-function-table): Add support for more C functions.
12843
12844 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12845
12846 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12847 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12848 Protect delay handling for otherchars against empty otherchars.
12849
12850 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12853 their respective macro declarations.
12854 * skeleton.el (define-skeleton):
12855 * progmodes/compile.el (define-compilation-mode):
12856 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12857 (define-ibuffer-filter):
12858 * emacs-lisp/generic.el (define-generic-mode):
12859 * emacs-lisp/easy-mmode.el (define-minor-mode)
12860 (define-globalized-minor-mode):
12861 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12862 * emacs-lisp/byte-run.el (defsubst):
12863 * custom.el (deftheme): Add doc-string metadata.
12864
12865 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12868
12869 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12870
12871 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12872
12873 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12874 * emacs-lisp/cl-macs.el: Idem.
12875 * emacs-lisp/cl-specs.el: Remove.
12876
12877 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 Minor renaming of internal CL functions and variables.
12880 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12881 (cl--position): Rename from cl-position.
12882 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12883 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12884 (cl--random-state): Rename from *random-state*.
12885
12886 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12887
12888 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12889 parens around the arg list (bug#11499).
12890
12891 2012-05-17 Juri Linkov <juri@jurta.org>
12892
12893 * isearch.el (word-search-regexp, word-search-backward)
12894 (word-search-forward, word-search-backward-lax)
12895 (word-search-forward-lax): Move functions from search.c
12896 (bug#10145, bug#11381).
12897
12898 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12899
12900 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12901 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12902 Delay for otherchars as for normal word components.
12903
12904 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12905
12906 * minibuffer.el (completion--sifn-requote): Fix last change.
12907 (minibuffer-local-must-match-filename-map):
12908 Move define-obsolete-variable-alias before its var.
12909
12910 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12911
12912 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12913
12914 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12915 behavior.
12916 (completion--string-equal-p): New function.
12917 (completion--twq-all): Use it to get better assertion failure data.
12918
12919 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12920 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12921 (shell--requote-argument): New functions.
12922 (shell-completion-vars): Use them.
12923 (shell--parse-pcomplete-arguments): Rename from
12924 shell-parse-pcomplete-arguments.
12925 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12926 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12927 Obey comint-file-name-quote-list.
12928
12929 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12930 (smie-indent-keyword): Use it.
12931
12932 2012-05-14 Stefan Merten <smerten@oekonux.de>
12933
12934 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12935
12936 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 * net/rlogin.el (rlogin-mode-map): Fix last change.
12939
12940 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12941
12942 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12943 the following \r\n using a single `process-send-string', since the
12944 Lotus SMTP server refuses to accept any commands if they are sent
12945 with two `process-send-string's (Bug#11444).
12946
12947 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12948
12949 * shell.el (shell-parse-pcomplete-arguments):
12950 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12951
12952 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12953
12954 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12955 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12956 (image-transform-width, image-transform-fit-width): New functions.
12957 (image-transform-properties): Use them.
12958 (image-transform-check-size): New function.
12959 (image-toggle-display-image): Use it (for testing).
12960 (image-transform-set-rotation): Reduce angle mod 360.
12961 Delete obsolete comment.
12962
12963 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12964
12965 * image-mode.el: Fix scaling (bug#11399).
12966 (image-transform-resize): Doc fix.
12967 (image-transform-properties): Default scale is 1 and height should
12968 be an integer.
12969
12970 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12971
12972 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12973 than hard-coding `car', to fix misbehavior when moving forward.
12974
12975 2012-05-13 Chong Yidong <cyd@gnu.org>
12976
12977 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12978 (tabulated-list-entries, tabulated-list-padding)
12979 (tabulated-list-sort-key): Make permanent-local.
12980
12981 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12982 (electric-buffer-list): Put electric buffer menu
12983 command descriptions in this docstring, instead of the docstring
12984 of electric-buffer-menu-mode. Code cleanups.
12985 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12986 Electric-buffer-menu-mode.
12987 (electric-buffer-update-highlight): Minor code cleanup.
12988
12989 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12990
12991 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12992 (Bug#11447)
12993
12994 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 Move define-obsolete-variable-alias before the var's definition.
12997 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12998 * tooltip.el (tooltip-hook):
12999 * textmodes/reftex-toc.el (reftex-toc-map):
13000 * textmodes/reftex-sel.el (reftex-select-label-map)
13001 (reftex-select-bib-map):
13002 * textmodes/reftex-index.el (reftex-index-map)
13003 (reftex-index-phrases-map):
13004 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13005 * progmodes/meta-mode.el (meta-mode-map):
13006 * novice.el (disabled-command-hook):
13007 * loadhist.el (unload-hook-features-list):
13008 * frame.el (blink-cursor):
13009 * files.el (find-file-not-found-hooks, write-file-hooks)
13010 (write-contents-hooks):
13011 * emulation/tpu-edt.el (GOLD-map):
13012 * emacs-lock.el (emacs-lock-from-exiting):
13013 * emacs-lisp/generic.el (generic-font-lock-defaults):
13014 * emacs-lisp/chart.el (chart-map):
13015 * dos-fns.el (register-name-alist):
13016 * dired-x.el (dired-omit-files-p):
13017 * desktop.el (desktop-enable):
13018 * cus-edit.el (custom-mode-hook):
13019 * buff-menu.el (buffer-menu-mode-hook):
13020 * bookmark.el (bookmark-read-annotation-text-func)
13021 (bookmark-exit-hooks):
13022 * allout.el (allout-mode-deactivate-hook)
13023 (allout-exposure-change-hook, allout-structure-added-hook)
13024 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13025 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13026 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13027 comes before the corresponding variable's definition.
13028
13029 2012-05-12 Chong Yidong <cyd@gnu.org>
13030
13031 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13032 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13033 (Buffer-menu-mode-map): Bind it.
13034 (Buffer-menu--pretty-name): Add a mouse-face property.
13035
13036 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13037
13038 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13039 (prolog-upper-case-string, prolog-lower-case-string)
13040 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13041 (prolog-use-smie, prolog-smie-grammar): New vars.
13042 (prolog-smie-forward-token, prolog-smie-backward-token)
13043 (prolog-smie-rules): New funs.
13044 (prolog-comment-indent): Remove.
13045 (prolog-mode-variables): Use default comment indentation instead.
13046 Setup SMIE.
13047 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13048 (prolog-mode): Don't call them any more.
13049 (prolog-electric-colon, prolog-electric-dash)
13050 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13051
13052 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13053
13054 * minibuffer.el (completion--twq-all): Again, allow case differences.
13055
13056 * term.el: Move keymap initialization code to be more idiomatic.
13057 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13058 (term-terminal-menu): Move initialization into declaration.
13059 (term-escape-char): Let the user set it in her .emacs.
13060
13061 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13062 Provide SMIE-based indentation (not enabled by default yet).
13063 (sh-mode-map): Don't bind electric keys.
13064 Use electric-pair-mode instead of skeleton-pair.
13065 (sh-assignment-regexp): Fit within 80 columns.
13066 (sh-indent-supported): Specify actual shell name instead of boolean.
13067 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13068 (sh-maybe-here-document): Use it. Make obsolete.
13069 (sh-electric-here-document-mode) New minor mode.
13070 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13071 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13072 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13073 (sh-smie-rc-grammar, sh-use-smie): New vars.
13074 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13075 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13076 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13077 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13078 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13079 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13080 (sh-set-shell): Use smie-setup if requested.
13081
13082 * term.el (term-set-escape-char): Properly set term-escape-char.
13083 See http://stackoverflow.com/questions/10524656.
13084
13085 2012-05-10 Chong Yidong <cyd@gnu.org>
13086
13087 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13088 Use url-generic-parse-url, and handle host names and Windows
13089 filenames properly.
13090 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13091 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13092 URL schemes to work on.
13093 (ffap--toggle-read-only): New function.
13094 (ffap-read-only, ffap-read-only-other-window)
13095 (ffap-read-only-other-frame): Use it.
13096 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13097 necessary for ffap-url-unwrap-remote.
13098
13099 2012-05-10 Dave Abrahams <dave@boostpro.com>
13100
13101 * cus-start.el (create-lockfiles): Add it.
13102
13103 2012-05-09 Chong Yidong <cyd@gnu.org>
13104
13105 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13106 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13107
13108 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13111
13112 2012-05-09 Chong Yidong <cyd@gnu.org>
13113
13114 * ansi-color.el (ansi-color-process-output): Check for validity of
13115 comint-last-output-start before using it. This avoids a bad
13116 interaction with gdb-mi's input/output buffer.
13117
13118 2012-05-09 Glenn Morris <rgm@gnu.org>
13119
13120 * files.el (dir-locals-read-from-file):
13121 Mention dir-locals in any error message.
13122
13123 2012-05-09 Chong Yidong <cyd@gnu.org>
13124
13125 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13126 package (Bug#11410).
13127
13128 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13129 variables into description.
13130
13131 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13132
13133 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13134 shell-delimiter-argument-list (bug#11348).
13135 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13136
13137 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13138
13139 * textmodes/rst.el: Silence byte-compiler warnings.
13140 (rst-re-alist, rst-reset-section-caches): Move around.
13141 (rst-re): Use `characterp', not `char-valid-p'.
13142 (font-lock-beg, font-lock-end): Declare.
13143
13144 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13145 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13146
13147 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13148
13149 2012-05-08 Glenn Morris <rgm@gnu.org>
13150
13151 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13152
13153 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13154
13155 * vc/log-edit.el: Add GNU coding standards highlighting.
13156 (log-edit-font-lock-gnu-style)
13157 (log-edit-font-lock-gnu-keywords): New vars.
13158 (log-edit-font-lock-keywords): New fun.
13159 (log-edit-mode): Don't fold case in font-lock.
13160 (log-edit-font-lock-keywords): Do not assume case-folding.
13161
13162 * imenu.el: Misc cleanup. Make docstrings out of comments.
13163 Use lexical-binding.
13164 (imenu--index-alist, imenu--last-menubar-index-alist)
13165 (imenu-menubar-modified-tick): Use defvar-local.
13166 (imenu--split-menu): Remove unused var.
13167 (imenu--cleanup-seen): Declare as global.
13168 (imenu--cleanup): Use dolist.
13169
13170 * subr.el (defvar-local): Add debug spec and doc-string position.
13171
13172 2012-05-08 Glenn Morris <rgm@gnu.org>
13173
13174 * language/burmese.el, language/cham.el, language/czech.el:
13175 * language/english.el, language/georgian.el, language/greek.el:
13176 * language/japanese.el, language/khmer.el, language/korean.el:
13177 * language/lao.el, language/misc-lang.el, language/romanian.el:
13178 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13179 * language/thai.el, language/utf-8-lang.el:
13180 Remove no-byte-compile setting.
13181
13182 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13183
13184 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13185
13186 * progmodes/make-mode.el (makefile-browse):
13187 Remove unnecessary interactive. (Bug#11324)
13188
13189 2012-05-07 Glenn Morris <rgm@gnu.org>
13190
13191 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13192
13193 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13194
13195 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13196
13197 * loadup.el: Preload newcomment.el.
13198 * newcomment.el: Move autoload-only code to toplevel.
13199
13200 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13201 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13202 Handle new :right-align column property.
13203 (tabulated-list-print-col): Idem, plus use `display' text-property to
13204 try and preserve alignment for variable pitch fonts.
13205
13206 2012-05-07 Chong Yidong <cyd@gnu.org>
13207
13208 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13209 (tabulated-list-use-header-line): New var.
13210 (tabulated-list-init-header): Use it.
13211 (tabulated-list-print-fake-header): New function.
13212 (tabulated-list-print): Use it.
13213 (tabulated-list-sort-button-map): Add non-header-line commands.
13214 (tabulated-list-init-header): Add column name property to basic
13215 labels as well.
13216 (tabulated-list-col-sort): Handle non-header-line button case.
13217 (tabulated-list--sort-by-column-name): Fix a corner case.
13218
13219 * buff-menu.el (list-buffers--refresh):
13220 Handle Buffer-menu-use-header-line.
13221
13222 2012-05-06 Chong Yidong <cyd@gnu.org>
13223
13224 * buff-menu.el: Convert to Tabulated List mode.
13225 (Buffer-menu-buffer+size-width): Make obsolete.
13226 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13227 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13228 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13229 documentation into docstring of buffer-menu.
13230 (Buffer-menu-toggle-files-only): Add an informative message.
13231 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13232 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13233 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13234 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13235 (Buffer-menu-execute, Buffer-menu-select)
13236 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13237 (Buffer-menu-bury): Use Tabulated List machinery.
13238 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13239 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13240 Delete.
13241 (list-buffers--refresh): New function.
13242 (list-buffers-noselect): Use it.
13243 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13244 (Buffer-menu--pretty-file-name): New helper functions.
13245
13246 * loadup.el: Preload tabulated-list.
13247
13248 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13249 tabulated-list-sort-column.
13250 (tabulated-list-init-header): Add the initial aligning space even
13251 if tabulated-list-padding is zero.
13252
13253 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13254
13255 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13256 whose cdr is not a cons cell correctly (bug#11038).
13257
13258 2012-05-06 Chong Yidong <cyd@gnu.org>
13259
13260 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13261 Accept additional plist in column descriptors.
13262 (tabulated-list-init-header): Obey it.
13263 (tabulated-list-get-entry): New function.
13264 (tabulated-list-put-tag): Use it. Use string-width instead of
13265 length.
13266 (tabulated-list--column-number): New function.
13267 (tabulated-list-print): Use it.
13268 (tabulated-list-print-col): New function.
13269 Set `tabulated-list-column-name' property on each column's text.
13270 (tabulated-list-print-entry): Use it.
13271 (tabulated-list-delete-entry, tabulated-list-set-col):
13272 New functions.
13273 (tabulated-list-sort-column): New command (Bug#11337).
13274
13275 * buff-menu.el (list-buffers): Move C-x C-b binding from
13276 buff-menu.el to bindings.el.
13277
13278 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13279 :advertised-binding feature.
13280
13281 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13282
13283 * progmodes/compile.el (compilation-internal-error-properties):
13284 Calculate start position correctly when end-col is set but
13285 end-line is not (Bug#11382).
13286
13287 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13288
13289 * man.el (Man-unindent): Use text-property-default-nonsticky to
13290 prevent untabify from inheriting face properties (Bug#11408).
13291
13292 2012-05-05 Stefan Merten <smerten@oekonux.de>
13293
13294 * textmodes/rst.el: Major merge with upstream development up to
13295 Docutils SVN r7399 / rst.el V1.2.1.
13296
13297 Clarify maintainership and authors.
13298
13299 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13300 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13301 (rst-official-version, rst-official-cvs-rev, rst-version)
13302 (rst-package-emacs-version-alist): New functions and variables
13303 for version information.
13304
13305 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13306 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13307 (rst-mode-syntax-table, rst-mode): New and corrected functions
13308 and variables representing reStructuredText features.
13309
13310 (rst-re): New function for reStructuredText regexes. Use in
13311 many places.
13312
13313 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13314 (rst-mode-map): Rebind keys.
13315
13316 (rst-mode-lazy, rst-font-lock-keywords)
13317 (rst-font-lock-extend-region)
13318 (rst-font-lock-extend-region-internal)
13319 (rst-font-lock-extend-region-extend)
13320 (rst-font-lock-find-unindented-line-limit)
13321 (rst-font-lock-find-unindented-line-match)
13322 (rst-adornment-level, rst-font-lock-adornment-level)
13323 (rst-font-lock-adornment-match)
13324 (rst-font-lock-handle-adornment-pre-match-form)
13325 (rst-font-lock-handle-adornment-matcher): Major revision of
13326 font-locking. Integrate with other code. Use `jit-lock-mode'.
13327
13328 (rst-preferred-adornments, rst-adjust-hook)
13329 (rst-new-adornment-down, rst-preferred-bullets)
13330 (rst-preferred-bullets, rst-indent, rst-indent-width)
13331 (rst-indent-field, rst-indent-literal-normal)
13332 (rst-indent-literal-minimized, rst-indent-comment): Change,
13333 extend and improve customization.
13334
13335 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13336 (rst-normalize-cursor-position, rst-get-decoration)
13337 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13338 (rst-rstrip, rst-toc-insert-find-delete-contents)
13339 (rst-shift-fill-region, rst-compute-bullet-tabs)
13340 (rst-debug-print-tabs, rst-debug-mark-found)
13341 (rst-shift-region-guts, rst-shift-region-right)
13342 (rst-shift-region-left, rst-use-char-classes)
13343 (rst-font-lock-keywords-function)
13344 (rst-font-lock-indentation-point)
13345 (rst-font-lock-find-unindented-line-begin)
13346 (rst-font-lock-find-unindented-line-end)
13347 (rst-font-lock-find-unindented-line)
13348 (rst-font-lock-adornment-point, rst-font-lock-level)
13349 (rst-adornment-level-alist): Remove functions and variables.
13350
13351 (rst-compare-adornments, rst-get-adornment-match)
13352 (rst-suggest-new-adornment, rst-get-adornments-around)
13353 (rst-adornment-complete-p, rst-get-next-adornment)
13354 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13355 (rst-straighten-adornments): Standardize function names to
13356 use "adornment" instead of "decoration". Correct callers.
13357 Similar standardizing in many places.
13358
13359 (rst-update-section, rst-adjust, rst-promote-region)
13360 (rst-enumerate-region, rst-bullet-list-region)
13361 (rst-repeat-last-character): Correct use of `interactive'.
13362
13363 (rst-classify-adornment, rst-find-all-adornments)
13364 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13365 (rst-find-leftmost-column, rst-repeat-last-character):
13366 Refactor functions.
13367
13368 (rst-find-title-line, rst-reset-section-caches)
13369 (rst-get-adornments-around, rst-adjust-adornment-work)
13370 (rst-arabic-to-roman, rst-roman-to-arabic)
13371 (rst-insert-list-pos, rst-insert-list-new-item)
13372 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13373 New functions.
13374
13375 (rst-all-sections, rst-section-hierarchy)
13376 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13377 New variables.
13378
13379 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13380 configuration instead of only buffer. Change where necessary.
13381
13382 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13383 (rst-shift-region, rst-adaptive-fill): New functions for
13384 indentation and filling.
13385
13386 (rst-comment-line-break, rst-comment-indent)
13387 (rst-comment-insert-comment, rst-comment-region)
13388 (rst-uncomment-region): New functions for handling comments.
13389
13390 (rst-compile): Quote shell arguments.
13391
13392 (rst-compile-pdf-preview, rst-compile-slides-preview):
13393 Delete temporary files after use.
13394
13395 2012-05-05 Glenn Morris <rgm@gnu.org>
13396
13397 * calendar/cal-html.el: Optionally include holidays in the output.
13398 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13399 (cal-html-holidays): New option.
13400 (cal-html-css-default): Add holiday entry.
13401 (holiday-in-range): Autoload it.
13402 (cal-html-htmlify-entry): Add optional class argument.
13403 (cal-html-htmlify-list): Add optional holidays argument.
13404 (cal-html-insert-agenda-days): Include holidays in the output.
13405 (cal-html-one-month): Maybe include holidays.
13406
13407 * calendar/holidays.el (holiday-in-range):
13408 Move here from cal-tex-list-holidays.
13409 * calendar/cal-tex.el (cal-tex-list-holidays):
13410 Make it an obsolete alias for holiday-in-range. Update all callers.
13411
13412 2012-05-05 Chong Yidong <cyd@gnu.org>
13413
13414 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13415 Nextstep.
13416
13417 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13418
13419 * files.el (file-auto-mode-skip): New var.
13420 (set-auto-mode-1): Use it.
13421
13422 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13423
13424 * repeat.el: Use lexical-binding.
13425 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13426 (repeat-undo-count): Remove.
13427 (repeat):
13428 * progmodes/octave-mod.el (octave-abbrev-start):
13429 * progmodes/f90.el (f90-abbrev-start):
13430 * face-remap.el (text-scale-adjust):
13431 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13432
13433 * emacs-lisp/pcase.el (pcase--let*): New function.
13434 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13435 a bit more.
13436 (pcase--split-pred): Be more clever about ruling out overlap between
13437 a predicate and some constant pattern.
13438 (pcase--q1): Use `null' instead of (eq foo nil).
13439
13440 * subr.el (setq-local, defvar-local): New macros.
13441 (kbd): Redefine as an alias.
13442 (with-selected-window): Leave unrelated frames alone.
13443 (set-temporary-overlay-map): New function.
13444
13445 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * subr.el (user-error): New function.
13448 * window.el (switch-to-buffer):
13449 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13450 (smerge-match-conflict):
13451 * simple.el (previous-matching-history-element)
13452 (next-matching-history-element, goto-history-element, undo-more)
13453 (undo-start):
13454 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13455 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13456 (next-file, tags-loop-scan, list-tags, complete-tag):
13457 * progmodes/compile.el (compilation-loop):
13458 * mouse.el (mouse-minibuffer-check):
13459 * man.el (Man-bgproc-sentinel, Man-goto-page):
13460 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13461 (Info-history-forward, Info-follow-reference, Info-menu)
13462 (Info-extract-menu-item, Info-extract-menu-counting)
13463 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13464 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13465 (Info-next-reference, Info-prev-reference, Info-index)
13466 (Info-index-next, Info-follow-nearest-node)
13467 (Info-copy-current-node-name):
13468 * imenu.el (imenu--make-index-alist)
13469 (imenu-default-create-index-function, imenu-add-to-menubar):
13470 * files.el (basic-save-buffer, recover-file):
13471 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13472 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13473 (checkdoc-message-text, checkdoc-defun):
13474 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13475 * cus-edit.el (customize-changed-options, customize-rogue)
13476 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13477 (custom-variable-mark-to-reset-standard)
13478 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13479 (custom-file):
13480 * completion.el (check-completion-length):
13481 * comint.el (comint-search-arg)
13482 (comint-previous-matching-input-string-position)
13483 (comint-previous-matching-input)
13484 (comint-replace-by-expanded-history-before-point, comint-send-input)
13485 (comint-copy-old-input, comint-backward-matching-input)
13486 (comint-goto-process-mark, comint-set-process-mark):
13487 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13488 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13489
13490 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13491
13492 * dabbrev.el (dabbrev--ignore-case-p): New function.
13493 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13494 Use it.
13495
13496 * files.el (automount-dir-prefix): Mark as obsolete.
13497
13498 2012-05-04 Glenn Morris <rgm@gnu.org>
13499
13500 * patcomp.el, play/bruce.el: Move to obsolete/.
13501
13502 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13503
13504 Fix minor Y10k bugs.
13505 * arc-mode.el (archive-unixdate):
13506 * autoinsert.el (auto-insert-alist):
13507 * calc/calc-forms.el (math-this-year):
13508 * emacs-lisp/copyright.el (copyright-current-year)
13509 (copyright-update-year, copyright):
13510 * tar-mode.el (tar-clip-time-string):
13511 * time.el (display-time-update):
13512 Don't assume years have 4 digits.
13513
13514 2012-05-04 Chong Yidong <cyd@gnu.org>
13515
13516 * dos-w32.el (file-name-buffer-file-type-alist)
13517 (direct-print-region-use-command-dot-com):
13518 * ffap.el (ffap-menu-regexp):
13519 * find-file.el (ff-special-constructs):
13520 * follow.el (follow-debug):
13521 * forms.el (forms--debug):
13522 * iswitchb.el (iswitchb-all-frames):
13523 * ido.el (ido-all-frames):
13524 * emacs-lisp/timer.el (timer-max-repeats):
13525 * mail/feedmail.el (feedmail-mail-send-hook)
13526 (feedmail-mail-send-hook-queued):
13527 * mail/footnote.el (footnote-signature-separator):
13528 * mail/mailabbrev.el (mail-alias-separator-string)
13529 (mail-abbrev-mode-regexp):
13530 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13531 * progmodes/idlwave.el (idlwave-libinfo-file)
13532 (idlwave-default-completion-case-is-down)
13533 (idlwave-library-routines): Convert defvars to defcustoms.
13534
13535 * mail/rmail.el (rmail-decode-mime-charset):
13536 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13537 (idlwave-shell-fix-inserted-breaks)
13538 (idlwave-shell-activate-alt-keybindings)
13539 (idlwave-shell-use-breakpoint-glyph):
13540 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13541
13542 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13543
13544 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13545
13546 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13547
13548 * progmodes/verilog-mode.el (font-lock-keywords):
13549 Fix mis-highligting auto. Reported by Craig Barner.
13550 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13551 defines from global name space. Reported by Dan Dever.
13552 (verilog-auto-reset, verilog-auto-reset-widths)
13553 (verilog-auto-tieoff): Support using unbased numbers for
13554 AUTORESET and AUTOTIEOFF.
13555 (verilog-submit-bug-report): Update variable list.
13556 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13557 parenthesis from not matching. Reported by Michael Rytting.
13558 (verilog-auto-template-lint): Fix hash error when linting modules
13559 with no used templates.
13560 (verilog-warn, verilog-warn-error)
13561 (verilog-warn-fatal): When non-interactive report multiple
13562 warnings before exiting. Suggested by Brad Dobbie.
13563 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13564 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13565 to report unused template errors. Reported by Brad Dobbie.
13566 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13567 nets, bug438. Reported by Vns Blore.
13568 (verilog-auto-inout-module, verilog-auto-reg)
13569 (verilog-read-decls, verilog-read-sub-decls-sig)
13570 (verilog-signals-edit-wire-reg, verilog-signals-with):
13571 Fix passing of Verilog data types in ANSI input/output ports
13572 such as "output logic" into the AUTOs. Special case "wire" and
13573 "reg" for backwards compatibility presuming Verilog 2001.
13574 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13575 (verilog-preprocess): Fix replication of preprocess output.
13576 Reported by Brad Dobbie.
13577 (verilog-auto-inst-interfaced-ports):
13578 Create verilog-auto-inst-interfaced-ports, bug429.
13579 Reported by Julian Gorfajn.
13580 (verilog-after-save-font-hook)
13581 (verilog-before-save-font-hook): New variable.
13582 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13583 (verilog-save-font-mods): Wrap disabling fontification, reported
13584 by David Rogoff.
13585 (verilog-do-indent, verilog-pretty-declarations-auto)
13586 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13587 Reported by Pierre-David Pfister.
13588 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13589 of class declarations, bug292. Reported by Kevin Heilman.
13590 (verilog-read-decls): Fix 'parameter type' not appearing in
13591 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13592 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13593 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13594 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13595 Reported by David Kravitz.
13596
13597 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13598
13599 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13600 assignment with tests in ifs and for loops.
13601 (verilog-extended-complete-re, verilog-complete-reg): Change so
13602 that DPI inport functions don't look like fuction declarations.
13603 (verilog-pretty-expr): Don't line up assignment
13604 operations to the test and increment in if and for loops
13605 (verilog-extended-complete-re, verilog-complete-reg): Change so
13606 that DPI inport functions don't look like fuction declarations.
13607
13608 2012-05-03 Kenichi Handa <handa@m17n.org>
13609
13610 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13611 decoding, and show a warning message without signaling an error
13612 (Bug#11282).
13613
13614 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * emacs-lisp/bytecomp.el
13617 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13618 since cconv.el might have introduced :fun-body, internal-make-closure,
13619 and friends for bytecomp to handle (bug#11391).
13620 * custom.el (defcustom): Avoid ((λ ..) ..).
13621
13622 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13625
13626 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13627
13628 * notifications.el (dbus-debug):
13629 * term/linux.el (gpm-mouse-enable):
13630 * term/screen.el (xterm-register-default-colors): Declare.
13631
13632 2012-05-02 Chong Yidong <cyd@gnu.org>
13633
13634 * cus-start.el (gc-cons-percentage, exec-suffixes)
13635 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13636 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13637 (make-cursor-line-fully-visible, void-text-area-pointer)
13638 (font-list-limit): Add customization data.
13639
13640 * allout.el (allout-exposure-change-functions)
13641 (allout-structure-added-functions)
13642 (allout-structure-deleted-functions)
13643 (allout-structure-shifted-functions): Rename abnormal hooks from
13644 *-hook, and convert to defcustoms.
13645 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13646 Convert to defcustoms.
13647 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13648
13649 * allout-widgets.el: Hook callers changed.
13650
13651 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13652
13653 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13654 the yanked message in preference to the default value of
13655 buffer-file-coding-system.
13656
13657 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13658
13659 * window.el (display-buffer--action-function-custom-type):
13660 Fix entry.
13661
13662 2012-05-02 Alan Mackenzie <acm@muc.de>
13663
13664 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13665
13666 2012-05-01 Glenn Morris <rgm@gnu.org>
13667
13668 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13669
13670 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13671
13672 * cus-edit.el (custom-variable-documentation): Simplify with format.
13673
13674 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13675 Stefan Monnier <monnier@iro.umontreal.ca>
13676
13677 * simple.el (suggest-key-bindings, execute-extended-command):
13678 Move from keyboard.c.
13679
13680 2012-05-01 Chong Yidong <cyd@gnu.org>
13681
13682 * follow.el: Eliminate advice.
13683 (set-process-filter, process-filter, sit-for): Advice deleted.
13684 (follow-mode-off-hook): Obsolete hook removed.
13685 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13686 Vars deleted.
13687 (follow-auto): Use a :set function.
13688 (follow-mode): Rewritten. Don't advise process filters.
13689 (follow-switch-to-current-buffer-all, follow-scroll-up)
13690 (follow-scroll-down): Assume follow-mode is bound.
13691 (follow-comint-scroll-to-bottom)
13692 (follow-align-compilation-windows): New functions.
13693 (follow--window-sorter): New function.
13694 (follow-all-followers): Use it to explicitly sort windows by their
13695 positions; don't make assumptions about next-window order.
13696 (follow-windows-start-end, follow-delete-other-windows-and-split)
13697 (follow-calc-win-start): Doc fix.
13698 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13699 vertical-motion unnecessarily.
13700 (follow-adjust-window): New function.
13701 (follow-post-command-hook): Use it.
13702 (follow-call-set-process-filter, follow-call-process-filter)
13703 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13704 (follow-stop-intercept-process-output, follow-generic-filter):
13705 Functions deleted.
13706 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13707 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13708 New functions, replacing advice on scroll-bar-* commands.
13709 (follow-mwheel-scroll): New function (Bug#4112).
13710
13711 * comint.el (comint-adjust-point): New function.
13712 (comint-postoutput-scroll-to-bottom): Use it.
13713 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13714
13715 2012-05-01 Glenn Morris <rgm@gnu.org>
13716
13717 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13718 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13719 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13720 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13721 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13722 Remove no-byte-compile setting.
13723
13724 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13725
13726 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13727 all-completions code to not return a number in the last cdr.
13728
13729 2012-04-30 Leo Liu <sdl.web@gmail.com>
13730
13731 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13732 read-only error.
13733
13734 2012-04-29 Chong Yidong <cyd@gnu.org>
13735
13736 * follow.el (follow-calc-win-end): Rewrite to handle partial
13737 screen lines correctly (Bug#8390).
13738 (follow-avoid-tail-recenter): Minor cleanup.
13739
13740 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13741
13742 Avoid the obsolete `assoc' package.
13743 * speedbar.el (speedbar-refresh): Avoid adelete.
13744 (speedbar-file-lists): Simplify and avoid aput.
13745 * man.el (Man--sections, Man--refpages): New vars, replacing
13746 Man-sections-alist and Man-refpages-alist.
13747 (Man-build-section-alist, Man-build-references-alist):
13748 Use them; avoid aput.
13749 (Man--last-section, Man--last-refpage): New vars.
13750 (Man-follow-manual-reference): Use them.
13751 Use the `default' arg of completing-read.
13752 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13753
13754 2012-04-27 Chong Yidong <cyd@gnu.org>
13755
13756 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13757
13758 * startup.el (x-apply-session-resources): New function.
13759
13760 * term/ns-win.el (ns-initialize-window-system):
13761 * term/w32-win.el (w32-initialize-window-system):
13762 * term/x-win.el (x-initialize-window-system): Use it to properly
13763 set menu-bar-mode and other vars from X resources, even if the
13764 initial frame is not a window-system frame (Bug#2299).
13765
13766 * subr.el (read-key): Avoid running filter function when setting
13767 up temporary tool bar entries (Bug#9922).
13768
13769 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13772 (Bug#11344)
13773
13774 2012-04-27 Chong Yidong <cyd@gnu.org>
13775
13776 * select.el (xselect--encode-string): New function, split from
13777 xselect-convert-to-string.
13778 (xselect-convert-to-string): Use it.
13779 (xselect-convert-to-filename, xselect-convert-to-os)
13780 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13781 returned strings are properly encoded (Bug#11315).
13782
13783 2012-04-27 Chong Yidong <cyd@gnu.org>
13784
13785 * simple.el (delete-active-region): Move to killing custom group.
13786
13787 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13788
13789 * progmodes/which-func.el (which-func-current): Quote %
13790 characters for mode-line processing.
13791
13792 2012-04-27 Chong Yidong <cyd@gnu.org>
13793
13794 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13795 reaching eob (Bug#11286).
13796
13797 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13798
13799 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13800 (gdb): Make it buffer-local and init to zero.
13801 (gdb-control-commands-regexp): New variable.
13802 (gdb-send): Don't wrap in "-interpreter-exec console" if
13803 gdb-control-level is positive. Increment gdb-control-level
13804 whenever the command matches gdb-control-commands-regexp, and
13805 decrement it each time the command is "end". (Bug#11279)
13806
13807 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13808
13809 * window.el (adjust-window-trailing-edge, enlarge-window)
13810 (shrink-window, window-resize):
13811 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13812 windows (Bug#11276).
13813
13814 2012-04-27 Chong Yidong <cyd@gnu.org>
13815
13816 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13817 fix "missing prefix" warning. All callers changed.
13818
13819 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * emacs-lisp/assoc.el: Move to obsolete/.
13822
13823 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13826
13827 * term/ns-win.el (ns-define-service):
13828 * progmodes/pascal.el (pascal-goto-defun):
13829 * progmodes/js.el (js--read-tab):
13830 * progmodes/etags.el (tags-lazy-completion-table):
13831 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13832 * emacs-lisp/ewoc.el (ewoc--wrap):
13833 * emacs-lisp/assoc.el (aput, adelete, amake):
13834 * doc-view.el (doc-view-convert-current-doc):
13835 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13836
13837 2012-04-26 Chong Yidong <cyd@gnu.org>
13838
13839 * image.el (image-type-from-buffer): Only return supported image
13840 type (Bug#9045).
13841
13842 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13843 value, for symmetry with diff-end-of-hunk.
13844 (diff-split-hunk, diff-find-source-location)
13845 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13846 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13847 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13848 compute the relevant hunk or file properly (Bug#6005).
13849 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13850
13851 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13852
13853 * vc/vc-mtn.el:
13854 * vc/vc-hg.el:
13855 * vc/vc-git.el:
13856 * vc/vc-dir.el:
13857 * vc/vc-cvs.el:
13858 * vc/vc-bzr.el:
13859 * vc/vc-arch.el:
13860 * vc/vc.el: Replace lexical-let by lexical-binding.
13861 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13862 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13863 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13864
13865 2012-04-26 Chong Yidong <cyd@gnu.org>
13866
13867 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13868 (diff-mode-shared-map): Bind it to / and [remap undo].
13869
13870 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13871 (ediff-window-setup-function): Use it as the default, to set up
13872 windows based on whether the current frame is graphical (Bug#2138).
13873 (ediff-choose-window-setup-function-automatically): Make obsolete.
13874
13875 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13876
13877 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13878
13879 * ffap.el: Remove old code for obsolete package.
13880 (ffap-complete-as-file-p): Remove.
13881
13882 Use completion-table-with-quoting for comint and pcomplete.
13883 * comint.el (comint--unquote&requote-argument)
13884 (comint--unquote-argument, comint--requote-argument): New functions.
13885 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13886 (comint-quote-filename): Use regexp-opt-charset.
13887 (comint--common-suffix, comint--common-quoted-suffix)
13888 (comint--table-subvert): Remove.
13889 (comint-unquote-function, comint-requote-function): New vars.
13890 (comint--complete-file-name-data): Use them with
13891 completion-table-with-quoting.
13892 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13893 * pcomplete.el (pcomplete-arg-quote-list)
13894 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13895 (pcomplete-unquote-argument-function): Default to non-nil.
13896 (pcomplete-unquote-argument): Simplify.
13897 (pcomplete--common-quoted-suffix): Remove.
13898 (pcomplete-requote-argument-function): New var.
13899 (pcomplete--common-suffix): New function.
13900 (pcomplete-completions-at-point): Use completion-table-with-quoting
13901 and completion-table-subvert.
13902
13903 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13904 (minibuffer--double-dollars): Preserve properties.
13905 (completion--sifn-requote): New function.
13906 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13907
13908 * minibuffer.el: Add support for completion of quoted/escaped data.
13909 (completion-table-with-quoting, completion-table-subvert): New funs.
13910 (completion--twq-try, completion--twq-all): New functions.
13911 (completion--nth-completion): New function.
13912 (completion-try-completion, completion-all-completions): Use it.
13913
13914 2012-04-25 Leo Liu <sdl.web@gmail.com>
13915
13916 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13917 Use compilation-message if available to find real filename.
13918
13919 2012-04-25 Chong Yidong <cyd@gnu.org>
13920
13921 * vc/diff-mode.el (diff-setup-whitespace): New function.
13922 (diff-mode): Use it.
13923
13924 * vc/diff.el (diff-sentinel):
13925 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13926 Whitespace mode variables based on diff style (Bug#8612).
13927
13928 2012-04-25 Leo Liu <sdl.web@gmail.com>
13929
13930 * progmodes/python.el (python-send-region): Add suffix .py to the
13931 temp file.
13932
13933 * files.el (auto-mode-alist): Use javascript-mode instead.
13934
13935 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13936
13937 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13938
13939 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13940 (soap-resolve-references-for-array-type): Hack to prevent self
13941 references, see Bug#9.
13942 (soap-parse-envelope): Report the contents of the 'detail' node
13943 when receiving a fault reply.
13944 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13945
13946 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13947 (soap-inspect-simple-type): New function.
13948
13949 * net/soap-client.el (soap-simple-type): New struct.
13950 (soap-default-xsd-types, soap-default-soapenc-types)
13951 (soap-decode-basic-type, soap-encode-basic-type):
13952 support unsignedInt and double basic types.
13953 (soap-resolve-references-for-simple-type)
13954 (soap-parse-simple-type, soap-encode-simple-type): New function.
13955 (soap-parse-schema): Parse xsd:simpleType declarations.
13956
13957 * net/soap-client.el (soap-default-xsd-types)
13958 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13959 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13960 the local name of "soapenc:Array".
13961 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13962 decoding integer, byte and anyURI xsd types.
13963
13964 2012-04-25 Chong Yidong <cyd@gnu.org>
13965
13966 * cus-edit.el (custom-buffer-create-internal): Update header text.
13967
13968 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13969
13970 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13971 settings on 'system-type', not on 'window-system'. On MS-Windows,
13972 set interactive-mode on in GDB.
13973
13974 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13977 (ruby-syntax-propertize-regexp): Remove.
13978 (ruby-syntax-propertize-function): Split regexp into chunks.
13979 Match following code directly.
13980
13981 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13982
13983 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13984 (ruby-syntax-propertize-regexp): New function.
13985 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13986 by a special keyword.
13987
13988 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13989 (ruby-syntax-general-delimiters-goto-beg)
13990 (ruby-syntax-propertize-general-delimiters): New functions.
13991 (ruby-syntax-propertize-function): Use them to handle GDL.
13992 (ruby-font-lock-keywords): Move old handling of GDL...
13993 (ruby-font-lock-syntactic-keywords): .. to here.
13994 (ruby-calculate-indent): Adjust indentation for GDL.
13995
13996 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13997
13998 * notifications.el (top): Remove unneeded declarations.
13999 (notifications-specification-version): Change to "1.2".
14000 (notifications-interface, notifications-notify-method)
14001 (notifications-close-notification-method): Fix docstring.
14002 (notifications-get-capabilities-method): New defconst.
14003 (notifications-notify): Add :action-items, :resident and
14004 :transient hints. Change "image_data" to "image-data" and
14005 "image_path" to "image-path".
14006 (notifications-get-capabilities): New defun.
14007
14008 2012-04-24 Leo Liu <sdl.web@gmail.com>
14009
14010 * progmodes/python.el: Move hideshow setup to the end.
14011
14012 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14013
14014 * window.el (handle-select-window): Clear echo area since this is
14015 no more done by read_char (Bug#11304).
14016
14017 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14018
14019 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14020 and `/ M' to filter-derived-mode.
14021 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14022 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14023 (ibuffer-mark-by-mode): Use default rather than initial-input.
14024 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14025
14026 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14027
14028 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14029 (ibuffer-filter-by-derived-mode): New filter.
14030 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14031
14032 2012-04-23 Andreas Politz <politza@fh-trier.de>
14033
14034 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14035
14036 2012-04-23 Chong Yidong <cyd@gnu.org>
14037
14038 * cus-edit.el (customize-apropos, customize-apropos-options):
14039 Disable matching of non-option variables (Bug#11176).
14040 (customize-option, customize-option-other-window)
14041 (customize-changed-options): Doc fix.
14042 (customize-apropos-options, customize-apropos-faces)
14043 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14044
14045 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14046 Fix word list splitting (Bug#11132).
14047 (apropos-symbol, apropos-keybinding, apropos-label)
14048 (apropos-property, apropos-function-button)
14049 (apropos-variable-button, apropos-misc-button): New faces.
14050 (apropos-symbol-face, apropos-keybinding-face)
14051 (apropos-label-face, apropos-property-face, apropos-match-face):
14052 Variables removed (Bug#8396).
14053 (apropos-library-button, apropos-format-plist, apropos-print)
14054 (apropos-print-doc, apropos-describe-plist): Callers changed.
14055
14056 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14057
14058 * net/xesam.el (xesam-mode-map): Use let-bound map in
14059 initialization. (Bug#11292)
14060
14061 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14062
14063 Preserve ispell session localwords when switching back to
14064 original buffer.
14065
14066 * textmodes/ispell.el (ispell-buffer-session-localwords):
14067 New buffer-local variable to hold buffer session localwords.
14068 (ispell-kill-ispell): Add option 'clear to delete session
14069 localwords.
14070 (ispell-command-loop, ispell-change-dictionary)
14071 (ispell-buffer-local-words): Preserve session localwords when
14072 needed.
14073
14074 * textmodes/flyspell.el (flyspell-process-localwords)
14075 (flyspell-do-correct): Preserve session localwords when needed.
14076
14077 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14078
14079 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14080 using obsolete `translation-table-for-input'.
14081 (ispell-word, ispell-process-line, ispell-complete-word):
14082 Use plain `insert' instead of removed `ispell-insert-word'.
14083
14084 2012-04-22 Chong Yidong <cyd@gnu.org>
14085
14086 * cus-edit.el (custom-variable-menu)
14087 (custom-variable-reset-saved, custom-face-menu)
14088 (custom-face-reset-saved): If there is no saved value, make the
14089 "reset-saved" operation bring back the default (Bug#9509).
14090 (custom-face-state): Properly detect themed faces.
14091
14092 * faces.el (face-spec-set): Stop supporting deprecated form of
14093 third arg.
14094
14095 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14096
14097 Move functions from C to Lisp. Make non-blocking method calls
14098 the default. Implement further D-Bus standard interfaces.
14099
14100 * net/dbus.el (dbus-message-internal): Declare function.
14101 Remove unneeded function declarations.
14102 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14103 (dbus-message-type-method-return, dbus-message-type-error)
14104 (dbus-message-type-signal): Declare variables. Remove local
14105 definitions.
14106 (dbus-interface-dbus, dbus-interface-peer)
14107 (dbus-interface-introspectable, dbus-interface-properties)
14108 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14109 Adapt docstring.
14110 (dbus-interface-objectmanager): New defconst.
14111 (dbus-call-method, dbus-call-method-asynchronously)
14112 (dbus-send-signal, dbus-method-return-internal)
14113 (dbus-method-error-internal, dbus-register-service)
14114 (dbus-register-signal, dbus-register-method): New defuns, moved
14115 from dbusbind.c
14116 (dbus-call-method-handler, dbus-setenv)
14117 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14118 New defuns.
14119 (dbus-call-method-non-blocking): Make it an obsolete function.
14120 (dbus-unregister-object, dbus-unregister-service)
14121 (dbus-handle-event, dbus-register-property)
14122 (dbus-property-handler): Obey the new structure of
14123 `bus-registered-objects'.
14124 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14125 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14126 Use `dbus-call-method'.
14127
14128 2012-04-22 Chong Yidong <cyd@gnu.org>
14129
14130 * cus-edit.el (custom-commands, custom-reset-menu)
14131 (Custom-reset-standard): Tweak labels.
14132 (custom-reset-button-menu): Change default to t.
14133 (custom-buffer-create-internal): For the custom-reset-button-menu
14134 case, put the revert button first.
14135 (custom-group-subtitle): New face.
14136 (custom-group-value-create): Align docstring to a specific column.
14137
14138 * wid-edit.el (widget-documentation-link-add): Don't handle
14139 indentation in this function.
14140 (widget-documentation-string-indent-to): New function.
14141 (widget-documentation-string-value-create): Use it.
14142
14143 * autorevert.el (auto-revert):
14144 * epg-config.el (epg):
14145 * ibuffer.el (ibuffer):
14146 * mpc.el (mpc):
14147 * ses.el (ses):
14148 * eshell/eshell.el (eshell):
14149 * net/ange-ftp.el (ange-ftp):
14150 * progmodes/ebnf2ps.el (postscript):
14151 * progmodes/flymake.el (flymake):
14152 * progmodes/prolog.el (prolog):
14153 * progmodes/verilog-mode.el (verilog-mode):
14154 * progmodes/which-func.el (which-func):
14155 * term/xterm.el (xterm):
14156 * textmodes/picture.el (picture):
14157 * textmodes/tildify.el (tildify):
14158 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14159 customization buffers.
14160
14161 2012-04-22 Alan Mackenzie <acm@muc.de>
14162
14163 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14164 Adding a ) can hide the resulting (..) from searches. Fix it.
14165 Bound the backward search to the position of the existing (.
14166
14167 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14168
14169 * progmodes/verilog-mode.el (verilog-mode): Check whether
14170 which-func-modes is t before adding verilog-mode.
14171 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14172
14173 2012-04-21 Leo Liu <sdl.web@gmail.com>
14174
14175 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14176
14177 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14178
14179 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14180 filling of the last column of a table (Bug#5635).
14181 (woman-find-next-control-line): New arg, specifying an additional
14182 regexp component for the control line.
14183 (woman2-roff-buffer): Use it.
14184 (woman-break-table): New function.
14185 (woman2-TS): Use it.
14186
14187 2012-04-21 Chong Yidong <cyd@gnu.org>
14188
14189 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14190 (woman-horizontal-escapes, woman-negative-vertical-space)
14191 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14192 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14193
14194 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14195
14196 * minibuffer.el (completion-file-name-table): Complete user names.
14197
14198 2012-04-20 Leo Liu <sdl.web@gmail.com>
14199
14200 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14201 and pcase-let*.
14202
14203 2012-04-20 Chong Yidong <cyd@gnu.org>
14204
14205 * server.el (server-execute): Respect initial-buffer-choice if it
14206 is a string and there are no files to open (Bug#2825).
14207 (server-create-window-system-frame, server-create-tty-frame):
14208 Don't switch buffers here.
14209 (server-process-filter): Only try to open a window system frame if
14210 compiled with graphical support (Bug#8314).
14211
14212 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14213
14214 * battery.el (battery-echo-area-format): Display remaining time
14215 for sysfs backend too (Bug#11269).
14216 (battery-linux-sysfs): Fix conditional for the charge.
14217
14218 2012-04-20 Chong Yidong <cyd@gnu.org>
14219
14220 * progmodes/gdb-mi.el (gdb): Revert previous change.
14221 (gdb-inferior-io--init-proc): New function.
14222 (gdb-init-1): Use it.
14223 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14224 responsible for allocating a new pty and hooking it to gdb when
14225 the old pty gets an EIO due to process exit.
14226 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14227 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14228 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14229
14230 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14231
14232 * window.el (window-min-size, window-sizable, window-min-delta)
14233 (window-max-delta, window--resizable, window-resizable)
14234 (window-total-size, window-full-height-p, window-full-width-p)
14235 (window-in-direction, window--resize-mini-window, window-resize)
14236 (window--resize-child-windows-normal)
14237 (window--resize-child-windows, window--resize-siblings)
14238 (window--resize-this-window, adjust-window-trailing-edge)
14239 (enlarge-window, shrink-window): Doc fixes.
14240
14241 2012-04-20 Chong Yidong <cyd@gnu.org>
14242
14243 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14244 New function to call delete-process on the gdb-inferior buffer's pty.
14245 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14246 pty process (Bug#11273).
14247 (gdb-update): New arg to suppress talking to the gdb process.
14248 (gdb-done-or-error): Use it.
14249 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14250 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14251 sentinel not being called.
14252
14253 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14254
14255 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14256
14257 2012-04-20 Glenn Morris <rgm@gnu.org>
14258
14259 * net/network-stream.el (open-network-stream): Doc fix.
14260
14261 2012-04-20 Chong Yidong <cyd@gnu.org>
14262
14263 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14264
14265 2012-04-20 Alan Mackenzie <acm@muc.de>
14266
14267 Ensure searching for keywords is case sensitive.
14268
14269 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14270 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14271 (c-defun-name, c-mark-function, c-cpp-define-name)
14272 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14273 (c-context-line-break): Bind case-fold-search to nil.
14274
14275 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14276 Bind case-fold-search to nil.
14277
14278 2012-04-20 Chong Yidong <cyd@gnu.org>
14279
14280 * mail/sendmail.el (mail-bury): Call return action with the right
14281 Rmail buffer (Bug#11242).
14282
14283 * server.el (server-process-filter): Handle corner case where both
14284 tty and nowait options are present (Bug#11102).
14285
14286 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14287
14288 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14289 (top level): Put into the executable the ident-style '$Id:' tag on
14290 windows-nt as well.
14291
14292 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * electric.el (electric-indent-post-self-insert-function): Check that
14295 electric-indent-mode is enabled in current buffer.
14296
14297 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14298
14299 * imenu.el (imenu-progress-message): Restore; it is "used" in
14300 erc/erc-imenu.el and net/snmp-mode.el.
14301
14302 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14303
14304 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14305 (mouse-avoidance-nudge-mouse): Remove unused binding.
14306
14307 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14308
14309 * descr-text.el (describe-char):
14310 * progmodes/python.el (python-describe-symbol):
14311 Don't call `toggle-read-only', set `buffer-read-only'.
14312
14313 * imenu.el (imenu-default-goto-function): Mark unused args.
14314 (imenu-progress-message): Remove obsolete macro; all callers changed.
14315
14316 * subr.el (keymap-canonicalize): Remove unused binding.
14317 (read-passwd): Mark unused arg.
14318
14319 * tutorial.el (tutorial--display-changes): Remove unused binding.
14320 (tutorial--save-tutorial-to): Remove unused variable.
14321
14322 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14323 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14324 (package-generate-autoloads, package-menu--generate)
14325 (package-menu--find-upgrades): Remove unused bindings.
14326
14327 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14328 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14329 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14330 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14331 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14332 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14333 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14334 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14335 (cua-delete-char-rectangle): Mark unused args.
14336 (cua-align-rectangle): Remove unused binding.
14337
14338 * mail/rmail.el (compilation--message->loc)
14339 (epa--find-coding-system-for-mime-charset): Declare.
14340
14341 * net/dbus.el (dbus-register-service): Declare.
14342 (dbus-name-owner-changed-handler): Remove unused binding.
14343
14344 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14345 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14346 (nxml-scan-backward-within): Mark unused arg.
14347 (nxml-dynamic-markup-word): Remove unused binding.
14348
14349 * mouse.el (mouse-menu-major-mode-map):
14350 * emacs-lisp/authors.el (authors-scan-change-log)
14351 (authors-add-to-author-list):
14352 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14353 * emacs-lisp/smie.el (smie-auto-fill):
14354 * mail/sendmail.el (mail-bury):
14355 * mail/unrmail.el (unrmail):
14356 * net/tls.el (open-tls-stream):
14357 * textmodes/picture.el (picture-mouse-set-point):
14358 Remove unused bindings.
14359
14360 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14361
14362 * net/tramp.el (tramp-action-password): Let-bind
14363 `enable-recursive-minibuffers' to t.
14364
14365 2012-04-18 Sam Steingold <sds@gnu.org>
14366
14367 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14368 instead of 'string to accommodate values like [f11].
14369 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14370 * progmodes/gdb-mi.el: Likewise.
14371
14372 2012-04-18 Leo Liu <sdl.web@gmail.com>
14373
14374 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14375 current buffer.
14376 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14377 LOCAL is nil.
14378
14379 2012-04-18 Chong Yidong <cyd@gnu.org>
14380
14381 * simple.el (line-move): Use forward-line if in batch mode
14382 (Bug#11053).
14383
14384 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14385
14386 * files.el (after-find-file): Do not try to add a final newline if
14387 the buffer is read-only (Bug#11156).
14388
14389 2012-04-17 Richard Stallman <rms@gnu.org>
14390
14391 * mail/rmail.el (rmail-start-mail):
14392 Pass (rmail-mail-return...) for the return-action.
14393 Pass (rmail-yank-current-message...) for the yank-action.
14394 (rmail-yank-current-message): New function.
14395 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14396 (rmail-reply): Likewise.
14397 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14398
14399 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14400 buffer, not the last. Reject temp buffers. Use the rmail-mode
14401 buffer, not newbuf.
14402
14403 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14404
14405 * server.el (server-ensure-safe-dir): Simplify.
14406
14407 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14408
14409 * emacs-lisp/smie.el: Provide smarter auto-filling.
14410 (smie-auto-fill): New function.
14411 (smie-setup): Use it.
14412
14413 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14414
14415 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14416
14417 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14418 (comment-indent): Use it.
14419
14420 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14421
14422 * ses.el: The overall change is to add cell renaming, that is
14423 setting fancy names for cell symbols other than name matching
14424 "\\`[A-Z]+[0-9]+\\'" regexp .
14425 (ses-localvars): Add ses--renamed-cell-symb-list.
14426 (ses-create-cell-variable): New defun.
14427 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14428 (ses-relocate-formula): Relocate formulas only for cells the
14429 symbols of which are not renamed, i.e. symbols whose names do not
14430 match regexp "\\`[A-Z]+[0-9]+\\'".
14431 (ses-relocate-all): Relocate values only for cells the symbols of
14432 which are not renamed.
14433 (ses-load): Create cells variables as the (ses-cell ...) are read,
14434 in order to check row col consistency with cell symbol name only
14435 for cells that are not renamed.
14436 (ses-replace-name-in-formula): New defun.
14437 (ses-rename-cell): New defun.
14438
14439 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14440
14441 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14442 New option (bug#11118).
14443 (perl-calculate-indent): Respect it.
14444
14445 2012-04-17 Glenn Morris <rgm@gnu.org>
14446
14447 * dired-aux.el (dired-mark-read-string): Doc fix.
14448
14449 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14450
14451 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14452 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14453
14454 2012-04-17 Glenn Morris <rgm@gnu.org>
14455
14456 * mouse.el (mouse-drag-track):
14457 * speedbar.el (speedbar-frame-mode):
14458 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14459
14460 2012-04-16 Leo Liu <sdl.web@gmail.com>
14461
14462 * progmodes/python.el: Trivial cleanup.
14463
14464 2012-04-16 Glenn Morris <rgm@gnu.org>
14465
14466 * vc/vc.el (vc-string-prefix-p):
14467 * vc/pcvs-util.el (cvs-string-prefix-p):
14468 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14469 * mpc.el (mpc-string-prefix-p):
14470 Make all of these into obsolete aliases for string-prefix-p.
14471 Update callers.
14472 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14473
14474 * textmodes/two-column.el: Move custom options to the start.
14475 (frame-width): Remove compat definition.
14476 (2C-associate-buffer, 2C-dissociate):
14477 Use with-current-buffer rather than save-excursion.
14478 (2C-dissociate): Force a mode-line update.
14479 (2C-autoscroll): Use ignore-errors.
14480
14481 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14482 Autoload trivia.
14483
14484 * emacs-lisp/cl-extra.el (*random-state*):
14485 Remove unnecessary declaration.
14486
14487 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14488
14489 * play/cookie1.el (cookie-snarf):
14490 Give an explicit error if input file cannot be read.
14491
14492 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14493
14494 * progmodes/perl-mode.el (c-macro-expand):
14495 Remove unnecessary autoload (it is in loaddefs.el).
14496
14497 * textmodes/picture.el (picture-desired-column)
14498 (picture-update-desired-column): Convert comments to doc-strings.
14499 (picture-substitute): Remove function.
14500 (picture-mode-map): Initialize in the defvar.
14501
14502 * woman.el: Remove eval-after-load for tar-mode.
14503 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14504 (woman-tar-extract-file): Autoload it.
14505
14506 * frame.el (automatic-hscrolling): Make this alias obsolete.
14507
14508 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14509
14510 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14511 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14512 (ispell-dictionary-base-alist): Revert to original XEmacs
14513 friendly version for default. [:alpha:] will be added in
14514 `ispell-set-spellchecker-params' if needed.
14515
14516 2012-04-16 Chong Yidong <cyd@gnu.org>
14517
14518 * image.el (imagemagick--file-regexp): New variable.
14519 (imagemagick-register-types): Use it.
14520 (imagemagick-types-inhibit): Add :set function. Allow new value
14521 of t to inhibit all types.
14522
14523 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14524 so we can preload it.
14525
14526 * loadup.el (fboundp): Preload regexp-opt, needed by
14527 imagemagick-register-types.
14528
14529 2012-04-15 Chong Yidong <cyd@gnu.org>
14530
14531 * frame.el (scrolling): Remove nearly unused customization group.
14532
14533 * scroll-all.el (scroll-all-mode): Move to windows group.
14534
14535 2012-04-15 Chong Yidong <cyd@gnu.org>
14536
14537 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14538
14539 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14542 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14543
14544 2012-04-15 Glenn Morris <rgm@gnu.org>
14545
14546 * simple.el (process-file-side-effects): Doc fix.
14547
14548 2012-04-15 Glenn Morris <rgm@gnu.org>
14549
14550 * international/mule-cmds.el (set-language-environment): Doc fix.
14551
14552 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14553
14554 * server.el (server-auth-key, server-generate-key): Doc fixes.
14555 (server-get-auth-key): Doc fix. Use `string-match-p'.
14556 (server-start): Reflow docstring.
14557
14558 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14559
14560 * server.el (server-generate-key): `called-interactively-p'
14561 requires a parameter.
14562
14563 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14564
14565 * server.el (server-auth-key): New variable.
14566 (server-generate-key, server-get-auth-key): New function.
14567 (server-start): Use the new variable and functions to allow
14568 setting a permanent server key (bug#9423).
14569
14570 2012-04-14 Leo Liu <sdl.web@gmail.com>
14571
14572 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14573
14574 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14575
14576 Spelling fixes.
14577 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14578 Emacs uses American spelling.
14579
14580 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14581
14582 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14583 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14584 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14585 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14586
14587 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14588
14589 * progmodes/which-func.el (which-func-modes): Change default.
14590
14591 2012-04-14 Kim F. Storm <storm@cua.dk>
14592
14593 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14594 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14595
14596 2012-04-14 Chong Yidong <cyd@gnu.org>
14597
14598 * custom.el (custom-theme-set-variables): Doc fix.
14599
14600 2012-04-14 Glenn Morris <rgm@gnu.org>
14601
14602 * international/mule.el (set-auto-coding-for-load): Doc fix.
14603
14604 2012-04-14 Alan Mackenzie <acm@muc.de>
14605
14606 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14607 imenu work again for Objective C Mode. Correct the *-index values,
14608 these having been disturbed by a previous change in 2011-08.
14609
14610 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14611 Correct two search limits.
14612
14613 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14614
14615 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14616
14617 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14618
14619 * international/characters.el: Fix sorting.
14620
14621 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14622
14623 * international/characters.el: Add more missing Latin case pairs.
14624
14625 2012-04-14 Glenn Morris <rgm@gnu.org>
14626
14627 * files.el (dir-locals-set-class-variables): Doc fix.
14628
14629 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14630
14631 * international/characters.el: Add set-case-syntax-pair call for
14632 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14633 counterpart. (Bug#11209)
14634
14635 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14636
14637 2012-04-14 Glenn Morris <rgm@gnu.org>
14638
14639 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14640
14641 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14642
14643 * textmodes/ispell.el (ispell-dictionary-base-alist):
14644 Add data for Hebrew.
14645
14646 2012-04-14 Chong Yidong <cyd@gnu.org>
14647
14648 * net/rcirc.el (rcirc-cmd-quit):
14649 Revert 2012-03-18 change (Bug#11192).
14650
14651 2012-04-14 Glenn Morris <rgm@gnu.org>
14652
14653 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14654
14655 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14656
14657 * minibuffer.el (completion-in-region-mode-map):
14658 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14659
14660 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14661
14662 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14663
14664 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14665
14666 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14667 to allow `C-M-f' and `C-M-b' to move to the nearest path
14668 separator (bug#9511).
14669
14670 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14671
14672 * avoid.el: Require cl when compiling. And also move the
14673 `provide' to the end.
14674
14675 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14676
14677 * avoid.el (mouse-avoidance-banish-position): New variable.
14678 (mouse-avoidance-banish-destination): Use it (bug#10165).
14679
14680 2012-04-13 Leo Liu <sdl.web@gmail.com>
14681
14682 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14683
14684 2012-04-13 Ken Brown <kbrown@cornell.edu>
14685
14686 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14687 this is no longer needed now that cygstart understands file:// URLs.
14688 (browse-url-filename-alist): For the same reason, don't modify
14689 file:// URLs on Cygwin.
14690
14691 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14692
14693 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14694 the region on shift if the binding is already shifted (bug#11221).
14695
14696 2012-04-12 Glenn Morris <rgm@gnu.org>
14697
14698 * mail/mailpost.el: Move to obsolete/.
14699
14700 2012-04-12 Drew Adams <drew.adams@oracle.com>
14701
14702 * imenu.el (imenu--generic-function): Ignore invisible definitions
14703 (bug#10123).
14704
14705 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14706
14707 * hexl.el (hexl-bits): New variable.
14708 (hexl-options): Mention the variable in the doc string.
14709 (hexl-rulerise, hexl-line-displen): New functions.
14710 (hexl-mode): Mention the new variable.
14711 (hexl-mode, hexl-current-address, hexl-current-address):
14712 Use the displen.
14713 (hexl-ascii-start-column): New function.
14714 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14715 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14716
14717 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14718
14719 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14720 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14721 the encoding, as expected by hunspell.
14722
14723 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 * battery.el (battery--linux-sysfs-regexp): New const.
14726 (battery-status-function): Use it. Remove yeeloong special case.
14727 (battery-yeeloong-sysfs): Remove.
14728 (battery-echo-area-format): Remove yeeloong special case.
14729
14730 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14733 Reported by Noah Friedman.
14734
14735 * subr.el (read-passwd): Use read-string.
14736
14737 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14738
14739 * vcursor.el (vcursor-move): Increase the priority of the overlay
14740 (bug#9663).
14741
14742 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14743
14744 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14745 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14746
14747 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14748
14749 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14750 define-minor-mode (bug#10760).
14751
14752 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14753
14754 * progmodes/grep.el (rgrep): Tweak the find command line so
14755 that directories matching `grep-find-ignored-files' won't be
14756 pruned (bug#10351).
14757
14758 2012-04-11 Chong Yidong <cyd@gnu.org>
14759
14760 * startup.el (command-line): Remove support for long-obsolete
14761 variable font-lock-face-attributes.
14762
14763 2012-04-11 Glenn Morris <rgm@gnu.org>
14764
14765 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14766
14767 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * window.el (window--state-get-1): Obey window-point-insertion-type.
14770
14771 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14772
14773 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14774 to previous function when point is on the first character of a
14775 function. Take care of that in `narrow-to-defun' (bug#6157).
14776
14777 2012-04-11 Glenn Morris <rgm@gnu.org>
14778
14779 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14780 not just file-errors.
14781
14782 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14783 (vc-bzr-sha1): Use internal sha1.
14784
14785 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14786
14787 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14788
14789 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14790
14791 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14792 that start in the middle of the line (bug#10496).
14793
14794 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14795
14796 * battery.el (battery-linux-proc-acpi): Only one battery is
14797 discharged at a time, but that seems to confuse battery.el when
14798 computing `rate-type' for the battery not being discharged
14799 (bug#10332).
14800
14801 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14802
14803 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14804
14805 * international/quail.el: Use dolist and simplify.
14806 (quail-define-package, quail-update-keyboard-layout)
14807 (quail-define-rules): Use dolist.
14808 (quail-insert-kbd-layout, quail-get-translation): CSE.
14809
14810 * tmm.el: Use dolist, remove left over hook.
14811 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14812 Use dolist.
14813 (calendar-load-hook): Don't mess with it.
14814
14815 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14816 Use derived-mode-p. Run the diff asynchronously.
14817
14818 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14819
14820 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14821
14822 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14823
14824 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14825 (list-dynamic-libraries--loaded): New function.
14826 (list-dynamic-libraries--refresh): Use it.
14827
14828 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14829
14830 * progmodes/python.el (python-fill-paragraph):
14831 Make python-fill-region in a multiline string work when font-lock is
14832 disabled (bug#7018).
14833
14834 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14835
14836 * language/european.el (cp775): Add oem/legacy (en)coding on
14837 DOS/MS Windows for the Baltic languages. There are still plenty
14838 of texts written in this encoding/codepage (bug#6519).
14839
14840 2012-04-10 Glenn Morris <rgm@gnu.org>
14841
14842 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14843 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14844
14845 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14846
14847 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14848 next-line "n" and previous-line "p" in order to make recentf more
14849 consistent with ibuffer, dired or org-mode (bug#9387).
14850
14851 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14852
14853 * image.el (put-image): Return the overlay created instead of the
14854 optional input string (bug#7834). Note that this may break code
14855 that is (for some reason or other) depending on `put-image'
14856 returning the string.
14857
14858 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14859
14860 * simple.el (zap-to-char): Allow zapping using input methods
14861 (bug#1580).
14862
14863 * textmodes/fill.el (fill-region): Leave point and mark where they
14864 were before filling (bug#5399).
14865
14866 2012-04-09 Glenn Morris <rgm@gnu.org>
14867
14868 * version.el (emacs-bzr-get-version):
14869 Handle lightweight checkouts of local branches.
14870
14871 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14872
14873 * international/characters.el: Recover lost case pairs. (Bug#11209)
14874
14875 2012-04-09 Chong Yidong <cyd@gnu.org>
14876
14877 * custom.el (custom-variable-p): Return nil for non-symbol
14878 arguments instead of signaling an error.
14879 (user-variable-p): Obsolete alias for custom-variable-p.
14880
14881 * apropos.el (apropos-variable):
14882 * files-x.el (read-file-local-variable):
14883 * simple.el (set-variable):
14884 * woman.el (woman-mini-help):
14885 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14886
14887 2012-04-09 Glenn Morris <rgm@gnu.org>
14888
14889 * startup.el (normal-top-level): Don't look for leim-list.el
14890 in places where it will not be found. (Bug#910)
14891
14892 * international/mule-cmds.el (set-default-coding-systems):
14893 * files.el (normal-mode):
14894 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14895 This function was removed with ucs-tables.el in 2008.
14896
14897 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14898
14899 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14900 ispell-encoding8-command to "-i", without a trailing space.
14901 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14902 separate command-line arguments, to specify the encoding, since
14903 that's how hunspell expects it.
14904
14905 2012-04-08 Glenn Morris <rgm@gnu.org>
14906
14907 * loadup.el: Load bindings before cus-start.
14908 This reduces somewhat the number of "rogue" settings in emacs -Q.
14909
14910 2012-04-07 Glenn Morris <rgm@gnu.org>
14911
14912 * version.el (emacs-bzr-get-version): New function.
14913 (emacs-bzr-version): New variable.
14914 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14915 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14916
14917 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14918
14919 * international/uni-bidi.el, international/uni-category.el:
14920 * international/uni-combining.el, international/uni-decimal.el:
14921 * international/uni-decomposition.el, international/uni-digit.el:
14922 * international/uni-lowercase.el, international/uni-mirrored.el:
14923 * international/uni-name.el, international/uni-numeric.el:
14924 * international/uni-titlecase.el, international/uni-uppercase.el:
14925 Update for Unicode 6.1.
14926
14927 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14928
14929 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14930
14931 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14932
14933 * window.el (shrink-window): Mention the `window-min-height'
14934 variable in the doc string.
14935
14936 2012-04-05 Bastien Guerry <bzg@altern.org>
14937
14938 * color.el (color-lighten-name): Fix typo.
14939
14940 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14941
14942 * server.el (server--on-display-p): New function.
14943 (server--on-display-p): Use it.
14944
14945 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14946
14947 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14948 (bug#11145).
14949
14950 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14951
14952 * comint.el (comint--common-quoted-suffix): Check string boundary
14953 before comparing (bug#11158).
14954 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14955
14956 2012-04-04 Chong Yidong <cyd@gnu.org>
14957
14958 * minibuffer.el (completion-extra-properties): Doc fix.
14959
14960 * subr.el (delayed-warnings-hook): Doc fix.
14961
14962 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14963
14964 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14965 selection (Bug#11159).
14966 (epa-insert-keys): Inform that the default public key will be
14967 exported if no key is selected.
14968
14969 2012-04-04 Richard Stallman <rms@gnu.org>
14970
14971 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14972
14973 2012-04-03 Chong Yidong <cyd@gnu.org>
14974
14975 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14976 mail-insert-file, not its obsolete alias mail-attach-file.
14977
14978 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14979
14980 * notifications.el (notifications-notify): Fix docstring.
14981
14982 2012-04-02 Glenn Morris <rgm@gnu.org>
14983
14984 * emacs-lisp/authors.el (authors-aliases): Another addition.
14985
14986 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14987
14988 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14989 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14990 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14991
14992 2012-04-01 Chong Yidong <cyd@gnu.org>
14993
14994 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14995 Handle root directory properly.
14996 (copy-directory): Caller changed.
14997
14998 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14999 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15000
15001 2012-03-31 Glenn Morris <rgm@gnu.org>
15002
15003 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15004
15005 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15006
15007 * calendar/calendar.el (calendar-window-list)
15008 (calendar-hide-window): Restore. (Bug#11140)
15009 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15010
15011 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15012
15013 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15014
15015 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15016 Check if file is a symlink (Bug#10489).
15017
15018 * files.el (copy-directory): Likewise.
15019
15020 2012-03-30 Chong Yidong <cyd@gnu.org>
15021
15022 * image.el (imagemagick-types-inhibit)
15023 (imagemagick-register-types): Doc fix.
15024
15025 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15026
15027 * textmodes/ispell.el (ispell-get-extended-character-mode):
15028 Disable extended-char-mode for hunspell. hunspell does not support it
15029 and treats ~word as ordinary words in pipe mode.
15030
15031 2012-03-30 Glenn Morris <rgm@gnu.org>
15032
15033 * tutorial.el (help-with-tutorial): Ensure local variables don't
15034 happen to make the buffer read-only. (Bug#11127)
15035
15036 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15039 (perl-calculate-indent): Return `noindent' in strings.
15040
15041 2012-03-28 Sam Steingold <sds@gnu.org>
15042
15043 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15044 instead of the broken adhockery which does not prevent calendar
15045 buffers from being displayed at random after exit.
15046 (calendar-window-list, calendar-hide-window): Remove the broken
15047 adhockery.
15048
15049 2012-03-28 Glenn Morris <rgm@gnu.org>
15050
15051 * replace.el (query-replace-map): Doc fix.
15052
15053 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15054
15055 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15056 contents. (Bug#11109)
15057
15058 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15061 (bug#11077).
15062 (avl-tree--check, avl-tree--check-node): New funs.
15063
15064 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15065
15066 * window.el (switch-to-visible-buffer): New option.
15067 (switch-to-prev-buffer, switch-to-next-buffer):
15068 Observe switch-to-visible-buffer. Make sure that checking for a window
15069 showing a buffer already is done on the same frame.
15070
15071 2012-03-27 Glenn Morris <rgm@gnu.org>
15072
15073 * startup.el (mail-host-address): Doc fix.
15074
15075 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15076
15077 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15078 than 197 variables.
15079
15080 2012-03-26 Ami Fischman <ami@fischman.org>
15081
15082 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15083
15084 2012-03-26 Glenn Morris <rgm@gnu.org>
15085
15086 * files.el (save-buffers-kill-emacs): Doc fix.
15087
15088 * startup.el (normal-top-level, command-line, command-line-1):
15089 Give them doc strings.
15090
15091 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15092
15093 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15094 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15095
15096 2012-03-25 Chong Yidong <cyd@gnu.org>
15097
15098 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15099 theme if it was previously enabled before (Bug#11031).
15100
15101 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15102 spec with custom-face-get-current-spec if its :shown-value is not
15103 determined yet (Bug#9337).
15104 (customize-create-theme, custom-theme-revert): Doc fixes.
15105
15106 * button.el (button-at): Minor addition to docstring.
15107
15108 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15109
15110 * vc/vc.el (vc-merge): Fix a prompt.
15111
15112 2012-03-24 Chong Yidong <cyd@gnu.org>
15113
15114 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15115 point (Bug#9623).
15116
15117 * button.el (button-at): Minor addition to docstring.
15118
15119 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * newcomment.el (comment-choose-indent): No space after BOL.
15122
15123 2012-03-22 Sam Steingold <sds@gnu.org>
15124
15125 * window.el (switch-to-prev-buffer): Revert last patch because the
15126 bug turned out to be an advertised feature (Elisp manual 28.14).
15127
15128 2012-03-22 Glenn Morris <rgm@gnu.org>
15129
15130 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15131 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15132
15133 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15134
15135 * net/network-stream.el (network-stream-open-starttls): Make error
15136 message under Windows be less misleading.
15137
15138 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15139
15140 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15141 understands (bug#9942).
15142
15143 2012-03-22 Chong Yidong <cyd@gnu.org>
15144
15145 * simple.el (end-of-visible-line): Handle return value of
15146 next-single-property-change properly (Bug#9371).
15147
15148 2012-03-22 Kenichi Handa <handa@m17n.org>
15149
15150 * international/quail.el (quail-insert-kbd-layout): Fix previous
15151 change. To avoid unwanted bidi reordering, use
15152 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15153
15154 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15155
15156 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15157 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15158 (ruby-beginning-of-indent): Be more careful with the difference
15159 between word-boundary and symbol boundary.
15160 (ruby-mode-syntax-table): Make : a symbol constituent.
15161
15162 2012-03-21 Andreas Politz <politza@fh-trier.de>
15163
15164 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15165
15166 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15167
15168 * progmodes/etags.el (tags-completion-at-point-function):
15169 Improve last fix.
15170
15171 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15172
15173 2012-03-21 Sam Steingold <sds@gnu.org>
15174
15175 * progmodes/etags.el (tags-completion-at-point-function):
15176 Avoid the error when point is inside the pattern.
15177
15178 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15179
15180 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15181 line (Bug#10855).
15182
15183 2012-03-21 Drew Adams <drew.adams@oracle.com>
15184
15185 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15186
15187 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15188
15189 * ido.el (ido-set-current-directory, ido-read-internal)
15190 (ido-choose-completion-string, ido-completion-help): Handle nil
15191 value of ido-completion-buffer (Bug#11008).
15192
15193 2012-03-21 Sam Steingold <sds@gnu.org>
15194
15195 * window.el (switch-to-prev-buffer): Do not switch to a visible
15196 window previous buffer, just like with the frame previous buffers.
15197
15198 2012-03-21 Chong Yidong <cyd@gnu.org>
15199
15200 * faces.el (make-face, make-empty-face, copy-face):
15201 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15202 Doc fixes.
15203
15204 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15205
15206 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15207 (widget-complete): Remove broken use of it.
15208
15209 2012-03-20 Chong Yidong <cyd@gnu.org>
15210
15211 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15212 Use string-width and truncate-string-width to handle arbitrary
15213 characters.
15214
15215 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15216
15217 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15218 to draw rectangles, not squares. (Regression introduced by revno
15219 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15220
15221 2012-03-18 Chong Yidong <cyd@gnu.org>
15222
15223 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15224 it is not yet defined (for temacs).
15225
15226 2012-03-18 Leo Liu <sdl.web@gmail.com>
15227
15228 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15229 prefix.
15230
15231 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15232
15233 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15234 (ispell-choices-win-default-height, ispell-silently-savep)
15235 (ispell-dictionary-alist, ispell-encoding8-command)
15236 (ispell-check-version, ispell-aspell-find-dictionary)
15237 (ispell-valid-dictionary-list, ispell-words-keyword)
15238 (ispell-get-word, ispell-internal-change-dictionary)
15239 (ispell-region, ispell-skip-region-list)
15240 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15241 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15242 (ispell-message-text-end, ispell-message)
15243 (ispell-buffer-local-parsing): Doc fix.
15244
15245 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15246
15247 * htmlfontify.el: Add support for code block fontification for ODT
15248 export (Bug #9914).
15249 (hfy-optimisations): Define new option
15250 `body-text-only'
15251 (hfy-fontify-buffer): Honor above setting.
15252 (hfy-begin-span, hfy-end-span): New routines factored out form
15253 `hfy-fontify-buffer'.
15254 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15255 that permit insertion of custom tags.
15256 (hfy-fontify-buffer): Use above handlers.
15257 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15258 (hfy-face-to-css): Re-defined to be a variable.
15259 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15260 over multiple runs. This is made possible by having the caller let
15261 bind a special variable `hfy-user-sheet-assoc'.
15262 (htmlfontify-string): New defun.
15263 (hfy-compile-face-map): Make sure that the last char in the
15264 buffer is correctly fontified.
15265 (hfy-face-resolve-face): Whitespace only change.
15266
15267 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15268
15269 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15270 message more clear.
15271
15272 2012-03-16 Leo Liu <sdl.web@gmail.com>
15273
15274 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15275
15276 2012-03-16 Alan Mackenzie <acm@muc.de>
15277
15278 Further optimize the handling of large macros.
15279
15280 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15281 limit to a call of `c-literal-limits'.
15282 (c-determine-+ve-limit): New function.
15283 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15284 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15285 In CASE 5B, restrict a search limit to 500.
15286 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15287
15288 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15289 Restrict macro bounds to +-500 from after-change's BEG END.
15290
15291 2012-03-16 Leo Liu <sdl.web@gmail.com>
15292
15293 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15294
15295 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15296
15297 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15298 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15299
15300 2012-03-16 Glenn Morris <rgm@gnu.org>
15301
15302 * view.el (view-buffer, view-buffer-other-window)
15303 (view-buffer-other-frame): Doc fixes re special mode-class.
15304
15305 * subr.el (eval-after-load): If named feature is provided not from
15306 a file, run after-load forms. (Bug#10946)
15307
15308 * calendar/calendar.el (calendar-insert-at-column):
15309 Handle non-unit-width characters a bit better. (Bug#10978)
15310
15311 2012-03-15 Chong Yidong <cyd@gnu.org>
15312
15313 * emacs-lisp/ring.el (ring-extend): New function.
15314 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15315
15316 * comint.el (comint-read-input-ring)
15317 (comint-add-to-input-history): Grow comint-input-ring lazily.
15318
15319 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15322 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15323
15324 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15325 (imenu-add-to-menubar): Don't add a redundant index.
15326 (imenu-update-menubar): Handle a dynamically composed keymap.
15327
15328 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15329
15330 * mail/sendmail.el (mail-encode-header):
15331 Bind rfc2047-encode-encoded-words to nil.
15332
15333 2012-03-13 Glenn Morris <rgm@gnu.org>
15334
15335 * calendar/calendar.el (calendar-string-spread):
15336 Handle non-unit-width characters a bit better. (Bug#10978)
15337
15338 2012-03-13 Leo Liu <sdl.web@gmail.com>
15339
15340 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15341 directory and file as argument (Bug#10822).
15342
15343 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15344
15345 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15346 For dynamically generated code, follow $PC.
15347 (gdb-disassembly-handler-custom): Handle no function name case.
15348
15349 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15350
15351 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15352 * emulation/ws-mode.el (ws-query-replace):
15353 * sort.el (sort-regexp-fields):
15354 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15355
15356 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15357
15358 * dabbrev.el: Fix cycle completion order (bug#10963).
15359 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15360 (dabbrev-completion): Don't use an obarray; provide
15361 a cycle-sort-function.
15362
15363 2012-03-12 Leo Liu <sdl.web@gmail.com>
15364
15365 * simple.el (kill-new): Use equal-including-properties for comparison.
15366 (kill-do-not-save-duplicates): Doc fix.
15367
15368 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15369
15370 * dabbrev.el: Fix cycle completion (bug#10963).
15371 Use lexical binding and wrap to 80 columns.
15372 (dabbrev-completion): Delay computing the list of completions.
15373
15374 2012-03-12 Kenichi Handa <handa@m17n.org>
15375
15376 * international/quail.el (quail-insert-kbd-layout): Surround each
15377 row by LRO and PDF instead of inserting many LRMs. Pad the left
15378 and right of each non-spacing marks. Insert invisible space
15379 between lower and upper characters to prevent composition.
15380
15381 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15382
15383 * minibuffer.el (minibuffer-complete): Don't get confused when the
15384 function is run twice via different commands (bug#10958).
15385 (complete-with-action): Fix docstring.
15386
15387 2012-03-12 Chong Yidong <cyd@gnu.org>
15388
15389 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15390 (nxml-completion-at-point-function): New function.
15391 (nxml-mode): Use it.
15392 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15393
15394 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15395 Load generated autoloads file before byte compiling (Bug#10970).
15396 (package--make-autoloads-and-compile): New helper fun.
15397
15398 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15399
15400 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15401
15402 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15403
15404 * autorevert.el (auto-revert-handler): Ensure, that
15405 file-readable-p is applied only for local files or in
15406 auto-revert-tail-mode.
15407
15408 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15409
15410 * server.el (server-eval-at): Handle non-tcp connections.
15411 Decode result string.
15412
15413 * server.el (server-msg-size): New constant.
15414 (server-reply-print): New function.
15415 (server-eval-and-print): Use it.
15416 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15417 Handle -print-nonl.
15418
15419 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15420
15421 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15422 (Bug#10987).
15423
15424 2012-03-11 Chong Yidong <cyd@gnu.org>
15425
15426 * simple.el (goto-line): Doc fix (Bug#9938).
15427
15428 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15429
15430 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15431 when finished (Bug#10963).
15432
15433 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15434
15435 * window.el (split-window-below): Fix bug in case where
15436 split-window-keep-point is nil (Bug#10971).
15437
15438 2012-03-11 Juri Linkov <juri@jurta.org>
15439
15440 * replace.el (replace-highlight): Set isearch-word to nil
15441 unconditionally. (Bug#10887)
15442
15443 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15444
15445 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15446 mairix-replace-illegal-chars; all callers changed. Don't remove
15447 ^, ~, and = characters: they are meaningful in mairix search specs.
15448 (mairix-widget-create-query): Add usage information about mairix
15449 search forms: negating words, searching for substrings, etc.
15450
15451 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15452
15453 * international/fontset.el (font-encoding-alist): Add an entry for
15454 ksx1001 (Bug#5667).
15455
15456 2012-03-10 Richard Stallman <rms@gnu.org>
15457
15458 * mail/sendmail.el (mail-encode-header):
15459 Set rfc2047-encode-encoded-words.
15460
15461 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15462
15463 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15464 view buffer means not swapped.
15465 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15466 (rmail-write-region-annotate): Error if real text has disappeared.
15467
15468 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15469
15470 2012-03-10 Chong Yidong <cyd@gnu.org>
15471
15472 * emulation/cua-rect.el (cua--init-rectangles):
15473 * emulation/cua-base.el (cua--init-keymaps):
15474 Add delete-forward-char to remappings (Bug#9666).
15475
15476 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15477
15478 * speedbar.el (speedbar-unhighlight-one-tag-line):
15479 Avoid unhighlighting due to frame switching (Bug#10275).
15480
15481 2012-03-10 Chong Yidong <cyd@gnu.org>
15482
15483 * minibuffer.el (completion-in-region, completion-help-at-point):
15484 Give the completion field overlay a high priority (Bug#6830).
15485
15486 * dired.el (dired-goto-file): Recognize absolute file name
15487 listings (Bug#7126).
15488 (dired-goto-file-1): New helper function.
15489 (dired-toggle-read-only): Inhibit warnings.
15490
15491 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15492
15493 * net/dbus.el (dbus-property-handler): Return empty array if
15494 there are no properties.
15495
15496 2012-03-09 Leo Liu <sdl.web@gmail.com>
15497
15498 * savehist.el (savehist-printable): Stricter check for string
15499 value (Bug#10937).
15500
15501 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15502
15503 * mail/smtpmail.el (smtpmail-send-it):
15504 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15505 valid mbox format.
15506
15507 2012-03-09 Glenn Morris <rgm@gnu.org>
15508
15509 * files.el (dir-locals-find-file):
15510 Don't check result is regular, readable.
15511 (dir-locals-read-from-file): Demote errors.
15512
15513 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15514
15515 * international/quail.el (quail-insert-kbd-layout):
15516 Insert invisible LRM characters before each character in a keyboard
15517 layout cell, to prevent their reordering by bidi display engine.
15518 For details, see the discussion in
15519 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15520
15521 2012-03-08 Alan Mackenzie <acm@muc.de>
15522
15523 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15524 the starting position; make it extend the marked region when
15525 invoked repeatedly - all under appropriate circumstances.
15526 Fixes bugs #5525, #10906.
15527
15528 2012-03-08 Glenn Morris <rgm@gnu.org>
15529
15530 * files.el (locate-dominating-file, dir-locals-find-file):
15531 Undo 2012-03-06 change.
15532
15533 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15534
15535 * international/quail.el (quail-help):
15536 Force bidi-paragraph-direction be left-to-right. See discussion in
15537 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15538 for the reason.
15539
15540 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15541
15542 Avoid superfluous registering of signals. (Bug#10807)
15543
15544 * notifications.el (notifications-on-action-object)
15545 (notifications-on-close-object): New defvars.
15546 (notifications-on-action-signal, notifications-on-closed-signal):
15547 Unregister the signal if not needed any longer.
15548 (notifications-notify): Register `notifications-action-signal' or
15549 `notifications-closed-signal', if :on-action or :on-close has been
15550 passed as argument.
15551
15552 2012-03-07 Chong Yidong <cyd@gnu.org>
15553
15554 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15555 non-X platforms.
15556
15557 2012-03-06 Glenn Morris <rgm@gnu.org>
15558
15559 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15560 (x-disown-selection-internal, x-get-selection-internal):
15561 Doc fix (add arglist signatures). (Bug#10783)
15562
15563 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15564
15565 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15566 Handle breakpoints with no "type".
15567
15568 2012-03-06 Glenn Morris <rgm@gnu.org>
15569
15570 * files.el (locate-dominating-file): Add optional predicate argument.
15571 (dir-locals-find-file): Make use of above change.
15572
15573 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15574
15575 * info.el (Info-insert-dir): Also try "dir.gz".
15576
15577 2012-03-06 Glenn Morris <rgm@gnu.org>
15578
15579 * files.el (dir-locals-find-file):
15580 Ignore non-readable or non-regular files. (Bug#10928)
15581
15582 * files.el (locate-dominating-file): Doc fix.
15583
15584 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15585
15586 * calendar/calendar.el (calendar-set-mode-line):
15587 `getenv' returns a string. (Bug#10951)
15588
15589 2012-03-05 Leo Liu <sdl.web@gmail.com>
15590
15591 * simple.el (backward-delete-char-untabify): Constrain point to
15592 field (Bug#10939).
15593
15594 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15595
15596 2012-03-05 Chong Yidong <cyd@gnu.org>
15597
15598 * simple.el (count-words): If called from Lisp, return the word
15599 count, for symmetry with `count-lines'. Arglist changed.
15600 (count-words--message): Args changed. Consolidate counting code
15601 from count-words and count-words-region.
15602 (count-words-region): Caller changed.
15603 (count-lines-region): Make it an obsolete alias.
15604
15605 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15606
15607 * saveplace.el (save-place-to-alist)
15608 (save-place-ignore-files-regexp): Allow value nil to disable this
15609 feature.
15610
15611 2012-03-04 Chong Yidong <cyd@gnu.org>
15612
15613 * faces.el (face-spec-reset-face): For the default face, reset the
15614 attributes to default values (Bug#10748).
15615
15616 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15617
15618 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15619 previous patch: Check `message-send-mail-function', and not the
15620 default function (bug#10897).
15621
15622 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15623
15624 * notifications.el (notifications-on-action-signal)
15625 (notifications-on-closed-signal): Check for unique service name of
15626 incoming event. Fix error in removing entry.
15627 (top): Register for signals with wildcard service name.
15628 (notifications-notify): Use daemon unique service name for map entries.
15629
15630 2012-03-04 Chong Yidong <cyd@gnu.org>
15631
15632 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15633
15634 2012-03-04 Glenn Morris <rgm@gnu.org>
15635
15636 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15637 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15638 (expand-abbrev, define-abbrev-table): Doc fixes.
15639
15640 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15641
15642 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15643 `message-default-send-mail-function' and not `send-mail-function'
15644 when doing the prompting for `sendmail-query-once' before sending
15645 in Message buffers (bug#10897).
15646
15647 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15648 This is inconsistent with all the other stream functions, which leave
15649 the setting up to the higher levels (if so wanted) (bug#10931).
15650
15651 2012-03-02 Alan Mackenzie <acm@muc.de>
15652
15653 Depessimize the handling of very large macros.
15654
15655 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15656 (c-macro-cache-syntactic): New variables to implement a one
15657 element macro cache.
15658 (c-invalidate-macro-cache): New function.
15659 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15660 Adapt to use the new cache.
15661 (c-state-safe-place): Use better the cache of safe positions.
15662 (c-state-semi-nonlit-pos-cache)
15663 (c-state-semi-nonlit-pos-cache-limit):
15664 New variables for...
15665 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15666 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15667 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15668 Use c-state-semi-safe-place.
15669
15670 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15671 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15672
15673 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15674
15675 * jka-compr.el (jka-compr-call-process):
15676 Apply `file-accessible-directory-p' only when the default directory is
15677 not remote.
15678
15679 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15680
15681 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15682 access of FILE2, if FILE1 does not exist.
15683
15684 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15685 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15686
15687 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15688 Add "PAGER=" to `process-environment'.
15689
15690 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15691
15692 * progmodes/sql.el: Bug fix
15693 (sql-get-login-ext): Save login values in globals.
15694 (sql-get-login): Use new version of `sql-get-login-ext'.
15695 (sql-interactive-mode): Set global `sql-connection' to nil.
15696 (sql-connect): Set global values for connection.
15697 (sql-product-interactive): Save global values as buffer local.
15698
15699 2012-02-29 Leo Liu <sdl.web@gmail.com>
15700
15701 * abbrev.el (define-abbrevs): Reset sys to nil.
15702
15703 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15704
15705 * files.el (file-equal-p): Rename from `files-equal-p'.
15706 Return nil when one or both files don't exist.
15707 (file-subdir-of-p): Now only top directory must exists,
15708 return nil if it doesn't.
15709 (copy-directory): No need to test with `file-subdir-of-p' after
15710 creating dir.
15711 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15712 to `file-equal-p'.
15713
15714 2012-02-28 Glenn Morris <rgm@gnu.org>
15715
15716 * shell.el (shell-mode):
15717 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15718 * play/landmark.el (landmark-font-lock-face-O):
15719 * play/handwrite.el (handwrite):
15720 * play/gomoku.el (gomoku-O):
15721 * net/browse-url.el (browse-url-browser-display):
15722 * international/mule.el (define-charset):
15723 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15724 * filesets.el (filesets-find-file-delay):
15725 * eshell/em-xtra.el (eshell-xtra):
15726 * eshell/em-unix.el (eshell-grep):
15727 * emulation/viper.el (viper-mode):
15728 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15729 * emacs-lisp/easymenu.el (easy-menu-define):
15730 * calendar/timeclock.el (timeclock-use-display-time):
15731 * bs.el (bs-mode):
15732 * bookmark.el (bookmark-save-flag):
15733 Doc fix (standardize possessive apostrophe usage).
15734
15735 2012-02-27 Chong Yidong <cyd@gnu.org>
15736
15737 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15738 Fix key-binding lookup for ESC key (Bug#9146).
15739
15740 * font-lock.el (font-lock-specified-p): Rename from
15741 font-lock-spec-present. Callers changed.
15742
15743 2012-02-27 Daniel Hackney <dan@haxney.org>
15744
15745 * emacs-lisp/package.el (package-compute-transaction):
15746 Handle holding a package version to t in package-load-list.
15747
15748 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15749
15750 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15751 (tramp-get-inode, tramp-get-device): Use cached values.
15752
15753 2012-02-26 Alan Mackenzie <acm@muc.de>
15754
15755 Check there is a font-lock specification before doing initial
15756 fontification.
15757
15758 * font-core.el (font-lock-mode): Move the conditional from
15759 :after-hook to font-lock-initial-fontify.
15760 (font-lock-default-function): Move the check for a specification
15761 to font-lock-spec-present.
15762
15763 * font-lock.el (font-lock-initial-fontify): Call ...
15764 (font-lock-spec-present): New function.
15765
15766 2012-02-26 Jim Blandy <jimb@red-bean.com>
15767
15768 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15769 (gdb-send): Apply it to the operand of the '-interpreter-exec
15770 console' command, so that we can pass arguments with (say) quotes
15771 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15772
15773 2012-02-26 Chong Yidong <cyd@gnu.org>
15774
15775 * help-fns.el (describe-function-1): Clarify description of
15776 remapping (Bug#10844).
15777
15778 * files.el (files-equal-p): Doc fix.
15779 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15780 and quit the loop once a mismatch is found.
15781
15782 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15783
15784 * bs.el (bs--show-with-configuration): Don't throw an error
15785 if the window cannot be split; otherwise, subsequent calls to
15786 bs-show fail, restoring a stale window config. (Bug#10882)
15787
15788 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15789
15790 * term/ns-win.el (global-map): Bind ns-drag-file to
15791 ns-find-file (Bug#5855, Bug#10050).
15792
15793 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15794
15795 * calendar/parse-time.el (parse-time-string): Allow extractor to
15796 return nil.
15797
15798 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15799
15800 * net/tramp.el (tramp-file-name-for-operation):
15801 Add `files-equal-p' and `file-subdir-of-p'.
15802
15803 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15804 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15805 Add COPY-CONTENTS argument.
15806
15807 2012-02-25 Chong Yidong <cyd@gnu.org>
15808
15809 Add custom groups for VC backends, for consistency with vc-bzr.
15810
15811 * vc/vc-arch.el (vc-arch):
15812 * vc/vc-cvs.el (vc-cvs):
15813 * vc/vc-git.el (vc-git):
15814 * vc/vc-hg.el (vc-hg):
15815 * vc/vc-mtn.el (vc-mtn):
15816 * vc/vc-rcs.el (vc-rcs):
15817 * vc/vc-sccs.el (vc-sccs):
15818 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15819 All relevant defcustoms reassigned.
15820
15821 2012-02-25 Chong Yidong <cyd@gnu.org>
15822
15823 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15824
15825 * term/x-win.el (x-initialize-window-system): Reduce default for
15826 x-selection-timeout to 5 seconds (Bug#8869).
15827
15828 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15829
15830 * files.el (files-equal-p, file-subdir-of-p): New functions.
15831 (copy-directory): Error when trying to copy a directory on itself.
15832 Add missing copy-contents arg to tramp handler.
15833 * dired-aux.el (dired-copy-file-recursive): Same.
15834 (dired-create-files): Modify destination when source is equal to
15835 dest when copying files.
15836 Return also when dest is a subdir of source. (Bug#10489)
15837
15838 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15839
15840 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15841 (Bug#10874)
15842
15843 2012-02-23 Alan Mackenzie <acm@muc.de>
15844
15845 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15846 parameter "after-hook:" to allow the expansion to run code after
15847 the execution of the mode hooks.
15848
15849 * font-lock.el (font-lock-initial-fontify): New function extracted
15850 from font-lock-mode-internal.
15851
15852 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15853 :after-hook.
15854
15855 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15856
15857 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15858 (completion--cache-all-sorted-completions): New function.
15859 (completion-all-sorted-completions): Use it.
15860 (completion--do-completion, minibuffer-force-complete):
15861 Use it to re-instate the flush hook.
15862
15863 * icomplete.el (icomplete-completions): Replace last fix with a better
15864 one (bug#10850).
15865
15866 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15867
15868 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15869 when it might call us back infinitely (bug#10797).
15870
15871 2012-02-23 Glenn Morris <rgm@gnu.org>
15872
15873 * minibuffer.el (completion-category-overrides): Doc fix.
15874
15875 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15876
15877 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15878 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15879
15880 2012-02-23 Glenn Morris <rgm@gnu.org>
15881
15882 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15883 (authors-obsolete-files-regexps, authors-ignored-files)
15884 (authors-ambiguous-files, authors-renamed-files-alist):
15885 Add more entries.
15886
15887 2012-02-23 Juri Linkov <juri@jurta.org>
15888
15889 * isearch.el (isearch-occur): Sync interactive spec with occur's
15890 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15891
15892 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15893
15894 2012-02-22 Juri Linkov <juri@jurta.org>
15895
15896 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15897 (ucs-insert): Doc fix. Check for hex digits in the string.
15898 Don't display `nil' in the error message. (Bug#10857)
15899
15900 2012-02-22 Alan Mackenzie <acm@muc.de>
15901
15902 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15903
15904 2012-02-22 Glenn Morris <rgm@gnu.org>
15905
15906 * ffap.el (ffap-c-path):
15907 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15908
15909 2012-02-22 Chong Yidong <cyd@gnu.org>
15910
15911 * custom.el (load-theme): Doc fix.
15912
15913 2012-02-22 Glenn Morris <rgm@gnu.org>
15914
15915 * dired-x.el (dired-guess-shell-alist-default):
15916 Remove escape sequences from nroff output. (Bug#172)
15917
15918 2012-02-21 Glenn Morris <rgm@gnu.org>
15919
15920 * vc/emerge.el (emerge-defvar-local):
15921 Set `permanent-local' property rather than unused `preserved'.
15922
15923 * textmodes/picture.el (picture-delete-char): New alias.
15924 (picture-mode-map): Use it. (Bug#10860)
15925 (picture-mode): Doc fix.
15926
15927 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15928
15929 * newcomment.el (uncomment-region-default): Remove unused binding.
15930
15931 2012-02-21 Glenn Morris <rgm@gnu.org>
15932
15933 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15934 (picture-self-insert, picture-tab-chars): Doc fix.
15935 (picture-mode-map): Fix C-a, C-e.
15936
15937 2012-02-20 Glenn Morris <rgm@gnu.org>
15938
15939 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15940
15941 2012-02-20 Leo Liu <sdl.web@gmail.com>
15942
15943 * icomplete.el (icomplete-completions): Check FROM arg before
15944 passing to substring (Bug#10850).
15945
15946 2012-02-19 Chong Yidong <cyd@gnu.org>
15947
15948 * comint.el: Require ansi-color.
15949 (comint-output-filter-functions): Add ansi-color-process-output.
15950
15951 * ansi-color.el: Don't set comint-output-filter-functions; it is
15952 now in the initial value defined in comint.el.
15953 (ansi-color-apply-face-function): New variable.
15954 (ansi-color-apply-on-region): Use it.
15955 (ansi-color-apply-overlay-face): New function.
15956
15957 * shell.el (shell): No need to require ansi-color.
15958 (shell-mode): Use ansi-color-apply-face-function to highlight
15959 color escapes using font-lock-face property (Bug#10835).
15960
15961 2012-02-19 Chong Yidong <cyd@gnu.org>
15962
15963 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15964 mode-line formats (Bug#10839).
15965
15966 2012-02-18 Glenn Morris <rgm@gnu.org>
15967
15968 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15969
15970 * mail/undigest.el (unforward-rmail-message): Doc fix.
15971
15972 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15973
15974 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15975
15976 * international/characters.el (script-list): Sync with the latest
15977 Unicode Character Database.
15978
15979 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15980
15981 * international/titdic-cnv.el: Remove duplicate coding tag.
15982 * language/cham.el: Likewise.
15983 * language/tai-viet.el: Likewise.
15984
15985 2012-02-18 Glenn Morris <rgm@gnu.org>
15986
15987 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15988 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15989 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15990 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15991 * calendar/holidays.el (holiday-bahai-holidays)
15992 (calendar-holidays, list-holidays):
15993 Use utf-8 Bahá'í in doc-strings, menus, etc.
15994
15995 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15996
15997 * saveplace.el (save-place-ignore-files-regexp): New variable
15998 allowing for excluding files from saving their location of point.
15999 The default value matches the temporary commit message editing
16000 files from Git, SVN, Bazaar, and Mercurial.
16001 (save-place-to-alist): Use it.
16002
16003 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16004 Stefan Monnier <monnier@iro.umontreal.ca>
16005
16006 * newcomment.el (uncomment-region-default): Don't leave extra space
16007 when an arg is provided (bug#8150).
16008
16009 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16010
16011 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16012
16013 2012-02-17 Glenn Morris <rgm@gnu.org>
16014
16015 * net/socks.el: Require network-stream. (Bug#10599)
16016
16017 2012-02-17 Kenichi Handa <handa@m17n.org>
16018
16019 * international/charprop.el:
16020 * international/uni-name.el:
16021 * international/uni-old-name.el:
16022 * international/uni-comment.el: Regenerate.
16023
16024 2012-02-16 Glenn Morris <rgm@gnu.org>
16025
16026 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16027 Interactively in calendar buffer, give an error if not on a date.
16028
16029 2012-02-15 Glenn Morris <rgm@gnu.org>
16030
16031 * shell.el (shell-delimiter-argument-list):
16032 Revert 2011-02-17 change. (Bug#8027)
16033
16034 2012-02-15 Chong Yidong <cyd@gnu.org>
16035
16036 * minibuffer.el (completion-at-point-functions): Doc fix.
16037
16038 * custom.el (defcustom): Doc fix; note use of defvar.
16039
16040 2012-02-15 Glenn Morris <rgm@gnu.org>
16041
16042 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16043 Doc fixes.
16044
16045 2012-02-14 Glenn Morris <rgm@gnu.org>
16046
16047 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16048
16049 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16050
16051 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16052 way the ports list is computed.
16053 (smtpmail-query-smtp-server): Prompt the user for a port number if
16054 we can't connect to any of the standard ports (bug#10810).
16055
16056 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16057
16058 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16059
16060 2012-02-13 Glenn Morris <rgm@gnu.org>
16061
16062 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16063
16064 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16065
16066 * net/gnutls.el (gnutls-trustfiles): New variable.
16067 (gnutls-negotiate): Use it.
16068
16069 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16070
16071 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16072 does its stuff if Gnus is running.
16073
16074 2012-02-13 Alan Mackenzie <acm@muc.de>
16075
16076 Fix a loop in c-set-fl-decl-start.
16077
16078 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16079 c-backward-syntactic-ws actually moves backwards.
16080
16081 2012-02-13 Leo Liu <sdl.web@gmail.com>
16082
16083 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16084 beginning so that all \C-o chars are removed.
16085
16086 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16087
16088 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16089
16090 2012-02-12 Alan Mackenzie <acm@muc.de>
16091
16092 Fix infinite loop with long macros.
16093 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16094
16095 2012-02-12 Chong Yidong <cyd@gnu.org>
16096
16097 * window.el (display-buffer): Doc fix (Bug#10785).
16098
16099 2012-02-12 Glenn Morris <rgm@gnu.org>
16100
16101 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16102 (x-disown-selection-internal, x-get-selection-internal):
16103 Sync docs with the xselect.c versions.
16104
16105 * allout-widgets.el: Add missing license notice.
16106
16107 2012-02-11 Glenn Morris <rgm@gnu.org>
16108
16109 * select.el (x-get-selection-internal, x-own-selection-internal)
16110 (x-disown-selection-internal):
16111 * x-dnd.el (x-get-selection-internal): Update declarations.
16112
16113 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16114
16115 * window.el (window-sides-slots):
16116 * tool-bar.el (tool-bar-position):
16117 * term/xterm.el (xterm-extra-capabilities):
16118 * ses.el (ses-self-reference-early-detection):
16119 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16120 (verilog-auto-wire-type)
16121 (verilog-auto-delete-trailing-whitespace)
16122 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16123 (verilog-auto-tieoff-declaration):
16124 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16125 (sql-oracle-statement-starters, sql-oracle-scan-on):
16126 * progmodes/prolog.el (prolog-align-comments-flag)
16127 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16128 (prolog-left-indent-regexp, prolog-paren-indent-p)
16129 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16130 (prolog-types, prolog-mode-specificators)
16131 (prolog-determinism-specificators, prolog-directives)
16132 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16133 (prolog-electric-dot-flag)
16134 (prolog-electric-dot-full-predicate-template)
16135 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16136 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16137 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16138 (prolog-program-switches, prolog-prompt-regexp)
16139 (prolog-debug-on-string, prolog-debug-off-string)
16140 (prolog-trace-on-string, prolog-trace-off-string)
16141 (prolog-zip-on-string, prolog-zip-off-string)
16142 (prolog-use-standard-consult-compile-method-flag)
16143 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16144 (prolog-imenu-max-lines, prolog-info-predicate-index)
16145 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16146 (prolog-char-quote-workaround):
16147 * progmodes/cc-vars.el (c-defun-tactic):
16148 * net/tramp.el (tramp-encoding-command-interactive)
16149 (tramp-local-end-of-line):
16150 * net/soap-client.el (soap-client):
16151 * net/netrc.el (netrc-file):
16152 * net/gnutls.el (gnutls):
16153 * minibuffer.el (completion-category-overrides)
16154 (completion-cycle-threshold)
16155 (completion-pcm-complete-word-inserts-delimiters):
16156 * man.el (Man-name-local-regexp):
16157 * mail/feedmail.el (feedmail-display-full-frame):
16158 * international/characters.el (glyphless-char-display-control):
16159 * eshell/em-ls.el (eshell-ls-date-format):
16160 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16161 (lisp-lambda-list-keyword-parameter-indentation)
16162 (lisp-lambda-list-keyword-parameter-alignment):
16163 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16164 * dired-x.el (dired-omit-verbose):
16165 * cus-theme.el (custom-theme-allow-multiple-selections):
16166 * calc/calc.el (calc-highlight-selections-with-faces)
16167 (calc-lu-field-reference, calc-lu-power-reference)
16168 (calc-note-threshold):
16169 * battery.el (battery-mode-line-limit):
16170 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16171 (archive-7z-update):
16172 * allout.el (allout-prefixed-keybindings)
16173 (allout-unprefixed-keybindings)
16174 (allout-inhibit-auto-fill-on-headline)
16175 (allout-flattened-numbering-abbreviation):
16176 * allout-widgets.el (allout-widgets-auto-activation)
16177 (allout-widgets-icons-dark-subdir)
16178 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16179 (allout-widgets-theme-dark-background)
16180 (allout-widgets-theme-light-background)
16181 (allout-widgets-item-image-properties-emacs)
16182 (allout-widgets-item-image-properties-xemacs)
16183 (allout-widgets-run-unit-tests-on-load)
16184 (allout-widgets-time-decoration-activity)
16185 (allout-widgets-hook-error-post-time)
16186 (allout-widgets-track-decoration):
16187 Add missing :version tags to new defcustoms and defgroups.
16188
16189 * progmodes/sql.el (sql-ansi-statement-starters)
16190 (sql-oracle-statement-starters): Add custom type.
16191
16192 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16193 (prolog-system-version): Give it a type.
16194
16195 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16196
16197 * term/pc-win.el (x-select-text, x-selection-owner-p)
16198 (x-own-selection-internal, x-disown-selection-internal)
16199 (x-get-selection-internal): Sync doc strings and argument lists
16200 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16201
16202 2012-02-11 Leo Liu <sdl.web@gmail.com>
16203
16204 * progmodes/python.el (python-end-of-statement): Fix infinite
16205 loop. (Bug#10788)
16206
16207 2012-02-10 Glenn Morris <rgm@gnu.org>
16208
16209 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16210 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16211
16212 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16213
16214 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16215 about SMTP before checking the From header.
16216
16217 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16218 into own function for reuse by emacsbug.el.
16219
16220 2012-02-10 Leo Liu <sdl.web@gmail.com>
16221
16222 * subr.el (condition-case-unless-debug): Rename from
16223 condition-case-no-debug. All callers changed.
16224 (with-demoted-errors): Fix caller.
16225
16226 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16227 * nxml/rng-valid.el (rng-do-some-validation):
16228 * emacs-lisp/package.el (package-refresh-contents)
16229 (package-menu-execute):
16230 * desktop.el (desktop-create-buffer):
16231 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16232
16233 2012-02-10 Glenn Morris <rgm@gnu.org>
16234
16235 * textmodes/bibtex.el:
16236 Add missing :version tags for new/changed defcustoms.
16237
16238 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16239
16240 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16241
16242 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16243 (smtpmail-via-smtp): Use it, or fall back on the From address.
16244 (smtpmail-send-it): Ditto.
16245
16246 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16247
16248 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16249 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16250 (byte-compile-tmp-var): New const.
16251 (byte-compile-defvar): Use it to minimize .elc size.
16252 Just use `defvar' rather than simulate it (bug#10761).
16253
16254 2012-02-09 Glenn Morris <rgm@gnu.org>
16255
16256 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16257
16258 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16259 Add :version tags.
16260
16261 * progmodes/compile.el (compilation-error-screen-columns)
16262 (compilation-first-column, compilation-filter-start): Doc fixes.
16263
16264 * vc/log-view.el (log-view-toggle-entry-display):
16265 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16266
16267 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16268 (report-emacs-bug-can-use-xdg-email):
16269 (report-emacs-bug-insert-to-mailer): Doc fixes.
16270 (report-emacs-bug): Message fix.
16271
16272 * net/browse-url.el (browse-url-can-use-xdg-open)
16273 (browse-url-xdg-open): Doc fixes.
16274
16275 * electric.el (electric-indent-mode, electric-pair-mode)
16276 (electric-layout-rules, electric-layout-mode): Doc fixes.
16277 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16278
16279 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16280
16281 * server.el (server-unselect-display): Don't inadvertently kill
16282 the current buffer. (Bug#10729)
16283
16284 2012-02-08 Glenn Morris <rgm@gnu.org>
16285
16286 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16287 (sql-list-table): Doc fixes.
16288
16289 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16290 Comment out (does nothing).
16291
16292 * completion.el (dynamic-completion-mode):
16293 * dirtrack.el (dirtrack-debug-mode):
16294 * electric.el (electric-layout-mode):
16295 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16296 * face-remap.el (text-scale-mode, buffer-face-mode):
16297 * iimage.el (iimage-mode):
16298 * image-mode.el (image-transform-mode):
16299 * minibuffer.el (completion-in-region-mode):
16300 * scroll-lock.el (scroll-lock-mode):
16301 * simple.el (next-error-follow-minor-mode):
16302 * tar-mode.el (tar-subfile-mode):
16303 * tooltip.el (tooltip-mode):
16304 * vcursor.el (vcursor-use-vcursor-map):
16305 * wid-browse.el (widget-minor-mode):
16306 * emulation/tpu-edt.el (tpu-edt-mode):
16307 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16308 * international/iso-ascii.el (iso-ascii-mode):
16309 * language/thai-util.el (thai-word-mode):
16310 * mail/supercite.el (sc-minor-mode):
16311 * net/goto-addr.el (goto-address-mode):
16312 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16313 * progmodes/cwarn.el (cwarn-mode):
16314 * progmodes/flymake.el (flymake-mode):
16315 * progmodes/glasses.el (glasses-mode):
16316 * progmodes/hideshow.el (hs-minor-mode):
16317 * progmodes/pascal.el (pascal-outline-mode):
16318 * textmodes/enriched.el (enriched-mode):
16319 * vc/smerge-mode.el (smerge-mode):
16320 Doc fixes (minor mode argument).
16321
16322 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16323
16324 * ls-lisp.el (ls-lisp-sanitize): New function.
16325 (ls-lisp-insert-directory): Use it to fix or remove any elements
16326 in file-alist with missing attributes. (Bug#4673)
16327
16328 2012-02-07 Alan Mackenzie <acm@muc.de>
16329
16330 Fix spurious recognition of c-in-knr-argdecl.
16331
16332 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16333 putative K&R region.
16334
16335 2012-02-07 Alan Mackenzie <acm@muc.de>
16336
16337 * progmodes/cc-engine.el (c-forward-objc-directive):
16338 Prevent looping in "#pragma mark @implementation".
16339
16340 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16341
16342 * notifications.el (notifications-on-closed-signal): Make `reason'
16343 optional. (Bug#10744)
16344
16345 2012-02-07 Glenn Morris <rgm@gnu.org>
16346
16347 * emacs-lisp/easy-mmode.el (define-minor-mode):
16348 Doc fixes for the macro and the mode it defines.
16349
16350 * image.el (imagemagick-types-inhibit): Doc fix.
16351
16352 * cus-start.el (imagemagick-render-type): Add it.
16353
16354 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16355
16356 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16357 Set the default at load time, too, so that `font-lock-fontify-buffer'
16358 can be called without setting up the entire mode first. This fixes
16359 a bug in `mm-inline-text' with C MIME parts.
16360
16361 2012-02-06 Chong Yidong <cyd@gnu.org>
16362
16363 * simple.el (list-processes--refresh): Delete exited processes
16364 (Bug#8094).
16365
16366 * comint.el (comint-next-prompt): next-single-char-property-change
16367 and prev-single-char-property-change never return nil (Bug#8657).
16368
16369 * custom.el (defcustom): Doc fix (Bug#9711).
16370
16371 2012-02-05 Chong Yidong <cyd@gnu.org>
16372
16373 * cus-edit.el (custom-variable-reset-backup): Quote the value
16374 before storing it in the customized-value property (Bug#6712).
16375 (custom-display): Add a customization type tag.
16376 (custom-buffer-create-internal): Improve tooltip message.
16377
16378 * wid-edit.el (widget-field-value-get): New optional arg to
16379 suppress trailing whitespace truncation.
16380 (character): Use it (Bug#2689).
16381
16382 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16383
16384 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16385 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16386
16387 2012-02-05 Chong Yidong <cyd@gnu.org>
16388
16389 * cus-edit.el (custom-variable-value-create): For mismatched
16390 types, show the current value (Bug#7600).
16391
16392 * custom.el (defcustom): Doc fix.
16393
16394 2012-02-05 Glenn Morris <rgm@gnu.org>
16395
16396 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16397
16398 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16399
16400 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16401 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16402 (pp-last-sexp): Use `looking-at-p'.
16403
16404 2012-02-04 Glenn Morris <rgm@gnu.org>
16405
16406 * files.el (revert-buffer):
16407 Doc fix (mention revert-buffer-in-progress-p).
16408
16409 * emacs-lisp/ert-x.el (ert-simulate-command):
16410 Check deferred-action-list (which is obsolete) is bound.
16411
16412 * subr.el (with-wrapper-hook): Doc fixes.
16413
16414 * simple.el (filter-buffer-substring-functions)
16415 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16416
16417 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16418
16419 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16420 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16421
16422 2012-02-04 Leo Liu <sdl.web@gmail.com>
16423
16424 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16425
16426 2012-02-04 Glenn Morris <rgm@gnu.org>
16427
16428 * image.el (image-extension-data): Add obsolete alias.
16429
16430 * isearch.el (isearch-update): Doc fix.
16431
16432 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16433
16434 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16435
16436 2012-02-03 Glenn Morris <rgm@gnu.org>
16437
16438 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16439 (image-animate-timeout): Doc fix.
16440
16441 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16442
16443 2012-02-02 Glenn Morris <rgm@gnu.org>
16444
16445 * server.el (server-auth-dir): Doc fix.
16446 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16447
16448 * subr.el (run-mode-hooks): Doc fix.
16449
16450 2012-02-02 Juri Linkov <juri@jurta.org>
16451
16452 * image-mode.el (image-toggle-display-image): Remove tautological
16453 `major-mode' from the `derived-mode-p' test.
16454
16455 2012-02-02 Kenichi Handa <handa@m17n.org>
16456
16457 * composite.el (compose-region): Cancel previous change.
16458
16459 2012-02-02 Kenichi Handa <handa@m17n.org>
16460
16461 * composite.el (compose-region, compose-string): Signal error for
16462 a null string component (Bug#6988).
16463
16464 2012-02-01 Chong Yidong <cyd@gnu.org>
16465
16466 * view.el (view-buffer-other-window, view-buffer-other-frame):
16467 Handle special modes like view-buffer (Bug#10650).
16468 (view-buffer): Simplify.
16469
16470 * frame.el (set-frame-font): Tweak meaning of third argument.
16471
16472 * dynamic-setting.el (font-setting-change-default-font):
16473 Use set-frame-font (Bug#9982).
16474
16475 2012-02-01 Glenn Morris <rgm@gnu.org>
16476
16477 * progmodes/compile.el (compilation-internal-error-properties):
16478 Respect compilation-first-column in the "*compilation*" buffer.
16479
16480 * emacs-lisp/easy-mmode.el (define-minor-mode):
16481 Relax :variable's test for a named function.
16482
16483 2012-01-31 Alan Mackenzie <acm@muc.de>
16484
16485 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16486 off by one error.
16487
16488 2012-01-31 Chong Yidong <cyd@gnu.org>
16489
16490 * frame.el (set-frame-font): New arg ALL-FRAMES.
16491
16492 * menu-bar.el (menu-set-font): Use set-frame-font.
16493
16494 * faces.el (face-spec-reset-face): Don't apply unspecified
16495 attribute values to the default face.
16496
16497 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16498
16499 * progmodes/cwarn.el (cwarn): Remove dead link.
16500 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16501 Remove * from defcustom docstrings.
16502 (turn-on-cwarn-mode): Make obsolete.
16503 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16504 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16505
16506 2012-01-31 Glenn Morris <rgm@gnu.org>
16507
16508 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16509 Fix :variable handling of mode a symbol not equal to modefun.
16510 Allow named functions to be used as the cdr of :variable.
16511
16512 2012-01-30 Glenn Morris <rgm@gnu.org>
16513
16514 * emacs-lisp/authors.el (authors-fixed-entries):
16515 Remove reference to deleted file rnewspost.el.
16516
16517 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16518
16519 * window.el (window-with-parameter): Remove unused variable `windows'.
16520 (window--side-check): Remove unused variable `code'.
16521 (window--resize-siblings): Remove unused variable `first'.
16522 (adjust-window-trailing-edge): Remove unused variable `failed'.
16523 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16524 Use `let', not `let*'.
16525 (balance-windows-2): Remove unused variable `found'.
16526 (window--state-put-2): Remove unused variable `splits'.
16527 (window-state-put): Remove unused variable `selected'.
16528 (same-window-p): Use `string-match-p'.
16529 (display-buffer-assq-regexp): Remove unused variable `value'.
16530 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16531 Mark argument ALIST as ignored.
16532 (pop-to-buffer): Remove unused variable `old-window'.
16533
16534 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16535
16536 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16537 and .lzma compressed files.
16538
16539 2012-01-29 Chong Yidong <cyd@gnu.org>
16540
16541 * frame.el (window-system-default-frame-alist): Doc fix.
16542
16543 * dynamic-setting.el (font-setting-change-default-font): Don't
16544 change the default face if SET-FONT argument is non-nil (Bug#9982).
16545
16546 2012-01-29 Samuel Bronson <naesten@gmail.com>
16547
16548 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16549
16550 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16551
16552 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16553 breakpoints in files outside current directory (Bug#6098).
16554
16555 2012-01-29 Chong Yidong <cyd@gnu.org>
16556
16557 * progmodes/python.el: Require ansi-color at top-level.
16558
16559 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16560 Define and use in Emacs Lisp mode (Bug#9360).
16561 (lisp-mode-abbrev-table): Add doc.
16562 (lisp-mode-variables): Don't set local-abbrev-table.
16563 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16564
16565 2012-01-28 Roland Winkler <winkler@gnu.org>
16566
16567 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16568
16569 2012-01-28 Roland Winkler <winkler@gnu.org>
16570
16571 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16572 (bibtex-set-dialect): Use it. Either set global values of
16573 dialect-dependent variables or bind these variables buffer-locally
16574 (Bug#10254).
16575 (bibtex-mode): Call bibtex-set-dialect via
16576 hack-local-variables-hook.
16577 (bibtex-dialect): Update docstring.
16578 Add safe-local-variable predicate.
16579 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16580 bibtex-set-dialect.
16581 (bibtex-mode-map): Define menu for each dialect.
16582 (bibtex-entry): Fix docstring.
16583
16584 2012-01-28 Chong Yidong <cyd@gnu.org>
16585
16586 * eshell/esh-arg.el (eshell-quote-argument): New function.
16587
16588 * eshell/esh-ext.el (eshell-invoke-batch-file):
16589 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16590 first arg to eshell-parse-command (Bug#10523).
16591
16592 2012-01-28 Drew Adams <drew.adams@oracle.com>
16593
16594 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16595 `default-directory' is non-nil.
16596
16597 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16598
16599 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16600 line that displays system-configuration-options. (Bug#9924)
16601
16602 2012-01-28 Drew Adams <drew.adams@oracle.com>
16603
16604 * descr-text.el (describe-char): Show information about POS, in
16605 addition to information about the character at POS. Improve and
16606 update the doc string. Change "code point" to "code point in
16607 charset", to avoid confusion with the character's Unicode code
16608 point shown above that. (Bug#10129)
16609
16610 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16611
16612 * descr-text.el (describe-char): Show the raw character, not only
16613 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16614 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16615 for the reasons.
16616
16617 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16618
16619 * emacs-lisp/package.el (package-install):
16620 Run package-refresh-contents if there is no archive yet (Bug#9798).
16621
16622 2012-01-28 Chong Yidong <cyd@gnu.org>
16623
16624 * emacs-lisp/package.el (package-maybe-load-descriptor):
16625 New function, split from package-maybe-load-descriptor.
16626 (package-maybe-load-descriptor): Use it.
16627 (package-download-transaction): Fully load required packages
16628 inside the loop, so that `require' calls work (Bug#10593).
16629 (package-install): No need to call package-initialize now.
16630
16631 2012-01-28 Chong Yidong <cyd@gnu.org>
16632
16633 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16634
16635 * tooltip.el (tooltip-mode): Doc fix.
16636 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16637
16638 * frame.el (set-cursor-color): Doc fix (Bug#352).
16639
16640 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16641 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16642
16643 * cus-edit.el (custom-buffer-create-internal): Fix search button
16644 action (Bug#10542).
16645 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16646
16647 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16648
16649 * dired.el (dired-mark-files-regexp):
16650 Include any subdirectory components. (Bug#10445)
16651
16652 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16653
16654 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16655 Handle [host]:port syntax. (Bug#10533)
16656
16657 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16658
16659 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16660
16661 2012-01-26 Glenn Morris <rgm@gnu.org>
16662
16663 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16664 * term.el (term-raw-escape-map): Use Control-X-prefix.
16665 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16666
16667 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16668
16669 * window.el (window-state-get, window--state-get-1): Don't deal
16670 with fixed-sizeness of windows. Simplify code.
16671
16672 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16673
16674 * window.el (window--state-get-1, window--state-put-2):
16675 Don't save and restore the mark.
16676
16677 2012-01-25 Chong Yidong <cyd@gnu.org>
16678
16679 * custom.el (custom-variable-p): Doc fix.
16680
16681 2012-01-25 Glenn Morris <rgm@gnu.org>
16682
16683 * dired.el (dired-goto-file): Handle some of the more common
16684 characters that `ls -b' escapes. (Bug#10596)
16685
16686 * progmodes/compile.el (compilation-next-error-function):
16687 Respect compilation-first-column in the "*compilation*" buffer.
16688 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16689
16690 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16691
16692 2012-01-24 Glenn Morris <rgm@gnu.org>
16693
16694 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16695
16696 2012-01-24 Julien Danjou <julien@danjou.info>
16697
16698 * color.el (color-rgb-to-hsl): Fix value computing.
16699 (color-hue-to-rgb): New function.
16700 (color-hsl-to-rgb): New function.
16701 (color-clamp, color-saturate-hsl, color-saturate-name)
16702 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16703 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16704
16705 2012-01-24 Glenn Morris <rgm@gnu.org>
16706
16707 * vc/vc-rcs.el (vc-rcs-create-tag):
16708 * vc/vc-sccs.el (vc-sccs-create-tag):
16709 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16710
16711 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16712
16713 * eshell/esh-util.el (eshell-read-hosts-file):
16714 Skip comment lines. (Bug#10549)
16715
16716 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16717
16718 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16719
16720 * subr.el (display-delayed-warnings): Doc fix.
16721 (collapse-delayed-warnings): New function to collapse identical
16722 adjacent warnings.
16723 (delayed-warnings-hook): Add it.
16724
16725 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16726
16727 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16728
16729 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16730 (tramp-default-user-alist): Don't add "pscp".
16731 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16732 property "login-as", if set. (Bug#10530)
16733
16734 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16735
16736 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16737 "plink1" and "psftp". (Bug#10530)
16738
16739 2012-01-21 Kenichi Handa <handa@m17n.org>
16740
16741 * international/mule-cmds.el (prefer-coding-system): Show a
16742 warning message if the default value of file-name-coding-system
16743 was not changed.
16744
16745 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16746
16747 * windmove.el (windmove-reference-loc):
16748 Fix windmove-reference-loc miscalculation.
16749
16750 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16751
16752 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16753 default unit.
16754
16755 2012-01-21 Glenn Morris <rgm@gnu.org>
16756
16757 * international/mule.el (auto-coding-alist): Add .tbz.
16758
16759 * files.el (local-enable-local-variables): Doc fix.
16760 (inhibit-local-variables-regexps): Rename from
16761 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16762 Doc fix. Add some extensions from auto-coding-alist.
16763 (inhibit-local-variables-suffixes):
16764 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16765 (inhibit-local-variables-p):
16766 New function, extracted from set-auto-mode-1.
16767 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16768 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16769 (hack-local-variables): Doc fix. Make the mode-only case
16770 respect enable-local-variables and friends.
16771 Respect inhibit-local-variables-regexps for file-locals, but
16772 not for directory-locals.
16773 (set-visited-file-name):
16774 Take account of inhibit-local-variables-regexps.
16775 Whether it applies may change as the file name is changed.
16776 * jka-cmpr-hook.el (jka-compr-install):
16777 * jka-compr.el (jka-compr-uninstall):
16778 Update for inhibit-first-line-modes-suffixes name change.
16779
16780 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16781
16782 * help-macro.el (make-help-screen): Temporarily restore original
16783 binding for minor-mode-map-alist (Bug#10454).
16784
16785 2012-01-19 Julien Danjou <julien@danjou.info>
16786
16787 * color.el (color-name-to-rgb): Use the white color to find the max
16788 color component value and return correctly computed values.
16789 (color-name-to-rgb): Add missing float conversion for max value.
16790
16791 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16792
16793 * window.el (window--state-get-1, window-state-get): Do not use
16794 special state value for window-persistent-parameters.
16795 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16796 (window--state-put-2): Reset all window parameters to nil before
16797 assigning values of persistent parameters.
16798
16799 2012-01-18 Alan Mackenzie <acm@muc.de>
16800
16801 Eliminate sluggishness and hangs in fontification of "semicolon
16802 deserts".
16803
16804 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16805 Change value 10000 -> 3000.
16806 (c-state-safe-place): Reformulate so it doesn't stack up an
16807 infinite number of wrong entries in c-state-nonlit-pos-cache.
16808 (c-determine-limit-get-base, c-determine-limit): New functions to
16809 determine backward search limits disregarding literals.
16810 (c-find-decl-spots): Amend commenting.
16811 (c-cheap-inside-bracelist-p): New function which detects "={".
16812
16813 * progmodes/cc-fonts.el
16814 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16815 backward search.
16816 (c-font-lock-declarations): Fix an occurrence of point being
16817 undefined. Check additionally for point being in a bracelist or
16818 near a macro invocation without a semicolon so as to avoid a
16819 fruitless time consuming search for a declarator. Give a more
16820 precise search limit for declarators using the new
16821 c-determine-limit.
16822
16823 2012-01-18 Glenn Morris <rgm@gnu.org>
16824
16825 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16826 (set-auto-mode): Doc fixes.
16827
16828 2012-01-17 Glenn Morris <rgm@gnu.org>
16829
16830 * isearch.el (search-nonincremental-instead): Fix doc typo.
16831
16832 * dired.el (dired-insert-directory): Handle newlines in directory name.
16833 (dired-build-subdir-alist): Unescape newlines in directory name.
16834
16835 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16836
16837 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16838 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16839 (tramp-action-terminal): Use it. (Bug#10530)
16840
16841 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16842
16843 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16844
16845 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16846
16847 * window.el (window-state-ignored-parameters): Remove variable.
16848 (window--state-get-1): Rename argument MARKERS to IGNORE.
16849 Handle persistent window parameters. Make copy of clone-of
16850 parameter only if requested. (Bug#10348)
16851 (window--state-put-2): Install a window parameter only if it has
16852 a non-nil value or an existing parameter shall be overwritten.
16853
16854 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16855
16856 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16857
16858 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16859
16860 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16861 don't pass the (nil) value of `upnode' to string-match.
16862
16863 2012-01-14 Chong Yidong <cyd@gnu.org>
16864
16865 * startup.el (command-line): Fix X resource class for cursorColor.
16866 Fix values recognized by the cursorBlink resource.
16867
16868 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16869
16870 * epg.el (epg--make-temp-file): Avoid permission race condition
16871 when running on old Emacs versions (bug#10403).
16872
16873 2012-01-14 Glenn Morris <rgm@gnu.org>
16874
16875 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16876
16877 2012-01-13 Alan Mackenzie <acm@muc.de>
16878
16879 Fix filling for when filladapt mode is enabled.
16880
16881 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16882 c-mask-paragraph, pass in `fill-paragraph' rather than
16883 `fill-region-as-paragraph'. (This is a reversion of a previous
16884 change.)
16885 * progmodes/cc-mode.el (c-basic-common-init):
16886 Make fill-paragraph-handle-comment buffer local and set it to nil.
16887
16888 2012-01-13 Glenn Morris <rgm@gnu.org>
16889
16890 * dired.el (dired-switches-escape-p): New function.
16891 (dired-insert-directory): Use dired-switches-escape-p.
16892 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16893
16894 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16895
16896 2012-01-12 Glenn Morris <rgm@gnu.org>
16897
16898 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16899 changes in adaptive-fill-regexp. (Bug#10276)
16900
16901 2012-01-11 Alan Mackenzie <acm@muc.de>
16902
16903 Fix Emacs bug #10463 - put `widen's around the critical spots.
16904
16905 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16906 widen around each invocation of c-state-pp-to-literal. Remove an
16907 unused let variable.
16908
16909 2012-01-11 Glenn Morris <rgm@gnu.org>
16910
16911 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16912 Doc fix.
16913
16914 2012-01-10 Chong Yidong <cyd@gnu.org>
16915
16916 * net/network-stream.el (network-stream-open-starttls):
16917 Avoid emitting a confusing error message when the server gives a bad
16918 response to the capability command.
16919
16920 2012-01-10 Glenn Morris <rgm@gnu.org>
16921
16922 * mail/unrmail.el (unrmail): Tweak previous change.
16923
16924 2012-01-09 Chong Yidong <cyd@gnu.org>
16925
16926 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16927
16928 2012-01-08 Alan Mackenzie <acm@muc.de>
16929
16930 Optimize font locking in long enum definitions.
16931
16932 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16933 arm to a cond form to handle enums.
16934 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16935 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16936
16937 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16938
16939 * files.el (move-file-to-trash): Preserve default file modes on error.
16940 (Bug#10401)
16941
16942 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16943
16944 * faces.el (set-face-attribute): Clarify the meaning of the nil
16945 frame (bug#10294).
16946
16947 * subr.el (with-selected-frame): Mention that the selected frame
16948 is restored (bug#9980).
16949
16950 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16951 (bug#9759).
16952
16953 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16954 (password-read): Don't autoload unused function.
16955
16956 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16957
16958 * progmodes/which-func.el (which-func-mode): Turn into a
16959 non-interactive function and mark as obsolete (bug#10428).
16960
16961 2012-01-06 Chong Yidong <cyd@gnu.org>
16962
16963 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16964 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16965 functions, along with 1 and -1.
16966
16967 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16968
16969 * time.el (display-time-load-average)
16970 (display-time-default-load-average): Doc fixes. See the thread
16971 starting at
16972 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16973 for the details.
16974
16975 2012-01-06 Glenn Morris <rgm@gnu.org>
16976
16977 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16978 has no messages. (Bug#10377)
16979
16980 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16981 than Info-edit. (Bug#10385)
16982
16983 * time.el (display-time-load-average, display-time-next-load-average):
16984 Doc fixes.
16985
16986 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16987 local setting of buffer-read-only to the input buffer. (Bug#10419)
16988
16989 * calendar/calendar.el (calendar-mode):
16990 Locally set scroll-margin to 0. (Bug#10379)
16991
16992 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16993
16994 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16995
16996 2012-01-05 Glenn Morris <rgm@gnu.org>
16997
16998 * eshell/em-unix.el (diff-no-select): Autoload it.
16999 (eshell/diff): Use diff-no-select. (Bug#10420)
17000
17001 2012-01-05 Chong Yidong <cyd@gnu.org>
17002
17003 * shell.el (shell-dynamic-complete-functions): Revert last change.
17004 (shell-command-completion-function): New function.
17005 (shell-completion-vars): Use it to implement
17006 shell-completion-execonly (Bug#10417).
17007
17008 * custom.el (enable-theme): Don't set custom-safe-themes.
17009
17010 * cus-theme.el (custom-theme-merge-theme):
17011 Ignore custom-enabled-themes and custom-safe-themes.
17012
17013 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17014
17015 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17016 first prompt in `sql-interacive-mode'.
17017 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17018 keywords.
17019 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17020 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17021 context of original buffer. Invoke `sql-login-hook'.
17022
17023 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17024
17025 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17026 letters in cite-prefix.
17027
17028 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17029
17030 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17031
17032 2012-01-03 Chong Yidong <cyd@gnu.org>
17033
17034 * shell.el (shell-dynamic-complete-functions):
17035 Put pcomplete-completions-at-point, so as to try
17036 comint-filename-completion first (Bug#10417).
17037
17038 2012-01-02 Richard Stallman <rms@gnu.org>
17039
17040 * battery.el (battery-status-function):
17041 Detect when to use battery-yeeloong-sysfs.
17042 (battery-echo-area-format): Add string for Yeeloong.
17043 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17044 (battery-yeeloong-sysfs): New function.
17045
17046 2012-01-02 Chong Yidong <cyd@gnu.org>
17047
17048 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17049 (dirtrack): Merge code for handling relative filenames in prompt
17050 from shell-dir-cookie-watcher.
17051 (dirtrack-debug-message): New arg to avoid excess format calls.
17052
17053 * shell.el (shell-dir-cookie-re): Variable deleted.
17054 (shell-dir-cookie-watcher): Function deleted.
17055 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17056 with dirtrack-mode.
17057
17058 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17059
17060 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17061 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17062 libgnutls-26.dll.
17063
17064 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17065
17066 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17067
17068 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17069
17070 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17071 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17072
17073 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17074
17075 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17076 also for alternative shells.
17077 (tramp-open-connection-setup-interactive-shell): Check, whether
17078 the shell is a busybox.
17079 (tramp-send-command): Don't suppress multiple prompts for
17080 busyboxes, it hurts.
17081
17082 2011-12-28 Chong Yidong <cyd@gnu.org>
17083
17084 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17085 (gdb-get-source-file): Move mode line update to
17086 gdb-get-source-file (Bug#10087).
17087
17088 2011-12-25 Chong Yidong <cyd@gnu.org>
17089
17090 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17091 gud-gdb-marker-filter without taking it as an argument.
17092 (gud-gdb-run-command-fetch-lines): Caller changed.
17093 (gud-gdb-completion-function): New variable.
17094 (gud-gdb-completion-at-point): Use it.
17095 (gud-gdb-completions-1): Split from gud-gdb-completions.
17096
17097 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17098 function as separate arguments.
17099 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17100 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17101 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17102 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17103 (gdb-stopped, def-gdb-auto-update-trigger)
17104 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17105 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17106 Callers changed.
17107 (gud-gdbmi-completions): New function.
17108 (gdb): Use it for generating the completion table.
17109
17110 2011-12-24 Alan Mackenzie <acm@muc.de>
17111
17112 Introduce a mechanism to widen the region used in context font
17113 locking. Use this to protect declarations from losing their contexts.
17114
17115 * progmodes/cc-langs.el (c-before-font-lock-functions):
17116 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17117 (c-before-context-fontification-functions): New defvar, a list of
17118 functions to be run just before context (etc.) font locking.
17119
17120 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17121 New, functionality extracted from
17122 c-neutralize-syntax-in-and-mark-CPP.
17123 (c-in-after-change-fontification): New variable.
17124 (c-after-change): Set c-in-after-change-fontification.
17125 (c-set-fl-decl-start): Rejig its interface, so it can be called
17126 from both after-change and context fontifying.
17127 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17128 New functions.
17129 (c-standard-font-lock-fontify-region-function): New variable.
17130 (c-font-lock-fontify-region): New function.
17131
17132 2011-12-24 Juri Linkov <juri@jurta.org>
17133
17134 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17135 (Bug#10348)
17136
17137 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17138
17139 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17140 existence of source file. (Bug#10325)
17141
17142 2011-12-23 Alan Mackenzie <acm@muc.de>
17143
17144 Fix unstable fontification inside templates.
17145
17146 * progmodes/cc-langs.el (c-before-font-lock-functions):
17147 Newly created from the singular version. The (c c++ objc) entry now
17148 additionally has c-set-fl-decl-start. The other languages (apart
17149 from AWK) have that as a single entry.
17150
17151 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17152 The functionality for "local" declarations has been extracted to
17153 c-set-fl-decl-start.
17154
17155 * progmodes/cc-mode.el (c-common-init, c-after-change):
17156 Changes due to pluralisation of c-before-font-lock-functions.
17157 (c-set-fl-decl-start): New function, extracted from
17158 c-font-lock-enclosing-decls and enhanced.
17159
17160 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17161
17162 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17163
17164 2011-12-22 Juri Linkov <juri@jurta.org>
17165
17166 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17167
17168 2011-12-22 Chong Yidong <cyd@gnu.org>
17169
17170 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17171
17172 2011-12-21 Drew Adams <drew.adams@oracle.com>
17173
17174 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17175
17176 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17177
17178 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17179
17180 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17181
17182 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17183 highlighting and support. Fix up comments for capitalization.
17184 (cfengine-mode-debug): New var.
17185 (cfengine3-mode): Change the modeline indicator to "CFE3".
17186 (cfengine3-font-lock-keywords): Improve defun highlighting.
17187 (cfengine2-actions): Rename from `cfengine-actions'.
17188 (cfengine2-font-lock-keywords): Rename from
17189 `cfengine-font-lock-keywords'.
17190 (cfengine2-imenu-expression): Rename from
17191 `cfengine-imenu-expression'.
17192 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17193 (cfengine2-beginning-of-defun): Rename from
17194 `cfengine-beginning-of-defun'.
17195 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17196 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17197 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17198 modeline indicator to "CFE2".
17199 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17200 (cfengine-mode-abbrevs): Mark obsolete.
17201
17202 2011-12-21 Chong Yidong <cyd@gnu.org>
17203
17204 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17205 filename argument.
17206
17207 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17208
17209 * window.el (window-normalize-buffer-to-display): Remove.
17210 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17211
17212 2011-12-19 Chong Yidong <cyd@gnu.org>
17213
17214 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17215 Don't signal an error in a predicate function; return non-nil.
17216 (vc-dir-mark-file): Move the error here.
17217 (vc-dir-mark-unmark): If acting on the region, keep going if one
17218 of the entries cannot be marked/unmarked.
17219 (vc-dir-mark-all-files): If current entry is a directory, mark
17220 only child files, as documented.
17221
17222 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17223
17224 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17225 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17226 addition.
17227
17228 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17229
17230 * term/ns-win.el (ns-get-selection-internal)
17231 (ns-store-selection-internal): Declare.
17232 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17233 Declare as obsolete.
17234 (ns-get-pasteboard, ns-paste-secondary):
17235 Use ns-get-selection-internal.
17236 (ns-set-pasteboard, ns-copy-including-secondary):
17237 Use ns-store-selection-internal.
17238
17239 2011-12-17 Chong Yidong <cyd@gnu.org>
17240
17241 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17242 (vc-deduce-fileset): Doc fix.
17243
17244 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17245
17246 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17247
17248 2011-12-13 Sam Steingold <sds@gnu.org>
17249
17250 * man.el (Man-getpage-in-background): When running under a
17251 window-system, ignore $MANWIDTH and $COLUMNS.
17252
17253 2011-12-15 Kenichi Handa <handa@m17n.org>
17254
17255 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17256 (setup-ethiopic-environment-internal): Comment out key-binding for
17257 ethio-toggle-punctuation.
17258
17259 2011-12-13 Alan Mackenzie <acm@muc.de>
17260
17261 Add the switch statement to AWK Mode.
17262
17263 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17264 "default" to the keywords regexp.
17265
17266 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17267 expression as the rest.
17268 (c-nonlabel-token-key): Allow string literals for AWK.
17269 Refactor for the other modes.
17270
17271 Large brace-block initialisation makes CC Mode slow: Fix.
17272 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17273 routines. Limit backward searching in c-font-lock-enclosing.decl.
17274
17275 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17276 pp-state and literal type in addition to the limits.
17277 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17278 (c-state-literal-at): Use the above new defun.
17279 (c-slow-in-literal, c-fast-in-literal): Remove.
17280 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17281
17282 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17283 being in a literal. Add a limit for backward searching.
17284
17285 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17286 c-slow-in-literal.
17287
17288 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17289
17290 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17291
17292 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17293
17294 * window.el (delete-other-windows): Use correct frame in call to
17295 window-with-parameter.
17296
17297 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17298
17299 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17300 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17301 (makefile-gmake-statements, makefile-makepp-statements):
17302 Use it and add new makepp keywords.
17303 (makefile-makepp-font-lock-keywords): Add new patterns.
17304 (makefile-match-function-end): Match new [...] and [[...]].
17305
17306 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17307
17308 * ses.el (ses-call-printer-return, ses-cell-property-get)
17309 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17310 (ses-create-cell-variable, ses-reset-header-string)
17311 (ses-cell-set-formula, ses-repair-cell-reference-all)
17312 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17313 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17314 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17315 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17316 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17317 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17318 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17319 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17320 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17321 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17322 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17323 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17324
17325 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17326
17327 * ses.el: The overall change is to add cell renaming, that is
17328 setting fancy names for cell symbols other than name matching
17329 "\\`[A-Z]+[0-9]+\\'" regexp .
17330 (ses-create-cell-variable): New defun.
17331 (ses-relocate-formula): Relocate formulas only for cells the
17332 symbols of which are not renamed, i.e. symbols whose names do not
17333 match regexp "\\`[A-Z]+[0-9]+\\'".
17334 (ses-relocate-all): Relocate values only for cells the symbols of
17335 which are not renamed.
17336 (ses-load): Create cells variables as the (ses-cell ...) are read,
17337 in order to check row col consistency with cell symbol name only
17338 for cells that are not renamed.
17339 (ses-replace-name-in-formula): New defun.
17340 (ses-rename-cell): New defun.
17341
17342 2011-12-11 Chong Yidong <cyd@gnu.org>
17343
17344 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17345 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17346
17347 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17348
17349 * window.el (other-window): Fix docstring.
17350
17351 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17352
17353 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17354 `from' or `to' address before taking its substring.
17355 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17356 encoded name is chopped in the middle of the encoded string, and
17357 thus displayed encoded.
17358
17359 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17360
17361 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17362
17363 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17364
17365 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17366 to use texinfo-update-node and commands that call it if the
17367 Texinfo file uses @node lines without next/prev/up pointers.
17368 Correct outdated description about texinfo-master-menu.
17369 (texinfo-all-menus-update, texinfo-master-menu)
17370 (texinfo-update-node, texinfo-every-node-update)
17371 (texinfo-multiple-files-update): Doc fix. Warn against updating
17372 all the @node lines.
17373 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17374 argument is numeric. Explain better in the doc string what the
17375 function really does.
17376 (texinfo-insert-master-menu-list): Improve the error message
17377 displayed if there's no menu in the Top node.
17378 (Bug#2975) See also this thread:
17379 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17380
17381 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17382
17383 * speedbar.el (speedbar-supported-extension-expressions):
17384 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17385
17386 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17387
17388 * printing.el (pr-mode-alist):
17389 * simple.el (filter-buffer-substring-functions)
17390 (completion-list-insert-choice-function):
17391 * window.el (window-with-parameter, window-atom-root)
17392 (window-sides-slots, window-size-fixed, window-min-delta)
17393 (window-max-delta, window--resize-mini-window)
17394 (window--resize-child-windows-normal, window-tree)
17395 (delete-other-windows, quit-window, split-window)
17396 (display-buffer-record-window, special-display-buffer-names)
17397 (special-display-regexps, special-display-popup-frame)
17398 (same-window-p, split-window-sensibly)
17399 (display-buffer-overriding-action, display-buffer-alist)
17400 (display-buffer-base-action, display-buffer, switch-to-buffer)
17401 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17402 (fit-window-to-buffer, recenter-positions)
17403 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17404 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17405 and remove unneeded backslashes in docstrings.
17406
17407 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17408
17409 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17410
17411 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17412 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17413 end in ".mk".
17414 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17415 when reading the makefile (bug#10116).
17416
17417 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17418
17419 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17420 (bug#10116).
17421
17422 2011-12-06 Glenn Morris <rgm@gnu.org>
17423
17424 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17425
17426 2011-12-06 Chong Yidong <cyd@gnu.org>
17427
17428 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17429
17430 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17431
17432 * textmodes/table.el (table-shorten-cell): Fix typo.
17433
17434 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17435
17436 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17437
17438 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17439
17440 * descr-text.el (describe-char): Fix display of strong
17441 right-to-left characters and directional embeddings and overrides.
17442
17443 * simple.el (what-cursor-position): Fix display of codepoints of
17444 strong right-to-left characters.
17445
17446 2011-12-05 Chong Yidong <cyd@gnu.org>
17447
17448 * faces.el (read-color): Doc fix.
17449
17450 2011-12-05 Glenn Morris <rgm@gnu.org>
17451
17452 * align.el (align--set-marker): Add doc-string.
17453 Don't try to move something that is not a marker. (Bug#10216)
17454
17455 2011-12-04 Glenn Morris <rgm@gnu.org>
17456
17457 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17458 overly zealous deletion of trailing whitespace.
17459
17460 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17461
17462 * server.el (server-delete-client): On Windows, do not try to delete
17463 the only terminal.
17464 (server-process-filter): On Windows, treat requests for a tty frame as
17465 if they were for a GUI frame if the running server is in GUI mode.
17466
17467 2011-12-03 Glenn Morris <rgm@gnu.org>
17468
17469 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17470
17471 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17472
17473 * electric.el: Streamline electric-indent's hook.
17474 (electric-indent-chars): Revert to simple list.
17475 (electric-indent-functions): New var.
17476 (electric-indent-post-self-insert-function): Use it.
17477
17478 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17479 there's no inferior buffer (bug#10196).
17480 (prolog-consult-compile): Don't use toggle-read-only.
17481
17482 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17483
17484 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17485 interrupt. (Bug#10187)
17486
17487 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17490 (bug#9160).
17491
17492 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17493 (bug#10191).
17494
17495 2011-12-02 Juri Linkov <juri@jurta.org>
17496
17497 * info.el (Info-search): Display "end of manual" when Isearch
17498 reaches the end of single-file Info manual. (Bug#9918)
17499
17500 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17501
17502 * isearch.el (isearch-message-prefix): Run the input method part
17503 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17504
17505 2011-12-02 Juri Linkov <juri@jurta.org>
17506
17507 * isearch.el (isearch-occur): Use `word-search-regexp' for
17508 `isearch-word'.
17509 (isearch-search-and-update): Add condition for `isearch-word' and
17510 call `word-search-regexp'. (Bug#10145)
17511
17512 2011-12-01 Glenn Morris <rgm@gnu.org>
17513
17514 * eshell/em-hist.el (eshell-hist-initialize):
17515 Handle eshell-history-size nil and HISTSIZE set or unset.
17516 (eshell-history-file-name, eshell-history-size): Fix custom type.
17517
17518 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17519
17520 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17521
17522 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17523
17524 * progmodes/verilog-mode.el (verilog-pretty-expr):
17525 Rework verilog-pretty-expr to handle new assignment operators in system
17526 verilog, such as += *= and the like.
17527 (verilog-assignment-operator-re): Regular expression to find the
17528 assigment operator in a verilog assignment.
17529 (verilog-assignment-operation-re): Regular expression to find an
17530 assignment statement for pretty-expr.
17531 (verilog-in-attribute-p): Query returns true if point is in an
17532 attribute context; used to skip these for expression line up from
17533 pretty-expr.
17534 (verilog-in-parameter-p): Query returns true if point is in an
17535 parameter definition context; used to skip these for expression
17536 line up from pretty-expr.
17537 (verilog-in-parenthesis-p): Query returns true if point is in a
17538 parenthetical expression, specifically ( ) but not [ ] or { };
17539 used by pretty-expr.
17540 (verilog-just-one-space): If there is no space, don't add one.
17541 (verilog-get-lineup-indent-2): Specifically skip just attribute
17542 contexts for expression lineup, rather than skipping all
17543 parenthetical expressions.
17544 (verilog-calculate-indent): Fix comment, and fix indent.
17545 (verilog-do-indent): Indent declarations in lists (suggested by
17546 Joachim Lechner).
17547 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17548 skeleton items.
17549 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17550 by Alain Mellan).
17551
17552 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17553
17554 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17555 parameters with embedded comments. Reported by Ray Stevens.
17556 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17557 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17558 Reported by Tim Holt.
17559 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17560 instantiated by upper module causing wrong expansion until AUTOed a
17561 second time. Reported by K C Buckenmaier.
17562 (verilog-diff-auto): Fix showing .* as a difference when
17563 `verilog-auto-star-save' off. Reported by Dan Dever.
17564 (verilog-auto-reset, verilog-read-always-signals)
17565 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17566 temporary signals in reset list if
17567 verilog-auto-reset-blocking-in-non is nil, and match assignment
17568 style to each signal's assignment type, bug381.
17569 Reported by Thomas Esposito.
17570 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17571 (verilog-uvm-statement-re): Support UVM indentation and
17572 highlighting, with old OVM keywords only.
17573 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17574 Support AUTOTIEOFF creating non-wire data types.
17575 Suggested by Jonathan Greenlaw.
17576 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17577 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17578 (verilog-inject-sense, verilog-read-inst-pins)
17579 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17580 Fix mismatching parenthesis inside commented out code when deleting
17581 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17582 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17583 non-numeric vector width. Reported by Alex Reed.
17584 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17585 detecting signals with parameter widths. Reported by Alex Reed.
17586 (verilog-auto-delete-trailing-whitespace):
17587 With `verilog-auto-delete-trailing-whitespace' remove trailing
17588 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17589 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17590 Fix verilog-scan-cache corruption when running user AUTO expansion
17591 hooks that call indentation routines.
17592 (verilog-simplify-range-expression): Fix typo ignoring lower case
17593 identifiers.
17594 (verilog-delete-auto): Fix delete-autos to also remove user created
17595 automatics, as long as they start with AUTO.
17596 (verilog-batch-diff-auto, verilog-diff-auto)
17597 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17598 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17599 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17600 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17601 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17602 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17603 is disabled and its cache will get corrupt, causing AUTOS not to
17604 expand. Instead use only -quick functions.
17605 (verilog-scan-region): Fix scanning over escaped quotes.
17606 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17607 (verilog-re-search-backward-quick)
17608 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17609 related functions now ignore strings, to fix misparsing of strings
17610 with magic comments embedded in them.
17611 (verilog-read-auto-template):
17612 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17613 Reported by Brad Dobbie.
17614 (verilog-read-auto-template):
17615 Fix 'verilog-auto-inst-template-numbers' with comments.
17616 Reported by Brad Dobbie.
17617 (verilog-auto-inst, verilog-auto-inst-param)
17618 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17619 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17620 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17621 debugging templates without merge conflicts, bug357.
17622 Reported by Brad Dobbie.
17623 (verilog-read-auto-template):
17624 Fix verilog-auto-inst-template-numbers with multiple templates.
17625 Reported by Brad Dobbie.
17626 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17627 abbrevs so user won't be asked to save.
17628 (verilog-read-auto-lisp-present): Fix to start at beginning of
17629 buffer in case called outside of verilog-auto.
17630 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17631 to "X-2". Reported by Matthew Myers.
17632 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17633 all inputs from module templates. Reported by Leith Johnson.
17634 (verilog-module-inside-filename-p): Fix locating programs as with
17635 modules.
17636 (verilog-auto-inst-port): Fix vl-width expressions when using
17637 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17638 (verilog-decls-get-regs, verilog-decls-get-signals,
17639 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17640 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17641 verilog-read-decls): Combine reg and wire structures into one var
17642 structure to represent SystemVerilog concepts.
17643 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17644 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17645 (verilog-auto-wire-type, verilog-insert-definition):
17646 Add verilog-auto-wire-type and AUTOLOGIC to support using
17647 SystemVerilog "logic" keyword instead of "wire"/"reg".
17648 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17649 to declares outputs that also have assignments (presumably in an
17650 ifdef or generate if so there's not a driver conflict).
17651 Reported by Matthew Myers.
17652 (verilog-auto-declare-nettype, verilog-insert-definition):
17653 Add verilog-auto-declare-nettype to fix declarations using
17654 `default_nettype none. Reported by Julian Gorfajn.
17655 (verilog-read-always-signals-recurse, verilog-read-decls)
17656 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17657 malformed end statement, bug325. Reported by Joshua Wise and
17658 Andrew Drake.
17659 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17660 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17661 when expanding .* in interfaces, bug320.
17662 Reported by Pierre-David Pfister.
17663 (verilog-read-module-name): Fix import statements between module
17664 name and open parenthesis, bug317.
17665 Reported by Pierre-David Pfister.
17666 (verilog-simplify-range-expression): Fix simplification of
17667 multiplications inside AUTOWIRE connections, bug303.
17668 (verilog-auto-inst-port): Support parameter expansion in
17669 multidimensional arrays.
17670 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17671 after "assert property". Reported by Julian Gorfajn.
17672 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17673 with multiplication, bug303.
17674 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17675 Reported by Jan Frode Lonnum.
17676
17677 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17678
17679 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17680 (hfy-shell-file-name, hfy-shell):
17681 * international/fontset.el (x-decompose-font-name): Fix typos.
17682
17683 2011-11-29 Ken Brown <kbrown@cornell.edu>
17684
17685 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17686 (gdb-version): Remove defvar.
17687 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17688 (gdb-gud-context-command, gdb-non-stop-handler)
17689 (gdb-current-context-command, gdb-stopped): Use it.
17690 (gdb-init-1): Enable pretty printing here.
17691 (gdb-non-stop-handler): Don't enable pretty-printing here.
17692 Check to see if the target supports non-stop mode; if not, turn off
17693 non-stop mode. Use the following.
17694 (gdb-check-target-async): New defun.
17695 (gud-watch, gdb-stopped): Fix whitespace.
17696 (gdb-get-source-file): Don't try to display the source file if
17697 `gdb-main-file' is nil.
17698
17699 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17700
17701 * align.el: Try to generate fewer markers (bug#10047).
17702 (align--set-marker): New macro.
17703 (align-region): Use it.
17704
17705 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17706
17707 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17708
17709 2011-11-29 Chong Yidong <cyd@gnu.org>
17710
17711 * indent.el (indent-for-tab-command, indent-according-to-mode):
17712 Doc fix.
17713 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17714
17715 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17716
17717 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17718 aware of remote file names. (Bug#10124)
17719
17720 2011-11-29 Chong Yidong <cyd@gnu.org>
17721
17722 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17723
17724 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17725
17726 * files.el (find-file): Don't use force-same-window (bug#10144).
17727 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17728 use pop-to-buffer if the selected window can't be used.
17729 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17730
17731 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17732
17733 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17734 special-mode-map.
17735
17736 2011-11-28 Chong Yidong <cyd@gnu.org>
17737
17738 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17739
17740 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17741
17742 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17743 gdb-get-source-file-list on gdb-create-source-file-list.
17744
17745 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17746
17747 * whitespace.el (whitespace-newline): Use a different foreground
17748 color for 16-color light-background displays.
17749
17750 2011-11-24 Chong Yidong <cyd@gnu.org>
17751
17752 * window.el (display-buffer--special-action): Doc fix.
17753
17754 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17755
17756 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17757 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17758 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17759 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17760 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17761 (avl-tree-stack-first):
17762 * emacs-lisp/cconv.el (cconv--analyse-use):
17763 * net/gnutls.el (gnutls-negotiate): Fix typos.
17764
17765 2011-11-24 Glenn Morris <rgm@gnu.org>
17766
17767 * lpr.el (lpr-windows-system, lpr-lp-system):
17768 * mail/binhex.el (binhex-begin-line):
17769 * progmodes/grep.el (grep-history, grep-find-history):
17770 * textmodes/flyspell.el:
17771 * vc/pcvs-defs.el (cvs-global-menu):
17772 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17773 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17774 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17775
17776 * net/tls.el: Fix case of "GnuTLS".
17777
17778 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17779
17780 * version.el (emacs-build-system): Give it a doc-string.
17781
17782 2011-11-24 Juri Linkov <juri@jurta.org>
17783
17784 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17785
17786 2011-11-24 Glenn Morris <rgm@gnu.org>
17787
17788 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17789 if called on a non-mime message just toggle the headers. (Bug#8006)
17790
17791 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17792
17793 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17794 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17795 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17796 (allout-rebullet-heading, allout-open-sibtopic)
17797 (allout-toggle-current-subtree-encryption)
17798 (allout-toggle-subtree-encryption, allout-encrypt-string)
17799 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17800 (allout-distinctive-bullets-string, allout-auto-activation):
17801 * window.el (window-normalize-buffer-to-display):
17802 * progmodes/verilog-mode.el (verilog-batch-indent):
17803 * textmodes/bibtex.el (bibtex-field-braces-opt)
17804 (bibtex-field-strings-opt):
17805 * vc/cvs-status.el (cvs-tree-merge):
17806 Fix typos.
17807
17808 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17809
17810 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17811 `non-essential' to t, in order to avoid remote connections.
17812
17813 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17814
17815 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17816 On MS-DOS and MS-Windows, compare with loaddefs.el
17817 case-insensitively.
17818
17819 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17820
17821 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17822
17823 2011-11-23 Glenn Morris <rgm@gnu.org>
17824
17825 * paths.el (rmail-file-name): Reformat the doc-string so that it
17826 is picked up.
17827
17828 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17829 (rmail-auto-file): Ignore case in the "special" field names,
17830 as mail-fetch-field does for all others.
17831
17832 * mail/rmail.el (rmail-forward):
17833 * mail/rmailkwd.el (rmail-set-label):
17834 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17835 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17836
17837 * mail/rmail.el (rmail-current-message): Doc fix.
17838
17839 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17840
17841 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17842
17843 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17844
17845 2011-11-22 Glenn Morris <rgm@gnu.org>
17846
17847 * mail/rmailmm.el (test-rmail-mime-handler)
17848 (test-rmail-mime-bulk-handler)
17849 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17850
17851 2011-11-21 Juri Linkov <juri@jurta.org>
17852
17853 * calc/calc.el (calc-read-key-sequence):
17854 Let-bind `input-method-function' to nil. (Bug#10018)
17855
17856 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17857
17858 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17859 Tell the caller that the next line needs recomputation, even
17860 though it doesn't start a sexp (bug#10094).
17861
17862 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17863
17864 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17865
17866 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17867
17868 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17869 Use force-same-window.
17870
17871 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17872
17873 * descr-text.el (describe-char-unicode-data):
17874 * json.el (json-string-escape):
17875 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17876 (Footnote-unicode, Footnote-style-p):
17877 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17878
17879 2011-11-20 Chong Yidong <cyd@gnu.org>
17880
17881 * window.el (replace-buffer-in-windows): Restore interactive spec.
17882
17883 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17884
17885 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17886
17887 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17888 (byte-compile-global-not-obsolete-vars): New var.
17889 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17890 Use it.
17891 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17892
17893 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17894
17895 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17896 * progmodes/pascal.el (electric-pascal-equal):
17897 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17898 * xml.el (xml-substitute-special): Fix typos.
17899
17900 2011-11-20 Glenn Morris <rgm@gnu.org>
17901
17902 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17903 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17904 Doc fixes.
17905 (rmail-decode-mime-charset): Mark as obsolete.
17906
17907 * mail/rmailsum.el (rmail-message-regexp-p-1):
17908 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17909 Before using mime functions, check they are set. (Bug#10077)
17910
17911 2011-11-19 Juri Linkov <juri@jurta.org>
17912
17913 * info.el (Info-finder-find-node): Use `package--builtins' instead
17914 of `package-alist'. Use node names formed by the pattern "Keyword "
17915 and the keyword name.
17916
17917 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17918
17919 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17920
17921 2011-11-19 Juri Linkov <juri@jurta.org>
17922
17923 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17924 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17925 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17926 `old-history', `old-history-forward'. Add let-binding
17927 `window-selected'. Remove calls to `kill-buffer',
17928 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17929 before calling `Info-find-node', so `Info-find-node-2' will reread
17930 the Info file. Restore window positions only when `window-selected'
17931 is non-nil.
17932
17933 2011-11-19 Juri Linkov <juri@jurta.org>
17934
17935 * isearch.el (isearch-lazy-highlight-new-loop):
17936 Remove condition `(not isearch-error)'. (Bug#9918)
17937
17938 * misearch.el (multi-isearch-search-fun): Add condition
17939 `(not bound)' to ignore lazy-highlighting search.
17940 Add the search-failed message "end of multi" when the end of
17941 multi-sequence is reached. Uncapitalize the search-failed
17942 message "Repeat for next buffer".
17943
17944 * info.el (Info-search): Add the search-failed message
17945 "end of the manual" when the end of the manual is reached
17946 in Isearch mode.
17947
17948 2011-11-19 Juri Linkov <juri@jurta.org>
17949
17950 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17951 Use non-destructive `remove' instead of `delete' because
17952 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17953 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17954
17955 2011-11-19 Juri Linkov <juri@jurta.org>
17956
17957 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17958 to nil instead of binding `search-ring' and `regexp-search-ring'.
17959 (Bug#9185)
17960
17961 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17962
17963 * simple.el (line-move): Force movement by logical lines for any
17964 hscrolled window, not only when auto-hscroll-mode is on.
17965 (line-move-visual): Update doc string to that effect. (Bug#10076)
17966
17967 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17968
17969 * language/european.el (macintosh): Define as alias for mac-roman.
17970
17971 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17972
17973 * mail/rmailmm.el (rmail-mime-display-header)
17974 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17975 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17976 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17977 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17978 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17979 of a raw aref.
17980 (rmail-mime-entity-segment): To get past the tagline, move forward
17981 2 more lines, to account for the 2 empty lines that precede and
17982 follow the line with the buttons.
17983 (rmail-mime-update-tagline): Move one more line, to get past the
17984 empty line that follows the buttons in the tagline. (Bug#9520)
17985
17986 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17987
17988 * window.el (window-max-delta-1, window-min-delta-1)
17989 (window-min-size-1, window-state-get-1, window-state-put-1)
17990 (window-state-put-2): Use "window--" prefix.
17991
17992 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17993
17994 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17995 (smie-warning-count): New var.
17996 (smie-set-prec2tab): Use it.
17997 (smie-bnf->prec2): Improve warnings. Add docstring.
17998 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17999 (smie-bnf--set-class): New function.
18000 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18001 corner case.
18002
18003 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18004 (compilation-error-properties, compilation-move-to-column):
18005 Handle compilation-first-column while in the target buffer.
18006
18007 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18008 Don't hardcode point-min==1.
18009
18010 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18011 (eshell-rewrite-for-command): Remove workaround.
18012 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18013 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18014 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18015
18016 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18017
18018 2011-11-17 Glenn Morris <rgm@gnu.org>
18019
18020 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18021 Ignore buffer-local generated-autoload-file if it is the same
18022 as the global value. (Bug#10049)
18023
18024 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18025
18026 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18027 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18028 (reftex-toc-previous-heading, reftex-toc-max-level)
18029 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18030 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18031 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18032 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18033 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18034 (reftex-toc-rename-label, reftex-toc-visit-location)
18035 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18036 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18037 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18038 leaving "*toc*" only for references to the buffer.
18039
18040 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18041
18042 * window.el (window-resize, delete-window, split-window):
18043 Replace window-splits by window-combination-resize.
18044 * cus-start.el (window-splits): Replace by window-combination-resize.
18045
18046 2011-11-17 Glenn Morris <rgm@gnu.org>
18047
18048 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18049 Make bash entry derive from sh entry, not shell entry.
18050
18051 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18052
18053 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18054 local file name.
18055
18056 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18057
18058 * menu-bar.el (menu-bar-file-menu):
18059 * printing.el (pr-ps-utility):
18060 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18061 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18062 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18063 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18064 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18065 (icalendar--convert-cyclic-to-ical)
18066 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18067 (icalendar--convert-ical-to-diary)
18068 (icalendar--convert-recurring-to-diary)
18069 (icalendar--convert-non-recurring-all-day-to-diary)
18070 (icalendar-import-format-sample):
18071 * progmodes/idlw-shell.el (idlwave-shell-mode):
18072 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18073 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18074 (vhdl-ps-print-init): Fix typos.
18075
18076 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18077
18078 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18079 FSF and collapse date sequence, obscure author/maintainer email address
18080 better, remove extra version line, track relocation of author's webpage.
18081
18082 * progmodes/python.el (python-pdbtrack-input-prompt)
18083 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18084 regular python pdb prompts. Adjustments shamelessly taken exactly as
18085 suggested in EmacsWiki page (tiny change):
18086 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18087
18088 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18089
18090 * expand.el (expand-pos, expand-index, expand-point):
18091 Remove redundant info from docstring.
18092 (expand-add-abbrevs): Doc fix.
18093 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18094 (expand-sample-perl-mode-expand-list): Fix typos.
18095
18096 * net/dbus.el (dbus-event-member-name):
18097 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18098 * term/pc-win.el (msdos-create-frame-with-faces):
18099 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18100
18101 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18102
18103 * window.el (split-window, window-state-get-1)
18104 (window-state-put-1, window-state-put-2): Rename occurrences of
18105 window-nest to window-combination-limit.
18106 * cus-start.el (window-nest): Rename to window-combination-limit.
18107
18108 2011-11-16 Chong Yidong <cyd@gnu.org>
18109
18110 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18111 regexp (Bug#10033).
18112
18113 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18116 `completing-read' will remove *Completions* and will preserve
18117 current-buffer for us.
18118 (tmm-add-prompt): Users of *Completions* will always (re)set its
18119 major mode.
18120 (tmm-old-comp-map): Remove.
18121
18122 2011-11-16 Glenn Morris <rgm@gnu.org>
18123
18124 * mail/rmailedit.el: Require rmailmm when compiling.
18125 (rmail-old-mime-state): New declaration.
18126 (rmail-edit-current-message): If editing a mime message,
18127 edit the "raw" message from the mbox buffer.
18128 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18129
18130 2011-11-15 Glenn Morris <rgm@gnu.org>
18131
18132 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18133 which wasn't being used. Add optional arg to force given state.
18134 (rmail-mime): Add optional arg to force given state.
18135
18136 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18137
18138 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18139 * frame.el (display-mm-dimensions-alist):
18140 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18141 (outline-move-subtree-down):
18142 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18143 (newsticker--treeview-do-get-node):
18144 * net/quickurl.el (quickurl-list-buffer-name):
18145 * progmodes/dcl-mode.el (dcl-mode):
18146 * progmodes/gdb-mi.el (gdb-mapcar*):
18147 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18148
18149 2011-11-15 Glenn Morris <rgm@gnu.org>
18150
18151 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18152 in a boolean sense, so just make it a boolean, and fix the doc.
18153 (rmail-show-mime-function, rmail-mime-feature)
18154 (rmail-require-mime-maybe): Doc fixes.
18155 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18156
18157 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18158
18159 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18160
18161 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18162 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18163 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18164 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18165
18166 2011-11-15 Glenn Morris <rgm@gnu.org>
18167
18168 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18169 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18170 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18171 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18172 (rmail-mime, rmail-show-mime): Doc fixes.
18173
18174 * term/ns-win.el (mode-line-frame-identification):
18175 Leave it alone. (Bug#10051)
18176
18177 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18178
18179 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18180 Handle empty buffers. (Bug#9978)
18181
18182 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18183
18184 * international/mule.el (define-charset):
18185 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18186 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18187 * progmodes/verilog-mode.el (verilog-backward-token):
18188 * textmodes/ispell.el (lookup-words):
18189 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18190
18191 2011-11-14 Glenn Morris <rgm@gnu.org>
18192
18193 * progmodes/executable.el
18194 (executable-make-buffer-file-executable-if-script-p):
18195 Handle file-modes returning nil.
18196
18197 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18198 message - not necessary, and causes problems. (Bug#9831)
18199
18200 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18201
18202 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18203
18204 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18205 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18206 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18207
18208 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18209
18210 * window.el (window-resize, delete-window): Use window-splits
18211 variable instead of function.
18212 (window-state-get-1, window-state-put-2, window-state-put):
18213 Don't deal with windows' splits status.
18214
18215 2011-11-12 Glenn Morris <rgm@gnu.org>
18216
18217 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18218 (apropos-documentation): Doc fixes.
18219
18220 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18221
18222 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18223 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18224
18225 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18226
18227 * electric.el (electric-indent-post-self-insert-function): Make it
18228 possible for a char to only indent in some circumstances.
18229 (electric-indent-mode): Simplify.
18230
18231 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18232
18233 * window.el (windows-with-parameter): Remove unused function.
18234 (windows-at-side): Rename to window-at-side-list.
18235 (window-check, window-atom-check, window-atom-check-1)
18236 (window-side-check, window-size-ignore, window-size-fixed-1)
18237 (window-in-direction-2): Prefix with "window--".
18238 (window-tree-1): Rename to window--subtree, fix doc-string.
18239
18240 2011-11-11 Glenn Morris <rgm@gnu.org>
18241
18242 * subr.el (eval-after-load): If FILE is already loaded,
18243 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18244
18245 2011-11-10 Glenn Morris <rgm@gnu.org>
18246
18247 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18248 Call svn via vc-svn-command rather than vc-do-command.
18249 (vc-svn-command): Add --non-interactive. (Bug#9993)
18250 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18251
18252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18253 Add toggle-read-only. (Bug#7292)
18254 * files.el (toggle-read-only): Mention that it should only
18255 be used interactively. (Bug#10006)
18256
18257 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18258
18259 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18260 Adjust regexp for OCaml warnings.
18261
18262 * electric.el (electric-pair-post-self-insert-function): Let user
18263 turn it off buffer-locally (bug#9932).
18264
18265 * progmodes/python.el (python-beginning-of-statement):
18266 Rewrite (bug#2703).
18267
18268 * progmodes/compile.el: Better handle TABs (bug#9749).
18269 (compilation-internal-error-properties)
18270 (compilation-next-error-function): Obey the target buffer's
18271 compilation-error-screen-columns.
18272
18273 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18274
18275 * progmodes/meta-mode.el: Remove obsolete comments.
18276 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18277 Fix typos in docstrings.
18278
18279 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18280
18281 * window.el (window-size-fixed-p): Rewrite doc-string.
18282 (window-resizable-p): Rename to window--resizable-p. Update callers.
18283 (window--resizable): New function. Make all callers of
18284 window-resizable call window--resizable instead.
18285 (window-resizable): Rewrite in terms of window--resizable.
18286
18287 2011-11-08 Glenn Morris <rgm@gnu.org>
18288
18289 * progmodes/delphi.el (delphi-mode-syntax-table):
18290 Let define-derived-mode define a proper syntax table. (Bug#9994)
18291
18292 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18293
18294 * window.el: Stay away from defsubst.
18295 (window-list-no-nils): Remove.
18296 (window-state-get-1, window-state-get): Use backquote instead.
18297
18298 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18299
18300 * emacs-lisp/find-func.el (find-function-read):
18301 Fix incorrect use of default argument in `completing-read'.
18302
18303 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18304
18305 * window.el (display-buffer-function, special-display-function):
18306 Mention display-buffer-record-window but do not mention
18307 help-setup parameter in doc-strings.
18308 (window-min-delta): Fix doc-string typo.
18309
18310 2011-11-08 Chong Yidong <cyd@gnu.org>
18311
18312 * window.el (window-total-height, window-total-width): Doc fix.
18313 (window-body-size): Move from C.
18314 (window-body-height, window-body-width): Move to C.
18315
18316 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18317
18318 * window.el: Make special-display like display-buffer-alist (bug#9532).
18319 (display-buffer--special-action): New function, morphed
18320 from display-buffer--special.
18321 (display-buffer): Use it to handle special-display-buffers at higher
18322 priority (just after display-buffer-alist).
18323 (display-buffer-fallback-action, display-buffer--other-frame-action)
18324 (pop-to-buffer-same-window): Remove display-buffer--special.
18325
18326 2011-11-07 Glenn Morris <rgm@gnu.org>
18327
18328 * calendar/cal-menu.el (cal-menu-set-date-title):
18329 Do nothing if not in a calendar. (Bug#9976)
18330
18331 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18332
18333 * files.el (find-file): Always use selected-window.
18334
18335 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18336
18337 * window.el (window-combinations): Make WINDOW argument
18338 mandatory. Rewrite doc-string.
18339 (walk-window-subtree, window-atom-check, window-min-delta)
18340 (window-max-delta, window--resize-this-window)
18341 (window--resize-root-window-vertically, window-tree)
18342 (balance-windows, window-state-put): Rewrite doc-strings as to
18343 not mention the term "subwindow".
18344 (window--resize-subwindows-skip-p): Rename to
18345 window--resize-child-windows-skip-p.
18346 (window--resize-subwindows-normal): Rename to
18347 window--resize-child-windows-normal.
18348 (window--resize-subwindows): Rename to
18349 window--resize-child-windows.
18350 (window-or-subwindow-p): Rename to window--in-subtree-p.
18351
18352 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18353
18354 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18355 Ensure that mbox format messages end in two newlines (Bug#9974).
18356
18357 2011-11-06 Chong Yidong <cyd@gnu.org>
18358
18359 * window.el (window-combination-p): Function deleted; its
18360 side-effect is not used in any existing code.
18361 (window-combinations, window-combined-p): Call window-*-child
18362 directly.
18363
18364 2011-11-05 Chong Yidong <cyd@gnu.org>
18365
18366 * window.el (window-valid-p): Rename from window-any-p.
18367 (window-size-ignore, window-state-get): Callers changed.
18368 (window-normalize-window): Rename from window-normalize-any-window.
18369 New arg LIVE-ONLY, replacing window-normalize-live-window.
18370 (window-normalize-live-window): Delete.
18371 (window-combination-p, window-combined-p, window-combinations)
18372 (walk-window-subtree, window-atom-root, window-min-size)
18373 (window-sizable, window-sizable-p, window-size-fixed-p)
18374 (window-min-delta, window-max-delta, window-resizable)
18375 (window-resizable-p, window-full-height-p, window-full-width-p)
18376 (window-current-scroll-bars, window-point-1, set-window-point-1)
18377 (window-at-side-p, window-in-direction, window-resize)
18378 (adjust-window-trailing-edge, maximize-window, minimize-window)
18379 (window-deletable-p, delete-window, delete-other-windows)
18380 (record-window-buffer, unrecord-window-buffer)
18381 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18382 (quit-window, split-window, window-state-put)
18383 (set-window-text-height, fit-window-to-buffer)
18384 (shrink-window-if-larger-than-buffer): Callers changed.
18385
18386 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18387
18388 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18389 rfc2047-decode-string.
18390 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18391 warnings.
18392
18393 * window.el (window-body-height, window-body-width): Mention in
18394 the doc string that the return values are in frame's canonical
18395 units. (Bug#9949)
18396
18397 2011-11-03 Alan Mackenzie <acm@muc.de>
18398
18399 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18400 change in cc-engine.el.
18401
18402 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18403
18404 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18405
18406 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18407
18408 * window.el (quit-window): Call unrecord-window-buffer after
18409 showing another buffer in the window. (Bug#9937)
18410 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18411
18412 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18413
18414 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18415 Accept status with more than 9 shelves. (Bug#9935)
18416 Reported by Colin D Bennett <colin@gibibit.com>.
18417
18418 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18419
18420 * help.el (with-help-window): Don't reference
18421 temp-buffer-show-specifiers in doc-string.
18422
18423 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18424
18425 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18426 menu-item.
18427
18428 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18429
18430 * whitespace.el: New version 13.2.2.
18431 (whitespace-newline-mode): Disable properly. Reported by Sarah
18432 <EmacsWiki>.
18433
18434 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18435
18436 * net/newst-treeview.el: Remove "Time-stamp".
18437 (newsticker--group-manage-orphan-feeds): Do not call
18438 newsticker--treeview-tree-update.
18439 (newsticker-treeview-update, newsticker-treeview):
18440 Call newsticker--treeview-tree-update if necessary.
18441
18442 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18443
18444 * window.el (window-iso-combination-p, window-iso-combined-p)
18445 (window-iso-combinations): Remove "iso-" infix.
18446 Suggested by Chong Yidong.
18447 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18448 (window-max-delta-1, window-resize, window--resize-siblings)
18449 (window--resize-this-window, adjust-window-trailing-edge)
18450 (split-window, balance-windows-1)
18451 (shrink-window-if-larger-than-buffer):
18452 * calendar/calendar.el (calendar-generate-window):
18453 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18454
18455 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18458 in place (bug#9907).
18459 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18460 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18461 (eshell-structure-basic-command, eshell-rewrite-while-command)
18462 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18463 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18464 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18465 (eshell-do-pipelines-synchronously, eshell-eval-command):
18466 Use backquotes and prefer setq to set.
18467 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18468 (eshell-macrop): Use functionp.
18469 (eshell-do-eval): Handle multiple expressions in `while' body.
18470
18471 2011-10-30 Chong Yidong <cyd@gnu.org>
18472
18473 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18474 instead of set-mark (Bug#9810).
18475
18476 2011-10-30 Chong Yidong <cyd@gnu.org>
18477
18478 * window.el (split-window-below, split-window-right): Rename from
18479 split-window-above-each-other and split-window-side-by-side
18480 respectively. All callers changed.
18481 (split-window-sensibly, split-window-sensibly): Use them.
18482 (split-window-keep-point): Doc fix.
18483
18484 * isearch.el: Add isearch-scroll property to split-window-below
18485 and split-window-right.
18486
18487 * follow.el (follow-mode):
18488 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18489 * progmodes/ada-xref.el (ada-gdb-application):
18490 * emulation/vip.el (vip-buffer-in-two-windows):
18491 * image-dired.el (image-dired-dired-with-window-configuration):
18492 * dired-x.el (dired-do-find-marked-files):
18493 * dired.el (dired-pop-to-buffer):
18494 * bs.el (bs--show-with-configuration):
18495 * vc/emerge.el (emerge-setup-windows):
18496 * textmodes/two-column.el (2C-two-columns):
18497 * textmodes/reftex-toc.el (reftex-toc):
18498 * progmodes/gdb-mi.el (gdb-setup-windows):
18499 * progmodes/fortran.el (fortran-window-create):
18500 * net/newst-treeview.el (newsticker--treeview-window-init):
18501 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18502 * emulation/tpu-edt.el (tpu-gold-map):
18503 * emulation/crisp.el (crisp-mode-map):
18504 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18505
18506 2011-10-29 Chong Yidong <cyd@gnu.org>
18507
18508 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18509
18510 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18511
18512 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18513 forged Ispell output (Bug#7904).
18514
18515 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18516
18517 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18518
18519 * doc-view.el: Avoid ugly errors about not finding nil.
18520 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18521 (doc-view-dvipdf-program, doc-view-unoconv-program)
18522 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18523 Avoid nil or absolute file name as default value.
18524 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18525
18526 2011-10-28 Alan Mackenzie <acm@muc.de>
18527
18528 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18529
18530 2011-10-28 Alan Mackenzie <acm@muc.de>
18531
18532 Amend the handling of c-beginning/end-of-defun in nested declaration
18533 scopes.
18534
18535 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18536 cc-langs.el. Change it to a defcustom.
18537
18538 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18539 cc-vars.el.
18540
18541 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18542 Prevent "class foo : bar" being spuriously recognized as a label.
18543
18544 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18545 Add parameter `inclusive' (to include enclosing braces in the region).
18546 (c-widen-to-enclosing-decl-scope): New function.
18547 (c-while-widening-to-decl-block): New macro.
18548 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18549 outward for defun boundaries, and correspondingly change symbol
18550 `respect-enclosure' to `go-outward'.
18551 (c-declaration-limits): Change algorithm to report only the "innermost"
18552 defun's boundaries.
18553
18554 2011-10-28 Deniz Dogan <deniz@dogan.se>
18555
18556 * net/rcirc.el (rcirc-mode): Use hard newlines.
18557
18558 2011-10-28 Alan Mackenzie <acm@muc.de>
18559
18560 Amend to indent and fontify macros "which include their own semicolon"
18561 correctly, using the "virtual semicolon" mechanism.
18562
18563 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18564
18565 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18566 Recode to scan one line at a time rather than having \n and \r
18567 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18568 (c-forward-label): Amend for virtual semicolons.
18569 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18570
18571 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18572 of the new C macros.
18573
18574 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18575 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18576 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18577 (c-opt-cpp-macro-define): Make into a full language variable.
18578 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18579 AWK Mode (including \n, \r) removed, no longer needed.
18580
18581 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18582 Invoke c-make-macro-with-semi-re.
18583
18584 * progmodes/cc-vars.el (c-macro-with-semi-re):
18585 (c-macro-names-with-semicolon): New variables.
18586 (c-make-macro-with-semi-re): New function.
18587
18588 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * vc/log-edit.el: Fill empty field rather than adding new one.
18591 (log-edit-add-field): New function.
18592 (log-edit-insert-changelog): Use it.
18593
18594 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18595
18596 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18597
18598 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18599
18600 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18601 (gdb--check-interpreter): New function.
18602 (gdb): Use it.
18603
18604 2011-10-27 Glenn Morris <rgm@gnu.org>
18605
18606 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18607 (least-positive-float, least-negative-float)
18608 (least-positive-normalized-float, least-negative-normalized-float)
18609 (float-epsilon, float-negative-epsilon):
18610 Remove unnecessary declarations.
18611
18612 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18613 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18614 (least-positive-float, least-negative-float)
18615 (least-positive-normalized-float, least-negative-normalized-float)
18616 (float-epsilon, float-negative-epsilon): Add doc-strings,
18617 based on those in cl.texi.
18618
18619 * files.el (set-visited-file-name): If the major-mode changed,
18620 reload the local variables. (Bug#9796)
18621
18622 2011-10-27 Chong Yidong <cyd@gnu.org>
18623
18624 * subr.el (change-major-mode-after-body-hook): New hook.
18625 (run-mode-hooks): Run it.
18626
18627 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18628 Use change-major-mode-before-body-hook.
18629
18630 * simple.el (fundamental-mode):
18631 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18632 change introducing fundamental-mode-hook.
18633
18634 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18635
18636 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18637
18638 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18639
18640 * ido.el (ido-file-name-all-completions-1): Do not require
18641 tramp.el explicitly. (Bug#7583)
18642
18643 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * progmodes/octave-mod.el:
18646 * progmodes/octave-inf.el: Update maintainer.
18647
18648 2011-10-26 Chong Yidong <cyd@gnu.org>
18649
18650 * subr.el (with-wrapper-hook): Rewrite doc.
18651
18652 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18653
18654 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18655 filenames "/method:foo:". (Bug#9793)
18656
18657 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18658
18659 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18660 (bug#9865).
18661
18662 2011-10-24 Glenn Morris <rgm@gnu.org>
18663
18664 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18665
18666 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18667
18668 * notifications.el: Add the requirement of a running D-Bus session
18669 bus to the Commentary.
18670
18671 2011-10-24 Juri Linkov <juri@jurta.org>
18672
18673 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18674 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18675 (Bug#9364)
18676
18677 2011-10-24 Juri Linkov <juri@jurta.org>
18678
18679 * info.el (Info-following-node-name-re): Add newline to the list
18680 of allowed characters for leading space. (Bug#9824)
18681
18682 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18683
18684 * progmodes/octave-inf.el (inferior-octave-mode-map):
18685 Fix C-c C-h binding.
18686 * progmodes/octave-mod.el (octave-help): Remove.
18687
18688 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18689
18690 Sync with Tramp 2.2.3.
18691
18692 * net/tramp-cache.el (top): Pacify byte-compiler using
18693 `init-file-user' and `site-run-file'.
18694
18695 * net/trampver.el: Update release number.
18696
18697 2011-10-23 Chong Yidong <cyd@gnu.org>
18698
18699 * files.el (toggle-read-only): Remove obsolete comment about
18700 version control.
18701
18702 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18703 for toggle-read-only. Note that this hasn't called vc-next-action
18704 since 2008-05-02, though it wasn't documented at the time.
18705
18706 * vc/ediff-init.el (ediff-toggle-read-only-function):
18707 Use toggle-read-only.
18708
18709 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18710
18711 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18712 of c-parse-state.
18713
18714 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18715 correct faulty logical expression.
18716 (c-parse-state-state, c-record-parse-state-state):
18717 (c-replay-parse-state-state): New defvar/defuns.
18718 (c-debug-parse-state): Use new functions.
18719
18720 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18721
18722 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18723 last fix. Use window-in-direction correctly.
18724
18725 2011-10-21 Chong Yidong <cyd@gnu.org>
18726
18727 * progmodes/idlwave.el (idlwave-mode):
18728 * progmodes/vera-mode.el (vera-mode): No need to set
18729 require-final-newline; that's done in prog-mode.
18730 Suggested by Stefan Monnier.
18731
18732 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18733
18734 * mouse.el (mouse-drag-window-above)
18735 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18736 (mouse-drag-mode-line-1, mouse-drag-header-line)
18737 (mouse-drag-vertical-line-rightward-window): Remove.
18738 (mouse-drag-line): New function.
18739 (mouse-drag-mode-line, mouse-drag-header-line)
18740 (mouse-drag-vertical-line): Call mouse-drag-line.
18741 * window.el (window-at-side-p, windows-at-side): New functions.
18742
18743 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18744
18745 * tar-mode.el (tar-grind-file-mode):
18746 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18747
18748 2011-10-21 Chong Yidong <cyd@gnu.org>
18749
18750 * progmodes/idlwave.el (idlwave-mode):
18751 * progmodes/vera-mode.el (vera-mode):
18752 Use mode-require-final-newline.
18753
18754 2011-10-20 Glenn Morris <rgm@gnu.org>
18755
18756 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18757
18758 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18759
18760 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18761
18762 2011-10-20 Chong Yidong <cyd@gnu.org>
18763
18764 * emulation/cua-base.el (cua-mode):
18765 * mail/footnote.el (footnote-mode):
18766 * mail/mailabbrev.el (mail-abbrevs-mode):
18767 * net/xesam.el (xesam-minor-mode):
18768 * progmodes/bug-reference.el (bug-reference-mode):
18769 * progmodes/cap-words.el (capitalized-words-mode):
18770 * progmodes/compile.el (compilation-minor-mode)
18771 (compilation-shell-minor-mode):
18772 * progmodes/gud.el (gud-tooltip-mode):
18773 * progmodes/hideif.el (hide-ifdef-mode):
18774 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18775 * progmodes/subword.el (subword-mode):
18776 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18777 * progmodes/which-func.el (which-function-mode):
18778 * term/tvi970.el (tvi970-set-keypad-mode):
18779 * term/vt100.el (vt100-wide-mode):
18780 * textmodes/flyspell.el (flyspell-mode):
18781 * textmodes/ispell.el (ispell-minor-mode):
18782 * textmodes/nroff-mode.el (nroff-electric-mode):
18783 * textmodes/paragraphs.el (use-hard-newlines):
18784 * textmodes/refill.el (refill-mode):
18785 * textmodes/reftex.el (reftex-mode):
18786 * textmodes/rst.el (rst-minor-mode):
18787 * textmodes/sgml-mode.el (html-autoview-mode)
18788 (sgml-electric-tag-pair-mode):
18789 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18790 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18791 * emulation/crisp.el (crisp-mode):
18792 * emacs-lisp/eldoc.el (eldoc-mode):
18793 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18794 minor mode behavior.
18795
18796 2011-10-19 Juri Linkov <juri@jurta.org>
18797
18798 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18799 the list of hard-coded chars with escape-glyph face.
18800
18801 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18802
18803 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18804
18805 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18806
18807 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18808 running process.
18809
18810 2011-10-19 Glenn Morris <rgm@gnu.org>
18811
18812 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18813 Ignore ignored files. (Bug#9726)
18814
18815 2011-10-19 Chong Yidong <cyd@gnu.org>
18816
18817 Doc fix for minor modes, stating that an omitted argument enables
18818 the mode unconditionally when called from Lisp.
18819
18820 * abbrev.el (abbrev-mode):
18821 * allout.el (allout-mode):
18822 * autoinsert.el (auto-insert-mode):
18823 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18824 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18825 (global-auto-revert-mode):
18826 * battery.el (display-battery-mode):
18827 * composite.el (global-auto-composition-mode)
18828 (auto-composition-mode):
18829 * delsel.el (delete-selection-mode):
18830 * desktop.el (desktop-save-mode):
18831 * dired-x.el (dired-omit-mode):
18832 * dirtrack.el (dirtrack-mode):
18833 * doc-view.el (doc-view-minor-mode):
18834 * double.el (double-mode):
18835 * electric.el (electric-indent-mode, electric-pair-mode):
18836 * emacs-lock.el (emacs-lock-mode):
18837 * epa-hook.el (auto-encryption-mode):
18838 * follow.el (follow-mode):
18839 * font-core.el (font-lock-mode):
18840 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18841 * help.el (temp-buffer-resize-mode):
18842 * hilit-chg.el (highlight-changes-mode)
18843 (highlight-changes-visible-mode):
18844 * hi-lock.el (hi-lock-mode):
18845 * hl-line.el (hl-line-mode, global-hl-line-mode):
18846 * icomplete.el (icomplete-mode):
18847 * ido.el (ido-everywhere):
18848 * image-file.el (auto-image-file-mode):
18849 * image-mode.el (image-minor-mode):
18850 * iswitchb.el (iswitchb-mode):
18851 * jka-cmpr-hook.el (auto-compression-mode):
18852 * linum.el (linum-mode):
18853 * longlines.el (longlines-mode):
18854 * master.el (master-mode):
18855 * mb-depth.el (minibuffer-depth-indicate-mode):
18856 * menu-bar.el (menu-bar-mode):
18857 * minibuf-eldef.el (minibuffer-electric-default-mode):
18858 * mouse-sel.el (mouse-sel-mode):
18859 * msb.el (msb-mode):
18860 * mwheel.el (mouse-wheel-mode):
18861 * outline.el (outline-minor-mode):
18862 * paren.el (show-paren-mode):
18863 * recentf.el (recentf-mode):
18864 * reveal.el (reveal-mode, global-reveal-mode):
18865 * rfn-eshadow.el (file-name-shadow-mode):
18866 * ruler-mode.el (ruler-mode):
18867 * savehist.el (savehist-mode):
18868 * scroll-all.el (scroll-all-mode):
18869 * scroll-bar.el (scroll-bar-mode):
18870 * server.el (server-mode):
18871 * shell.el (shell-dirtrack-mode):
18872 * simple.el (auto-fill-mode, transient-mark-mode)
18873 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18874 (line-number-mode, column-number-mode, size-indication-mode)
18875 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18876 * strokes.el (strokes-mode):
18877 * time.el (display-time-mode):
18878 * t-mouse.el (gpm-mouse-mode):
18879 * tool-bar.el (tool-bar-mode):
18880 * tooltip.el (tooltip-mode):
18881 * type-break.el (type-break-mode-line-message-mode)
18882 (type-break-query-mode):
18883 * view.el (view-mode):
18884 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18885 (global-whitespace-mode, global-whitespace-newline-mode):
18886 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18887
18888 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18889 Fix autogenerated docstring.
18890
18891 2011-10-19 Juri Linkov <juri@jurta.org>
18892
18893 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18894 by checking environment variables "DESKTOP_SESSION" and
18895 "XDG_CURRENT_DESKTOP". (Bug#9779)
18896
18897 2011-10-19 Juri Linkov <juri@jurta.org>
18898
18899 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18900 (browse-url-chromium-program, browse-url-chromium-arguments):
18901 New defcustoms.
18902 (browse-url-default-browser): Check for `browse-url-chromium' and
18903 call `browse-url-chromium-program'.
18904 (browse-url-chromium): New command. (Bug#9779)
18905
18906 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18907
18908 * facemenu.el (list-colors-duplicates): On Windows, detect more
18909 duplicates by assuming that only colors matching "^System" are
18910 special "system colors". (Bug#9722)
18911
18912 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18913
18914 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18915 to distinguish the author from the committer.
18916
18917 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18918
18919 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18920
18921 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18922
18923 * international/mule.el (sgml-html-meta-auto-coding-function):
18924 Add support for detecting encoding in HTML5 specified only as
18925 <meta charset="UTF-8">. Implementation just makes http-equiv and
18926 content-type parts from HTML4 encoding string optional. (Bug#9716)
18927
18928 2011-10-18 Glenn Morris <rgm@gnu.org>
18929
18930 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18931
18932 2011-10-18 Chong Yidong <cyd@gnu.org>
18933
18934 * faces.el (cursor): Doc fix.
18935
18936 2011-10-17 Chong Yidong <cyd@gnu.org>
18937
18938 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18939
18940 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18941
18942 * dirtrack.el (dirtrack): Support shell buffers with path
18943 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18944
18945 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18946
18947 * json.el: Bump version to 1.3 and note change in History.
18948 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18949
18950 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * comint.el (comint-insert-input, comint-send-input)
18953 (comint-get-old-input-default, comint-backward-matching-input)
18954 (comint-next-prompt): Use nil instead of `input' for field property of
18955 past user input (bug#114).
18956
18957 * minibuffer.el (completion--replace): Inherit surrounding properties
18958 (bug#114).
18959 (minibuffer-complete-and-exit): Use it.
18960
18961 * comint.el (comint--table-subvert): Quote the all-completions output
18962 (bug#9160).
18963
18964 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18965
18966 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18967
18968 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18969 window on right of selected. (Bug#9350) Reword other window
18970 entries and separate them from frame entries.
18971
18972 2011-10-15 Glenn Morris <rgm@gnu.org>
18973
18974 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18975 Doc fixes.
18976
18977 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18978
18979 * net/network-stream.el (network-stream-open-starttls):
18980 Improve detection of failure due to lack of TLS support.
18981
18982 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18983 putting the input text in front and in bold.
18984
18985 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18986
18987 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18988
18989 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18990 empty buffer.
18991
18992 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18993 unread-command-events rather than pushing yet-another event.
18994
18995 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18996
18997 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18998 the explanation of the possible choices. Make the options passed
18999 to completing-read shorter.
19000
19001 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19002
19003 * textmodes/flyspell.el (flyspell-large-region): Make sure
19004 extended character mode is used if defined (Bug#1339).
19005
19006 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19007
19008 * simple.el (what-cursor-position): Fix the display of the
19009 character info for LRE, LRO, RLE, and RLO characters by appending
19010 an invisible PDF.
19011
19012 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19013
19014 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19015 even in case of error; add debug spec; simplify data flow.
19016 (with-timeout-handler): Remove.
19017
19018 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19019
19020 Fix Bug#6019, Bug#9315.
19021
19022 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19023 complete `buffer-file-name', the local file name part could look
19024 remotely (for example on VMS).
19025
19026 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19027 `tramp-run-real-handler'.
19028 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19029 already quoted by '"'.
19030
19031 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19032 Let `file-name-handler-alist' be nil, the local file name part
19033 could look remotely (for example on VMS).
19034
19035 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19036
19037 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19038 from here...
19039 (flyspell-post-command-hook): ...to here.
19040
19041 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19042
19043 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19044 if not needed.
19045 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19046 using completion. Protect against "slow" callers.
19047 Remove the "message hack".
19048
19049 2011-10-11 Juri Linkov <juri@jurta.org>
19050
19051 * isearch.el (isearch-lazy-highlight-word): New variable.
19052 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19053 Use it. (Bug#9727)
19054
19055 2011-10-11 Glenn Morris <rgm@gnu.org>
19056
19057 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19058 like f90-previous-statement does.
19059
19060 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19061
19062 * eshell/eshell.el (eshell-command): History should be saved
19063 only in interactive use, to avoid error.
19064
19065 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19066
19067 * minibuffer.el (completion-file-name-table): Fix last change,
19068 i.e. ignore normal errors but not the other ones.
19069
19070 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19071
19072 * window.el (special-display-buffer-names)
19073 (special-display-regexps): Remove some remnants of earlier
19074 changes from doc-strings.
19075 (quit-windows-on): New function.
19076
19077 * vc/vc.el (vc-revert, vc-rollback):
19078 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19079 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19080 (Bug#6183) (Bug#7074) (Bug#7447)
19081
19082 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19083
19084 * window.el (frame-auto-hide-function): Add version tag.
19085 (Bug#9699)
19086
19087 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19088
19089 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19090 condition.
19091
19092 2011-10-09 Leo Liu <sdl.web@gmail.com>
19093
19094 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19095 (Bug#9701)
19096
19097 2011-10-08 Glenn Morris <rgm@gnu.org>
19098
19099 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19100 before the first code statement zero indent. (Bug#9690)
19101
19102 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19103
19104 * simple.el (count-words-region): Always count in the region.
19105 Report the number of lines and characters too.
19106 (count-words): New command, which counts in the buffer if the
19107 region is inactive, as count-words-region used to.
19108 (count-words--message): New function. Handle plurals.
19109 (count-lines-region): Make it an alias for count-words-region.
19110
19111 * bindings.el (esc-map): Replace count-lines-region with
19112 count-words-region.
19113
19114 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19115
19116 * window.el (window--delete): Delete dedicated frame
19117 unconditionally when argument KILL is non-nil. (Bug#9699)
19118 (switch-to-buffer): Fix doc-string typo.
19119
19120 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19121
19122 * eshell/eshell.el (eshell-command): Avoid using hooks.
19123
19124 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19125
19126 * bindings.el ([M-left],[M-right]): Bind to left-word and
19127 right-word respectively.
19128
19129 2011-10-07 Glenn Morris <rgm@gnu.org>
19130
19131 * cus-start.el (debug-on-quit): Fix custom type.
19132
19133 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19134
19135 * subr.el (define-key-after): Clarify that the function is not
19136 useful for non-menu keymaps.
19137
19138 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19139
19140 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19141
19142 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19143 in current minibuffer (Fix bug with recursive minibuffers).
19144
19145 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19146
19147 * progmodes/gdb-mi.el (gdb): Doc fix.
19148
19149 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19150
19151 * window.el (frame-auto-hide-function): New option replacing
19152 frame-auto-delete. Suggested by Stefan Monnier.
19153 (window--delete): Call frame-auto-hide-function instead of
19154 investigating frame-auto-delete.
19155 (window-point-1, set-window-point-1): New functions.
19156 (window-in-direction, record-window-buffer, window-state-get-1)
19157 (display-buffer-record-window): Use window-point-1 instead of
19158 window-point.
19159 (set-window-buffer-start-and-point): Use set-window-point-1.
19160
19161 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19162
19163 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19164
19165 2011-10-05 Glenn Morris <rgm@gnu.org>
19166
19167 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19168 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19169
19170 2011-10-05 Leo Liu <sdl.web@gmail.com>
19171
19172 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19173 works with buffer object.
19174
19175 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19176
19177 * mpc.el (mpc-tool-bar-map): Add labels.
19178
19179 2011-10-04 Glenn Morris <rgm@gnu.org>
19180
19181 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19182
19183 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19184
19185 * window.el (window--delete): New function.
19186 (frame-auto-delete): Resuscitate option.
19187 (bury-buffer, replace-buffer-in-windows)
19188 (quit-window): Rewrite using window--delete.
19189 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19190 Pass display-buffer-mark-dedicated to window--display-buffer-2
19191 (Bug#9639).
19192
19193 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19194
19195 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19196 returns a list (bug#9554). Add remote file name completion.
19197 * comint.el (comint--table-subvert): Curry and get quote&unquote
19198 functions as arguments.
19199 (comint--complete-file-name-data): Adjust call accordingly.
19200 * pcomplete.el (pcomplete--table-subvert): Remove.
19201 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19202
19203 * minibuffer.el (completion-table-case-fold): Use currying.
19204 (completion--styles-type, completion--cycling-threshold-type):
19205 New constants.
19206 (completion-styles, completion-category-overrides)
19207 (completion-cycle-threshold): Use them.
19208 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19209 completion-table-case-fold.
19210
19211 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19212
19213 * minibuffer.el (completion-category-overrides): Fix type of styles
19214 and add more user friendly tags (bug#9660).
19215
19216 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19217
19218 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19219 (mule-input-method-string): New widget.
19220 (default-input-method, language-info-custom-alist): Use it.
19221
19222 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19223
19224 * pcomplete.el: Require comint.
19225 (pcomplete--common-suffix): Remove.
19226 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19227 (pcomplete--table-subvert): Sync with comint--table-subvert.
19228 (pcomplete--entries): Use comint-completion-file-name-table.
19229 * comint.el (comint-unquote-filename): Simplify.
19230 (comint-completion-file-name-table): New function (bug#9616).
19231 (comint--complete-file-name-data): Use it.
19232
19233 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19234 (pcmpl-gnu-tar-buffer): Remove.
19235 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19236 around. Make sure pcomplete-suffix-list is only changed temporarily.
19237 Don't look inside the tar's file if it's too large.
19238
19239 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19240
19241 * cus-edit.el (custom-mode-map):
19242 * epa.el (epa-key-list-mode-map):
19243 * man.el (Man-mode-map):
19244 * startup.el (splash-screen-keymap):
19245 * simple.el (special-mode-map): Use scroll-up-command and
19246 scroll-down-command.
19247
19248 * progmodes/idlw-help.el (idlwave-help-mode-map):
19249 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19250 * net/newst-plainview.el (newsticker-mode-map):
19251 * emulation/ws-mode.el (wordstar-mode-map):
19252 * emulation/vi.el (vi-com-map):
19253 * calc/calc-graph.el (calc-graph-show-dumb):
19254 * term/sun.el (terminal-init-sun):
19255 * term/ns-win.el (global-map):
19256 * progmodes/grep.el (grep-mode-map):
19257 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19258 * mail/rmail.el (rmail-mode-map):
19259 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19260
19261 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19262 custom-safe-themes as special.
19263
19264 2011-10-01 Julien Danjou <julien@danjou.info>
19265
19266 * notifications.el (notifications-notify): Fix docstring.
19267
19268 2011-10-01 Per Starbäck <per@starback.se>
19269
19270 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19271
19272 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19273
19274 * startup.el (command-line-1): Fix last fix by inserting
19275 initial-scratch-message into *scratch* before displaying it.
19276 (Bug#9605) and (Bug#9636)
19277
19278 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19279
19280 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19281 window is hscrolled, move by logical lines. (Bug#9607)
19282 (line-move-visual): Update the doc string to the above effect.
19283
19284 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19285
19286 * window.el (display-buffer-record-window): When WINDOW is the
19287 selected window use `point' instead of `window-point'. (Bug#9626)
19288
19289 * startup.el (command-line-1): Use insert-before-markers when
19290 inserting initial-scratch-message. (Bug#9605)
19291
19292 * help.el (help-window): Remove variable.
19293
19294 2011-09-29 Glenn Morris <rgm@gnu.org>
19295
19296 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19297
19298 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19299
19300 * descr-text.el (describe-char-categories): Accept category
19301 descriptions more than one line long.
19302
19303 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19304
19305 * simple.el (delete-trailing-whitespace): Fix last change.
19306
19307 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19308 Don't confuse "y => 3" as the beginning of a `y' operation.
19309
19310 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19311 object has more than 4 slots (bug#9613).
19312
19313 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19314
19315 * subr.el (with-output-to-temp-buffer):
19316 * net/quickurl.el (quickurl, quickurl-browse-url):
19317 Fix typos in docstrings.
19318
19319 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19320
19321 * minibuffer.el (completion-styles)
19322 (completion-category-overrides): Cross reference each other in doc
19323 strings.
19324
19325 2011-09-27 Glenn Morris <rgm@gnu.org>
19326
19327 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19328 to split-string. (Bug#9606)
19329
19330 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19331
19332 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19333 (bug#9615).
19334
19335 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19336
19337 * emacs-lisp/package.el (list-packages): Fix echo area message.
19338
19339 2011-09-27 Leo Liu <sdl.web@gmail.com>
19340
19341 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19342
19343 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19344
19345 * net/dbus.el (dbus-unregister-object): Don't release services for
19346 registered signals. (Bug#9581)
19347
19348 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19349
19350 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19351 function that picks between cfengine 2 and 3 support
19352 automatically. Update docs accordingly.
19353
19354 2011-09-22 Kenichi Handa <handa@m17n.org>
19355
19356 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19357 ZERO.
19358 (indian-itrans-v5-table-for-tamil): New variable.
19359 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19360
19361 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19362
19363 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19364 that's true if the current command involved collapsing of text.
19365 It's reset to false at the beginning of the next command.
19366 (allout-post-command-business): Move the cursor to the beginning
19367 of entry if the cursor is hidden and collapsing activity just
19368 happened.
19369
19370 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19371
19372 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19373 tracking (Bug#9541).
19374
19375 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19376
19377 * net/newst-reader.el (newsticker-html-renderer)
19378 (newsticker-show-news): Automatically load html rendering package
19379 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19380 because w3m-fill-column is let-bound" and the error "Symbol's value
19381 as variable is void: w3m-fill-column".
19382
19383 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19384
19385 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19386 Release services only if they are defined. (Bug#9581)
19387
19388 2011-09-23 Richard Stallman <rms@gnu.org>
19389
19390 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19391 distinguish start of paragraph from start of its text.
19392
19393 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19394
19395 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19396 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19397 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19398
19399 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19400
19401 * international/mule-diag.el (mule-diag): Insert a newline after
19402 each fontset description.
19403
19404 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19405
19406 * simple.el (delete-trailing-whitespace):
19407 Document last change; simplify.
19408
19409 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19410
19411 * simple.el (delete-trailing-whitespace): Also delete
19412 extra newlines at the end of the buffer.
19413
19414 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19415 (picture-newline): Use forward-line so as to ignore fields.
19416
19417 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19418
19419 * subr.el (with-wrapper-hook): Fix edebug spec.
19420
19421 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19422
19423 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19424 (bug#4538).
19425
19426 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19427
19428 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19429 Fix nasty bug using wrong cached values.
19430
19431 2011-09-23 Alan Mackenzie <acm@muc.de>
19432
19433 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19434
19435 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19436
19437 * window.el (pop-to-buffer): Ensure right window is selected if we
19438 chose another frame.
19439
19440 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19441
19442 * simple.el (what-cursor-position): Use get-char-property-change
19443 and next-single-char-property-change, to be able to show display
19444 properties that come from overlays as well as text properties.
19445
19446 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19447
19448 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19449
19450 * cmuscheme.el (run-scheme, switch-to-scheme):
19451 * cus-edit.el (customize-group, custom-buffer-create)
19452 (customize-browse):
19453 * info.el (info):
19454 * shell.el (shell):
19455 * mail/sendmail.el (mail):
19456 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19457
19458 2011-09-22 Richard Stallman <rms@gnu.org>
19459
19460 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19461 move back only to line beg, don't move back over blank lines.
19462
19463 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19464
19465 * files.el (copy-directory): Set directory attributes only in case
19466 they could be retrieved from the source directory. (Bug#9565)
19467
19468 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19469
19470 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19471 (hs-find-block-beginning, hs-hide-level-recursive):
19472 Ignore strings as well as comments. (Bug#9502)
19473
19474 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19475
19476 * progmodes/sql.el (sql-comint-postgres):
19477 Convert port number to a string. (Bug#9566)
19478
19479 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19480
19481 * window.el (quit-window): Undedicate window when switching to
19482 previous buffer. Reported by Thierry Volpiatto
19483 <thierry.volpiatto@gmail.com>.
19484 (special-display-popup-frame): When popping up a new frame reset
19485 its previous buffers to nil. Simplify code.
19486
19487 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19488
19489 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19490 and process filter, as done also in `shell-command'.
19491
19492 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19493
19494 * window.el (set-window-buffer-start-and-point):
19495 Call set-window-start with NOFORCE argument t.
19496 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19497 (quit-window): Reword doc-string. Handle new format of
19498 quit-restore parameter. Don't delete window if it has a
19499 previous buffer we can show instead of the present one.
19500 (display-buffer-record-window): Rewrite using a new format for
19501 the quit-restore window parameter
19502 (special-display-popup-frame, display-buffer-same-window)
19503 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19504 (display-buffer-pop-up-window, display-buffer-use-some-window):
19505 Adapt symbol passed to display-buffer-record-window.
19506 * help.el (help-window-setup): Handle new format of quit-restore
19507 parameter.
19508
19509 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19510
19511 * faces.el (face-list): Fix docstring (bug#9564).
19512
19513 * window.el (display-buffer--action-function-custom-type):
19514 Don't include internal functions in the Custom interface.
19515
19516 2011-09-20 Juri Linkov <juri@jurta.org>
19517
19518 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19519 (Info-forward-node, Info-backward-node, Info-next-preorder)
19520 (Info-last-preorder): Use it. (Bug#9528)
19521
19522 2011-09-20 Juri Linkov <juri@jurta.org>
19523
19524 * info.el (Info-last-preorder): Visit last menu item only when
19525 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19526
19527 2011-09-20 Julien Danjou <julien@danjou.info>
19528
19529 * password-cache.el (password-cache-remove): Remove entries even if the
19530 value is nil, so that password with a nil value (negative caching) is
19531 possible to invalidate.
19532
19533 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19534
19535 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19536 all whitespace around breakpoint. (Bug#9553)
19537 (f90-find-breakpoint): Only break at whitespace inside a comment.
19538
19539 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19540
19541 * minibuffer.el (completion-file-name-table): Keep track of errors.
19542 (completion-table-with-predicate): Handle the case where pred1 is nil.
19543 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19544
19545 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19546
19547 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19548 (debugger-return-value): Signal an error if the debugging context does
19549 not await any return value.
19550
19551 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19552 * image-mode.el (image-toggle-display-text)
19553 (image-toggle-display-image): Stay away from evil `intangible'.
19554
19555 2011-09-19 Leo Liu <sdl.web@gmail.com>
19556
19557 * replace.el (occur-revert-arguments): Make it permanent-local.
19558 (occur-mode): Don't call font-lock-defontify.
19559
19560 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19561
19562 * net/ldap.el (ldap-search-internal): Don't push empty search
19563 result (Bug#9508).
19564
19565 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19566
19567 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19568
19569 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19570
19571 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19572 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19573
19574 2011-09-18 Juri Linkov <juri@jurta.org>
19575
19576 * buff-menu.el (Buffer-menu-mode-map):
19577 * dired.el (dired-mode-map):
19578 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19579 (lisp-interaction-mode-map):
19580 * emacs-lisp/package.el (package-menu-mode-map):
19581 * epa.el (epa-key-list-mode-map):
19582 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19583 (menu-bar-options-menu):
19584 * outline.el (outline-mode-menu-bar-map):
19585 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19586 * vc/vc-dir.el (vc-dir-menu-map):
19587 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19588 Capitalize non-function content words in menu item strings.
19589
19590 * dired.el (dired-mode-map): Add menu item for
19591 `image-dired-dired-toggle-marked-thumbs'.
19592
19593 2011-09-18 Juri Linkov <juri@jurta.org>
19594
19595 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19596 to `isearch-case-fold-search' and restore its original value
19597 after the `isearch-mode' call.
19598
19599 2011-09-18 Juri Linkov <juri@jurta.org>
19600
19601 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19602 because `zgrep' returns 1 for successful matches (bug#9226).
19603
19604 2011-09-18 Juri Linkov <juri@jurta.org>
19605
19606 * info.el (Info-extract-menu-node-name): Check the second match
19607 for empty string (second test-case of bug#9528).
19608 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19609 intermediate nodes to the history (first test-case of bug#9528).
19610
19611 2011-09-18 Juri Linkov <juri@jurta.org>
19612
19613 * info.el (Info-mode-syntax-table): New variable.
19614 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19615
19616 2011-09-18 Juri Linkov <juri@jurta.org>
19617
19618 * info.el (Info-file-supports-index-cookies):
19619 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19620 outputs one more line for long file names (bug#4142).
19621
19622 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19623
19624 * newcomment.el (comment-normalize-vars): If prompting for
19625 comment-start, set comment-start-skip too (Bug#8424).
19626
19627 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19628
19629 * icomplete.el: Fix previous fix of Bug#5849.
19630 (icomplete-mode): Don't set completion-show-inline-help.
19631 (icomplete-minibuffer-setup): Set completion-show-inline-help
19632 locally during icompletion.
19633
19634 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19635
19636 * woman.el (woman2-process-escapes): Don't delete unrecognized
19637 escapes (Bug#7843).
19638
19639 * files.el (inhibit-first-line-modes-regexps): Add image files.
19640 (hack-local-variables-prop-line): Return nil for malformed
19641 prop-lines (Bug#9044).
19642
19643 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19644
19645 * net/tramp.el (top): Don't require 'shell.
19646 (tramp-methods): Fix docstring.
19647 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19648 Return complete remote file name. Handle "smb" case.
19649 Use `tramp-tmpdir', if defined for the respective method.
19650 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19651
19652 * net/tramp-compat.el (top): Require 'shell.
19653
19654 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19655 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19656 `tramp-current-host'.
19657 (tramp-get-remote-tmpdir): Remove.
19658
19659 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19660 `tramp-tmpdir' entries.
19661 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19662 (tramp-smb-handle-file-attributes): Ignore errors.
19663 (tramp-smb-wait-for-output): Check also for process end.
19664
19665 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19666
19667 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19668 when sending QUIT (bug#9312).
19669
19670 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19671
19672 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19673 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19674 occur-mode-display-occurrence.
19675 (occur-edit-mode): Add usage message.
19676 (occur-cease-edit): New command.
19677 (occur-after-change-function): Use text properties to find the
19678 position of the prefix text.
19679 (occur-engine): Set stickiness of prefix text properties.
19680
19681 2011-09-17 Glenn Morris <rgm@gnu.org>
19682
19683 * progmodes/etags.el (complete-tag):
19684 Fix call to completion-in-region. (Bug#9526)
19685
19686 2011-09-17 Juri Linkov <juri@jurta.org>
19687
19688 * textmodes/ispell.el (ispell-word): Add to the error message
19689 the word, ispell program name and current dictionary (bug#9121).
19690 (ispell-tex-arg-end): Capitalize "error" in the error message.
19691
19692 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19693
19694 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19695 check. (Bug#4251)
19696
19697 2011-09-17 Juri Linkov <juri@jurta.org>
19698
19699 * window.el (window-safe-min-height, window-safe-min-width):
19700 Fix typos (followup to bug#9522).
19701
19702 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19703
19704 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19705
19706 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19707
19708 * simple.el (line-move): If goal-column is set, move by logical
19709 lines, not by display lines. (Bug#971)
19710 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19711 to reflect the above change.
19712
19713 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19714
19715 * image.el (imagemagick-register-types): Use regexp-opt.
19716
19717 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19718
19719 * window.el (display-buffer-base-action): Rename from
19720 display-buffer-default-action. Make default value empty.
19721 (display-buffer-overriding-action): Convert to defvar.
19722 (display-buffer-fallback-action): New var.
19723
19724 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19725
19726 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19727 declaration.
19728 (package--add-to-archive-contents): If there is a duplicate entry
19729 with an older version, remove it.
19730 (package-menu-mark-delete, package-menu-mark-install)
19731 (package-menu-mark-unmark): Make unused args optional.
19732 (package-menu-mark-obsolete-for-deletion):
19733 Use package-menu-get-status instead of a regexp search.
19734 (package-menu-get-status): Use tabulated-list-entry.
19735 (package-menu-mark-upgrades): New command.
19736 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19737 (package-menu-execute): Do installation before deletion.
19738 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19739 instead of checking major-mode.
19740 (package-menu--find-upgrades): New function.
19741
19742 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19743
19744 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19745 passwords in the log buffer.
19746 (smtpmail-process-filter): Update the process marker so that the
19747 "broken by peer" status message is inserted in the right place.
19748
19749 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19750
19751 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19752 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19753 bibtex-completion-at-point-function.
19754 (bibtex-completion-at-point-function): Use them.
19755
19756 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19757
19758 * mpc.el (mpc-constraints-tag-lookup): New function.
19759 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19760 also to browser "album|playlist".
19761
19762 2011-09-14 Juri Linkov <juri@jurta.org>
19763
19764 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19765 (isearch-edit-string): Use length of `isearch-string' when
19766 `isearch-fail-pos' returns nil.
19767 (isearch-message): Remove duplicate code and call
19768 `isearch-fail-pos' with arg `t'.
19769
19770 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19771
19772 * replace.el (occur-mode-goto-occurrence): Don't force using other
19773 window (Bug#9499).
19774
19775 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19776
19777 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19778
19779 * window.el (display-buffer-window): Remove.
19780 (display-buffer-record-window): Use help-setup window parameter
19781 instead of variable display-buffer-window.
19782 (display-buffer-function, special-display-buffer-names)
19783 (special-display-function): Mention help-setup parameter instead
19784 of display-buffer-window in doc-string.
19785 * help.el (help-window-setup): New argument help-window.
19786 Use help-window-setup parameter instead of display-buffer-window.
19787 Reword some messages.
19788 (with-help-window): Pass window used for displaying the buffer
19789 to help-window-setup. Don't set display-buffer-window.
19790
19791 2011-09-13 Glenn Morris <rgm@gnu.org>
19792
19793 * emacs-lisp/debug.el (debugger-make-xrefs):
19794 Preserve point. (Bug#9462)
19795
19796 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19797
19798 * window.el (window-deletable-p): Use next-frame.
19799
19800 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19801
19802 * window.el (window-auto-delete): Remove.
19803 (window-deletable-p): Remove argument FORCE. Don't deal with
19804 dedication and previous buffers.
19805 (switch-to-prev-buffer): Don't delete window.
19806 (delete-windows-on): Delete a window's frame if and only if the
19807 window is dedicated.
19808 (replace-buffer-in-windows): Delete buffer's window or frame if
19809 and only if window is dedicated.
19810 (quit-window): Handle quit-restore as before last change.
19811 (bury-buffer): Delete window only if window-deletable-p returns t.
19812
19813 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19814
19815 * window.el (window-deletable-p): Never delete the last frame on a
19816 given terminal.
19817
19818 2011-09-13 Glenn Morris <rgm@gnu.org>
19819
19820 * help.el (describe-key-briefly): Copy previous standard-output change.
19821
19822 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19823
19824 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19825
19826 2011-09-13 Glenn Morris <rgm@gnu.org>
19827
19828 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19829 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19830
19831 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19832
19833 * dired-aux.el (dired-mark-read-string): Don't return default
19834 value on empty input (Bug#9361).
19835 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19836 Omit initial minibuffer contents.
19837 (dired-do-chmod): Signal an error on empty input.
19838 (dired-mark-read-string): Don't return default on empty input.
19839
19840 * files.el (file-modes-symbolic-to-number): Doc fix.
19841
19842 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19843
19844 * international/mule-cmds.el (ucs-completions): Remove.
19845 (read-char-by-name): Use complete-with-action instead; add metadata.
19846
19847 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * window.el (display-buffer--action-function-custom-type)
19850 (display-buffer--action-custom-type): New vars.
19851 (display-buffer-alist, display-buffer-default-action)
19852 (display-buffer-overriding-action): Add defcustom types.
19853
19854 * frame.el (delete-other-frames): Doc fix (Bug#276).
19855
19856 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19857
19858 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19859
19860 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19861
19862 Change modes that used same-window-* vars to use switch-to-buffer.
19863
19864 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19865 Use switch-to-buffer.
19866
19867 * cus-edit.el (customize-group, custom-buffer-create)
19868 (customize-browse, custom-buffer-create-other-window):
19869 Use switch-to-buffer or switch-to-buffer-other-window.
19870
19871 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19872 (Info-prev, Info-up, Info-speedbar-goto-node)
19873 (info-display-manual): Use switch-to-buffer.
19874 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19875
19876 * mail/sendmail.el (mail): Use switch-to-buffer.
19877 (mail-recover): Use switch-to-buffer-other-window.
19878
19879 * cmuscheme.el (run-scheme, switch-to-scheme):
19880 * ielm.el (ielm):
19881 * shell.el (shell):
19882 * net/rlogin.el (rlogin):
19883 * net/telnet.el (telnet, rsh):
19884 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19885
19886 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19887
19888 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19889
19890 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19891
19892 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19893 so don't mention it (bug#9301).
19894 (dired-sort-toggle-or-edit): Clarify string further.
19895
19896 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19897 match `x', `w32' and `ns', like the manual says (bug#9029).
19898
19899 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19900 (process-kill-buffer-query-function): Mention the buffer name in
19901 the query.
19902
19903 * image-mode.el (image-next-line): The line parameter is mandatory
19904 (bug#9258).
19905
19906 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19907 which can be useful (bug#9301).
19908
19909 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19910
19911 * subr.el (match-string): Mention that the current buffer should
19912 be the same as the search was done in (bug#9282).
19913
19914 * facemenu.el: Disable the remove-* commands if the mark isn't
19915 active (bug#9162).
19916
19917 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19918
19919 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19920 of display-buffer.
19921 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19922
19923 * replace.el (occur-mode-goto-occurrence)
19924 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19925 and display-buffer.
19926
19927 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19928 display-buffer.
19929
19930 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19931 special-display and same-window variables.
19932 (mail-other-window): Use switch-to-buffer-other-window.
19933 (mail-other-frame): USe switch-to-buffer-other-frame.
19934
19935 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19936 Use display-buffer-other-frame.
19937 (gdb-display-gdb-buffer): Use pop-to-buffer.
19938
19939 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19940
19941 * progmodes/python.el: Don't set same-window-buffer-names.
19942
19943 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19944
19945 * window.el (display-buffer-alist): Add *Python*.
19946
19947 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19948
19949 * window.el (display-buffer-alist): Add entry for buffers
19950 previously handled same-window-*.
19951 (display-buffer-alist, display-buffer-default-action)
19952 (display-buffer-overriding-action): Mark as risky.
19953 (display-buffer-alist): Document action function changes.
19954 (display-buffer--same-window-action)
19955 (display-buffer--other-frame-action): New variables.
19956 (switch-to-buffer, display-buffer-other-frame): Use them.
19957 (display-buffer): Rename reuse-frame entry to reusable-frames.
19958 (display-buffer-reuse-selected-window): Function deleted.
19959 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19960 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19961 (display-buffer-special): New function.
19962 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19963 display-buffer-reuse-or-pop-window. Split off special-display
19964 part into display-buffer-special.
19965 (display-buffer-use-some-window): Don't perform any special
19966 pop-up-frames handling.
19967 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19968 (display-buffer--maybe-same-window): Rename from
19969 display-buffer-maybe-same-window.
19970
19971 * info.el: Don't set same-window-regexps.
19972 (info-setup): New function.
19973 (info-other-window, info): Call it.
19974
19975 * cus-edit.el: Don't set same-window-regexps.
19976 (customize-group): New argument.
19977 (customize-group-other-window): Use it.
19978 (customize-face, customize-face-other-window): Likewise.
19979 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19980
19981 * net/rlogin.el:
19982 * net/telnet.el:
19983 * progmodes/gud.el: Don't set same-window-regexps.
19984
19985 * cmuscheme.el:
19986 * ielm.el:
19987 * shell.el:
19988 * mail/sendmail.el:
19989 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19990
19991 2011-09-10 Juri Linkov <juri@jurta.org>
19992
19993 * isearch.el (isearch-edit-string): Remove obsolete mention of
19994 `C-w' (`isearch-yank-word-or-char') from docstring.
19995 (isearch-query-replace): Fix typo in docstring (bug#9466).
19996
19997 2011-09-10 Juri Linkov <juri@jurta.org>
19998
19999 * paren.el (show-paren-function): Don't show escaped parens.
20000 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20001
20002 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20003
20004 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20005 (mm-default-file-encoding): Remove autoload forms, they are
20006 replaced with autoload cookies in mml.el and mm-encode.el.
20007 (mail-add-attachment): New command.
20008 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20009 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20010 the doc string.
20011 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20012
20013 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20014
20015 * simple.el (count-words-region): Use buffer if there's no region
20016 (bug#9429).
20017
20018 2011-09-09 Juri Linkov <juri@jurta.org>
20019
20020 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20021 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20022 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20023
20024 2011-09-09 Alan Mackenzie <acm@muc.de>
20025
20026 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20027 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20028
20029 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20030
20031 Fix for Savannah bug#9392.
20032 * simple.el (mail-encode-mml): New defvar.
20033
20034 * mail/rmail.el (mail-encode-mml): Add a defvar.
20035 (rmail-enable-mime-composing): Default to t.
20036 (rmail-forward): Use MIME method of forwarding only if both
20037 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20038 Set mail-encode-mml non-nil if the MIME method was used.
20039
20040 * mail/sendmail.el (mml-to-mime): Add autoload form.
20041 (mail-encode-mml): Add a defvar.
20042 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20043 to nil.
20044 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20045 message through mml-to-mime, and reset mail-encode-mml to nil.
20046
20047 2011-09-09 Glenn Morris <rgm@gnu.org>
20048
20049 * woman.el (woman-if-body): When processing an .el block,
20050 do not delete the next .el block as well. (Bug#9447)
20051 (woman-special-characters): Add oq, cq, and hy characters.
20052
20053 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20054
20055 * window.el (window-deletable-p): Make sure window is live before
20056 invoking window-prev-buffers.
20057
20058 2011-09-08 Leo Liu <sdl.web@gmail.com>
20059
20060 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20061
20062 2011-09-08 Juri Linkov <juri@jurta.org>
20063
20064 * progmodes/compile.el (compilation-environment): Make it
20065 a defcustom (bug#8340).
20066
20067 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20068
20069 * window.el (frame-auto-delete): Rename to window-auto-delete.
20070 Make it control auto-deletion of windows and/or frames.
20071 (window-deletable-p): New argument FORCE. Rewrite conditions
20072 for deleting window/frame. (Bug#9419)
20073 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20074 Rewrite handling of case when window/frame can be deleted.
20075 (delete-windows-on): Call window-deletable-p with new FORCE
20076 argument t. (Bug#9456)
20077
20078 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20079
20080 * help-mode.el (help-mode): Restore autoload.
20081
20082 2011-09-07 Juri Linkov <juri@jurta.org>
20083
20084 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20085 `compilation-environment'. Set buffer-local
20086 `compilation-environment' to `thisenv' later after (funcall mode).
20087 (Bug#8340)
20088
20089 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20090 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20091 instead of replacing its value. (Bug#8340)
20092
20093 2011-09-07 Juri Linkov <juri@jurta.org>
20094
20095 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20096 based on text properties put by `grep-filter' instead of matching
20097 escape sequences.
20098 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20099 to the value of `grep-error-screen-columns' (bug#9438).
20100
20101 2011-09-07 Juri Linkov <juri@jurta.org>
20102
20103 * simple.el (next-error-highlight, next-error-highlight-no-select):
20104 Doc fix (bug#9432).
20105
20106 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20107
20108 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20109 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20110
20111 2011-09-07 Leo Liu <sdl.web@gmail.com>
20112
20113 * net/rcirc.el (rcirc-mode): Conditionally initialize
20114 rcirc-input-ring.
20115
20116 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * emacs-lisp/find-func.el (find-function-C-source): Only set
20119 find-function-C-source-directory after checking that we found a source
20120 file there (bug#9440).
20121
20122 2011-09-06 Alan Mackenzie <acm@muc.de>
20123
20124 * isearch.el (isearch-other-meta-char): Wherever a key list is
20125 unread, "unread" the prefix arg, too. This fixes bug #8901.
20126
20127 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20128
20129 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20130
20131 2011-09-05 Juri Linkov <juri@jurta.org>
20132
20133 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20134
20135 2011-09-05 Juri Linkov <juri@jurta.org>
20136
20137 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20138 keeping point where processing of grep matches begins, and
20139 continue to delete remaining escape sequences from the same point.
20140 (grep-filter): Make leading zero optional in "0?1;31m" because
20141 git-grep emits "\033[1;31m" escape sequences unlike expected
20142 "\033[01;31m" as GNU Grep does (bug#9408).
20143 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20144
20145 2011-09-05 Juri Linkov <juri@jurta.org>
20146
20147 * subr.el (y-or-n-p): Capitalize "yes".
20148
20149 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20150
20151 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20152 `tramp-cache-unload-hook' where appropriate.
20153 (tramp-methods): Rename `tramp-remote-sh' to
20154 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20155 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20156
20157 * net/tramp-sh.el (top): Don't require 'shell.
20158 (tramp-methods): Add `tramp-remote-shell' and
20159 `tramp-remote-shell-args' entries.
20160 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20161 (tramp-sh-handle-shell-command): Remove.
20162 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20163 Use `tramp-remote-shell'.
20164
20165 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20166
20167 * mail/sendmail.el (sendmail-query-once-function): Delete.
20168 (sendmail-query-once): Save directly to send-mail-function.
20169 Update message-send-mail-function too.
20170
20171 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20172
20173 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20174
20175 * progmodes/python.el (python-mode-map): Use correct function to
20176 start python interpreter from menu-bar (as reported by Geert
20177 Kloosterman).
20178 (inferior-python-mode-map): Fix typo.
20179 (python-shell-map): Remove.
20180
20181 2011-09-03 Deniz Dogan <deniz@dogan.se>
20182
20183 * net/rcirc.el (rcirc-print): Simplify code for
20184 rcirc-scroll-show-maximum-output. There is no need to walk
20185 through all windows to find the right one.
20186
20187 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20188
20189 * help.el (help-return-method): Doc fix.
20190
20191 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20192
20193 * window.el (window-deletable-p): Don't return a non-nil value
20194 when there's a buffer that was shown in the window before.
20195 (Bug#9419)
20196 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20197 Set window's previous buffers to nil.
20198
20199 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20200
20201 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20202 newline before and after the tag line, so it doesn't interfere
20203 with determining the paragraph direction of bidirectional text.
20204
20205 2011-09-03 Leo Liu <sdl.web@gmail.com>
20206
20207 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20208
20209 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20210
20211 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20212 (pop-to-buffer): Change interactive spec. Pass second argument
20213 directly to display-buffer.
20214 (display-buffer): Fix interactive spec. Use functionp to
20215 distinguish between a function and a list of functions.
20216
20217 * abbrev.el (edit-abbrevs):
20218 * arc-mode.el (archive-extract):
20219 * autoinsert.el (auto-insert):
20220 * bookmark.el (bookmark-bmenu-list):
20221 * files.el (find-file):
20222 * view.el (view-buffer):
20223 * progmodes/compile.el (compilation-goto-locus):
20224 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20225
20226 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20227
20228 * window.el (display-buffer-alist): Doc fix.
20229 (display-buffer): Add docstring. Don't treat
20230 display-buffer-default specially.
20231 (display-buffer-reuse-selected-window)
20232 (display-buffer-same-window, display-buffer-maybe-same-window)
20233 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20234 (display-buffer-pop-up-window)
20235 (display-buffer-reuse-or-pop-window)
20236 (display-buffer-use-some-window): New functions.
20237 (display-buffer-default-action): Use them.
20238 (display-buffer-default): Delete.
20239 (pop-to-buffer-1): Fix choice of actions.
20240
20241 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20242
20243 * minibuffer.el (completion--insert-strings): Don't get confused by
20244 completion entries that end with an LF char.
20245
20246 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20247
20248 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20249
20250 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20251
20252 * window.el (display-buffer): Restore interactive spec.
20253 (display-buffer-same-window, display-buffer-other-window):
20254 New functions.
20255 (pop-to-buffer-1): New function. Use the above.
20256 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20257 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20258
20259 * view.el (view-buffer-other-window, view-buffer-other-frame):
20260 Just use pop-to-buffer.
20261
20262 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20263
20264 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20265
20266 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20267
20268 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20269
20270 2011-08-31 Richard Stallman <rms@gnu.org>
20271
20272 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20273 of the separation of rmail-view-buffer from rmail-buffer.
20274 If you say no to "replace original", the decrypt is in the
20275 view buffer. If you say yes, the decrypt goes into the
20276 rmail buffer also.
20277
20278 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20279
20280 * window.el (display-buffer-window): Rewrite doc-string.
20281 (display-buffer-record-window): New function.
20282 (display-buffer-macro-specifiers)
20283 (display-buffer-even-window-sizes, display-buffer-set-height)
20284 (display-buffer-set-width, display-buffer-in-window)
20285 (display-buffer-reuse-window, display-buffer-split-specifiers)
20286 (display-buffer-side-specifiers, display-buffer-split-window-1)
20287 (display-buffer-split-window, display-buffer-split-atom-window)
20288 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20289 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20290 (display-buffer-other-window-means-other-frame)
20291 (display-buffer-normalize-special)
20292 (display-buffer-normalize-default)
20293 (display-buffer-normalize-argument)
20294 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20295 (display-buffer-normalize-specifiers, display-buffer-frame)
20296 (display-buffer-same-window, display-buffer-same-frame)
20297 (display-buffer-other-window)
20298 (display-buffer-same-frame-other-window)
20299 (display-buffer-other-frame, pop-to-buffer-same-window)
20300 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20301 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20302 (switch-to-buffer-same-frame)
20303 (switch-to-buffer-other-window-same-frame)
20304 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20305 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20306 (display-buffer-alist-set): Remove.
20307 (display-buffer-function, special-display-buffer-names)
20308 (special-display-regexps, special-display-function):
20309 In doc-string refer to display-buffer-window and quit-restore
20310 parameter.
20311 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20312 (special-display-frame-alist, special-display-popup-frame)
20313 (same-window-buffer-names, same-window-regexps, same-window-p)
20314 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20315 (split-window-preferred-function, split-height-threshold)
20316 (split-width-threshold, window-splittable-p)
20317 (split-window-sensibly, window--try-to-split-window)
20318 (window--frame-usable-p, even-window-heights)
20319 (window--even-window-heights, window--display-buffer-1)
20320 (window--display-buffer-2, display-buffer-other-frame):
20321 Restore old Emacs 23 code, order and doc-strings where applicable.
20322 (display-buffer-default, display-buffer-assq-regexp): New functions.
20323 (display-buffer-alist): Rewrite doc-string.
20324 (display-buffer-default-action)
20325 (display-buffer-overriding-action): New variables.
20326 (display-buffer, switch-to-buffer): Rewrite.
20327 (pop-to-buffer): Restore Emacs 23 behavior but use
20328 window-normalize-buffer-to-display.
20329 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20330 Restore Emacs 23 behavior but use
20331 window-normalize-buffer-to-switch-to.
20332 (pop-to-buffer-same-window): Rewrite.
20333 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20334 Rewrite using Emacs 23 options.
20335
20336 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20337
20338 * net/tramp.el (tramp-root-regexp): Remove.
20339 (tramp-completion-file-name-regexp-unified)
20340 (tramp-completion-file-name-regexp-separate)
20341 (tramp-completion-file-name-regexp-url): Don't use leading volume
20342 letter on w32 systems. (Bug#5303, Bug#9311)
20343 (tramp-drop-volume-letter): Simplify definition.
20344 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20345
20346 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20347
20348 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20349 (bug#9356).
20350
20351 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20352
20353 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20354
20355 2011-08-29 Juri Linkov <juri@jurta.org>
20356
20357 * isearch.el (isearch-done): Don't display message "Mark saved"
20358 when arg `edit' is non-nil to prevent its flicker in the echo area.
20359
20360 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20361
20362 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20363 obsolete packages for deletion.
20364
20365 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20366
20367 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20368 (help-mode): Derive help-mode from special-mode. Don't invoke
20369 view-mode from help-mode.
20370 (help-xref-override-view-map): Remove.
20371 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20372 view-mode is not used anymore.
20373
20374 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20375
20376 * server.el (server-port): Doc fix.
20377
20378 * cus-theme.el (custom-theme-choose-mode): Inherit from
20379 special-mode (Bug#9124).
20380 (custom-theme-choose-mode-map): Add special-mode to parent.
20381
20382 2011-08-28 Alan Mackenzie <acm@muc.de>
20383
20384 * progmodes/cc-fonts.el
20385 (c-make-font-lock-BO-decl-search-function): New function.
20386 (c-basic-matchers-after - "Fontify the clauses after various
20387 keywords"): Extract the three keyword lists for the 3 erroneous
20388 constructs from the list of four, and use the new function above
20389 in place of an old one.
20390
20391 2011-08-28 Deniz Dogan <deniz@dogan.se>
20392
20393 * net/rcirc.el (rcirc-insert-prev-input)
20394 (rcirc-insert-next-input): Remove unused argument.
20395
20396 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20397
20398 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20399
20400 2011-08-27 Alan Mackenzie <acm@muc.de>
20401
20402 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20403 handle function pointer parameters properly.
20404
20405 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20406
20407 * window.el (display-buffer-reuse-window): Fix case where
20408 selected window was reused with non-nil OTHER-WINDOW argument.
20409 (Bug#9381)
20410
20411 2011-08-27 Deniz Dogan <deniz@dogan.se>
20412
20413 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20414 oftc's NickServ messages.
20415
20416 2011-08-27 Glenn Morris <rgm@gnu.org>
20417
20418 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20419
20420 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20421
20422 * emacs-lisp/package.el (package-install): Call package-initialize
20423 if called interactively.
20424
20425 2011-08-26 Leo Liu <sdl.web@gmail.com>
20426
20427 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20428
20429 2011-08-25 Juri Linkov <juri@jurta.org>
20430
20431 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20432 `search-whitespace-regexp' (bug#9364).
20433
20434 2011-08-25 Juri Linkov <juri@jurta.org>
20435
20436 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20437 `regexp-search-ring' to their global values to protect from
20438 updating by `read-from-minibuffer' (bug#9185).
20439
20440 2011-08-25 Juri Linkov <juri@jurta.org>
20441
20442 * textmodes/ispell.el (ispell-command-loop): Add newline
20443 at the end of the "Use option `i'..." line.
20444
20445 2011-08-25 Juri Linkov <juri@jurta.org>
20446
20447 * battery.el (display-battery-mode): If `battery-status-function'
20448 or `battery-mode-line-format' is nil, display the message and set
20449 `display-battery-mode' to nil (bug#9363).
20450
20451 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20452
20453 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20454 bidi-string-mark-left-to-right; they are unnecessary now.
20455
20456 2011-08-25 Deniz Dogan <deniz@dogan.se>
20457
20458 * net/quickurl.el: Documentation typo fixes.
20459
20460 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20461
20462 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20463
20464 2011-08-25 Glenn Morris <rgm@gnu.org>
20465
20466 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20467
20468 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20469 (smtpmail-via-smtp): Handle nil response from smtp.
20470
20471 2011-08-24 Juri Linkov <juri@jurta.org>
20472
20473 * proced.el (proced-marked): Inherit from `error' instead of
20474 `font-lock-warning-face'.
20475
20476 * ibuffer.el (ibuffer-marked-face): Change default face from
20477 `font-lock-warning-face' to `warning'.
20478 (ibuffer-deletion-face): Change default face from
20479 `font-lock-type-face' to `error'.
20480
20481 * battery.el (battery-update): Use the face `error' instead of
20482 `font-lock-warning-face' (bug#6117).
20483
20484 2011-08-24 Juri Linkov <juri@jurta.org>
20485
20486 * faces.el (success): Change face color from "Green3" to
20487 "ForestGreen" on light background (bug#9353).
20488
20489 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20490
20491 * window.el (quit-window): Rename from quit-restore-window.
20492 Use same arglist as old quit-window.
20493 (frame-auto-delete): Doc fix.
20494
20495 * view.el (view-mode-exit): Use quit-window.
20496
20497 2011-08-24 Juri Linkov <juri@jurta.org>
20498
20499 * isearch.el (isearch-ring-adjust1): Start visiting previous
20500 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20501 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20502 for empty search string (when the last search string is reused
20503 automatically) to adjust the isearch ring to the last element and
20504 prepare the correct index for further M-p commands (bug#9185).
20505
20506 2011-08-24 Kenichi Handa <handa@m17n.org>
20507
20508 * international/ucs-normalize.el: If decomposition property of
20509 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20510 nil.
20511 (nfd, nfkd): Likewise.
20512
20513 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20514
20515 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20516 from process filters aren't reliably transmitted to the surrounding
20517 accept-process-output.
20518 (mpc-proc-check): New function.
20519 (mpc-proc-sync): Use it (bug#8293)
20520
20521 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20522
20523 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20524 Add compatibility functions (bug#9313).
20525
20526 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20527
20528 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20529
20530 * international/uni-bidi.el: Regenerate.
20531
20532 2011-08-23 Kenichi Handa <handa@m17n.org>
20533
20534 * international/charprop.el:
20535 * international/uni-bidi.el:
20536 * international/uni-category.el:
20537 * international/uni-combining.el:
20538 * international/uni-comment.el:
20539 * international/uni-decimal.el:
20540 * international/uni-decomposition.el:
20541 * international/uni-digit.el:
20542 * international/uni-lowercase.el:
20543 * international/uni-mirrored.el:
20544 * international/uni-name.el:
20545 * international/uni-numeric.el:
20546 * international/uni-old-name.el:
20547 * international/uni-titlecase.el:
20548 * international/uni-uppercase.el: Regenerate.
20549
20550 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20551
20552 * help.el (help-window-setup): Fix message displayed when other
20553 window is reused. (Bug#9341)
20554
20555 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20556
20557 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20558 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20559
20560 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20561 Mark obsolete.
20562 * shell.el (shell-parse-pcomplete-arguments): New function.
20563 (shell-completion-vars): Use it instead (bug#9160).
20564
20565 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20566
20567 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20568 strings and comments (bug#9333).
20569
20570 * emacs-lisp/debug.el (debug-arglist): New function.
20571 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20572 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20573
20574 2011-08-22 Juri Linkov <juri@jurta.org>
20575
20576 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20577 Revert regexp that highlights output switches to its old
20578 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20579
20580 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20581 to check for empty output (bug#9226).
20582
20583 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20584
20585 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20586 symbol-constituent as the default, as that stops font-lock from
20587 working properly (Bug#8843).
20588
20589 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20590
20591 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20592 `coding-system-for-*' around the process open call to avoid
20593 auth-source side effects.
20594 (smtpmail-try-auth-methods): Expand the secret password.
20595 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20596 probe hangs.
20597
20598 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20601
20602 * emacs-lisp/find-func.el (find-function-noselect): New arg
20603 lisp-only.
20604
20605 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20606 signal an error for built-in functions (Bug#6664).
20607
20608 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20609
20610 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20611 (smtpmail-try-auth-methods): Use it.
20612
20613 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20614
20615 * font-lock.el (font-lock-fontify-region)
20616 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20617 (font-lock-default-unfontify-buffer)
20618 (font-lock-default-fontify-region)
20619 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20620
20621 * progmodes/compile.el (compilation-error-properties):
20622 Fix confusion between file struct and message struct (Bug#9319).
20623 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20624 `ant' regexp.
20625
20626 * net/browse-url.el (browse-url-firefox): Don't call
20627 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20628
20629 2011-08-20 Glenn Morris <rgm@gnu.org>
20630
20631 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20632
20633 * tutorial.el (tutorial--default-keys): Update some default bindings.
20634
20635 * files.el (hack-local-variables): Fully ignore case for "mode:".
20636
20637 2011-08-20 Alan Mackenzie <acm@muc.de>
20638
20639 Resolve invalid use of a regexp in regexp-opt.
20640
20641 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20642 detection for a java annotation.
20643
20644 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20645 detection for a java annotation.
20646
20647 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20648 handling for java.
20649 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20650
20651 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20652
20653 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20654 (Bug#9274).
20655
20656 2011-08-20 Alan Mackenzie <acm@muc.de>
20657
20658 Fontify CPP expressions correctly when starting in the middle of
20659 such a construct. Mainly for when jit-lock etc. starts a chunk
20660 here.
20661
20662 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20663 variable.
20664 (c-make-font-lock-search-form): New function, extracted from
20665 c-make-font-lock-search-function.
20666 (c-make-font-lock-search-function): Use the above function.
20667 (c-make-font-lock-context-search-function): New function.
20668 (c-cpp-matchers): Enhance the preprocessor expression case with
20669 the above function
20670 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20671 which takes an expression.
20672
20673 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20674
20675 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20676
20677 * window.el (display-buffer-reuse-window)
20678 (display-buffer-pop-up-window): Don't reuse or split a side
20679 window.
20680
20681 2011-08-19 Glenn Morris <rgm@gnu.org>
20682
20683 * files.el (hack-local-variables-prop-line, hack-local-variables):
20684 Downcase "Mode:". (Bug#9331)
20685
20686 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20687
20688 * international/characters.el: Add L and R categories.
20689
20690 * subr.el (bidi-string-mark-left-to-right): Rename from
20691 string-mark-left-to-right. Use category search.
20692
20693 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20694
20695 2011-08-18 Juri Linkov <juri@jurta.org>
20696
20697 * faces.el (error, warning, success): New faces with definitions
20698 copied from old default values of `font-lock-warning-face',
20699 `compilation-warning', `compilation-info' (bug#6117).
20700
20701 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20702
20703 * progmodes/compile.el (compilation-error): Inherit from `error'.
20704 (compilation-warning): Inherit from `warning'.
20705 (compilation-info): Inherit from `success'.
20706
20707 * dired.el (dired-marked): Inherit from `warning'.
20708 (dired-flagged): Inherit from `error'.
20709
20710 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20711
20712 * mail/smtpmail.el (auth-source): Require to avoid problems with
20713 binding variables (bug#9298). Also clean up some unused
20714 autoloads.
20715
20716 * net/network-stream.el (network-stream-open-starttls):
20717 Support using starttls.el without using gnutls-cli.
20718
20719 2011-08-17 Juri Linkov <juri@jurta.org>
20720
20721 * progmodes/grep.el (rgrep): Handle the case when
20722 `grep-find-command' is a cons cell (bug#9278).
20723
20724 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20725
20726 * window.el (display-buffer-pop-up-frame): Run frame creation
20727 function with BUFFER current (as special-display-popup-frame
20728 does). Reported by Drew Adams.
20729
20730 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20731
20732 * epa-mail.el: Simplify GnuPG group expansion using
20733 epg-expand-group.
20734 (epa-mail-group-alist, epa-mail-group-modtime)
20735 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20736 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20737 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20738 Remove.
20739
20740 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20741
20742 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20743
20744 2011-08-16 Alan Mackenzie <acm@muc.de>
20745
20746 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20747 Correct, to avoid the inside of macros.
20748
20749 2011-08-16 Richard Stallman <rms@gnu.org>
20750
20751 * epa-mail.el: Handle GnuPG group definitions.
20752 (epa-mail-group-alist, epa-mail-group-modtime)
20753 (epa-mail-gnupg-conf-file): New variables.
20754 (epa-mail-parse-groups, epa-mail-sync-groups)
20755 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20756 (epa-mail-expand-recipients): New functions.
20757 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20758
20759 * mail/rmail.el (rmail-epa-decrypt): New command.
20760
20761 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20762 Don't bind buffer-read-only, just inhibit-read-only.
20763 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20764 (epa-decrypt-armor-in-region): Make error message clearer.
20765
20766 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20767
20768 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20769 and "a2b" to "ab" for `prefix'.
20770
20771 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20772
20773 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20774 filter groups.
20775 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20776 Fourquet (Bug#8804).
20777
20778 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20779
20780 * startup.el (argi): Declare as global variable (bug#9275).
20781
20782 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20783
20784 * subr.el (string-mark-left-to-right): Search the entire string
20785 for RTL script, not just the terminating character. Doc fix.
20786
20787 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20788
20789 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20790 New function.
20791 (js--regexp-literal, js-syntax-propertize-function): Remove.
20792 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20793 (js-mode-map): Don't rebind electric keys.
20794 (js-insert-and-indent): Remove.
20795 (js-mode): Setup electric-layout and electric-indent instead.
20796
20797 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20798
20799 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20800
20801 * epa.el (epa-progress-callback-function): Fix the logic of
20802 displaying progress.
20803 * epa-file.el (epa-file-insert-file-contents): Make progress
20804 display more user-friendly.
20805 (epa-file-write-region): Ditto.
20806
20807 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * subr.el (string-mark-left-to-right): New function.
20810
20811 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20812 Use string-mark-left-to-right.
20813 (list-buffers-noselect): Caller changed.
20814
20815 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20816 Use string-mark-left-to-right.
20817 (tabulated-list-print): Recenter after moving point.
20818
20819 2011-08-10 Juri Linkov <juri@jurta.org>
20820
20821 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20822 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20823 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20824
20825 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20826
20827 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20828 (Bug#7554).
20829
20830 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20831
20832 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20833 character. (Bug#6594)
20834
20835 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20836
20837 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20838 (image-dired--with-db-file): New macro.
20839 (image-dired-write-tags, image-dired-remove-tag)
20840 (image-dired-create-gallery-lists, image-dired-write-comments)
20841 (image-dired-get-comment, image-dired-mark-tagged-files)
20842 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20843 (image-dired-gallery-generate): Use insert-file-contents.
20844
20845 * time.el (display-time-world-list, display-time-world-display):
20846 * time-stamp.el (time-stamp-string):
20847 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20848 set-time-zone-rule (Bug#7337).
20849
20850 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20851
20852 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20853 (epg-error-to-string, epg-errors-to-string): New function.
20854 (epg-wait-for-completion): Reverse errors list.
20855 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20856 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20857 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20858 (epg-sign-keys, epg-generate-key-from-file)
20859 (epg-generate-key-from-string): Format errors by using
20860 epg-errors-to-string (bug#9255).
20861 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20862
20863 2011-08-07 Juri Linkov <juri@jurta.org>
20864
20865 * faces.el (list-faces-display): Remove extra angle bracket
20866 from `help-mode-map'.
20867
20868 * info.el (Info-history-toc-nodes): Doc fix.
20869
20870 * longlines.el (longlines-mode): Doc fix.
20871
20872 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20873
20874 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20875 of statements and in a few more cases (bug#9183).
20876
20877 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20878 New functions.
20879 (cl-transform-lambda): Use them (bug#9239).
20880
20881 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20882
20883 * window.el (display-buffer-same-window)
20884 (display-buffer-same-frame, display-buffer-other-window)
20885 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20886 (pop-to-buffer-other-window)
20887 (pop-to-buffer-same-frame-other-window)
20888 (pop-to-buffer-other-frame): Make them defuns.
20889 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20890
20891 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20892
20893 * subr.el (make-composed-keymap): Move from C. Change calling
20894 convention, and improve docstring to bring attention to a subtle point.
20895 * minibuffer.el (completing-read-default): Adjust accordingly.
20896
20897 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20898
20899 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20900 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20901
20902 * net/trampver.el: Update release number.
20903
20904 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20905
20906 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20907 "in" (bug#9190).
20908
20909 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20910
20911 * mail/sendmail.el (sendmail-query-once): Restore the current
20912 buffer after querying (bug#9074).
20913
20914 * dired.el (dired-flagged): Use different faces for marked and
20915 flagged files (bug#6117).
20916
20917 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20918 (bug#4433).
20919
20920 * ido.el (ido-mode): Switch off the message if called
20921 non-interactively.
20922
20923 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20924 before 587, since it appears that that's more likely to work for
20925 more people.
20926
20927 * cus-edit.el (custom-file): When running under emacs -q, always
20928 refuse to save the customizations, even if the .emacs file doesn't
20929 exist.
20930
20931 * info.el: Remove the `Info-beginning-of-buffer' function
20932 (bug#8325).
20933
20934 * net/network-stream.el (network-stream-open-starttls):
20935 Use `starttls-available-p' to see whether starttls.el can be used.
20936
20937 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20938
20939 * window.el (display-buffer-in-window): Don't set dedicated status
20940 of window here (Bug#9215).
20941 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20942 (display-buffer-pop-up-side-window)
20943 (display-buffer-in-side-window): Set dedicated status of window here.
20944
20945 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20946
20947 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20948 before binding generated-autoload-file.
20949
20950 2011-08-01 Deniz Dogan <deniz@dogan.se>
20951
20952 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20953
20954 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20955
20956 Sync with Tramp 2.2.2.
20957
20958 * net/trampver.el: Update release number.
20959
20960 2011-07-30 Juri Linkov <juri@jurta.org>
20961
20962 * dired-aux.el (dired-touch-initial): Remove function.
20963 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20964 current time, and `default' to the last modification time of the
20965 current marked file (bug#6887).
20966
20967 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20968
20969 * simple.el (goto-line): Use string-to-number to provide a
20970 numeric argument to read-number (bug#9163).
20971
20972 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20973
20974 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20975 connection process, it could be nil.
20976
20977 2011-07-27 Leo Liu <sdl.web@gmail.com>
20978
20979 Simplify url handling in rcirc-mode.
20980
20981 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20982 (rcirc-browse-url-at-mouse): Remove.
20983 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20984
20985 2011-07-26 Alan Mackenzie <acm@muc.de>
20986
20987 Fontify bitfield declarations properly.
20988
20989 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20990 (c-symbol-chars): Now exported as a lang variable.
20991 (c-not-primitive-type-keywords): New lang variable.
20992
20993 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20994 QT keyword "more" to prevent "more slots: ...." being spuriously
20995 parsed as a bitfield declaration.
20996
20997 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20998 Refactor and enhance to handle bitfield declarations.
20999 (c-punctuation-in): New function.
21000 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21001 declarations properly.
21002
21003 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21004
21005 * calendar/icalendar.el (icalendar--all-events): Take care of
21006 multiple vcalendars in a single file.
21007 (icalendar--convert-float-to-ical): Checkdoc fixes.
21008
21009 2011-07-25 Deniz Dogan <deniz@dogan.se>
21010
21011 * image.el (insert-image): Clarifying docstring.
21012
21013 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21014
21015 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21016 `tramp-send-command-and-check' if there is no error.
21017 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21018
21019 2011-07-22 Alan Mackenzie <acm@muc.de>
21020
21021 Prevent cc-langs.elc being loaded at run time.
21022
21023 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21024 cc-langs.
21025
21026 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21027 "(require 'cc-langs)". Quote a form so it will evaluate at
21028 (cc-mode's) compilation time.
21029
21030 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21031
21032 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21033 loading. (Bug#9114)
21034
21035 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21036
21037 * window.el (display-buffer-pop-up-window)
21038 (display-buffer-pop-up-side-window)
21039 (display-buffer-in-side-window): Call display-buffer-set-height
21040 and display-buffer-set-width after setting the new window's
21041 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21042
21043 2011-07-20 Sam Steingold <sds@gnu.org>
21044
21045 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21046 (etags-tags-included-tables): Call `convert-standard-filename' on
21047 the file names contained in TAGS so that windows Emacs can handle
21048 TAGS files created by cygwin ctags.
21049
21050 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21051
21052 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21053 which apparently didn't work.
21054
21055 2011-07-19 Roland Winkler <winkler@gnu.org>
21056
21057 * proced.el (proced-send-signal): For *Marked Processes* buffer
21058 put point at beginning of buffer.
21059
21060 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21061
21062 * proced.el (proced-format): Make header lines align with the text
21063 (bug#1779).
21064
21065 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21066
21067 * view.el (view-buffer): Allow running in `special' modes if we're
21068 visiting a file (bug#8615).
21069
21070 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21071
21072 * window.el (display-buffer-alist-of-strings-p)
21073 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21074 New functions.
21075 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21076 more accurately.
21077
21078 2011-07-18 Alan Mackenzie <acm@muc.de>
21079
21080 Fontify declarators properly when, e.g., a jit-lock chunk begins
21081 inside a declaration.
21082
21083 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21084
21085 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21086 New function.
21087 (c-complex-decl-matchers): Insert reference to
21088 c-font-lock-enclosing-decls.
21089
21090 * progmodes/cc-engine.el (c-backward-single-comment):
21091 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21092 to nil around calls to (forward-comment -1).
21093
21094 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21095
21096 * image.el (put-image): Doc typo fix.
21097
21098 * progmodes/etags.el (tags-search): Doc typo fix.
21099
21100 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21101 password if we get errors 550 to 554.
21102
21103 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21104
21105 * net/gnutls.el (gnutls-log-level): Remove.
21106
21107 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21108 indentation character (bug#6380).
21109
21110 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21111
21112 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21113 to clarify what the problem is (bug#4291).
21114
21115 * simple.el (current-kill): Clarify what
21116 `interprogram-paste-function' does (bug#7500).
21117 (auto-fill-mode): Document `auto-fill-function' in relation to
21118 `auto-fill-mode' (bug#2470).
21119
21120 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21121
21122 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21123 method if slot is read-only (bug#9035).
21124
21125 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21126
21127 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21128 * window.el (pop-to-buffer): Select window used even if it was
21129 selected before, see discussion of (Bug#8615), (Bug#6954).
21130 Pass argument NORECORD on to select-frame-set-input-focus.
21131
21132 2011-07-15 Glenn Morris <rgm@gnu.org>
21133
21134 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21135 Respect help-form.
21136
21137 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21138
21139 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21140 (gnutls-negotiate): Use it.
21141
21142 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21143
21144 * net/gnutls.el (gnutls-negotiate):
21145 Upcase `gnutls-algorithm-priority'.
21146
21147 2011-07-15 Glenn Morris <rgm@gnu.org>
21148
21149 * jka-compr.el (jka-compr-verbose): Move from here...
21150 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21151 Add missing :version tag.
21152 * info.el: No need to require jka-compr when compiling.
21153
21154 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21155
21156 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21157 (gnutls-negotiate): Use it.
21158
21159 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21160
21161 * info.el (Info-beginning-of-buffer): New command.
21162 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21163 announcing `b' as the key (bug#8325).
21164 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21165
21166 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21167
21168 * international/mule-cmds.el
21169 (describe-specified-language-support): Make the error message
21170 clearer (bug#8905).
21171
21172 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21173
21174 * isearch.el (isearch-barrier): Add a doc string, since it's
21175 mentioned in a function doc string (bug#8678).
21176
21177 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21178
21179 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21180 buffer argument (Bug#9083) and self-identifying label argument.
21181
21182 2011-07-15 Glenn Morris <rgm@gnu.org>
21183
21184 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21185
21186 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21187
21188 * man.el (Man-fontify-manpage): Fix message when formatting the
21189 man page (bug#7929).
21190
21191 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21192
21193 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21194 argument LRM; if non-nil, append an invisible LRM character to the
21195 buffer name.
21196 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21197 last argument non-nil, when formatting buffer names.
21198 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21199 paragraph direction.
21200
21201 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21202
21203 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21204 the man page name (bug#7929).
21205
21206 * image.el (put-image): Mention the `put-image' overlay property
21207 (bug#7834).
21208
21209 * scroll-bar.el (set-scroll-bar-mode): Mention that
21210 `scroll-bar-mode' lists the values (bug#7772).
21211
21212 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21213 command (bug#7729).
21214
21215 * rect.el (apply-on-rectangle): Return the point after the last
21216 operation.
21217 (string-rectangle): Go to the point after the last operation
21218 (bug#7522).
21219
21220 * printing.el (pr-toggle-region): Clarify the documentation
21221 slightly (bug#7493).
21222
21223 * time.el (display-time-update):
21224 Allow `display-time-mail-function' to return nil (bug#7158).
21225 Fix suggested by Detlev Zundel.
21226
21227 * vc/diff.el (diff): Clarify the order the file names are read
21228 (bug#7111).
21229
21230 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21231 the doc string (bug#7015).
21232
21233 * font-lock.el (font-lock-maximum-decoration): Mention what
21234 numeric levels mean (bug#6935).
21235
21236 * startup.el (initial-buffer-choice): Don't mention the `none'
21237 selection, which is against policy.
21238
21239 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21240
21241 * window.el (display-buffer-normalize-special):
21242 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21243
21244 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21245
21246 * subr.el (version<, version<=, version=): Mention "-CVS" and
21247 "-12345" alpha version numbers.
21248
21249 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21250
21251 * bindings.el: Add advertised binding for set-mark-command
21252 (Bug#5772).
21253
21254 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21255
21256 * bindings.el (mode-line-other-buffer):
21257 * bookmark.el (bookmark-bmenu-2-window):
21258 * bs.el (bs-cycle-next, bs-cycle-previous):
21259 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21260 switch-to-buffer.
21261
21262 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21263 Delete.
21264
21265 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21266
21267 * follow.el (follow-debug-message, follow-redisplay):
21268 * jka-cmpr-hook.el (with-auto-compression-mode):
21269 Fix typos in docstrings.
21270
21271 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21272
21273 * subr.el (with-silent-modifications): Clarify somewhat what the
21274 macro inhibits (bug#6525).
21275
21276 * simple.el (eval-expression): Note what it does if called
21277 interactively (bug#6495).
21278
21279 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21280
21281 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21282 Use pop-to-buffer buffer-or-name if it is nil.
21283
21284 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21285 Remove switch-to-buffer.
21286
21287 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21288
21289 * files.el (make-directory): Clarify that an error will be raised
21290 if there's an error (bug#6397).
21291
21292 * startup.el (initial-buffer-choice): Add `none' as a choice
21293 (bug#6234).
21294
21295 * subr.el (add-hook): Clarify section about buffer-local hooks
21296 (bug#6218).
21297
21298 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21299
21300 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21301
21302 * tabify.el (untabify): Preserve the current column so that point
21303 doesn't move (bug#6032).
21304
21305 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21306
21307 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21308 Rewrite to avoid awkward possessive "s" (bug#5986).
21309
21310 2011-07-13 Glenn Morris <rgm@gnu.org>
21311
21312 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21313 (dired-insert-directory): Give a message the first time
21314 if ls is found not to support --dired.
21315
21316 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21317
21318 * simple.el (toggle-truncate-lines): Clarify what is toggled
21319 (bug#5580). Text by Drew Adams.
21320
21321 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21322
21323 * simple.el (blink-matching-open): Make the error message from the
21324 last change less verbose.
21325
21326 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21327
21328 * font-lock.el (font-lock-comment-face): Use the high contrast
21329 "yellow" color for font-lock-comment-face on low color terminals
21330 using a dark background color (bug#4221).
21331
21332 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21333
21334 * dired.el (dired-insert-set-properties): Make the doc string
21335 reflect what it does now (bug#5325).
21336
21337 * simple.el (blink-matching-open): Say that we were unable to find
21338 the match within the limit, if we're limited (bug#5122).
21339
21340 * international/mule-cmds.el (prefer-coding-system): Add an
21341 example (bug#4869).
21342
21343 * progmodes/etags.el (tags-search): Document `file-list-form'
21344 (bug#4731).
21345
21346 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21347
21348 * net/browse-url.el (browse-url-default-browser)
21349 (browse-url-browser-function): Make the default browser choice a
21350 bit more logical (bug#4300). Also clean up the doc string.
21351
21352 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21353
21354 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21355 binary endings (bug#4440).
21356
21357 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21358
21359 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21360 which can be pretty annoying (bug#8971).
21361
21362 * jka-compr.el (jka-compr-verbose): New variable, and use
21363 throughout (bug#8971).
21364
21365 * info.el (Info-find-file): Fall back on the installation
21366 directory if we can't find the info node anywhere else.
21367
21368 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21369
21370 * vc/vc.el (vc-revert-file):
21371 Don't set file time-stamp in the past. (Bug#5181)
21372
21373 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21374
21375 * files.el (after-find-file): Give a better error message when
21376 trying to find a symlink that points to a file that doesn't exist
21377 (bug#4398).
21378
21379 * progmodes/cc-vars.el: Remove (probably) misleading comment
21380 (bug#4396).
21381
21382 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21383
21384 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21385
21386 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21387
21388 * mouse-sel.el: Hack restoring functionality, while keeping
21389 compatibility with 2010-07-03 changes to mouse selection.
21390 (mouse-sel-primary-overlay): New var.
21391 (mouse-sel-selection-alist): Use it.
21392 (mouse-sel-mode): Doc fix; remove points that are default features
21393 of mouse.el.
21394
21395 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21396
21397 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21398 Fix previous fix (bug#2490).
21399
21400 2011-07-12 Roland Winkler <winkler@gnu.org>
21401
21402 * textmodes/bibtex.el (bibtex-initialize):
21403 Use pop-to-buffer-same-window.
21404 (bibtex-search-entries): Fix interactive call.
21405
21406 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21407
21408 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21409 Fontise bytecomp Error lines more correctly (bug#2490).
21410 Fix suggested by Johan Bockgård.
21411
21412 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21413
21414 * dired-x.el (dired-guess-default): Use `delete-dups'.
21415
21416 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21417
21418 * dired.el (dired-mark-prompt):
21419 * dired-aux.el (dired-read-shell-command): Doc fix.
21420
21421 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21422
21423 * mail/sendmail.el (sendmail-query-once):
21424 Use `customize-save-variable' unconditionally, now that it works under
21425 emacs -Q.
21426
21427 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21428
21429 * cus-edit.el (custom-file): Take an optional no-error variable.
21430 (customize-save-variable): Set the variable, and give a warning if
21431 running under "emacs -q".
21432
21433 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21434
21435 * loadhist.el (unload-feature-special-hooks):
21436 Add `auto-coding-functions', `fill-nobreak-predicate' and
21437 `find-directory-functions' (bug#5327).
21438
21439 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21440
21441 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21442
21443 * cus-edit.el (custom-guess-name-alist): -alist variables should
21444 use the `alist' type (bug#3120). Suggested by Drew Adams.
21445
21446 * printing.el: Add documentation to all the `pr-toggle-' commands.
21447
21448 2011-07-11 Leo Liu <sdl.web@gmail.com>
21449
21450 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21451 backends where it makes sense (bug#2623).
21452
21453 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21454
21455 * dired-x.el (dired-guess-default): Remove duplicate shell command
21456 entries (bug#2028).
21457 (dired-guess-default): Fix grammar in doc string (bug#2028).
21458 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21459
21460 * subr.el (remove-duplicates): New conveniency function.
21461
21462 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21463
21464 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21465 (bug#1526).
21466
21467 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21468
21469 * window.el (display-buffer-normalize-default): Don't invert
21470 meaning of even-window-heights. Reported by Eli Zaretskii
21471 <eliz@gnu.org>.
21472
21473 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21474
21475 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21476
21477 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21478
21479 * window.el (display-buffer): Fix arguments to
21480 display-buffer-reuse-window in last change.
21481
21482 * faces.el (link): Use a less saturated blue on light backgrounds.
21483
21484 * startup.el (fancy-startup-text, fancy-about-text)
21485 (fancy-startup-tail): Use font-lock faces, for background safety.
21486
21487 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21488
21489 * emulation/viper-cmd.el (viper-change-state-to-vi):
21490 Limit triggering of abbrev expansion (Bug#9038).
21491
21492 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21493
21494 * window.el (display-buffer-default-specifiers): Remove.
21495 (display-buffer-macro-specifiers): Remove default specifiers.
21496 (display-buffer-alist): Default to nil.
21497 (display-buffer-reuse-window): New optional argument other-window.
21498 (display-buffer-pop-up-window): Allow splitting internal
21499 windows. Check whether a live window was created.
21500 (display-buffer-other-window-means-other-frame)
21501 (display-buffer-normalize-arguments): Rename to
21502 display-buffer-normalize-argument and rewrite. Set the
21503 other-window specifier.
21504 (display-buffer-normalize-special): New function.
21505 (display-buffer-normalize-options): Rename to
21506 display-buffer-normalize-default and rewrite.
21507 (display-buffer-normalize-options-inhibit): Remove.
21508 (display-buffer-normalize-specifiers): Rewrite.
21509 (display-buffer): Process other-window specifier and call
21510 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21511 more faithfully.
21512 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21513 (display-buffer-alist-set): Don't handle 'unset default values.
21514 (display-buffer-in-window, display-buffer-alist-set):
21515 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21516 <tassilo@member.fsf.org>.
21517
21518 2011-07-09 Leo Liu <sdl.web@gmail.com>
21519
21520 * register.el (insert-register): Restore accidental change on
21521 2011-06-26. (Bug#9028)
21522
21523 2011-07-09 Glenn Morris <rgm@gnu.org>
21524
21525 * subr.el (remq): Handle the empty list. (Bug#9024)
21526
21527 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21528
21529 * mail/sendmail.el (send-mail-function): No longer delay custom
21530 initialization.
21531 * custom.el (custom-initialize-delay): Doc fix.
21532
21533 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21534
21535 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21536
21537 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21538
21539 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21540 human-friendly prompt.
21541
21542 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21543
21544 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21545 provided by a particular plugin.
21546
21547 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21548
21549 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21550 save customizations (with "emacs -Q"), just set the variable
21551 instead of erroring out.
21552
21553 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21554
21555 2011-07-08 Juri Linkov <juri@jurta.org>
21556
21557 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21558 (archive-zip-update-case): Use 7z if found by `executable-find'.
21559 The order of searching the available programs is the same as in
21560 `archive-zip-extract' (bug#8968).
21561
21562 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21563
21564 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21565 (menu-bar-options-menu): Tweak descriptions.
21566
21567 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21568
21569 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21570 menu items into verb phrases (bug#1421). Also refill to fit under
21571 80 columns.
21572
21573 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21574
21575 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21576 (Info-read-node-name): Doc fix (Bug#1084).
21577
21578 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21579 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21580 (end-of-sexp, beginning-of-sexp)
21581 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21582 (forward-symbol, forward-same-syntax, word-at-point)
21583 (sentence-at-point): Doc fix (Bug#1144).
21584
21585 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21586
21587 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21588 should cover it (bug#1281).
21589
21590 * cus-edit.el (custom-show): Mark as obsolete.
21591
21592 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21593 negotiation fails, then possibly try again with a non-encrypted
21594 connection (bug#9017).
21595
21596 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21597 be used.
21598
21599 2011-07-07 Richard Stallman <rms@gnu.org>
21600
21601 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21602 property, and handle its changed format.
21603 Look for the correct line number.
21604 Use file's line contents (but not past first =) to find
21605 correct line in message.
21606
21607 2011-07-07 Kenichi Handa <handa@m17n.org>
21608
21609 * international/characters.el (build-unicode-category-table):
21610 Delete it.
21611 (unicode-category-table): Set it by unicode-property-table-internal.
21612
21613 * international/mule-cmds.el (char-code-property-alist): Move to
21614 to src/chartab.c.
21615 (get-char-code-property): Call unicode-property-table-internal to
21616 load a file. Call get-unicode-property-internal where necessary.
21617 (put-char-code-property): Call unicode-property-table-internal to
21618 load a file. Call put-unicode-property-internal where necessary.
21619 put-unicode-property-internal where necessary.
21620 (char-code-property-description):
21621 Call unicode-property-table-internal to load a file.
21622
21623 * international/charprop.el:
21624 * international/uni-bidi.el:
21625 * international/uni-category.el:
21626 * international/uni-combining.el:
21627 * international/uni-comment.el:
21628 * international/uni-decimal.el:
21629 * international/uni-decomposition.el:
21630 * international/uni-digit.el:
21631 * international/uni-lowercase.el:
21632 * international/uni-mirrored.el:
21633 * international/uni-name.el:
21634 * international/uni-numeric.el:
21635 * international/uni-old-name.el:
21636 * international/uni-titlecase.el:
21637 * international/uni-uppercase.el: Regenerate.
21638
21639 * loadup.el: Load international/charprop.el before
21640 international/characters.
21641
21642 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21643
21644 * window.el (next-buffer, previous-buffer): Signal an error if
21645 called from a minibuffer window.
21646
21647 * bindings.el: Revert 2011-07-04 change.
21648
21649 2011-07-06 Richard Stallman <rms@gnu.org>
21650
21651 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21652 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21653 Treat markers like ints.
21654 (rmail-mime-entity): Doc fix.
21655
21656 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21657
21658 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21659 defcustom again for backwards compatibility.
21660
21661 * simple.el (shell-command-on-region): Fill.
21662
21663 * dired-aux.el (dired-kill-line): Add a doc string.
21664
21665 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21666 to "\\sw\\|\\s_" (bug#358).
21667
21668 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21669 (dired-unmark-backward): Ditto.
21670 (dired-flag-backup-files): Ditto.
21671
21672 * dired-x.el (dired-mark-sexp): Ditto.
21673
21674 2011-07-06 Richard Stallman <rms@gnu.org>
21675
21676 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21677 (rmail-mime-entity): New arg TRUNCATED.
21678 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21679 New functions.
21680 (rmail-mime-save): Warn if entity is truncated.
21681 (rmail-mime-toggle-hidden): Likewise, for showing.
21682 (rmail-mime-process-multipart): Record when an entity is truncated.
21683
21684 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21685 if ENTITY is a string.
21686
21687 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21688
21689 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21690 of faces when `M-C-x'-ing their definitions (bug#8378).
21691 Also clean up the code slightly.
21692
21693 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21694 because that makes the colors go away.
21695
21696 * mail/sendmail.el (send-mail-function): Change the default to
21697 `sendmail-query-once'.
21698 (sendmail-query-once): Add an autoload cookie.
21699
21700 * net/network-stream.el (network-stream-open-starttls): Try using
21701 a plain connection even if the server offered STARTTLS, and we
21702 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21703 capability. This should make smtpmail.el work in slightly more
21704 configurations.
21705
21706 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21707
21708 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21709 New defun.
21710 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21711
21712 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21713
21714 * progmodes/sql.el: Version 3.0
21715 (sql-product-alist): Add product :completion-object,
21716 :completion-column, and :statement attributes.
21717 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21718 (sql-mode-syntax-table): Mark all punctuation.
21719 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21720 ansi keywords.
21721 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21722 (sql-mode-oracle-font-lock-keywords): Improve.
21723 (sql-oracle-show-reserved-words): New function for development.
21724 (sql-product-font-lock): Simplify for source code buffers.
21725 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21726 New functions.
21727 (sql-highlight-product): Set product specific syntax table.
21728 (sql-mode-map): Add statement movement functions.
21729 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21730 New variable.
21731 (sql-statement-regexp, sql-beginning-of-statement)
21732 (sql-end-of-statement, sql-signum): New functions.
21733 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21734 (sql-show-sqli-buffer): Bug fix.
21735 (sql-interactive-mode): Store connection data as buffer local.
21736 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21737 with sql-interactive-mode.
21738 (sql-save-connection): Save buffer local settings.
21739 (sql-connection-menu-filter): Change menu entry name.
21740 (sql-product-interactive): Bug fix.
21741 (sql-preoutput-hold): New variable.
21742 (sql-interactive-remove-continuation-prompt): Bug fixes.
21743 (sql-debug-redirect): New variable.
21744 (sql-str-literal): New function.
21745 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21746 Redesign.
21747 (sql-oracle-save-settings, sql-oracle-restore-settings)
21748 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21749 (sql-completion-object, sql-completion-column)
21750 (sql-completion-sqlbuf): New variables.
21751 (sql-build-completions-1, sql-build-completions)
21752 (sql-try-completion): New functions.
21753 (sql-read-table-name): Use them.
21754 (sql-contains-names): New buffer local variable.
21755 (sql-list-all, sql-list-table): Use it.
21756 (sql-oracle-completion-types): New variable.
21757 (sql-oracle-completion-object, sql-sqlite-completion-object)
21758 (sql-postgres-completion-object): New functions.
21759
21760 2011-07-06 Glenn Morris <rgm@gnu.org>
21761
21762 * window.el (pop-to-buffer): Doc fix.
21763
21764 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21765
21766 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21767
21768 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21769
21770 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21771
21772 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21773
21774 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21775
21776 * button.el (button): Inherit from link face. Suggested by Dan
21777 Nicolaescu.
21778
21779 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21780
21781 * progmodes/gdb-mi.el: Fit in 80 columns.
21782 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21783 switch-to-buffer.
21784
21785 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21786 if imenu is simply not configured (bug#8941).
21787
21788 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21789
21790 * allout.el (allout-post-undo-hook): New allout outline-change
21791 event hook to signal undo activity.
21792 (allout-post-command-business): Run allout-post-undo-hook if an
21793 undo just occurred.
21794 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21795 * allout-widgets.el (allout-widgets-after-undo-function):
21796 Ensure the integrity of the current item's decoration after it has been
21797 in the vicinity of an undo.
21798 (allout-widgets-mode): Include allout-widgets-after-undo-function
21799 on the new allout-post-undo-hook.
21800
21801 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21802
21803 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21804 Let define-derived-mode define it.
21805 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21806 cycles of abbrev-table inheritance (bug#8998).
21807
21808 2011-07-05 Roland Winkler <winkler@gnu.org>
21809
21810 * textmodes/bibtex.el: Add support for biblatex.
21811 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21812 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21813 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21814 (bibtex-entry-alist, bibtex-field-alist): New variables.
21815 (bibtex-entry-field-alist): Obsolete alias for
21816 bibtex-BibTeX-entry-alist.
21817 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21818 (bibtex-set-dialect): New command.
21819 (bibtex-entry-type, bibtex-entry-head)
21820 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21821 Bind via bibtex-set-dialect.
21822 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21823 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21824 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21825 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21826 Define via bibtex-set-dialect.
21827 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21828 Obey bibtex-no-opt-remove-re.
21829 (bibtex-vec-push, bibtex-vec-incr): New functions.
21830 (bibtex-format-entry, bibtex-field-list)
21831 (bibtex-print-help-message, bibtex-validate)
21832 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21833
21834 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21835
21836 * progmodes/compile.el (compilation-goto-locus):
21837 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21838 * bs.el (bs-cycle-next, bs-cycle-previous):
21839 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21840 * bindings.el (mode-line-other-buffer):
21841 * autoinsert.el (auto-insert):
21842 * arc-mode.el (archive-extract):
21843 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21844
21845 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21846
21847 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21848 Fix check of `emacs-lock-unlockable-modes'.
21849 Coerce true values of `emacs-lock--try-unlocking' to t.
21850
21851 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21852
21853 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21854 * emacs-lock.el: New file.
21855
21856 2011-07-05 Julien Danjou <julien@danjou.info>
21857
21858 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21859 than `boundp' to check if face is set.
21860
21861 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21862
21863 * register.el (registerv-make):
21864 * window.el (window-min-height): Fix typos in docstrings.
21865
21866 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21867
21868 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21869 Update doc string.
21870
21871 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21872
21873 * server.el (server-execute): Catch quit and call
21874 `server-return-error' to pass the error back to emacsclient and
21875 close the connection (bug#8942).
21876
21877 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21878
21879 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21880 insecure exception for current topic. Also note that auto-saves
21881 are handled differently.
21882
21883 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21884 State variables for tracking auto-save inhibition situation.
21885
21886 (allout-write-contents-hook-handler): Rename from
21887 'allout-write-file-hook-handler', and describe how it depends on
21888 write-contents-functions sensitivity to non-nil value to prevent
21889 file write.
21890
21891 (allout-auto-save-hook-handler): Remove. auto-save does not check
21892 this in individual buffers, only in the starting buffer, so this
21893 is not the right way for us to inhibit auto-save in a buffer
21894 according to its condition.
21895
21896 (allout-mode): Use new allout-write-contents-hook-handler, and
21897 only with write-contents-functions. Remove auto-save provisions -
21898 they're implemented elsewhere.
21899
21900 (allout-before-change-handler): If undo is in progress, note that
21901 for attention of allout-post-command-business.
21902
21903 (allout-post-command-business): If the command we're following was
21904 an undo, check for change in the status of encrypted items and
21905 adjust auto-save inhibitions accordingly.
21906
21907 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21908 according to whether there are or aren't any plain-text topics
21909 pending encryption.
21910
21911 (allout-inhibit-auto-save-info-for-decryption):
21912 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21913 if there are plain-text topics pending encryption.
21914
21915 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21916 buffer-saved-size and some allout state to not inhibit auto-saves
21917 if there are no longer any plain-text topics pending encryption.
21918
21919 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21920 No longer provide for exemption of the current topic.
21921
21922 2011-07-04 Juri Linkov <juri@jurta.org>
21923
21924 Add 7z operations to delete and save changed members (bug#8968).
21925 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21926 New defcustoms.
21927 (archive-7z-write-file-member): New function.
21928 (archive-7z-summarize): Fix the number of dashes in the
21929 listing output.
21930
21931 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21932
21933 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21934 (bug#8958).
21935
21936 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21937
21938 * bindings.el: Ignore next-buffer and previous-buffer in
21939 minibuffer-local-map.
21940
21941 * font-lock.el (font-lock-builtin-face): Change light background
21942 color to dark slate blue (Bug#6693).
21943
21944 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21945
21946 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21947
21948 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21949
21950 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21951 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21952 Add switch-to-buffer.
21953
21954 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21955
21956 * isearch.el (isearch-search-fun-function): Clarify further the
21957 meaning of the function returned.
21958
21959 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21960
21961 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21962
21963 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21964 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21965 Use it.
21966 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21967 `tramp-default-remote-path' does not exist.
21968 (tramp-send-command-and-read): New optional argument NOERROR.
21969 (tramp-open-connection-setup-interactive-shell)
21970 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21971 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21972 (tramp-process-sentinel): Flush also process' connection property.
21973 (tramp-sh-handle-start-file-process): Do not set process
21974 sentinel. It is done now ...
21975 (tramp-maybe-open-connection): ... here. (Bug#8929)
21976
21977 2011-07-04 MON KEY <monkey@sandpframing.com>
21978
21979 * play/animate.el (animate-string): Doc fixes and allow changing
21980 the buffer name (bug#5417).
21981
21982 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21983
21984 * play/animate.el (animation-buffer-name): Rename from *animate*.
21985
21986 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21987
21988 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21989 This is simpler and helps future-proof the code.
21990 (timer-until): Use time-subtract and float-time.
21991 (timer--time-less-p): Use time-less-p.
21992
21993 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21994
21995 * type-break.el (timep): Use the value of `float-time' to avoid a
21996 byte-compiler warning.
21997
21998 * server.el (server-eval-and-print): Return any result, even nil.
21999
22000 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22001
22002 * type-break.el: Accept time formats that the builtins accept.
22003 (timep, type-break-time-difference): Accept any format that
22004 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22005 This is simpler and helps future-proof the code.
22006 (type-break-time-difference): Round rather than ignoring
22007 subseconds components.
22008
22009 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22010
22011 * info.el (Info-apropos-matches): Make non-interactive, since it
22012 doesn't seem to do anything useful as a command (bug#8829).
22013
22014 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22015
22016 * frame.el (frame-background-mode, frame-set-background-mode):
22017 Move from faces.el.
22018 (frame-default-terminal-background): New function.
22019
22020 * custom.el (custom-push-theme): Don't record faces in `changed'
22021 theme; this doesn't work correctly for per-frame face settings.
22022 (disable-theme): Use face-set-after-frame-default to reset faces.
22023 (custom--frame-color-default): New function.
22024
22025 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22026
22027 * dired.el (dired-flagging-regexp): Remove unused variable
22028 (bug#8769).
22029
22030 2011-03-29 Kevin Ryde <user42@zip.com.au>
22031
22032 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22033 `perl-Test2' extend to match possible "fail #N" rep count
22034 (bug#8377).
22035
22036 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22037
22038 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22039 `smtpmail-via-smtp' now returns the error instead of nil.
22040
22041 * isearch.el (isearch-search-fun-function): Clarify the doc string
22042 (bug#8101).
22043
22044 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22045
22046 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22047 unnecessary spaces (bug#8987).
22048
22049 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22050
22051 * net/network-stream.el (open-network-stream): Use the
22052 :end-of-capability command thoughout.
22053
22054 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22055
22056 * net/network-stream.el (open-network-stream): Add the
22057 :end-of-capability command parameter, used by pop3.el.
22058
22059 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22060
22061 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22062
22063 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22064 for list)" (bug#6475).
22065
22066 * files.el (file-expand-wildcards): Ignore non-readable
22067 sub-directories while trying to find matches instead of signaling
22068 an error (bug#6297).
22069
22070 * man.el (Man-reference-regexp): Allow matching possible
22071 word-wrapped references (bug#6289).
22072
22073 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22074 for consistency with the other vc buffers (bug#6197).
22075 (vc-checkin): Ditto.
22076
22077 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22078
22079 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22080
22081 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22082
22083 * custom.el (defcustom): Clarify that :set is only used in the
22084 Customize user interface (bug#6089).
22085
22086 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22087 associated with a file, refuse to run instead of erroring out
22088 (bug#6084).
22089
22090 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22091 the doc string, since it appears that using `fill-column' always
22092 controls the width (bug#7845).
22093
22094 * simple.el (shell-command-on-region): Say where the error output
22095 went if `shell-command-default-error-buffer' is set (bug#6857).
22096
22097 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22098
22099 * allout.el (allout-yank-processing): Adjust cursor position for
22100 backwards-deleted space.
22101
22102 (allout-rebullet-heading): Register changes with
22103 allout-exposure-changed-hook, so the modified topic is properly
22104 decorated.
22105
22106 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22107
22108 * minibuffer.el (completion-in-region): Document PREDICATE
22109 (bug#7136).
22110
22111 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22112 of keyword/argument pairs (bug#6904).
22113
22114 * replace.el (multi-occur):
22115 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22116
22117 2011-07-02 Drew Adams <drew.adams@oracle.com>
22118
22119 * dired.el (dired-mark-if): Make the message about whether it's
22120 marking or unmarking clearer (bug#8523).
22121
22122 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22123
22124 * disp-table.el (display-table-print-array): New function.
22125 (describe-display-table): Use it to print the vectors more pretty
22126 (Bug#8859).
22127
22128 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22129
22130 * window.el (window-state-get-1): Don't assign clone numbers.
22131 Add clone-of item to list of window parameters.
22132 (window-state-put-2): Don't process clone numbers.
22133 (display-buffer-alist): Fix doc-string.
22134
22135 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22136
22137 * subr.el (remq): Don't allocate if it's not needed.
22138 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22139 (keymap--merge-bindings): New functions.
22140 (keymap-canonicalize): Use them to refine the canonicalization.
22141 * minibuffer.el (minibuffer-local-completion-map)
22142 (minibuffer-local-must-match-map): Move initialization from C.
22143 (minibuffer-local-filename-completion-map): Move initialization from C;
22144 don't inherit from anything here.
22145 (minibuffer-local-filename-must-match-map): Make obsolete.
22146 (completing-read-default): Use make-composed-keymap to combine
22147 minibuffer-local-filename-completion-map with either
22148 minibuffer-local-must-match-map or
22149 minibuffer-local-filename-completion-map.
22150
22151 2011-07-01 Glenn Morris <rgm@gnu.org>
22152
22153 * type-break.el (type-break-time-sum): Use dolist.
22154
22155 * textmodes/flyspell.el (flyspell-word-search-backward):
22156 Replace CL function.
22157
22158 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22159
22160 * mouse.el (mouse--strip-first-event): New function.
22161 (function-key-map): Use it to map fringe clicks to normal clicks
22162 by default.
22163
22164 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22165 (vc-bzr-revision-completion-table): Add support for annotate and date.
22166
22167 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22168 inherit from parent.
22169
22170 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22171
22172 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22173 (dired-show-file-type): Doc fixup (bug#8818).
22174
22175 * dired.el (dired-mode): Fix up the doc string as suggested by
22176 Drew Adams (bug#8817).
22177
22178 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22179 cookie, since the manual says that it should be possible to add
22180 this function to `find-file-hook' (bug#8709).
22181
22182 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22183
22184 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22185 here. Noted Ted Zlatanov as the maintainer.
22186 (cfengine-common-settings, cfengine-common-syntax): New functions
22187 to set up common things between `cfengine-mode' and
22188 `cfengine3-mode'.
22189 (cfengine3-mode): New mode.
22190 (cfengine3-defuns cfengine3-defuns-regex
22191 (cfengine3-class-selector-regex cfengine3-category-regex)
22192 (cfengine3-vartypes cfengine3-font-lock-keywords)
22193 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22194 (cfengine3-indent-line): Add from cfengine3.el.
22195
22196 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22197
22198 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22199
22200 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22201
22202 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22203
22204 * window.el (same-window-buffer-names, same-window-regexps)
22205 (same-window-p, special-display-frame-alist)
22206 (special-display-popup-frame, special-display-function)
22207 (special-display-buffer-names, special-display-regexps)
22208 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22209 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22210 (split-window-preferred-function, split-height-threshold)
22211 (split-width-threshold, even-window-heights)
22212 (display-buffer-mark-dedicated, window-splittable-p)
22213 (split-window-sensibly, window-safely-shrinkable-p):
22214 Un-obsolete.
22215 (display-buffer): Don't spread args with function specifier
22216 because special-display-popup-frame won't like it.
22217
22218 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22219
22220 Time-stamp simplifications and fixes.
22221 These improve accuracy slightly, and future-proof the code
22222 against some potential changes to current-time format.
22223
22224 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22225 by using time-since and float-time.
22226
22227 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22228 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22229 + NNN microseconds".
22230
22231 * type-break.el (type-break-time-sum): Rewrite using time-add.
22232
22233 * play/hanoi.el (hanoi-current-time-float): Remove.
22234 All uses replaced by float-time.
22235
22236 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22237 This yields a more-accurate answer.
22238 (rng-time-to-float): Remove; no longer needed.
22239
22240 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22241
22242 * calendar/timeclock.el (timeclock-seconds-to-time):
22243 Defalias to seconds-to-time, since they're the same thing.
22244
22245 * emacs-lisp/elp.el (elp-elapsed-time):
22246 * emacs-lisp/benchmark.el (benchmark-elapse):
22247 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22248
22249 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22250
22251 * window.el (bury-buffer): Don't iconify the only frame.
22252 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22253 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22254
22255 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22256
22257 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22258 Add mouse-yank-primary.
22259
22260 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22261
22262 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22263
22264 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22265
22266 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22267 (find-library-name): Use it to find relative load names when provided
22268 absolute file name (bug#8803).
22269
22270 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22271
22272 * textmodes/flyspell.el (flyspell-word): Consider words that
22273 differ only in case as potential doublons (bug#5687).
22274
22275 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22276 Remove two rather uninteresting debugging-like messages to make
22277 debbugs.el more silent.
22278
22279 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22280 a password-like phrase.
22281
22282 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22283
22284 * progmodes/cc-guess.el: New file.
22285
22286 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22287
22288 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22289 derived from `c-basic-common-init'.
22290
22291 * progmodes/cc-mode.el (top-level): Require cc-guess.
22292 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22293
22294 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22295
22296 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22297
22298 2011-06-30 Alan Mackenzie <acm@muc.de>
22299
22300 * progmodes/cc-engine.el (c-guess-continued-construct):
22301 Correct the handling of template-args-cont, particularly for when font
22302 lock is disabled. Name this case as "CASE G".
22303
22304 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22305
22306 * allout.el (allout-yank-processing): Fix injection of extra space
22307 between bullet and non-whitespace character in first topic when
22308 pasting, ensuring that the actual spacing in the pasted topic
22309 following the bullet char is preserved. This extra space was
22310 causing pasted encrypted topics to get a decrypted status even
22311 when the content was actually still encrypted. Now the decryption
22312 status from before the paste is preserved.
22313
22314 (allout-flag-region): Set all allout overlays so they evaporate
22315 when reduced to zero length (evanescent), to prevent overlay
22316 leakage.
22317
22318 2011-06-30 Glenn Morris <rgm@gnu.org>
22319
22320 * w32-fns.el (w32-charset-info-alist): Declare.
22321
22322 * find-dired.el (find-grep-options): Simplify.
22323
22324 * term/ns-win.el (ns-set-resource): Declare.
22325
22326 * ses.el (row, col): Declare dynamic variables honestly.
22327
22328 * textmodes/reftex-parse.el (index-tags): Declare.
22329
22330 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22331
22332 * cus-edit.el (customize-push-and-save): New function.
22333
22334 * files.el (hack-local-variables-confirm): Use it.
22335
22336 * custom.el (load-theme): New arg NO-CONFIRM.
22337 Use customize-push-and-save (Bug#8720).
22338 (custom-enabled-themes): Doc fix.
22339
22340 * cus-theme.el (customize-create-theme)
22341 (custom-theme-merge-theme): Callers to load-theme changed.
22342
22343 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22344
22345 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22346 short URLs have at least one dot in them (bug #7614).
22347
22348 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22349 nil, because using a pty is apparently too slow (bug #895).
22350
22351 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22352
22353 * mail/sendmail.el (sendmail-query-once): New function.
22354 (sendmail-query-once-function): New variable.
22355
22356 2011-06-29 Glenn Morris <rgm@gnu.org>
22357
22358 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22359
22360 * ses.el (top-level): Require cl when compiling.
22361 (ses-set-localvars): Fix error statement.
22362 Call it at compile time to silence a storm of warnings.
22363
22364 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22365
22366 * window.el (normalize-live-buffer): Rename to
22367 window-normalize-buffer.
22368 (normalize-live-frame): Rename to window-normalize-frame.
22369 (normalize-any-window): Rename to window-normalize-any-window.
22370 (normalize-live-window): Rename to window-normalize-live-window.
22371 (make-window-atom): Rename to window-make-atom.
22372 (window-resize-reset): Rename to window--resize-reset.
22373 (window-resize-reset-1): Rename to window--resize-reset-1.
22374 (resize-mini-window): Rename to window--resize-mini-window.
22375 (resize-subwindows-skip-p): Rename to
22376 window--resize-subwindows-skip-p.
22377 (resize-subwindows-normal): Rename to
22378 window--resize-subwindows-normal.
22379 (resize-subwindows): Rename to window--resize-subwindows.
22380 (resize-other-windows): Rename to window--resize-siblings.
22381 (resize-this-window): Rename to window--resize-this-window.
22382 (resize-root-window): Rename to window--resize-root-window.
22383 (resize-root-window-vertically): Rename to
22384 window--resize-root-window-vertically.
22385 (normalize-buffer-to-display): Rename to
22386 window-normalize-buffer-to-display.
22387 (normalize-buffer-to-switch-to): Rename to
22388 window-normalize-buffer-to-switch-to.
22389 Correspondingly update all callers of the functions listed
22390 above.
22391 (display-buffer-alist, display-buffer-normalize-arguments)
22392 (display-buffer-normalize-options, display-buffer)
22393 (display-buffer-alist-set): Use "function" instead of
22394 "fun-with-args".
22395
22396 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22397
22398 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22399 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22400 debbugs.gnu.org. Mention acknowledgment email.
22401
22402 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22403
22404 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22405 buffer multibyteness, since it shouldn't matter.
22406
22407 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22408
22409 * window.el (display-buffer-in-side-window): Handle dedicated
22410 windows as in display-buffer-reuse-window.
22411 (display-buffer-normalize-alist): Use value of override
22412 specifier.
22413 (display-buffer-normalize-specifiers): Use value of
22414 other-window-means-other-frame specifier.
22415 (display-buffer-alist): Rewrite some texts in widgets.
22416 (display-buffer): Spread arguments when calling function
22417 specified by fun-with-args.
22418
22419 2011-06-28 Deniz Dogan <deniz@dogan.se>
22420
22421 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22422 Unnest `let'.
22423
22424 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22425 selectors (Bug#5732).
22426 (css-proprietary-nmstart-re): Use `regexp-opt'.
22427
22428 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22429
22430 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22431 (eshell-ls-date-format): New defcustom.
22432 (eshell-ls-file): Use it.
22433
22434 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22435
22436 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22437
22438 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22439
22440 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22441 (ange-ftp-make-tmp-name): New arg.
22442 (ange-ftp-file-local-copy): Use it.
22443
22444 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22445
22446 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22447 no-conversion (Bug#8870).
22448
22449 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22450
22451 * window.el (window-right, window-left, window-child)
22452 (window-child-count, window-last-child)
22453 (window-iso-combination-p, walk-window-tree-1)
22454 (window-atom-check-1, window-tree-1, delete-window)
22455 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22456 new naming conventions - window-vchild, window-hchild,
22457 window-next and window-prev are now called window-top-child,
22458 window-left-child, window-next-sibling and window-prev-sibling
22459 respectively.
22460 (resize-window-reset): Rename to window-resize-reset.
22461 (resize-window-reset-1): Rename to window-resize-reset-1.
22462 (resize-window): Rename to window-resize.
22463 (window-min-height, window-min-width)
22464 (resize-mini-window, resize-this-window, resize-root-window)
22465 (resize-root-window-vertically, adjust-window-trailing-edge)
22466 (enlarge-window, shrink-window, maximize-window)
22467 (minimize-window, delete-window, quit-restore-window)
22468 (split-window, balance-windows, balance-windows-area-adjust)
22469 (balance-windows-area, window-state-put-2)
22470 (display-buffer-even-window-sizes, display-buffer-set-height)
22471 (display-buffer-set-width, set-window-text-height)
22472 (fit-window-to-buffer): Rename all "resize-window" prefixed
22473 calls to use the "window-resize" prefix convention.
22474 (display-buffer-alist): Fix symbol for label specifier.
22475 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22476 corresponding specifier.
22477 Reported by Juanma Barranquero <lekktu@gmail.com>.
22478
22479 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22480
22481 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22482 convention.
22483 (ses-call-printer): Does not pass an empty string to formatter when the
22484 cell is empty to keep from barking printer Calc math-format-value.
22485
22486 2011-06-27 Richard Stallman <rms@gnu.org>
22487
22488 * battery.el (battery-mode-line-limit): New variable.
22489 (battery-update): Handle it.
22490
22491 * mail/rmailmm.el (rmail-mime-process-multipart):
22492 Handle truncated messages.
22493
22494 2011-06-27 Glenn Morris <rgm@gnu.org>
22495
22496 * progmodes/flymake.el (flymake-err-line-patterns):
22497 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22498
22499 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22500
22501 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22502 (ses--clean-!, ses--clean-_): New functions.
22503 (ses-range): Add configurability of readout order, and conversion
22504 to Calc vector.
22505
22506 * ses.el (ses-repair-cell-reference-all): New function.
22507 (ses-cell-symbol): Set macro as safe, so that it can be used in
22508 formulas.
22509
22510 * ses.el: Update cycle detection algorithm.
22511 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22512 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22513 (ses-set-localvars): New function.
22514 (ses-make-cell): Add property-list as a cell element.
22515 (ses-cell-property-get-fun, ses-cell-property-get)
22516 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22517 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22518 New functions.
22519 (ses-cell-property-set, ses-cell-property-pop)
22520 (ses-cell-property-get-handle): New macro.
22521 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22522 New aliases, used for code readability.
22523 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22524 cycle detection.
22525 (ses-self-reference-early-detection): New defcustom.
22526 (ses-formula-references): Robustify against self-referring cells.
22527 (ses-mode): Use ses-set-localvars.
22528 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22529 before lauching the update processing.
22530 (ses-initialize-Dijkstra-attempt): New function.
22531 (ses-recalculate-cell): Update for cycle detection based on
22532 Dijkstra algorithm.
22533
22534 * ses.el: Fix commenting and indenting convention.
22535
22536 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22537
22538 * bs.el (bs-cycle-next): Complete last change.
22539
22540 2011-06-27 Drew Adams <drew.adams@oracle.com>
22541
22542 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22543
22544 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22545
22546 * net/network-stream.el (network-stream-open-starttls):
22547 Don't re-get capabilities unless we've reestablished connection.
22548 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22549
22550 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22551 to binary to possibly avoid line encoding issues on Windows (among
22552 other things).
22553
22554 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22555
22556 * net/network-stream.el (open-network-stream): Return an :error
22557 saying what the problem was, if possible.
22558
22559 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22560 server.
22561
22562 * net/network-stream.el (network-stream-open-starttls): If we
22563 wanted to use STARTTLS, and the server offered it, but we weren't
22564 able to because we had no STARTTLS support, then close the connection.
22565 (open-network-stream): Return an :error element, if present.
22566
22567 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22568
22569 * hl-line.el (hl-line-sticky-flag): Doc fix.
22570 (global-hl-line-sticky-flag): New option (Bug#8323).
22571 (global-hl-line-highlight): Obey it.
22572
22573 * vc/vc.el (vc-revert-show-diff): Default to t.
22574
22575 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22576
22577 * allout-widgets.el (allout-widgets-post-command-business):
22578 Stop decorating intermediate isearch matches. They're not being
22579 undecorated when an isearch is continued past, and isearch
22580 automatically collapses them. This leads to "widget leaks", where
22581 decorated items accumulate in collapsed areas. Lines with lots of
22582 hidden widgets can slow down cursor travel, substantially.
22583 Too much complicated machinery would be needed to ensure undecoration,
22584 so we're doing without this nicety.
22585
22586 (allout-widgets-tally-string): Don't try to do a hash-table-count
22587 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22588 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22589 *Messages* when allout-widgets-maintain-tally is t.
22590
22591 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22592
22593 * window.el (display-buffer-normalize-argument): Rename to
22594 display-buffer-normalize-arguments. Handle special meaning of
22595 LABEL argument. Respect special-display-function when popping up
22596 a new frame. Fix code searching for a window showing the buffer
22597 on another frame.
22598 (display-buffer-normalize-specifiers):
22599 Call display-buffer-normalize-arguments.
22600 (display-buffer-in-window): Don't undedicate the window if its
22601 buffer remains the same.
22602 Reported by Drew Adams <drew.adams@oracle.com>.
22603 (display-buffer-alist): Add choice for same-window macro
22604 specfier.
22605 (display-buffer): Mention special meaning of LABEL argument in
22606 doc-string. Fix quoting. Don't pop up a new frame even as
22607 fallback.
22608
22609 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22610
22611 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22612 avoid deleting the current window in some cases (bug#8911).
22613
22614 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22615
22616 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22617 (Bug#8934)
22618
22619 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22620
22621 * net/network-stream.el (network-stream-open-starttls):
22622 Use built-in TLS support if `gnutls-available-p' is true.
22623 (network-stream-open-tls): Ditto.
22624
22625 2011-06-26 Leo Liu <sdl.web@gmail.com>
22626
22627 * register.el (registerv): New struct.
22628 (registerv-make): New function.
22629 (jump-to-register, describe-register-1, insert-register):
22630 Support the jump-func, print-func and insert-func slot of a registerv
22631 struct. (Bug#8415)
22632
22633 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22634
22635 * vc/vc.el (vc-revert-show-diff): New defcustom.
22636 (vc-diff-internal): New arg specifying diff buffer.
22637 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22638 reuse an existing *vc-diff* buffer (Bug#8927).
22639
22640 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22641
22642 2011-06-26 Glenn Morris <rgm@gnu.org>
22643
22644 * progmodes/f90.el (f90-critical-indent): New option.
22645 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22646 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22647 (f90-mode): Doc fix.
22648 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22649 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22650 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22651 (f90-match-end): Handle block, critical.
22652
22653 2011-06-25 Glenn Morris <rgm@gnu.org>
22654
22655 * calendar/diary-lib.el (diary-included-files): Doc fix.
22656 (diary-include-files): New function, extracted from
22657 diary-include-other-diary-files and diary-mark-included-diary-files.
22658 (diary-include-other-diary-files, diary-mark-included-diary-files):
22659 Just call diary-include-files.
22660 (diary-mark-entries): Reset diary-included-files on first call.
22661
22662 * calendar/diary-lib.el (diary-mark-entries)
22663 (diary-mark-included-diary-files):
22664 Visit included diary-files in temp buffers.
22665
22666 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22667 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22668 (f90-start-block-re, f90-imenu-generic-expression)
22669 (f90-looking-at-program-block-start, f90-no-block-limit):
22670 Add support for submodules.
22671
22672 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22673 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22674
22675 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22676
22677 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22678 buffer-file-type before setting its value, to avoid disastrous
22679 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22680
22681 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22682
22683 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22684
22685 * ses.el (ses-unload-function):
22686 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22687
22688 * proced.el (proced-unload-function):
22689 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22690
22691 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22692
22693 * server.el (server-create-window-system-frame): Add parameters arg.
22694 (server-process-filter): Doc fix. Handle frame-parameters.
22695
22696 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22697
22698 Fix bug#8730, bug#8781.
22699
22700 * loadhist.el (unload--set-major-mode): New function.
22701 (unload-feature): Use it.
22702
22703 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22704 (python-unload-function): New function.
22705
22706 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22707
22708 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22709
22710 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22711
22712 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22713 the candidates list.
22714
22715 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22716
22717 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22718
22719 2011-06-23 Richard Stallman <rms@gnu.org>
22720
22721 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22722 (rmail-variables): Set next-error-move-function.
22723 (rmail-what-message): Take argument POS.
22724 (rmail-next-error-move): New function.
22725
22726 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22727
22728 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22729 messages for adjacent non-terminals.
22730
22731 2011-06-23 Richard Stallman <rms@gnu.org>
22732
22733 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22734 (rmail-show-message-1): Preserve buffer modified flag.
22735 (rmail-start-mail): Don't specify use of rmail-mail-return;
22736 that's done by mail-bury now.
22737 (rmail-mail-return): Handle arg NEWBUF.
22738
22739 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22740
22741 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22742 SIZE is a number.
22743
22744 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22745
22746 * window.el (get-lru-window, get-mru-window)
22747 (get-largest-window): Never return a minibuffer window.
22748 (display-buffer-pop-up-window): Fix a bug that could lead to
22749 reusing the minibuffer window.
22750 (display-buffer): Pass original specifier argument to
22751 display-buffer-function instead of the normalized one.
22752 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22753
22754 2011-06-22 Leo Liu <sdl.web@gmail.com>
22755
22756 * minibuffer.el (completing-read-function)
22757 (completing-read-default): Move from minibuf.c.
22758
22759 2011-06-22 Richard Stallman <rms@gnu.org>
22760
22761 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22762 to Rmail even if not started by a special Rmail command.
22763
22764 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22765 Copy the buffer currently showing just one message.
22766
22767 2011-06-22 Roland Winkler <winkler@gnu.org>
22768
22769 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22770 (bibtex-clean-entry): First delete the old key so that a
22771 customized algorithm for generating the new key does not get
22772 confused by the old key.
22773 (bibtex-url): Obey regexp of first step.
22774 (bibtex-search-entries): Do not use add-to-list with local
22775 list-var.
22776
22777 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22778
22779 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22780 stored a user name, then query for the password first, instead of
22781 waiting for SMTP to give an error message and the trying again.
22782
22783 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22784
22785 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22786 BUFFER in call-process.
22787
22788 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22789
22790 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22791 QUIT twice.
22792 (smtpmail-try-auth-methods): Require user name and password from
22793 auth-source.
22794
22795 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22796
22797 * window.el (display-buffer-default-specifiers)
22798 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22799 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22800 (split-window): Normalize SIDE argument (Bug#8916).
22801
22802 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22803 (special-display-frame-alist, special-display-popup-frame):
22804 Remove duplicate declarations. These are now in window.el.
22805
22806 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22807
22808 * mail/smtpmail.el (smtpmail-via-smtp):
22809 Set :use-starttls-if-possible so that we always use STARTTLS if the
22810 server supports it. SMTP servers that support STARTTLS commonly
22811 require it.
22812
22813 * net/network-stream.el (network-stream-open-starttls): Support
22814 upgrading to STARTTLS always, even if we don't have built-in support.
22815 (open-network-stream): Add the :always-query-capabilities keyword.
22816
22817 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22818 upgrades with `open-network-stream', and rely solely on
22819 auth-source for all credentials. Big changes throughout the file,
22820 but in particular:
22821 (smtpmail-auth-credentials): Remove.
22822 (smtpmail-starttls-credentials): Remove.
22823 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22824 MAIL FROM, too.
22825
22826 * net/network-stream.el (network-stream-open-starttls):
22827 Provide support for client certificates both for external and built-in
22828 STARTTLS.
22829 (auth-source): Require.
22830 (open-network-stream): Document the :client-certificate keyword.
22831 (network-stream-certificate): Change cert-cert to cert and
22832 cert-key to key.
22833
22834 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22835
22836 * net/tramp-cache.el (top): Don't load the persistency file when
22837 "emacs -Q" has been called.
22838
22839 2011-06-21 Tim Harper <timcharper@gmail.com>
22840
22841 * term/ns-win.el (ns-initialize-window-system):
22842 Set application-specific `ApplePressAndHoldEnabled' system
22843 resource to NO as it is not yet supported by the NS port.
22844
22845 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22846
22847 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22848 (list-dynamic-libraries): ...not here.
22849
22850 2011-06-21 Leo Liu <sdl.web@gmail.com>
22851
22852 * subr.el (sha1): Implement sha1 using secure-hash.
22853
22854 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22855
22856 * window.el (display-buffer-alist): In default value do not
22857 enforce searching a window on any but the selected frame.
22858 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22859 (display-buffer-select-window): Remove function.
22860 (display-buffer-in-window): When a window on another frame gets
22861 reused, do not select it any more but just raise its frame if
22862 necessary (Bug#8851) and (Bug#8856).
22863 (display-buffer-normalize-options): Handle pop-up-frames related
22864 options more faithfully.
22865 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22866 window if it is on another frame.
22867 (display-buffer-alist, display-buffer-default-specifiers):
22868 Don't make new frame unsplittable by default.
22869 (display-buffer-normalize-argument): Fix doc-string typo and use
22870 'same-frame-other-window instead of 'other-window when associating
22871 with display-buffer-macro-specifiers.
22872
22873 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22874
22875 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22876 New functions.
22877 (5x5-mode-map, 5x5-mode-menu): Bind them.
22878 (5x5-draw-grid): Tweak the solver's rendering.
22879
22880 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22881
22882 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22883 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22884
22885 2011-06-21 Drew Adams <drew.adams@oracle.com>
22886
22887 * menu-bar.el: Use function variable instead of switch-to-buffer.
22888 (menu-bar-select-buffer-function): New variable.
22889 (menu-bar-update-buffers): Use it (bug#8876).
22890
22891 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22892
22893 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22894 variable's status.
22895
22896 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22897
22898 * x-dnd.el (x-dnd-version-from-flags)
22899 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22900 and long as number (Bug#8899).
22901 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22902
22903 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22904
22905 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22906 (completion-try-completion, completion-all-completions): Compute the
22907 metadata argument if it's missing; make it optional (bug#8795).
22908
22909 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22910 (widget-complete): Use new :completion-function property.
22911 (widget-completions-at-point): New function.
22912 (default): Use :completion-function instead of :complete.
22913 (widget-default-completions): Rename from widget-default-complete;
22914 Rewrite.
22915 (widget-string-complete, widget-file-complete, widget-color-complete):
22916 Remove functions.
22917 (file, symbol, function, variable, coding-system, color):
22918 * international/mule-cmds.el (default-input-method, charset)
22919 (language-info-custom-alist):
22920 * cus-edit.el (face): Use new property :completions.
22921
22922 * progmodes/pascal.el (pascal-completions-at-point): New function.
22923 (pascal-mode): Use it.
22924 (pascal-mode-map): Use completion-at-point.
22925 (pascal-toggle-completions): Make obsolete.
22926 (pascal-complete-word, pascal-show-completions):
22927 * progmodes/octave-mod.el (octave-complete-symbol):
22928 Redefine as obsolete alias.
22929 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22930 Signal absence of completion info for old Octave,
22931 (inferior-octave-complete): Redefine as obsolete alias.
22932 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22933 (meta-completions-at-point): Rename from meta-complete-symbol and
22934 adapt it for use on completion-at-point-functions.
22935 (meta-common-mode): Use it.
22936 (meta-looking-at-backward, meta-match-buffer): Remove.
22937 (meta-complete-symbol): Redefine as obsolete alias.
22938 (meta-common-mode-map): Use completion-at-point.
22939 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22940 (makefile-mode-map): Use completion-at-point.
22941 (makefile-completions-at-point): Rename from makefile-complete and
22942 adapt it for use on completion-at-point-functions.
22943 (makefile-mode): Use it.
22944 (makefile-complete): Redefine as obsolete alias.
22945
22946 2011-06-20 Deniz Dogan <deniz@dogan.se>
22947
22948 * net/rcirc.el: Delete trailing whitespaces once and for all.
22949
22950 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22951
22952 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22953
22954 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22955
22956 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22957
22958 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22959
22960 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22961
22962 * window.el (display-buffer-other-window-means-other-frame):
22963 Call display-buffer-normalize-alist.
22964 (display-buffer-normalize-specifiers-1): Rename to
22965 display-buffer-normalize-argument. New argument other-frame.
22966 Rewrite.
22967 (display-buffer-normalize-specifiers-2): Rename to
22968 display-buffer-normalize-options.
22969 (display-buffer-normalize-alist-1): New function.
22970 (display-buffer-normalize-specifiers-3): Rename to
22971 display-buffer-normalize-alist.
22972 Call display-buffer-normalize-alist-1.
22973 (display-buffer-normalize-options-inhibit): New variable.
22974 (display-buffer-normalize-specifiers): Rewrite calling
22975 display-buffer-normalize-alist,
22976 display-buffer-normalize-argument, and
22977 display-buffer-normalize-options. Don't call the latter if
22978 display-buffer-normalize-options-inhibit is non-nil.
22979 (frame-auto-delete): New option.
22980 (window-deletable-p): Use frame-auto-delete.
22981 (window-list-no-nils, window-state-ignored-parameters)
22982 (window-state-get-1, window-state-get, window-state-put-list)
22983 (window-state-put-1, window-state-put-2, window-state-put):
22984 New functions.
22985 (display-buffer-normalize-options): Move special-display-p group
22986 after pop-up-frame group (Bug#8851) and (Bug#8856).
22987
22988 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22989
22990 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22991 groups (Bug#8776).
22992 (rx-submatch-n): New function.
22993 (rx): Document it.
22994
22995 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22996 (Bug#8768).
22997
22998 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22999
23000 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23001
23002 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23003 anytime existing face settings are present (Bug#8889).
23004
23005 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23006 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23007 Remove unused argument.
23008
23009 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23010
23011 * window.el (display-buffer-default-specifiers):
23012 Remove pop-up-frame. Add pop-up-window-min-height,
23013 pop-up-window-min-width, and another reuse-window specifier
23014 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23015 (display-buffer-normalize-specifiers-2):
23016 Handle split-height-threshold and split-width-threshold also when
23017 pop-up-windows is unset. Add a reuse-window specifier for the
23018 case popping up a new window fails.
23019 (special-display-popup-frame): Remove double quoting.
23020 (display-buffer-normalize-specifiers-1): Fix thinko.
23021
23022 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23023
23024 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23025 according to comint-completion-addsuffix.
23026
23027 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23028 (pcomplete-suffix-list): Mark as obsolete.
23029 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23030 pcomplete-seen in the closure.
23031 (pcomplete-comint-setup): Setup completion-at-point as well.
23032 (pcomplete--entries): New function.
23033 (pcomplete--env-regexp): New var.
23034 (pcomplete-entries): Rewrite to work with partial-completion and
23035 without relying on pcomplete-suffix-list.
23036 (pcomplete-pare-list): Remove, unused.
23037
23038 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23039
23040 * window.el (display-buffer-alist): Set pop-up-window-min-height
23041 and pop-up-window-min-width in default value. Reported by
23042 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23043 other-window-means-other-frame.
23044 (display-buffer-macro-specifiers): Comment out entry for
23045 other-window specifier.
23046 (display-buffer-other-window-means-other-frame): New function.
23047 (display-buffer-normalize-specifiers-1): New arguments
23048 buffer-name and label. Treat other-window case specially.
23049 (display-buffer-normalize-specifiers-2): Treat other-window case
23050 specially.
23051 (display-buffer-normalize-specifiers-3): New function.
23052 (display-buffer-normalize-specifiers):
23053 Call display-buffer-normalize-specifiers-3.
23054
23055 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23056
23057 * window.el (same-window-p): Fix two typos introduced when
23058 adding with-no-warnings.
23059 (display-buffer-normalize-specifiers-1): Don't check
23060 pop-up-frames for 'unset initialization.
23061 (display-buffer-normalize-specifiers-2): Major rewrite using
23062 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23063 (pop-up-frames, display-buffer-reuse-frames)
23064 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23065 Suggested by David Engster <deng@randomsample.de>.
23066 (even-window-heights): Initialize to 'unset.
23067 (display-buffer-alist-set): Handle new 'unset initializations.
23068 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23069 other window case.
23070
23071 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23072
23073 * window.el (display-buffer-normalize-specifiers-1):
23074 Respect current value of pop-up-frames for most reasonable values of
23075 second argument of display-buffer (Bug#8865).
23076 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23077 (switch-to-buffer-other-window-same-frame)
23078 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23079 Adams (Bug#8875).
23080 (display-buffer): Don't check noninteractive when calling
23081 display-buffer-pop-up-frame.
23082 (display-buffer-pop-up-frame): Never pop up a frame in
23083 noninteractive mode (Bug#8857).
23084 (enlarge-window, shrink-window): Don't report an error when the
23085 window can't be resized as requested (Bug#8862).
23086
23087 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23088
23089 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23090
23091 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23092
23093 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23094
23095 2011-06-15 Alan Mackenzie <acm@muc.de>
23096
23097 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23098 for declarators, disable knr checking to speed up for normal files.
23099 2: Refactor, replacing a sequence of nested if forms by a cond form.
23100
23101 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23102
23103 * net/network-stream.el (open-network-stream): Add the keyword
23104 :always-query-capabilities for the case where you want to force a
23105 `plain' network connection, but the protocol still requires the
23106 capabilitiy command (i.e., SMTP and EHLO).
23107
23108 * subr.el (process-live-p): Rename from `process-alive-p' for
23109 consistency with other `-live-p' functions.
23110
23111 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23112
23113 * window.el (same-window-buffer-names, same-window-regexps)
23114 (special-display-frame-alist, special-display-popup-frame)
23115 (special-display-function, special-display-buffer-names)
23116 (special-display-regexps, pop-up-frame-alist)
23117 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23118 (pop-up-windows, split-window-preferred-function)
23119 (split-height-threshold, split-width-threshold, even-window-heights)
23120 (display-buffer-mark-dedicated): Don't encourage the use of
23121 display-buffer-alist from Elisp code.
23122
23123 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23124
23125 * progmodes/python.el (python-mode): Derive from prog-mode.
23126 * progmodes/ps-mode.el (ps-mode):
23127 * progmodes/mixal-mode.el (mixal-mode):
23128 * progmodes/cfengine.el (cfengine-mode):
23129 * progmodes/ld-script.el (ld-script-mode): Likewise.
23130
23131 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23132
23133 * window.el (display-buffer-alist): Trim default value to avoid
23134 popping up a new frame (Bug#8857) or reusing an arbitrary window
23135 on another frame.
23136 (display-buffer): Do not fall back on popping up a new frame in
23137 batch mode (Bug#8857).
23138
23139 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23140
23141 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23142 (custom-theme-summary): New function.
23143 (customize-themes): Use it.
23144
23145 2011-06-13 Glenn Morris <rgm@gnu.org>
23146
23147 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23148
23149 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23150
23151 * help.el (help-window): Remove variable.
23152 (help-window-point-marker, temp-buffer-max-height)
23153 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23154 (help-print-return-message): Don't set help-window.
23155 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23156 (help-window-setup-finish): Remove.
23157 (help-window-display-message, help-window-setup)
23158 (with-help-window): Major rewrite based on new
23159 display-buffer-window variable.
23160
23161 * help-mode.el (help-mode-finish): Remove help-window related
23162 code.
23163
23164 * view.el (view-exits-all-viewing-windows): Remove reference to
23165 view-return-to-alist in doc-string.
23166 (view-return-to-alist): Make obsolete.
23167 (view-buffer): Call pop-to-buffer-same-window and remove
23168 undo-window code.
23169 (view-buffer-other-window): Call pop-to-buffer-other-window and
23170 simplify code. Ignore second argument.
23171 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23172 simplify code. Ignore second argument.
23173 (view-return-to-alist-update): Make obsolete.
23174 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23175 Rewrite using quit-restore window parameters.
23176 (view-mode-exit): Rename second argument to EXIT-ONLY.
23177 Rewrite using quit-restore-window.
23178 (View-exit, View-exit-and-edit, View-leave, View-quit)
23179 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23180 appropriate arguments.
23181 (view-end-message): Use quit-restore window parameter.
23182
23183 * window.el (display-buffer-function): Rewrite doc-string.
23184 (display-buffer-window, display-buffer-alist): New variables.
23185 (display-buffer-split-specifiers)
23186 (display-buffer-side-specifiers)
23187 (display-buffer-macro-specifiers): New constants.
23188 (display-buffer-even-window-sizes, display-buffer-set-height)
23189 (display-buffer-set-width, display-buffer-select-window)
23190 (display-buffer-in-window, display-buffer-reuse-window)
23191 (display-buffer-split-window-1, display-buffer-split-window)
23192 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23193 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23194 (display-buffer-in-side-window, normalize-buffer-to-display)
23195 (display-buffer-normalize-specifiers-1)
23196 (display-buffer-normalize-specifiers-2)
23197 (display-buffer-normalize-specifiers, display-buffer-frame):
23198 New functions.
23199 (display-buffer): Major rewrite.
23200 (display-buffer-other-window, display-buffer-other-frame)
23201 (pop-to-buffer, switch-to-buffer-other-window)
23202 (switch-to-buffer-other-frame): Rewrite.
23203 (display-buffer-same-window, display-buffer-same-frame)
23204 (display-buffer-same-frame-other-window)
23205 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23206 (pop-to-buffer-other-window)
23207 (pop-to-buffer-same-frame-other-window)
23208 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23209 (switch-to-buffer-other-window-same-frame): New functions.
23210 (same-window-p, special-display-p): Rewrite disabling warnings.
23211 Make obsolete.
23212 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23213 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23214 Make obsolete
23215 (same-window-buffer-names, same-window-regexps)
23216 (special-display-frame-alist, special-display-popup-frame)
23217 (special-display-function, special-display-buffer-names)
23218 (special-display-regexps, pop-up-frame-alist)
23219 (pop-up-frame-function, split-window-preferred-function)
23220 (split-height-threshold, split-width-threshold)
23221 (even-window-heights): Make obsolete.
23222
23223 2011-06-12 Glenn Morris <rgm@gnu.org>
23224
23225 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23226 Misc simplifications.
23227
23228 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23229
23230 * window.el (window-safely-shrinkable-p): Restore function which
23231 was inadvertently removed in change from 2011-06-11. Declare as
23232 obsolete.
23233
23234 * calendar/calendar.el (calendar-generate-window):
23235 Use window-iso-combined-p instead of combination of one-window-p and
23236 window-safely-shrinkable-p.
23237
23238 2011-06-12 Glenn Morris <rgm@gnu.org>
23239
23240 * progmodes/fortran.el (fortran-mode-syntax-table):
23241 * progmodes/f90.el (f90-mode-syntax-table):
23242 Set % to punctuation. (Bug#8820)
23243 (f90-find-tag-default): Remove, no longer needed.
23244
23245 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23246
23247 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23248
23249 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23250
23251 * image.el (image-animated-p): Return animation delay in seconds.
23252 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23253 (image-animate-timeout): Remove DELAY argument. Don't assume
23254 every subimage has the same delay; get it from image-animated-p.
23255 (image-animate): Caller changed.
23256
23257 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23258
23259 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23260 to ignored backtrace functions.
23261
23262 2011-06-11 Glenn Morris <rgm@gnu.org>
23263
23264 * calendar/appt.el (appt-disp-window-function): Doc fix.
23265 (appt-check): Handle overlapping appointments. (Bug#8337)
23266
23267 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23268
23269 * window.el (window-tree-1, window-tree): New functions, moving
23270 the latter to window.el.
23271 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23272 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23273 (bw-refresh-edges): Remove.
23274 (balance-windows-1, balance-windows-2): New functions.
23275 (balance-windows): Rewrite in terms of window tree functions,
23276 balance-windows-1 and balance-windows-2.
23277 (bw-adjust-window): Remove.
23278 (balance-windows-area-adjust): New function with functionality of
23279 bw-adjust-window but using resize-window.
23280 (set-window-text-height): Rewrite doc-string.
23281 Use normalize-live-window and resize-window.
23282 (enlarge-window-horizontally, shrink-window-horizontally):
23283 Rename argument to DELTA.
23284 (window-buffer-height): New function.
23285 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23286 Rewrite using new window resize routines.
23287 (kill-buffer-and-window, mouse-autoselect-window-select):
23288 Use ignore-errors instead of condition-case.
23289 (quit-window): Call delete-frame instead of delete-windows-on
23290 for the only buffer on frame.
23291
23292 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23293
23294 * loadup.el (top-level): Load window before files for the sake
23295 of replace-buffer-in-windows.
23296
23297 * files.el (read-buffer-to-switch)
23298 (switch-to-buffer-other-window)
23299 (switch-to-buffer-other-frame, display-buffer-other-frame):
23300 Move to window.el.
23301
23302 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23303 (previous-buffer): Move to window.el.
23304
23305 * bindings.el (unbury-buffer): Move to window.el.
23306
23307 * window.el (delete-other-windows-vertically): Move after
23308 definition of delete-other-windows.
23309 (other-window, delete-windows-on, replace-buffer-in-windows):
23310 Move here from window.c.
23311 (record-window-buffer, unrecord-window-buffer)
23312 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23313 (switch-to-next-buffer): New functions.
23314 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23315 from simple.el. Call switch-to-next-buffer.
23316 (previous-buffer): Move here from simple.el.
23317 Call switch-to-prev-buffer.
23318 (bury-buffer): Move here from buffer.c. Switch to previous
23319 buffer when window cannot be deleted.
23320 (unbury-buffer): Move here from bindings.el.
23321 (ctl-x-map): Move binding for other-window from window.c to
23322 here.
23323 (read-buffer-to-switch, switch-to-buffer-other-window)
23324 (switch-to-buffer-other-frame): Move here from files.el.
23325 (normalize-buffer-to-switch-to): New functions.
23326 (switch-to-buffer): Move here from buffer.c.
23327 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23328
23329 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23330
23331 * window.el (window-min-height, window-min-width): Move here
23332 from window.c. Add defcustoms and rewrite doc-strings.
23333 (resize-mini-window, resize-window): New functions.
23334 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23335 Move here from window.c.
23336 (maximize-window, minimize-window): New functions.
23337 (delete-window, delete-other-windows, split-window): Move here
23338 from window.c.
23339 (window-split-min-size): New function.
23340 (split-window-keep-point): Mention split-window-above-each-other
23341 instead of split-window-vertically.
23342 (split-window-above-each-other, split-window-vertically):
23343 Rename split-window-vertically to split-window-above-each-other
23344 and provide defalias for old definition.
23345 (split-window-side-by-side, split-window-horizontally):
23346 Rename split-window-horizontally to split-window-side-by-side
23347 and provide defalias for the old definition.
23348 (ctl-x-map): Move bindings for delete-window,
23349 delete-other-windows and enlarge-window here from window.c.
23350 Replace bindings for split-window-vertically and
23351 split-window-horizontally by bindings for
23352 split-window-above-each-other and split-window-side-by-side.
23353
23354 * cus-start.el (all): Remove entries for window-min-height and
23355 window-min-width. Add entries for window-splits and
23356 window-nest.
23357
23358 2011-06-09 Glenn Morris <rgm@gnu.org>
23359
23360 * calendar/appt.el (appt-mode-line): New function.
23361 (appt-check, appt-disp-window): Use it.
23362
23363 * files.el (hack-one-local-variable-eval-safep):
23364 Allow minor-modes with explicit +/-1 arguments.
23365
23366 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23367
23368 * term/xterm.el (xterm): Add defgroup.
23369 (xterm-extra-capabilities): Add defcustom to supply known xterm
23370 capabilities, skip querying them, or query them (default).
23371 (terminal-init-xterm): Use it.
23372 (terminal-init-xterm-modify-other-keys): New function to set up
23373 modifyOtherKeys support to simplify `terminal-init-xterm'.
23374
23375 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23376
23377 * window.el (resize-window-reset, resize-window-reset-1)
23378 (resize-subwindows-skip-p, resize-subwindows-normal)
23379 (resize-subwindows, resize-other-windows, resize-this-window)
23380 (resize-root-window, resize-root-window-vertically)
23381 (window-deletable-p, window-or-subwindow-p)
23382 (frame-root-window-p): New functions.
23383
23384 2011-06-09 Glenn Morris <rgm@gnu.org>
23385
23386 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23387 (ange-ftp-get-files): Use it.
23388
23389 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23390
23391 * mail/sendmail.el (mail-recover-1, mail-recover):
23392 * files.el (recover-file, recover-session):
23393 Handle dired-listing-switches not being just a single short option.
23394
23395 2011-06-09 Glenn Morris <rgm@gnu.org>
23396
23397 * calendar/appt.el (appt-display-message, appt-disp-window):
23398 Handle lists of appointments.
23399
23400 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23401
23402 * window.el (one-window-p): Move down in code.
23403 Rewrite doc-string.
23404 (window-current-scroll-bars): Rewrite doc-string.
23405 Normalize live window argument.
23406 (walk-windows, get-window-with-predicate, count-windows):
23407 Rewrite doc-string. Use window-list-1.
23408 (window-in-direction-2, window-in-direction, get-mru-window):
23409 New functions.
23410
23411 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23412
23413 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23414 Doc fix (Bug#8713).
23415
23416 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23417
23418 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23419
23420 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23421
23422 * loadhist.el (unload-feature-special-hooks):
23423 Add `comint-output-filter-functions'.
23424
23425 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23426
23427 * calendar/appt.el (appt-check): Move some initializations into the let.
23428
23429 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23430
23431 * window.el (window-height): Defalias to window-total-height.
23432 (window-width): Defalias to window-body-width.
23433
23434 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23435
23436 * image-mode.el (image-toggle-animation): New command.
23437 (image-mode-map): Bind it to RET.
23438 (image-mode): Update message.
23439 (image-toggle-display-image): Avoid a spurious cache flush.
23440 (image-transform-rotation): Doc fix.
23441 (image-transform-properties): Return quickly in the normal case.
23442 (image-animate-loop): Rename from image-animate-max-time.
23443
23444 * image.el (image-animate-max-time): Move to image-mode.el.
23445 (create-animated-image): Remove unnecessary function.
23446 (image-animate): Rename from image-animate-start. New arg.
23447 (image-animate-stop): Remove; just use image-animate-timer.
23448 (image-animate-timer): Use car-safe.
23449 (image-animate-timeout): Rename argument.
23450
23451 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23452
23453 * window.el (get-lru-window, get-largest-window): Move here from
23454 window.c. Rename first argument to ALL-FRAMES.
23455 Rephrase doc-strings.
23456 (get-buffer-window-list): Rewrite using window-list-1.
23457 Rephrase doc-string.
23458 (window-safe-min-height, window-safe-min-width): New constants.
23459 (window-size-ignore, window-min-size, window-min-size-1)
23460 (window-sizable, window-sizable-p, window-size-fixed-1)
23461 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23462 (window-max-delta-1, window-max-delta, window-resizable)
23463 (window-resizable-p, window-total-height, window-total-width)
23464 (window-body-width): New functions.
23465 (window-full-height-p, window-full-width-p): Rewrite using
23466 window-total-size.
23467 (window-body-height): Rewrite using window-body-size.
23468
23469 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23470
23471 * window.el (window-right, window-left, window-child)
23472 (window-child-count, window-last-child, window-any-p)
23473 (normalize-live-buffer, normalize-live-frame)
23474 (normalize-any-window, normalize-live-window)
23475 (window-iso-combination-p, window-iso-combined-p)
23476 (window-iso-combinations)
23477 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23478 (windows-with-parameter, window-with-parameter)
23479 (window-atom-root, make-window-atom, window-atom-check-1)
23480 (window-atom-check, window-side-check, window-check):
23481 New functions.
23482 (ignore-window-parameters, window-sides, window-sides-vertical)
23483 (window-sides-slots): New variables.
23484 (window-size-fixed): Move down in code. Minor doc-string fix.
23485
23486 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23487
23488 * comint.el (comint-dynamic-complete-as-filename)
23489 (comint-dynamic-complete-filename): Correctly call
23490 completion-in-region.
23491
23492 2011-06-05 Deniz Dogan <deniz@dogan.se>
23493
23494 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23495 in last change.
23496
23497 2011-06-05 Deniz Dogan <deniz@dogan.se>
23498
23499 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23500 (rcirc): Use it to prompt for encryption.
23501
23502 2011-06-05 Roland Winkler <winkler@gnu.org>
23503
23504 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23505 (bibtex-search-entries): New command bound to C-c C-a.
23506 (bibtex-display-entries): New function.
23507
23508 2011-06-05 Roland Winkler <winkler@gnu.org>
23509
23510 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23511 (bibtex-insert-kill): After yanking insert newline if necessary.
23512 (bibtex-initialize): Call bibtex-string-files-init only once.
23513 (bibtex-mode): Do not call easy-menu-add.
23514 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23515 (bibtex-yank): Set arg properly if nil.
23516
23517 2011-06-05 Roland Winkler <winkler@gnu.org>
23518
23519 * textmodes/bibtex.el (bibtex-search-entry-globally):
23520 New variable.
23521 (bibtex-search-entry): Use it.
23522
23523 2011-06-05 Roland Winkler <winkler@gnu.org>
23524
23525 * textmodes/bibtex.el (bibtex-entry-format): New option
23526 sort-fields.
23527 (bibtex-format-entry, bibtex-reformat): Honor this option.
23528 (bibtex-parse-entry): Return fields in proper order.
23529
23530 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23531
23532 * doc-view.el (doc-view-remove-if): Move computation of result out
23533 of `dolist' to silence misleading lexical-binding warning.
23534
23535 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23536
23537 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23538 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23539
23540 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23541
23542 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23543 "SunOS 5.10".
23544
23545 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23546
23547 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23548 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23549 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23550 (tramp-parse-putty):
23551 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23552 (tramp-completion-function-alist-ssh)
23553 (tramp-completion-function-alist-telnet)
23554 (tramp-completion-function-alist-su)
23555 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23556 cookie.
23557
23558 * net/tramp-ftp.el:
23559 * net/tramp-sh.el:
23560 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23561 load "tramp.el" `tramp-set-completion-function'.
23562
23563 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23564
23565 * shell.el: Require and use pcomplete.
23566 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23567 (shell-completion-vars): Set pcomplete-default-completion-function.
23568
23569 2011-06-04 Deniz Dogan <deniz@dogan.se>
23570
23571 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23572 `memq' (Bug#8799).
23573
23574 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23575
23576 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23577
23578 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23579
23580 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23581 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23582 * vc/log-view.el (log-view-beginning-of-defun):
23583 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23584 (smerge-refine-forward, smerge-refine-chopup-region):
23585 Silence warning for unused `dotimes' counter variables.
23586
23587 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23588
23589 * net/tramp.el (tramp-with-progress-reporter): Rename from
23590 with-progress-reporter. Use `declare'.
23591 * net/tramp-smb.el:
23592 * net/tramp-sh.el:
23593 * net/tramp-gvfs.el: Update all uses.
23594
23595 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23596
23597 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23598 buffer isn't killed before making it current.
23599
23600 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23601
23602 Silence various byte-compiler warnings.
23603 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23604 `access-type' and new obsolescence format.
23605 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23606 new format.
23607 (byte-compile-check-variable): New `access-type' argument.
23608 Only warn if the access-type is obsolete.
23609 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23610 (byte-compile-variable-set): Adjust callers.
23611 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23612 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23613 setting it as obsolete.
23614 * simple.el (minibuffer-completing-symbol):
23615 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23616 access as obsolete.
23617 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23618 obsolete yet.
23619 * international/quail.el (quail-mouse-choose-completion): Remove unused
23620 code referring to obsolete var.
23621 (quail-choose-completion-string): Remove.
23622 * server.el (server-clients-with, server-kill-buffer-query-function)
23623 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23624 * proced.el (proced-send-signal):
23625 * emacs-lisp/lisp.el (lisp-complete-symbol):
23626 Replace completion-annotate-function with completion-extra-properties.
23627
23628 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23629
23630 * simple.el (goto-line): Use read-number.
23631 (overriding-map-is-bound): Remove.
23632 (saved-overriding-map): Change default.
23633 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23634 Take the map as argument.
23635 (universal-argument, negative-argument, digit-argument): Use it.
23636 (restore-overriding-map): Adjust.
23637 (do-auto-fill): Use fill-forward-paragraph.
23638 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23639
23640 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23641 (minibuffer-inactive-mode): New major mode.
23642 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23643 the *Messages* buffer" hack.
23644 (mouse-popup-menubar): Don't burp if the event is a normal key.
23645
23646 Miscellaneous tweaks.
23647 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23648 lexical scoping as in subr.el's dolist and dotimes.
23649 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23650 Silence compiler warning.
23651 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23652 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23653 * international/ccl.el (ccl-compile): Trivial simplification.
23654 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23655 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23656 `printflag' argument.
23657 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23658 Purecopy the whole obsolescence data.
23659
23660 2011-06-01 Leo Liu <sdl.web@gmail.com>
23661
23662 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23663 improve doc-string as suggested by Marco Pessotto
23664 <melmothx@gmail.com>.
23665 (rcirc-print): Fix last change.
23666
23667 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23668
23669 * minibuffer.el (complete-with-action): Return nil for the metadata and
23670 boundaries of non-functional tables.
23671 (completion-table-dynamic): Return nil for the metadata.
23672 (completion-table-with-terminator): Add default case, using
23673 complete-with-action.
23674 (completion--metadata): New function.
23675 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23676 to try and avoid pathological performance problems.
23677 (completion--embedded-envvar-table): Return `category' metadata.
23678
23679 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23680
23681 * subr.el (process-alive-p): New tiny convenience function.
23682
23683 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23684
23685 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23686 content but also its previous major mode.
23687
23688 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23689
23690 * emacs-lisp/debug.el (debug): Restore the previous content of the
23691 *Backtrace* buffer when we exit with C-M-c.
23692
23693 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23694
23695 * minibuffer.el: Add metadata method to completion tables.
23696 (completion-category-overrides): New defcustom.
23697 (completion-metadata, completion--field-metadata)
23698 (completion-metadata-get, completion--styles)
23699 (completion--cycle-threshold): New functions.
23700 (completion-try-completion, completion-all-completions):
23701 Add `metadata' argument to choose completion-styles.
23702 (completion--do-completion): Use metadata to choose cycling.
23703 (completion-all-sorted-completions): Use metadata for sorting.
23704 Remove :completion-cycle-penalty which is not needed any more.
23705 (completion--try-word-completion): Add `metadata' argument.
23706 (minibuffer-completion-help): Check metadata for annotation function
23707 and sorting.
23708 (completion-file-name-table): Return `category' metadata.
23709 (minibuffer-completing-file-name): Make obsolete.
23710 * simple.el (minibuffer-completing-symbol): Make obsolete.
23711 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23712 completion-try-completion.
23713
23714 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23715
23716 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23717
23718 2011-05-30 Leo Liu <sdl.web@gmail.com>
23719
23720 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23721 (rcirc-print): Decode all incoming messages (bug#8744).
23722 (rcirc-decode-coding-system): Allow value nil for automatic coding
23723 system detection.
23724
23725 2011-06-01 Glenn Morris <rgm@gnu.org>
23726
23727 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23728
23729 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23730
23731 * image.el (image-animate-max-time): Allow nil and t values.
23732 Default to nil.
23733 (create-animated-image): Doc fix.
23734 (image-animate-start): Remove second arg; just use
23735 image-animate-max-time.
23736 (image-animate-timeout): Doc fix. Args changed.
23737
23738 * image-mode.el (image-toggle-display-image): Ensure that the
23739 image spec passed to the animate timer is the same object as in
23740 the buffer's display property (Bug#6981).
23741 (image-transform-properties): Doc fix.
23742
23743 * image.el (image-animate-max-time): Default to nil.
23744
23745 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23746
23747 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23748 entire buffer list (Bug#8184).
23749
23750 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23751
23752 * image.el (imagemagick-types-inhibit)
23753 (imagemagick-register-types): Doc fix.
23754
23755 2011-05-29 Deniz Dogan <deniz@dogan.se>
23756
23757 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23758 default.
23759
23760 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23761
23762 * select.el: Don't perform clipboard-manager saving in hooks;
23763 leave the hooks empty.
23764
23765 2011-05-28 Leo Liu <sdl.web@gmail.com>
23766
23767 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23768 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23769 (occur-edit-mode): New major mode (Bug#8463).
23770 (occur-after-change-function): New function.
23771 (occur-engine): Give Occur tags a read-only property.
23772
23773 2011-05-28 Kevin Ryde <user42@zip.com.au>
23774
23775 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23776
23777 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23778
23779 * bindings.el (help-echo): Make the initial non-indicator dash
23780 empty on graphical terminals (Bug#7295).
23781
23782 * files.el (auto-mode-alist): Move config rule after the
23783 in-stripping one (Bug#8547).
23784
23785 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23786
23787 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23788 setting (Bug#8740).
23789
23790 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23791
23792 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23793 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23794 (Bug#8539).
23795
23796 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23797
23798 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23799
23800 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23801
23802 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23803 (hs-hide-block-at-point, hs-find-block-beginning)
23804 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23805 (Bug#8279).
23806
23807 2011-05-28 Glenn Morris <rgm@gnu.org>
23808
23809 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23810
23811 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23812
23813 * help-fns.el (describe-function-1): If the function is a derived
23814 major mode, print the parent mode.
23815
23816 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23817 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23818
23819 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23820
23821 * minibuffer.el (completion--capf-wrapper): Check applicability before
23822 returning non-nil for non-exclusive completion data.
23823 * progmodes/etags.el (tags-completion-at-point-function):
23824 * info-look.el (info-lookup-completions-at-point): Mark as
23825 non-exclusive.
23826 (info-complete): Adjust accordingly.
23827
23828 * info-look.el: Convert to lexical-binding and completion-at-point.
23829 (info-lookup-completions-at-point): New function.
23830 (info-complete): Use it and completion-in-region.
23831
23832 2011-05-28 Drew Adams <drew.adams@oracle.com>
23833
23834 * isearch.el: Let M-e start with point at the first mismatched char.
23835 (isearch-fail-pos): New function.
23836 (isearch-edit-string): Use it.
23837
23838 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23839
23840 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23841
23842 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23843
23844 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23845 traversal functions for avl-trees.
23846 (avl-tree--stack): New struct.
23847 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23848 (avl-tree-enter): Add optional `updatefun' arg.
23849 (avl-tree--do-enter): Add optional `updatefun' arg.
23850 Change return value.
23851 (avl-tree-delete): Add optional `test' and `nilflag' args.
23852 (avl-tree--do-delete): Add `test' and `nilflag' args.
23853 Change return value.
23854 (avl-tree-member): Add optional `nilflag'
23855 (avl-tree-member-p): New function.
23856 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23857 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23858 (avl-tree-stack-empty-p): New functions.
23859
23860 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23861 avl-tree--del-balance1 and make it work both ways.
23862 (avl-tree--del-balance2): Remove.
23863 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23864 make it work both ways.
23865 (avl-tree--enter-balance2): Remove.
23866 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23867 New macros.
23868 (avl-tree--mapc, avl-tree-map): Add direction argument.
23869
23870 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23871
23872 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23873
23874 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23875
23876 * select.el: Support clipboard managers with built-in function
23877 x-clipboard-manager-save, via delete-frame-functions and
23878 kill-emacs-hook.
23879 (xselect-convert-to-targets): Add MULTIPLE target to list.
23880 (xselect-convert-to-save-targets): New function.
23881
23882 2011-05-27 Kenichi Handa <handa@m17n.org>
23883
23884 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23885 let-binding rfc2047-encode-encoded-words to nil.
23886
23887 2011-05-27 Glenn Morris <rgm@gnu.org>
23888
23889 * mail/emacsbug.el: Don't require url-util.
23890
23891 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23892
23893 * files.el (set-auto-mode):
23894 Also respect mode: entries at the end of the file. (Bug#8586)
23895
23896 2011-05-26 Glenn Morris <rgm@gnu.org>
23897
23898 * files.el (hack-local-variables-prop-line, hack-local-variables):
23899 Downcase mode names, as seems to be traditional.
23900 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23901
23902 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23903 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23904
23905 2011-05-25 Julien Danjou <julien@danjou.info>
23906
23907 * textmodes/rst.el (rst-define-level-faces): Do not define face
23908 symbol if it is already defined.
23909
23910 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23911
23912 * play/5x5.el (5x5-new-game, 5x5-randomize):
23913 Reset 5x5-solver-output to nil when a new grid is cast.
23914 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23915 these debugging traces, as defmacro breaks the compiled code.
23916
23917 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23918
23919 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23920
23921 2011-05-24 Leo Liu <sdl.web@gmail.com>
23922
23923 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23924 (vc-bzr-sha1): Adapt.
23925
23926 * sha1.el: Remove. Function `sha1' is now builtin.
23927
23928 * bindings.el: Provide sha1 feature.
23929
23930 2011-05-24 Kenichi Handa <handa@m17n.org>
23931
23932 * mail/sendmail.el: Require `rfc2047'.
23933 (mail-insert-from-field): Do not perform RFC2047 encoding.
23934 (mail-encode-header): New function.
23935 (sendmail-send-it): Set buffer-file-coding-system of the work
23936 buffer to the return value of select-message-coding-system.
23937 Call mail-encode-header.
23938
23939 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23940
23941 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23942
23943 * mail/supercite.el (sc-default-cite-frame):
23944 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23945
23946 2011-05-24 Glenn Morris <rgm@gnu.org>
23947
23948 * progmodes/python.el (brm-menu): Declare.
23949
23950 * emulation/viper.el (viper-set-hooks): Declare.
23951
23952 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23953 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23954 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23955 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23956 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23957 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23958
23959 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23960
23961 Add an :exit-function for completion-at-point.
23962
23963 * minibuffer.el (completion--done): New fun.
23964 (completion--do-completion): Use it. New arg `expect-exact'.
23965 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23966 since completion--do-completion does it for us now.
23967 (minibuffer-force-complete): Use completion--done and
23968 completion--replace. Handle sole-completion case with more care.
23969 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23970 (completion-extra-properties): New var.
23971 (completion-annotate-function): Make obsolete.
23972 (minibuffer-completion-help): Adjust accordingly.
23973 Use completion-list-insert-choice-function.
23974 (completion-at-point, completion-help-at-point):
23975 Bind completion-extra-properties.
23976 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23977 * simple.el (completion-list-insert-choice-function): New var.
23978 (completion-setup-function): Preserve it.
23979 (choose-completion): Pay attention to it, shuffle the code a bit.
23980 (choose-completion-string): New arg `insert-function'.
23981
23982 * textmodes/bibtex.el: Convert to lexical binding.
23983 (bibtex-mode-map): Use completion-at-point.
23984 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23985 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23986 (bibtex-complete): Define as obsolete alias.
23987 (bibtex-complete-internal): Remove.
23988 (bibtex-format-entry): Remove unused sub-group in regexp.
23989 * shell.el (shell--command-completion-data)
23990 (shell-environment-variable-completion):
23991 * pcomplete.el (pcomplete-completions-at-point):
23992 * comint.el (comint--complete-file-name-data): Use :exit-function
23993 instead of completion-table-with-terminator so it also works for
23994 choose-completion.
23995
23996 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23997
23998 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23999
24000 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24001 (bug#8710).
24002
24003 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24004
24005 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24006
24007 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24008 customization variable and implement: If non-nil, auto-fill will
24009 be inhibited while on topic's header line.
24010
24011 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24012
24013 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24014 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24015 always have a solution in grid size = 5 cases.
24016 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24017 (5x5-solver-output, 5x5-log-buffer): New vars.
24018 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24019 Make these variables buffer local to achieve 5x5 multi-session-ness.
24020 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24021 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24022 (5x5-solve-suggest): New funs.
24023 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24024 randomize a grid so that we ensure that there is always a solution.
24025 (5x5-make-random-grid): Allow other movement than flipping.
24026
24027 2011-05-23 Kevin Ryde <user42@zip.com.au>
24028
24029 * emacs-lisp/advice.el (ad-read-advised-function):
24030 Use `function-called-at-point' as the default, if it has
24031 advice and passes PREDICATE.
24032
24033 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24034
24035 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24036 byte-compile-lambda if it's actually a lambda.
24037
24038 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24039 Fix function quoting. Use backquote better.
24040
24041 2011-05-22 Yuanle Song <sylecn@gmail.com>
24042
24043 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24044 matching (Bug#8516).
24045
24046 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24047
24048 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24049 different face (Bug#8178).
24050
24051 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24052
24053 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24054 defface (Bug#8144).
24055
24056 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24057
24058 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24059 funcall as well (bug#8712). Warn when performing those conversions.
24060 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24061
24062 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24063
24064 2011-05-22 Glenn Morris <rgm@gnu.org>
24065
24066 * files.el (hack-local-variables-prop-line): Small simplifications.
24067 (hack-local-variables, hack-local-variables-prop-line):
24068 If MODE-ONLY, return the mode, rather than just `t'.
24069
24070 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24071
24072 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24073
24074 2011-05-21 Glenn Morris <rgm@gnu.org>
24075
24076 * files.el (hack-local-variables-prop-line, hack-local-variables):
24077 If only interested in the mode, don't bother doing the other stuff.
24078
24079 * image-mode.el (image-after-revert-hook):
24080 Redraw all frames on which the image is visible. (Bug#8567)
24081
24082 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24083
24084 * wid-edit.el (widget-checklist-match-inline):
24085 Fix 2011-04-19 change. (Bug#8649)
24086
24087 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24088
24089 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24090 Also allow singlespace after single-letter capitals followed by a dot.
24091
24092 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24093 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24094
24095 2011-05-20 Nix <nix@esperi.org.uk>
24096
24097 * files.el (basic-save-buffer-2):
24098 Fix handling of break-hardlink-on-save with non-existent files.
24099
24100 2011-05-19 Deniz Dogan <deniz@dogan.se>
24101
24102 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24103 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24104
24105 2011-05-19 Glenn Morris <rgm@gnu.org>
24106
24107 * progmodes/f90.el (f90-type-def-re):
24108 Handle "type, bind(c)". (Bug#8691)
24109
24110 * emacs-lisp/autoload.el (batch-update-autoloads):
24111 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24112
24113 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24114
24115 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24116 property for the correct connection in case of multihops.
24117
24118 2011-05-18 Glenn Morris <rgm@gnu.org>
24119
24120 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24121 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24122
24123 Rationalize calendar handling of day and month abbrev-arrays.
24124 * calendar/calendar.el (calendar-customized-p): New function.
24125 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24126 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24127 Add :set function.
24128 (calendar-abbrev-length, calendar-day-abbrev-array)
24129 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24130 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24131 Elements may no longer be nil.
24132 (calendar-day-name, calendar-month-name):
24133 Update for changed nature of abbrev arrays.
24134 * calendar/diary-lib.el (diary-name-pattern):
24135 Update for changed nature of abbrev arrays.
24136 (diary-mark-entries-1): Update calendar-make-alist calls.
24137 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24138 * calendar/cal-html.el (cal-html-day-abbrev-array):
24139 Simply inherit from calendar-day-abbrev-array.
24140
24141 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24142
24143 * progmodes/grep.el (grep-mode): Disable default
24144 compilation-directory-matcher setting (bug#8684).
24145
24146 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24147
24148 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24149 instead of "head" and "tail". There were problems with SunOS 5.9,
24150 and it performs better.
24151
24152 2011-05-17 Glenn Morris <rgm@gnu.org>
24153
24154 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24155
24156 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24157 Replace obsolete function.
24158
24159 * shell.el (pcomplete-parse-arguments-function): Declare.
24160
24161 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24162 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24163 (appt-check): Doc fixes.
24164 (appt-disp-window-function, appt-delete-window-function):
24165 Remove needless special case in custom :type.
24166 (appt-display-count): Default to 0, not nil.
24167 (appt-check): Reset appt-display-count to 0, not nil.
24168
24169 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24170
24171 * progmodes/python.el (python-font-lock-keywords):
24172 Add the Python 3.X keyword "nonlocal" (bug#8639).
24173
24174 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24175
24176 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24177
24178 2011-05-16 Kevin Ryde <user42@zip.com.au>
24179
24180 * info-look.el (makefile-automake-mode): New setups, looking in
24181 automake manual, then makefile-mode.
24182 (makefile-mode): Remove automake manual, have it just in
24183 makefile-automake-mode since there's various things different or
24184 not relevant to plain make.
24185 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24186 believe a hypothetical automake-mode would go to makefile-mode,
24187 not the other way around.
24188
24189 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24190
24191 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24192 hunk-end tags (Bug#8672).
24193
24194 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24195 vc-annotate-show-diff-revision-at-line (Bug#8671).
24196
24197 2011-05-14 Glenn Morris <rgm@gnu.org>
24198
24199 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24200 in the middle of an existing one with multiple authors. (Bug#8645)
24201 (change-log-font-lock-keywords): Also handle multiple author lines
24202 with leading tabs. (Bug#8644)
24203
24204 * calendar/appt.el (appt-check): Rename some local variables.
24205 Some simplification/reordering.
24206
24207 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24208 (feedmail-sendmail-f-doesnt-sell-me-out)
24209 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24210 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24211 (feedmail-queue-runner-message-sender): Set :version.
24212 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24213 (bbdb-dwim-net-address, vm-mail): Declare.
24214 (feedmail-binmail-gnulinuxish-template):
24215 Rename from feedmail-binmail-linuxish-template.
24216 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24217 Use insert-buffer-substring.
24218
24219 2011-05-14 Bill Carpenter <bill@carpenter.org>
24220
24221 * mail/feedmail.el (feedmail-patch-level): Increase.
24222 (feedmail-debug): New custom group.
24223 (feedmail-confirm-outgoing-timeout)
24224 (feedmail-sendmail-f-doesnt-sell-me-out)
24225 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24226 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24227 (feedmail-sender-line, feedmail-from-line)
24228 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24229 (feedmail-spray-this-address)
24230 (feedmail-spray-address-fiddle-plex-list)
24231 (feedmail-queue-use-send-time-for-date)
24232 (feedmail-queue-use-send-time-for-message-id)
24233 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24234 (feedmail-buffer-eating-function):
24235 Doc fixes.
24236 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24237 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24238 (feedmail-message-action-scroll-down): New functions.
24239 (feedmail-queue-directory, feedmail-queue-draft-directory):
24240 Use expand-file-name.
24241 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24242 Remove C-v help entry.
24243 (feedmail-queue-buffer-file-name): New variable.
24244 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24245 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24246 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24247 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24248 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24249 (feedmail-message-action-toggle-spray)
24250 (feedmail-run-the-queue-no-prompts)
24251 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24252 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24253 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24254 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24255 (feedmail-envelope-deducer, feedmail-fiddle-from)
24256 (feedmail-fiddle-sender, feedmail-default-date-generator)
24257 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24258 (feedmail-fiddle-spray-address)
24259 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24260 (feedmail-fiddle-list-of-fiddle-plexes)
24261 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24262 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24263 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24264 Change default. Doc fix.
24265 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24266 (feedmail-binmail-linuxish-template): New constant.
24267 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24268 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24269 (feedmail-send-it): Add debug call.
24270 Use feedmail-queue-buffer-file-name, and
24271 feedmail-send-it-immediately-wrapper.
24272 (feedmail-message-action-send): Add debug call.
24273 Use feedmail-send-it-immediately-wrapper.
24274 (feedmail-queue-express-to-queue): Add debug call.
24275 Run feedmail-queue-express-hook.
24276 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24277 (feedmail-message-action-help-blat):
24278 Rename from feedmail-queue-send-edit-prompt-help-first.
24279 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24280 Check line-endings. Handle errors better.
24281 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24282 Doc fix. Add debug call.
24283 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24284 Use feedmail-queue-send-edit-prompt-inner.
24285 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24286 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24287 from feedmail-queue-send-edit-prompt.
24288 (feedmail-queue-send-edit-prompt-help)
24289 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24290 (feedmail-tidy-up-slug): Add debug call.
24291 Respect feedmail-queue-slug-suspect-regexp.
24292 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24293 (feedmail-dump-message-to-queue): Add debug call.
24294 Expand queue-directory.
24295 (feedmail-dump-message-to-queue): Change message slightly.
24296 Use feedmail-say-chatter.
24297 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24298 (feedmail-send-it-immediately-wrapper): New function.
24299 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24300 Insert empty string rather than newline. Handle full-frame case.
24301 Use catch/throw. Use feedmail-say-chatter.
24302 (feedmail-fiddle-from): Try mail-host-address.
24303 (feedmail-default-message-id-generator): Doc fix.
24304 Bind system-time-locale. Handle missing end.
24305 (feedmail-fiddle-x-mailer): Add debug call.
24306 Handle feedmail-x-mailer-line being nil.
24307 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24308 Add debug call. Use buffer-substring-no-properties.
24309 (feedmail-say-debug, feedmail-say-chatter): New functions.
24310 (feedmail-find-eoh): Give an explicit error.
24311
24312 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24313
24314 * net/newst-treeview.el (newsticker-treeview-face): Change default
24315 family from helvetica to sans.
24316 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24317 etc/images/newsticker.
24318
24319 * net/newst-reader.el (newsticker-feed-face): Change default
24320 family from helvetica to sans.
24321
24322 * net/newst-plainview.el (newsticker-new-item-face)
24323 (newsticker-old-item-face, newsticker-immortal-item-face)
24324 (newsticker-obsolete-item-face, newsticker-date-face)
24325 (newsticker-statistics-face): Change default family from
24326 helvetica to sans.
24327 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24328 etc/images/newsticker.
24329
24330 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24331 (newsticker--process-auto-mark-filter-match): Tell user about
24332 auto-marking.
24333
24334 2011-05-13 Didier Verna <didier@xemacs.org>
24335
24336 Common Lisp indentation improvements on defmethod and lambda-lists.
24337 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24338 TODO entries.
24339 (lisp-lambda-list-keyword-parameter-indentation)
24340 (lisp-lambda-list-keyword-parameter-alignment)
24341 (lisp-lambda-list-keyword-alignment): New customizable user options.
24342 (lisp-indent-defun-method): Improve docstring.
24343 (extended-loop-p): Fix comment.
24344 (lisp-indent-lambda-list-keywords-regexp): New variable.
24345 (lisp-indent-lambda-list): New function.
24346 (lisp-indent-259): Use it.
24347 (lisp-indent-defmethod): Support for more than one
24348 method qualifier and properly indent methods lambda-lists.
24349 (defgeneric): Provide a missing common-lisp-indent-function property.
24350
24351 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24352
24353 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24354 bounds for the empty string (bug#8667).
24355
24356 2011-05-13 Glenn Morris <rgm@gnu.org>
24357
24358 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24359
24360 * mail/sendmail.el (sendmail-program): Try executable-find first.
24361 (sendmail-send-it): `sendmail-program' cannot be unbound.
24362
24363 * calendar/appt.el (appt-make-list): Simplify.
24364 (appt-time-msg-list): Doc fix.
24365 (appt-check): Change mode-line message at the time of the appointment.
24366
24367 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24368
24369 * progmodes/ld-script.el (ld-script-keywords)
24370 (ld-script-builtins): Update keywords list.
24371
24372 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24373
24374 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24375
24376 * shell.el (shell-completion-vars): New function.
24377 (shell-mode):
24378 * simple.el (read-shell-command): Use it.
24379 (blink-matching-open): No need for " [...]" in minibuffer-message.
24380
24381 2011-05-12 Glenn Morris <rgm@gnu.org>
24382
24383 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24384 (appt-check): Simplify.
24385
24386 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24387
24388 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24389 literal "/dev/null".
24390
24391 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24392
24393 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24394 Fix typo.
24395
24396 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24397
24398 * progmodes/which-func.el (which-function):
24399 Use add-log-current-defun instead of add-log-current-defun-function,
24400 which might not be defined (Bug#8260).
24401
24402 2011-05-12 Glenn Morris <rgm@gnu.org>
24403
24404 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24405 Let byte-compile-initial-macro-environment always take precedence.
24406
24407 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24408
24409 * net/rcirc.el: Add support for SSL/TLS connections.
24410 (rcirc-server-alist): New field `encryption'.
24411 (rcirc): Check `encryption' settings.
24412 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24413 Merge make-local-variable into `set'.
24414 (rcirc--connection-open-p): New function.
24415 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24416 the process is not a network process (e.g. running gnutls-cli).
24417 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24418 Make rcirc-(en|de)code-coding-system local here.
24419 (rcirc-mode): Merge make-local-variable into `set'.
24420 (rcirc-parent-buffer): Make permanent buffer-local.
24421 (rcirc-multiline-minor-mode): Don't do it here.
24422 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24423 there's no server buffer.
24424
24425 2011-05-11 Glenn Morris <rgm@gnu.org>
24426
24427 * newcomment.el (comment-kill): Prefix "unused" local.
24428
24429 * term/w32console.el (get-screen-color): Declare.
24430
24431 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24432 Handle symbol elements of byte-compile-initial-macro-environment.
24433
24434 2011-05-10 Leo Liu <sdl.web@gmail.com>
24435
24436 * bookmark.el (bookmark-bmenu-mode-map):
24437 Bind bookmark-bmenu-search to `/'.
24438
24439 * mail/footnote.el: Convert to utf-8 encoding.
24440 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24441 (Footnote-unicode): New function.
24442 (footnote-style-alist): Add unicode style to the list.
24443 (footnote-style): Doc fix.
24444
24445 2011-05-10 Jim Meyering <meyering@redhat.com>
24446
24447 Fix doubled-word typos.
24448 * international/quail.el (quail-insert-kbd-layout): and and -> and
24449 * kermit.el: and and -> and
24450 * net/ldap.el (ldap-search-internal): to to -> to
24451 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24452 * progmodes/js.el (js-mode): and and -> and
24453 * textmodes/artist.el (artist-move-to-xy): at at -> at
24454 (artist-draw-region-trim-line-endings): if if -> if
24455 And Safetyc -> Safety.
24456 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24457
24458 2011-05-10 Glenn Morris <rgm@gnu.org>
24459 Stefan Monnier <monnier@iro.umontreal.ca>
24460
24461 * files.el (hack-one-local-variable-eval-safep):
24462 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24463
24464 2011-05-10 Glenn Morris <rgm@gnu.org>
24465
24466 * calendar/diary-lib.el (diary-list-entries-hook)
24467 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24468 (diary-nongregorian-marking-hook, diary-list-entries)
24469 (diary-include-other-diary-files, diary-mark-entries)
24470 (diary-mark-included-diary-files): Doc fixes.
24471
24472 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24473
24474 * misc.el: Require tabulated-list.el during compilation.
24475
24476 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24477
24478 * progmodes/compile.el (compilation-start):
24479 Run compilation-filter-hook for the async case too.
24480 (compilation-filter-hook): Doc fix.
24481
24482 2011-05-09 Deniz Dogan <deniz@dogan.se>
24483
24484 * wdired.el: Remove outdated installation comment. Fix usage
24485 comment.
24486
24487 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24488
24489 * misc.el: Implement new command `list-dynamic-libraries'.
24490 (list-dynamic-libraries--loaded-only-p): New variable.
24491 (list-dynamic-libraries--refresh): New function.
24492 (list-dynamic-libraries): New command.
24493
24494 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24495
24496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24497 Fix the ant regexp to handle end-line and end-column info from jikes.
24498 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24499 higher priority to avoid clobbering by gnu.
24500
24501 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24502
24503 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24504 if the face has existing theme settings (Bug#8454).
24505
24506 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24507
24508 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24509 Only match variables declared via `my' or `our' (Bug#8261).
24510
24511 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24512 special file names `.' and `..' (Bug#8259).
24513
24514 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24515
24516 * progmodes/grep.el (grep-mode-font-lock-keywords):
24517 Remove buffer-changing entries.
24518 (grep-filter): New function.
24519 (grep-mode): Add it to compilation-filter-hook.
24520
24521 * progmodes/compile.el (compilation-filter-hook)
24522 (compilation-filter-start): New defvars.
24523 (compilation-filter): Call compilation-filter-hook prior to
24524 updating the process mark.
24525
24526 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24527
24528 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24529
24530 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24531
24532 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24533 mailclient-send-it even if window-system is nil. (Bug#8595)
24534
24535 * term/w32console.el (terminal-init-w32console):
24536 Call get-screen-color and use its output to set the frame
24537 background-mode. (Bug#8597)
24538
24539 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24540
24541 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24542 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24543 New functions.
24544 (defgeneric, eieio--defmethod): Use them.
24545 (eieio-defgeneric): Remove.
24546 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24547
24548 2011-05-07 Glenn Morris <rgm@gnu.org>
24549
24550 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24551 Use let rather than let*.
24552 (timeclock-find-discrep): Remove unused local.
24553
24554 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24555
24556 * calendar/appt.el (appt-time-msg-list): Doc fix.
24557
24558 2011-05-06 Noah Friedman <friedman@splode.com>
24559
24560 * apropos.el (apropos-print-doc): Only use
24561 emacs-lisp-docstring-fill-column when it is bound to an integer,
24562 per that variable's documentation.
24563
24564 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24565
24566 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24567 and warnings are not silently discarded (e.g. use -d instead of -P).
24568
24569 2011-05-06 Glenn Morris <rgm@gnu.org>
24570
24571 * calendar/appt.el (appt-message-warning-time): Doc fix.
24572 (appt-warning-time-regexp): New option.
24573 (appt-make-list): Respect appt-message-warning-time.
24574
24575 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24576 New options.
24577 (diary-add-to-list): Strip comments from the displayed string.
24578 (diary-mode): Set comment-start and comment-end.
24579
24580 * vc/diff-mode.el (smerge-refine-subst): Declare.
24581 (diff-refine-hunk): Don't require smerge-mode when compiling.
24582
24583 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24584
24585 * simple.el (list-processes): Return nil as the docstring says.
24586
24587 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24588
24589 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24590 to "".
24591 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24592 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24593 determining of binary transfer. (Bug#7383)
24594
24595 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24596
24597 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24598 Fix port computation bug. (Bug#8618)
24599
24600 2011-05-05 Glenn Morris <rgm@gnu.org>
24601
24602 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24603
24604 * simple.el (shell-dynamic-complete-functions)
24605 (comint-dynamic-complete-functions): Declare.
24606
24607 * net/network-stream.el (gnutls-negotiate):
24608 * simple.el (tabulated-list-print): Fix declarations.
24609
24610 * progmodes/gud.el (syntax-symbol, syntax-point):
24611 Remove unnecessary and incorrect declarations.
24612
24613 * emacs-lisp/check-declare.el (check-declare-scan):
24614 Handle byte-compile-initial-macro-environment in bytecomp.el.
24615
24616 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24617
24618 Fix earlier half-done eieio-defmethod change (bug#8338).
24619 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24620 Streamline and change calling convention.
24621 (defmethod): Adjust accordingly and simplify.
24622 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24623 new eieio--defmethod.
24624 (slot-boundp): Minor CSE simplification.
24625
24626 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24627
24628 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24629 (glasses-make-readable): Use glasses-separate-capital-groups.
24630
24631 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24632
24633 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24634 (warning-series): Doc fix.
24635 (display-warning): Don't try to create the buffer if we just found it.
24636
24637 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24638
24639 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24640 (autoload-find-generated-file): New function.
24641 (generate-file-autoloads): Bind generated-autoload-file to
24642 buffer-file-name.
24643 (update-file-autoloads, update-directory-autoloads):
24644 Use autoload-find-generated-file. If called interactively, prompt for
24645 output file (Bug#7989).
24646 (batch-update-autoloads): Doc fix.
24647
24648 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24649
24650 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24651
24652 2011-05-04 Glenn Morris <rgm@gnu.org>
24653
24654 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24655 function, so it follows changes in calendar-date-style.
24656 (diary-fancy-date-matcher): New function.
24657 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24658 (diary-fancy-font-lock-fontify-region-function):
24659 Use diary-fancy-date-pattern as a function.
24660
24661 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24662 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24663
24664 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24665
24666 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24667 instead of positional arguments. Allow :keylist and :crlfiles
24668 arguments.
24669 (open-gnutls-stream): Call it.
24670
24671 * net/network-stream.el (network-stream-open-starttls): Adjust to
24672 call `gnutls-negotiate' with :process and :hostname arguments.
24673
24674 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24675
24676 * minibuffer.el (completion--message): New function.
24677 (completion--do-completion, minibuffer-complete)
24678 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24679 (completion--do-completion): Don't ignore completion-auto-help when in
24680 icomplete-mode.
24681
24682 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24683 internal encoding (e.g. tibetan zero is not whitespace).
24684 (global-whitespace-mode): Prefer save-current-buffer.
24685 (whitespace-trailing-regexp): Remove useless save-match-data.
24686 (whitespace-empty-at-bob-regexp): Minor simplification.
24687
24688 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24689
24690 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24691
24692 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24693
24694 * textmodes/ispell.el (ispell-add-per-file-word-list):
24695 Use `concat' to create string for insertion.
24696
24697 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24698
24699 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24700 Avoid open-line which runs post-self-insert-hook.
24701 (bibtex-fill-entry): Remove unused `end' var.
24702
24703 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24704
24705 * textmodes/ispell.el (ispell-add-per-file-word-list):
24706 Protect against `nil' value of `comment-start' (Bug#8579).
24707
24708 2011-05-03 Leo Liu <sdl.web@gmail.com>
24709
24710 * isearch.el (isearch-yank-pop): New command.
24711 (isearch-mode-map): Bind it to `M-y'.
24712 (isearch-forward): Mention it.
24713
24714 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24715
24716 * simple.el (minibuffer-complete-shell-command): Remove.
24717 (minibuffer-local-shell-command-map): Use completion-at-point.
24718 (read-shell-command): Setup completion vars here instead.
24719 (read-expression-map): Bind TAB to symbol completion.
24720
24721 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24722 error directly rather via storing it into `results'.
24723
24724 2011-05-02 Leo Liu <sdl.web@gmail.com>
24725
24726 * vc/diff.el: Fix description.
24727
24728 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24729
24730 * server.el (server-eval-at): New function.
24731
24732 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24733
24734 * net/network-stream.el (open-network-stream): Take a :nowait
24735 parameter and pass it on to `make-network-process'.
24736 (network-stream-open-plain): Ditto.
24737
24738 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24739
24740 * faces.el (face-spec-set-match-display): Don't match toolkit
24741 options on terminal frames.
24742
24743 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24744
24745 * progmodes/pascal.el: Use lexical binding.
24746 (pascal-mode-map): Remove author preferences.
24747
24748 * pcomplete.el (pcomplete-std-complete): Don't abuse
24749 completion-at-point.
24750
24751 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24752
24753 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24754 removing code that has been dead since 1991 or so.
24755
24756 * startup.el (command-line): When warning about "_emacs", use a
24757 delayed warning to allow the user to filter it out.
24758
24759 2011-04-28 Deniz Dogan <deniz@dogan.se>
24760
24761 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24762 user has not joined.
24763
24764 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24765
24766 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24767 aren't any completions at point.
24768
24769 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24770
24771 * subr.el (display-delayed-warnings): New function.
24772 (delayed-warnings-hook): New variable.
24773
24774 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24775
24776 * minibuffer.el (completion-at-point, completion-help-at-point):
24777 Don't presume that a given completion-at-point-function will always
24778 use the same calling convention.
24779
24780 * pcomplete.el (pcomplete-completions-at-point):
24781 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24782 pcomplete-seen is non-nil.
24783 (pcomplete-comint-setup): Also recognize the new comint/shell
24784 completion functions.
24785 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24786 pcomplete-seen is non-nil.
24787
24788 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24789
24790 * calendar/icalendar.el (diary-lib): Add require statement.
24791 (icalendar--create-uid): Read out a uid from a text-property on
24792 the first character in the entry. This allows for code to add its
24793 own uid to the entry.
24794 (icalendar--convert-float-to-ical): Add export of
24795 `diary-float'-entries save for those with the optional DAY
24796 argument.
24797
24798 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24799
24800 * subr.el (shell-quote-argument): Use alternate escaping strategy
24801 when we spot a variable reference in a string.
24802
24803 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24804
24805 * cus-start.el (all): Define customization for debug-on-event.
24806
24807 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24808
24809 * subr.el (shell-quote-argument): Escape correctly under Windows.
24810
24811 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24812
24813 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24814
24815 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24816
24817 * net/tramp.el (tramp-process-actions): Add POS argument.
24818 Delete region between POS and (pos).
24819
24820 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24821 Use `nil' position in `tramp-process-actions' call.
24822 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24823
24824 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24825 position in `tramp-process-actions' call.
24826
24827 * net/trampver.el: Update release number.
24828
24829 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24830
24831 * custom.el (defcustom): Obey lexical-binding.
24832
24833 Fix octave-inf completion problems reported by Alexander Klimov.
24834 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24835 Inherit from octave-mode-syntax-table.
24836 (inferior-octave-mode): Set info-lookup-mode.
24837 (inferior-octave-completion-at-point): New function.
24838 (inferior-octave-complete): Use it and completion-in-region.
24839 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24840 comint-filename-completion.
24841 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24842 symbol elements which shouldn't be word elements.
24843 (octave-font-lock-keywords, octave-beginning-of-defun)
24844 (octave-function-header-regexp): Adjust regexps accordingly.
24845 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24846
24847 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24848
24849 * net/gnutls.el (gnutls-errorp): Declare before first use.
24850
24851 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24852
24853 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24854 verify-error, and verify-hostname-error parameters. Check whether
24855 default trustfile exists before going to use it. Add missing
24856 argument to gnutls-message-maybe call. Return value.
24857 Reported by Claudio Bley <claudio.bley@gmail.com>.
24858 (open-gnutls-stream): Add usage example.
24859
24860 * net/network-stream.el (network-stream-open-starttls): Give host
24861 parameter to `gnutls-negotiate'.
24862 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24863 * subr.el (shell-quote-argument): Escape correctly under Windows.
24864
24865 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24866
24867 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24868 Use correct match group (bug#8438).
24869
24870 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24871
24872 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24873 (package-menu--generate): New arg specifying packages to show.
24874 (package-menu-refresh, package-menu-execute, list-packages):
24875 Callers changed.
24876 (package-show-package-list): New function, replacing deleted
24877 package--list-packages (renamed because it is non-internal).
24878
24879 * finder.el (finder-list-matches): Use package-show-package-list
24880 instead of deleted package--list-packages.
24881
24882 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24883 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24884 (vc-annotate-mode-map): Bind it to RET.
24885
24886 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24887
24888 * progmodes/etags.el (next-file): Don't use set-buffer to change
24889 buffers (Bug#8478).
24890
24891 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24892
24893 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24894
24895 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24896 (apropos-accumulator): Doc fix.
24897 (apropos-function, apropos-macro, apropos-command)
24898 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24899 (apropos-plist): Add face property.
24900 (apropos-symbols-internal): Fix indentation.
24901 (apropos-print): Simplify help, and recognize apropos-multi-type.
24902 (apropos-print-doc): Use button-type-get to extract the button's
24903 face property. Fill docstring (Bug#8352).
24904
24905 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24906
24907 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24908
24909 * play/mpuz.el (mpuz-silent): Doc fix.
24910 (mpuz-mode-map): Use mapc.
24911 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24912 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24913 Fix typos in docstrings.
24914
24915 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24916 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24917
24918 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24919
24920 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24921
24922 * minibuffer.el (completion--do-completion): Avoid the "Next char
24923 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24924
24925 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24926 mouse-2 into unread-command-events, it is interpreted correctly.
24927
24928 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24929 (image-toggle-display): Doc fix.
24930
24931 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24932
24933 * textmodes/page.el (what-page): Use line-number-at-pos to
24934 calculate line number (Bug#6825).
24935
24936 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24937
24938 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24939 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24940 Pass argument NO-DEFAULT to `find-tag-interactive'.
24941
24942 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24943
24944 Lexical-binding cleanup.
24945
24946 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24947 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24948 * progmodes/ada-prj.el (ada-prj-initialize-values)
24949 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24950 (ada-prj-show-value):
24951 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24952 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24953 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24954 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24955 * progmodes/bug-reference.el (bug-reference-push-button):
24956 * progmodes/fortran.el (fortran-line-length):
24957 * progmodes/glasses.el (glasses-change):
24958 * progmodes/octave-mod.el (octave-fill-paragraph):
24959 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24960 (python-pdbtrack-grub-for-buffer, python-sentinel):
24961 * progmodes/sql.el (sql-save-connection):
24962 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24963 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24964 Mark unused parameters.
24965
24966 * progmodes/compile.el (compilation--flush-directory-cache)
24967 (compilation--flush-parse, compile-internal): Mark unused parameters.
24968 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24969 (compilation-next-error-function): Remove unused variable `timestamp'.
24970
24971 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24972 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24973
24974 * progmodes/dcl-mode.el (dcl-end-of-command):
24975 Remove unused variable `start'.
24976 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24977 (dcl-option-value-basic, dcl-option-value-offset)
24978 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24979 Mark unused parameters.
24980 (dcl-save-local-variable): Remove unused variable `val'.
24981 (mode): Declare.
24982
24983 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24984 Mark unused parameters.
24985 (delphi-ignore-changes): Move before first use.
24986 (delphi-charset-token-at): Remove unused variable `start'.
24987 (delphi-else-start): Remove unused variable `if-count'.
24988 (delphi-comment-block-start, delphi-comment-block-end):
24989 Remove unused variable `kind'.
24990 (delphi-indent-line): Remove unused variable `new-point'.
24991
24992 * progmodes/ebrowse.el (ebrowse-files-list)
24993 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24994 Mark unused parameters. Don't quote `lambda'.
24995 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24996 Don't quote `lambda'.
24997 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24998 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24999 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25000 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25001 Use `ignore-errors'.
25002 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25003 (ebrowse-view/find-file-and-search-pattern)
25004 (ebrowse-view/find-member-declaration/definition):
25005 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25006 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25007 Rename parameter PREFIX-ARG to PREFIX.
25008 (ebrowse-tags-read-name): Remove unused variables `start' and
25009 `member-info'.
25010 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25011 to `tags-file'.
25012
25013 * progmodes/etags.el (local-find-tag-hook): Declare.
25014 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25015 Mark unused parameters.
25016
25017 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25018 (executable-interpret): Mark unused parameter.
25019
25020 * progmodes/flymake.el (flymake-process-sentinel)
25021 (flymake-after-change-function)
25022 (flymake-create-temp-with-folder-structure)
25023 (flymake-get-include-dirs-dot): Mark unused parameters.
25024 (flymake-safe-delete-directory): Remove unused variable `err'.
25025
25026 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25027 (speedbar-timer-fn, speedbar-line-text)
25028 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25029 (speedbar-center-buffer-smartly): Declare functions.
25030 (gdb-find-watch-expression): Remove unused variable `array'.
25031 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25032 (gdb-starting): Mark unused parameters.
25033 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25034 (gdb-table-string): Remove unused variable `res'.
25035 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25036 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25037 (gdb-display-buffer): Remove unused variable `cur-size'.
25038
25039 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25040 allow lexical-binding compilation.
25041 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25042 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25043 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25044 Mark unused parameters.
25045 (gud-gdb-marker-filter): Remove unused variable `match'.
25046 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25047 lambda expressions and funcall them, instead of using `fset'.
25048
25049 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25050 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25051
25052 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25053 variable `header-beg'; use `let'.
25054
25055 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25056 `restart', `last-sexp' and `at-do'.
25057
25058 * progmodes/js.el (js--debug): Mark unused parameter.
25059 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25060 (js--splice-into-items): Remove unused variable `item'.
25061 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25062
25063 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25064 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25065 (makefile-complete): Remove unused variable `try'.
25066 (makefile-fill-paragraph, makefile-match-function-end):
25067 Mark unused parameters.
25068
25069 * progmodes/octave-inf.el (inferior-octave-complete):
25070 Remove unused variable `proc'.
25071 (inferior-octave-output-digest): Mark unused parameter.
25072
25073 * progmodes/perl-mode.el (perl-calculate-indent):
25074 Remove unused variable `err'.
25075
25076 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25077 (prolog-indent-line): Mark unused parameters.
25078 (prolog-indent-line): Remove unused variable `beg'.
25079
25080 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25081 (reporter-dont-compact-list): Declare.
25082
25083 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25084 Remove unused variable `char'.
25085 (sh-debug): Mark unused parameter.
25086 (sh-get-indent-info): Remove unused variable `start'.
25087 (sh-calculate-indent): Remove unused variable `var'.
25088
25089 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25090 (simula-electric-keyword): Remove unused variable `null'.
25091 (simula-search-backward, simula-search-forward): Remove unused
25092 variables `begin' and `end'.
25093
25094 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25095 Remove unused variable `pos'.
25096 (vera-electric-tab, vera-comment-uncomment-region):
25097 Mark unused parameters.
25098 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25099
25100 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25101
25102 * emacs-lisp/package.el (package--builtins, package-alist)
25103 (package-load-descriptor, package-built-in-p, package-activate)
25104 (define-package, package-installed-p)
25105 (package-compute-transaction, package-buffer-info)
25106 (package--push): Doc fix. Distinguish more clearly between
25107 version strings and version lists.
25108
25109 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25110
25111 Lexical-binding cleanup.
25112
25113 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25114 (5x5-make-mutate-best):
25115 * play/fortune.el (fortune-in-buffer):
25116 * play/gomoku.el (gomoku-init-display):
25117 * play/solitaire.el (solitaire, solitaire-do-check):
25118 * play/tetris.el (tetris-default-update-speed-function):
25119 Mark unused parameters.
25120
25121 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25122 (bubbles--shift): Remove unused variable `char-org'.
25123 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25124 (bubbles--show-images): Remove unused variable `char'.
25125
25126 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25127 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25128 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25129 (decipher-analyze-buffer): Use ?\s.
25130 (decipher-make-checkpoint): Remove unused variable `mapping'.
25131
25132 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25133
25134 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25135 Remove unused variable `result'; use `let'.
25136
25137 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25138 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25139 (gametree-children-shown-p, gametree-compute-reduced-score):
25140 Use `ignore-errors'.
25141
25142 * play/handwrite.el (ps-lpr-switches): Declare.
25143 (handwrite): Remove unused variables `pmin' and `lastp'.
25144
25145 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25146
25147 * play/landmark.el (landmark-init-display)
25148 (landmark-update-naught-weights): Mark unused parameters.
25149 (landmark-y): Remove unused variable `noise'. Simplify.
25150 (landmark-human-plays): Remove unused variable `score'.
25151
25152 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25153 (mpuz-try-proposal): Remove unused variable `game'.
25154
25155 * play/zone.el (life-patterns): Declare.
25156
25157 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25158
25159 * vc/vc.el (ediff-vc-internal): Declare function.
25160
25161 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25162
25163 * shell.el: Use lexical-binding and std completion UI.
25164 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25165 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25166 comint-preoutput-filter-functions rather than on
25167 comint-output-filter-functions.
25168 (shell-command-completion, shell--command-completion-data)
25169 (shell-filename-completion, shell-environment-variable-completion)
25170 (shell-c-a-p-replace-by-expanded-directory): New functions.
25171 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25172 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25173 (shell-dynamic-complete-environment-variable): Use them.
25174 (shell-dynamic-complete-as-environment-variable)
25175 (shell-dynamic-complete-as-command): Remove.
25176 (shell-match-partial-variable): Match past point.
25177 * comint.el: Clean up use of completion-at-point-functions.
25178 (comint-completion-at-point): New function.
25179 (comint-mode): Use it completion-at-point-functions.
25180 (comint-dynamic-complete): Make it obsolete.
25181 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25182 (comint-c-a-p-replace-by-expanded-history): New function.
25183 (comint-dynamic-complete-functions)
25184 (comint-replace-by-expanded-history): Use it.
25185 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25186 termination strings. Try harder to avoid second try-completion.
25187 (completion-in-region-mode-map): Disable bindings that don't work yet.
25188
25189 * comint.el: Use lexical-binding. Require CL.
25190 (comint-dynamic-complete-functions): Use comint-filename-completion.
25191 (comint-completion-addsuffix): Tweak custom type.
25192 (comint-filename-completion, comint--common-suffix)
25193 (comint--common-quoted-suffix, comint--table-subvert)
25194 (comint--complete-file-name-data): New functions.
25195 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25196 (comint-dynamic-list-filename-completions): Use them.
25197 (comint-dynamic-simple-complete): Make obsolete.
25198
25199 * minibuffer.el (completion-in-region-mode):
25200 Keep completion-in-region-mode--predicate global.
25201 (completion-in-region--postch):
25202 Assume completion-in-region-mode--predicate is not null.
25203
25204 * progmodes/flymake.el (flymake-start-syntax-check-process):
25205 Obey `dir'. Simplify.
25206
25207 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25208 we're in VC after all.
25209
25210 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25211
25212 * vc/vc.el (vc-diff-build-argument-list-internal)
25213 (vc-version-ediff, vc-ediff): New commands.
25214 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25215
25216 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25217
25218 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25219 add sanity check.
25220
25221 * obsolete/erc-hecomplete.el: Make obsolete.
25222 * obsolete/: Standardize obsolescence info in the header.
25223
25224 2011-04-20 Glenn Morris <rgm@gnu.org>
25225
25226 * calendar/solar.el (solar-horizontal-coordinates):
25227 Use the longitude argument rather than `calendar-longitude'.
25228 (solar-date-next-longitude): Remove unused locals.
25229
25230 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25231
25232 * whitespace.el: New version 13.2.1.
25233
25234 2011-04-20 felix <EmacsWiki> (tiny change)
25235
25236 * whitespace.el (global-whitespace-mode): Keep highlight when
25237 switching between major modes on a file.
25238
25239 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25240
25241 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25242 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25243 multi-line comments as well.
25244
25245 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25246
25247 Lexical-binding cleanup.
25248
25249 * arc-mode.el (archive-mode-revert):
25250 * cmuscheme.el (scheme-interactively-start-process):
25251 * custom.el (custom-initialize-delay):
25252 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25253 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25254 * emacs-lock.el (emacs-lock-clear-sentinel):
25255 * ezimage.el (defezimage):
25256 * follow.el (follow-avoid-tail-recenter):
25257 * fringe.el (set-fringe-mode-1):
25258 * generic-x.el (bat-generic-mode-compile):
25259 * help-mode.el (help-info-variable, help-do-xref)
25260 (help-mode-revert-buffer):
25261 * help.el (view-emacs-todo):
25262 * iswitchb.el (iswitchb-completion-help):
25263 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25264 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25265 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25266 * locate.el (locate-update):
25267 * longlines.el (longlines-encode-region)
25268 (longlines-after-change-function):
25269 * outline.el (outline-isearch-open-invisible):
25270 * ps-def.el (declare-function, charset-dimension, char-width)
25271 (encode-char):
25272 * ps-mule.el (ps-mule-plot-string):
25273 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25274 (recentf-edit-list-select, recentf-edit-list-validate)
25275 (recentf-open-files-action):
25276 * rect.el (delete-whitespace-rectangle-line)
25277 (rectangle-number-line-callback):
25278 * register.el (window-configuration-to-register)
25279 (frame-configuration-to-register):
25280 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25281 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25282 (xselect-convert-to-targets, xselect-convert-to-delete)
25283 (xselect-convert-to-filename, xselect-convert-to-charpos)
25284 (xselect-convert-to-lineno, xselect-convert-to-colno)
25285 (xselect-convert-to-os, xselect-convert-to-host)
25286 (xselect-convert-to-user, xselect-convert-to-class)
25287 (xselect-convert-to-name, xselect-convert-to-integer)
25288 (xselect-convert-to-atom, xselect-convert-to-identity):
25289 * subr.el (declare, ignore, process-kill-without-query)
25290 (text-clone-maintain):
25291 * terminal.el (te-get-char, te-tic-sentinel):
25292 * tool-bar.el (tool-bar-make-keymap):
25293 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25294 * type-break.el (type-break-mode, type-break-noninteractive-query):
25295 * view.el (View-back-to-mark):
25296 * wid-browse.el (widget-browse-action, widget-browse-widget)
25297 (widget-browse-widgets, widget-browse-sexp):
25298 * widget.el (define-widget-keywords):
25299 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25300 Mark unused parameters.
25301
25302 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25303 (align-areas): Remove unused variable `look'.
25304 (align-region): Remove unused variables `real-end' and `pos-list'.
25305
25306 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25307
25308 * bindings.el (mode-line-modified, mode-line-remote):
25309 Mark unused parameters.
25310 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25311
25312 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25313 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25314
25315 * comint.el (comint-history-isearch-pop-state)
25316 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25317 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25318 (comint-substitute-in-file-name): Doc fix.
25319
25320 * completion.el (cmpl-statistics-block): Mark unused parameter.
25321 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25322 (save-completions-to-file, load-completions-from-file):
25323 Remove unused local variable `e'.
25324
25325 * composite.el (compose-chars): Remove unused variable `len'.
25326 (lgstring-insert-glyph): Remove unused variable `g'.
25327 (compose-glyph-string): Remove unused variables `ascent',
25328 `descent', `lbearing' and `rbearing'.
25329 (compose-glyph-string-relative): Remove unused variables
25330 `lbearing', `rbearing' and `wadjust'.
25331 (compose-gstring-for-graphic): Remove unused variables `header',
25332 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25333 (compose-gstring-for-terminal): Remove unused variables `header'
25334 and `nchars'. Use `let', not `let*'.
25335
25336 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25337 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25338 (Custom-buffer-done, custom-buffer-create-internal)
25339 (custom-browse-visibility-action, custom-browse-group-tag-action)
25340 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25341 (widget-magic-mouse-down-action, custom-toggle-parent)
25342 (custom-add-parent-links, custom-toggle-hide-variable)
25343 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25344 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25345 (custom-face-menu-create, custom-variable-menu-create, get)
25346 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25347 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25348 (customize-apropos): Remove unused variable `tests'.
25349 (custom-group-value-create): Remove unused variable `hidden-p'.
25350 (sort-fold-case): Declare.
25351
25352 * cus-theme.el (custom-reset-standard-faces-list)
25353 (custom-reset-standard-variables-list): Declare.
25354 (customize-create-theme, custom-theme-revert, custom-theme-write)
25355 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25356 Mark unused parameters.
25357
25358 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25359
25360 * delim-col.el (delimit-columns-max): Move defvar before first use.
25361
25362 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25363 (describe-char): Don't quote `lambda'. Mark unused parameter.
25364
25365 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25366 (auto-insert): Declare.
25367 (desktop-restore-file-buffer): Rename desktop-* parameters;
25368 mark unused ones.
25369 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25370 (desktop-buffer): Rename desktop-* parameters.
25371
25372 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25373 (dframe-reposition-frame-xemacs, dframe-help-echo)
25374 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25375 Mark unused parameters.
25376
25377 * dired-aux.el (backup-extract-version-start, overwrite-query)
25378 (overwrite-backup-query, rename-regexp-query)
25379 (rename-non-directory-query): Declare.
25380 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25381 (dired-add-entry): Remove unused variable `orig-file-name'.
25382 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25383 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25384 `dired-copy-preserve-time' directly.
25385 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25386 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25387
25388 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25389 (dired-virtual-revert, dired-make-relative-symlink):
25390 Mark unused parameters.
25391 (manual-program): Declare.
25392 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25393 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25394 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25395
25396 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25397
25398 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25399
25400 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25401 Declare.
25402
25403 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25404
25405 * electric.el (Electric-command-loop): Rename parameter
25406 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25407
25408 * expand.el (expand-in-literal): Remove unused variable `here'.
25409
25410 * facemenu.el (facemenu-add-new-color):
25411 Remove unused variable `docstring'.
25412
25413 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25414 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25415 (face-attr-construct): Mark unused parameter. Doc fix.
25416 (read-color): Remove unused variable `hex-string'.
25417
25418 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25419 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25420 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25421 (display-buffer-other-frame): Remove unused variable `old-window'.
25422 (kill-buffer-hook): Declare.
25423 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25424 Mark unused parameters.
25425 (after-find-file): Pass 1 to `auto-save-mode', not t.
25426
25427 * files-x.el (auto-insert): Declare.
25428 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25429
25430 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25431 variable `buf'. Mark unused parameter.
25432 (find-lisp-insert-directory): Mark unused parameter.
25433
25434 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25435 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25436 (format-common-tail): Remove, unused.
25437 (format-deannotate-region): Remove unused variable `loc'.
25438 (format-annotate-region): Remove unused variable `p'.
25439 (format-annotate-single-property-change): Remove unused variables
25440 `default' and `tail'.
25441
25442 * forms.el (read-file-filter): Declare.
25443 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25444
25445 * frame.el (frame-creation-function-alist): Mark unused parameter.
25446 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25447
25448 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25449 Remove unused parameters.
25450 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25451 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25452
25453 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25454 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25455 (hfy-prepare-tag-map): Mark unused parameters.
25456 (htmlfontify-buffer): Use `called-interactively-p'.
25457
25458 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25459 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25460 (ibuffer-do-occur): Mark unused parameters.
25461 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25462 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25463
25464 * ibuffer.el: Don't quote `lambda'.
25465 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25466 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25467 Mark unused parameters.
25468
25469 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25470 (ido-completing-read): Mark unused parameters.
25471 (ido-copy-current-word): Mark unused parameters;
25472 remove unused variable `name'.
25473 (ido-sort-merged-list): Remove unused parameter `dirs'.
25474
25475 * ielm.el (ielm-input-sender): Mark unused parameter.
25476 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25477 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25478 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25479 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25480 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25481
25482 * image-dired.el (image-dired-display-thumbs): Remove unused
25483 variables `curr-file' and `count'.
25484 (image-dired-remove-tag): Remove unused variable `start'.
25485 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25486 variable `curr-file'
25487 (image-dired-rotate-original): Remove unused variable `temp-file'.
25488 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25489 Remove unused variable `file'.
25490 (image-dired-gallery-generate): Remove unused variable `curr'.
25491 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25492
25493 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25494
25495 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25496
25497 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25498
25499 * isearch.el (minibuffer-history-symbol): Declare.
25500 (isearch-edit-string): Remove unused variable `err'.
25501 (isearch-message-prefix, isearch-message-suffix):
25502 Mark unused parameters.
25503
25504 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25505
25506 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25507
25508 * makesum.el (double-column): Remove unused variable `cnt'.
25509
25510 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25511 (ido-ignore-item-temp-list): Declare.
25512
25513 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25514 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25515 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25516 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25517 `mouse-col-delta'.
25518
25519 * mouse-sel.el (mouse-extend-internal):
25520 Remove unused variable `orig-window-frame'.
25521
25522 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25523 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25524 Move declarations before first use.
25525 (pcomplete-opt): Mark unused parameters; doc fix.
25526
25527 * proced.el (proced-revert): Mark unused parameter.
25528 (proced-send-signal): Remove unused variable `err'.
25529
25530 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25531 Rename parameter PREFIX-ARG to ARG.
25532 (ps-basic-plot-string, ps-basic-plot-whitespace):
25533 Mark unused parameters.
25534
25535 * replace.el (replace-count): Define.
25536 (occur-revert-function): Mark unused parameters.
25537 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25538 (isearch-case-fold-search, isearch-string): Declare.
25539 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25540 bind `case-fold-search'. Remove unused variables `beg' and `end',
25541 and simplify.
25542 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25543 COUNT and bind `replace-count'.
25544 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25545 to COUNT.
25546
25547 * savehist.el (print-readably, print-string-length): Declare.
25548
25549 * shadowfile.el (shadow-expand-cluster-in-file-name):
25550 Remove unused variable `cluster'.
25551 (shadow-copy-file): Remove unused variable `i'.
25552 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25553 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25554 (shadow-define-literal-group, shadow-define-regexp-group)
25555 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25556
25557 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25558 (shell): Use `called-interactively-p'.
25559 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25560
25561 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25562 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25563 (delete-backward-char): Remove unused variable `ocol'.
25564 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25565 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25566 (event-apply-hyper-modifier, event-apply-shift-modifier)
25567 (event-apply-control-modifier, event-apply-meta-modifier):
25568 Mark unused parameters.
25569 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25570 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25571
25572 * speedbar.el (speedbar-ignored-directory-expressions)
25573 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25574 (speedbar-find-file, speedbar-dir-follow)
25575 (speedbar-directory-buttons-follow, speedbar-tag-find)
25576 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25577 (speedbar-buffers-line-directory, speedbar-buffer-click):
25578 Mark unused parameters.
25579 (speedbar-tag-file): Remove unused variable `mode'.
25580 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25581
25582 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25583
25584 * talk.el (talk): Remove unused variable `display'.
25585
25586 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25587 (tar-write-region-annotate): Mark unused parameter.
25588
25589 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25590 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25591 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25592 warning by another.
25593
25594 * time-stamp.el (time-stamp-string-preprocess):
25595 Remove unused variable `require-padding'.
25596
25597 * tree-widget.el (widget-glyph-enable): Declare.
25598 (tree-widget-action): Mark unused parameter.
25599
25600 * w32-fns.el (x-get-selection): Mark unused parameter.
25601 (autoload-make-program, generated-autoload-file): Declare.
25602
25603 * wdired.el (wdired-revert): Mark unused parameters.
25604 (wdired-xcase-word): Remove unused variable `err'.
25605
25606 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25607 (whitespace-help-scroll): Remove unused variable `data-help'.
25608
25609 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25610 (widget-image-insert, widget-after-change, default)
25611 (widget-default-format-handler, widget-default-notify)
25612 (widget-default-prompt-value, widget-info-link-action)
25613 (widget-url-link-action, widget-function-link-action)
25614 (widget-variable-link-action, widget-file-link-action)
25615 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25616 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25617 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25618 (widget-insert-button-action, widget-delete-button-action, visibility)
25619 (widget-documentation-link-action, widget-documentation-string-action)
25620 (widget-const-prompt-value, widget-regexp-match, symbol)
25621 (widget-coding-system-prompt-value)
25622 (widget-key-sequence-value-to-external, sexp)
25623 (widget-sexp-value-to-internal, character, vector, cons)
25624 (widget-choice-prompt-value, widget-boolean-prompt-value)
25625 (widget-color--choose-action): Mark unused parameters.
25626 (widget-item-match-inline, widget-choice-match-inline)
25627 (widget-checklist-match, widget-checklist-match-inline)
25628 (widget-group-match): Rename parameter VALUES to VALS.
25629 (widget-field-value-set): Remove unused variable `size'.
25630 (widget-color-action): Remove unused variables `value' and `start'.
25631
25632 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25633 variable `dir'. Doc fix.
25634 (windmove-find-other-window): Don't pass it.
25635
25636 * window.el (count-windows): Mark unused parameter.
25637 (bw-adjust-window): Remove unused variable `err'.
25638
25639 * woman.el (woman-file-name): Remove unused variable `default'.
25640 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25641 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25642 (global-font-lock-mode): Declare.
25643 (woman-decode-region): Mark unused parameter.
25644 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25645
25646 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25647 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25648 (x-dnd-handle-moz-url): Remove unused variable `title'.
25649 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25650
25651 * xml.el (xml-parse-tag, xml-parse-attlist):
25652 Remove unused variable `pos'.
25653
25654 2011-04-19 Glenn Morris <rgm@gnu.org>
25655
25656 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25657 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25658 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25659 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25660 * calendar/cal-html.el (cal-html-insert-minical):
25661 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25662 (calendar-mark-date-pattern):
25663 Prefix "unused" locals.
25664
25665 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25666 optional argument `style'.
25667
25668 * calendar/appt.el (appt-make-list):
25669 * calendar/cal-china.el (calendar-chinese-date-string):
25670 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25671 (diary-hebrew-yahrzeit):
25672 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25673 * calendar/calendar.el (calendar-generate-window):
25674 * calendar/time-date.el (time-to-days):
25675 Remove unused local variables.
25676
25677 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25678
25679 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25680 glyphless-char-display table.
25681 (tabulated-list-glyphless-char-display): New var.
25682
25683 2011-04-18 Sam Steingold <sds@gnu.org>
25684
25685 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25686 to acknowledgments.
25687
25688 2011-04-17 Glenn Morris <rgm@gnu.org>
25689
25690 * calendar/diary-lib.el (diary-sexp-entry):
25691 * calendar/holidays.el (holiday-sexp):
25692 Set debug-on-error rather than the removed stack-trace-on-error.
25693
25694 2011-04-16 Glenn Morris <rgm@gnu.org>
25695
25696 * progmodes/f90.el: Use lexical-binding.
25697 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25698
25699 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25700
25701 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25702 (mail-mode): Setup mailalias completion here instead.
25703 * mail/mailalias.el: Use lexical-binding.
25704 (pattern, mailalias-done): Declare dynamic.
25705 (mail-completion-at-point-function): New function, from mail-complete.
25706 (mail-complete): Use it.
25707 (mail-completion-expand): New function.
25708 (mail-get-names): Use it.
25709 (mail-directory, mail-directory-process, mail-directory-stream):
25710 Don't use `pattern' for lexically bound arg.
25711
25712 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25713
25714 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25715 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25716 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25717
25718 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25719 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25720 (byte-interactive-p): Define them again, for use when inlining
25721 old code.
25722
25723 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25724
25725 * loadup.el: Use `string-to-number', not `string-to-int'.
25726
25727 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25728
25729 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25730 gud-gdb-complete-command.
25731 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25732 (gud-gdb-completion-at-point): New function.
25733 (gud-gdb-completions): Remove.
25734
25735 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25736
25737 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25738 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25739 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25740 whether `executable-find' is bound.
25741
25742 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25743
25744 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25745
25746 * minibuffer.el (completion-in-region-mode-predicate)
25747 (completion-in-region-mode--predicate): New vars.
25748 (completion-in-region, completion-in-region--postch)
25749 (completion-in-region-mode): Use them.
25750 (completion--capf-wrapper): Also return the hook function.
25751 (completion-at-point, completion-help-at-point):
25752 Adjust and provide a predicate.
25753
25754 Preserve arg names for advice of subr and lexical functions (bug#8457).
25755 * help-fns.el (help-function-arglist): Consolidate the subr and
25756 new-byte-code cases. Add argument `preserve-names' to extract names
25757 from the docstring when needed.
25758 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25759 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25760 (ad-arglist): Use help-function-arglist's new arg.
25761 (ad-definition-type): Use cond.
25762
25763 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25764
25765 * autorevert.el (auto-revert-handler):
25766 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25767 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25768 Don't quote lambda.
25769
25770 * image-mode.el (image-transform-set-scale):
25771 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25772
25773 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25774
25775 * net/network-stream.el (network-stream-open-starttls): Only do
25776 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25777 Upgrades via gnutls-cli are too slow to be done opportunistically.
25778
25779 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25780
25781 * dframe.el (dframe-current-frame): Remove spurious quote.
25782
25783 2011-04-12 Glenn Morris <rgm@gnu.org>
25784
25785 * calendar/cal-tex.el (cal-tex-end-document):
25786 Try to automatically use latin1 input if needed.
25787
25788 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25789 Don't try to cons a mark onto an empty element.
25790
25791 2011-04-11 Leo Liu <sdl.web@gmail.com>
25792
25793 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25794 buffers.
25795 (ido-kill-buffer-at-head): Support killing virtual buffers.
25796
25797 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25798
25799 * minibuffer.el (completion-show-inline-help): New var.
25800 (completion--do-completion, minibuffer-complete)
25801 (minibuffer-force-complete, minibuffer-complete-word):
25802 Inhibit minibuffer messages if completion-show-inline-help is nil.
25803
25804 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25805 to avoid interference from inline help (Bug#5849).
25806
25807 2011-04-10 Leo Liu <sdl.web@gmail.com>
25808
25809 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25810 Fix typo.
25811
25812 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25813
25814 * image-mode.el (image-toggle-display-image): Signal an error if
25815 not in Image mode.
25816 (image-transform-mode, image-transform-resize)
25817 (image-transform-set-rotation): Doc fix.
25818 (image-transform-set-resize): Delete.
25819 (image-transform-set-scale, image-transform-fit-to-height)
25820 (image-transform-fit-to-width): Handle image-toggle-display-image
25821 and image-transform-resize directly.
25822
25823 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25824
25825 * doc-view.el (doc-view-fit-width-to-window)
25826 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25827 New functions for fitting the shown image to the Emacs window size.
25828 (doc-view-mode-map): Add bindings for the new functions.
25829
25830 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25831
25832 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25833 Fix typo in docstring.
25834
25835 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25836
25837 * files.el (file-size-human-readable): Produce one digit after
25838 decimal, like "ls -lh" does.
25839
25840 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25841 the file size representation.
25842
25843 * simple.el (list-processes): If async subprocesses are not
25844 available, error out with a clear error message.
25845
25846 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25847
25848 * help.el (help-form-show): New function, to be called from C.
25849 Put help-form output in a buffer named differently than *Help*.
25850
25851 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25852
25853 * files.el (file-size-human-readable): New function.
25854
25855 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25856 computing the representation inline. Don't require `cl'.
25857
25858 2011-04-08 Glenn Morris <rgm@gnu.org>
25859
25860 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25861
25862 * net/browse-url.el (browse-url-firefox):
25863 Test system-type, not system-configuration.
25864
25865 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25866 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25867 Use log-edit-empty-buffer-p. (Bug#7598)
25868
25869 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25870 (rlogin-mode-map): Initialize in the defvar.
25871 (rlogin): Use ignore-errors.
25872
25873 * replace.el (occur-mode-map): Some fixes for menu items.
25874
25875 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25876
25877 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25878
25879 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25880
25881 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25882 issuing unused warnings.
25883
25884 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25885 macro directly.
25886
25887 * simple.el: Lisp reimplement of list-processes. Based on an
25888 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25889 (process-menu-mode): New major mode.
25890 (list-processes--refresh, list-processes):
25891 (process-menu-visit-buffer): New functions.
25892
25893 * files.el (save-buffers-kill-emacs): Don't assume any return
25894 value of list-processes, which is undocumented anyway.
25895
25896 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25897
25898 * emacs-lisp/tabulated-list.el: New file.
25899
25900 * emacs-lisp/package.el: Use Tabulated List mode.
25901 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25902 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25903 table format using Tabulated List mode variables.
25904 (package--push): New macro, replacing package-list-maybe-add.
25905 (package-menu--generate): Use package--push. Renamed from
25906 package--generate-package-list.
25907 (package-menu-refresh, list-packages): Use it.
25908 (package-menu--print-info): Rename from package-print-package.
25909 Return insertion data instead of inserting it directly.
25910 (package-menu-describe-package, package-menu-execute):
25911 Use tabulated-list-get-id.
25912 (package-menu-mark-delete, package-menu-mark-install)
25913 (package-menu-mark-unmark, package-menu-backup-unmark)
25914 (package-menu-mark-obsolete-for-deletion):
25915 Use tabulated-list-put-tag.
25916 (package--list-packages, package-menu-revert)
25917 (package-menu-get-package, package-menu-get-version)
25918 (package-menu-sort-by-column): Functions deleted.
25919 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25920 (package-menu--status-predicate, package-menu--version-predicate)
25921 (package-menu--name-predicate)
25922 (package-menu--description-predicate): Handle arguments in the
25923 Tabulated List format.
25924 (package-list-packages-no-fetch): Call list-packages.
25925
25926 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25927
25928 * files.el (after-find-file-from-revert-buffer): Remove variable.
25929 (after-find-file): Don't bind it.
25930 (revert-buffer-in-progress-p): New variable.
25931 (revert-buffer): Bind it.
25932 Pass nil for `after-find-file-from-revert-buffer'.
25933
25934 * saveplace.el (save-place-find-file-hook): Use new variable
25935 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25936
25937 2011-04-06 Glenn Morris <rgm@gnu.org>
25938
25939 * Makefile.in (AUTOGEN_VCS): New variable.
25940 (autoloads): Use $AUTOGEN_VCS.
25941
25942 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25943 * calendar/calendar.el (calendar-mode-map):
25944 Check for toolkit scroll bars. (Bug#8305)
25945
25946 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25947
25948 * minibuffer.el (completion-in-region--postch)
25949 (completion-in-region-mode): Remove unnecessary messages.
25950
25951 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25952
25953 * font-lock.el (font-lock-refresh-defaults):
25954 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25955 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25956
25957 * info.el (Info-directory-list, Info-read-node-name-2)
25958 (Info-split-parameter-string): Doc fixes.
25959 (Info-virtual-nodes): Reflow docstring.
25960 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25961 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25962 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25963 Fix typos in docstrings.
25964 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25965 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25966 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25967 (Info-restore-desktop-buffer): Mark unused parameters.
25968 (Info-directory-find-file, Info-directory-find-node)
25969 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25970 (Info-virtual-index-find-node, Info-apropos-find-file)
25971 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25972 Mark unused parameters; fix typos in docstrings.
25973 (Info-virtual-index): Remove unused local variable `nodename'.
25974
25975 2011-04-05 Deniz Dogan <deniz@dogan.se>
25976
25977 * net/rcirc.el: Update my e-mail address.
25978 (rcirc-mode-map): Remove M-o binding.
25979
25980 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25981
25982 * startup.el (command-line): Save the cursor's theme-face
25983 directly, instead of using face-override-spec.
25984
25985 * custom.el (load-theme): Minor optimization in assigning faces.
25986
25987 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25988
25989 * help-fns.el (describe-variable): Complete all variables having
25990 documentation, including keywords.
25991 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25992
25993 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25994
25995 Convert to lexical-binding.
25996
25997 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25998 (bs--get-marked-string, bs--get-modified-string)
25999 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26000 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26001 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26002
26003 * ehelp.el (electric-help-execute-extended)
26004 (electric-help-ctrl-x-prefix):
26005 * hexl.el (hexl-revert-buffer-function):
26006 * linum.el (linum-after-change, linum-after-scroll):
26007 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26008
26009 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26010
26011 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26012
26013 * epa-dired.el:
26014 * epa-mail.el:
26015 * epa-hook.el:
26016 * epa-file.el:
26017 * epa.el:
26018 * epg.el: Use lexical binding.
26019
26020 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26021
26022 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26023
26024 * textmodes/flyspell.el (flyspell-word): Recognize default
26025 dictionary case for flyspell-mark-duplications-exceptions.
26026 Use regexp matching for languages.
26027 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26028 default dictionary (Bug#7926).
26029
26030 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26031
26032 * emacs-lisp/package.el (package--with-work-buffer):
26033 Recognize https URLs.
26034
26035 * net/network-stream.el: Move from gnus/proto-stream.el.
26036 Change prefix to network-stream throughout.
26037 (open-protocol-stream): Merge into open-network-stream, leaving
26038 open-protocol-stream as an alias. Handle nil BUFFER args.
26039
26040 * subr.el (open-network-stream): Move to net/network-stream.el.
26041
26042 2011-04-02 Glenn Morris <rgm@gnu.org>
26043
26044 * find-dired.el (find-exec-terminator): New option.
26045 (find-ls-option): Test for -ls support.
26046 (find-ls-subdir-switches): Test for -b in find-ls-option.
26047 (find-dired, find-grep-dired): Doc fixes.
26048 (find-dired): Use find-exec-terminator.
26049
26050 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26051 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26052 (find-name-arg): Remove purecopy.
26053
26054 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26055 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26056 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26057 accordingly. Don't add the null-device if not needed.
26058
26059 * files.el (save-some-buffers): Doc fix.
26060
26061 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26062
26063 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26064
26065 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26066
26067 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26068 Use `dolist' rather than `mapcar'.
26069
26070 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26071
26072 Add lexical binding.
26073
26074 * subr.el (apply-partially): Use new closures rather than CL.
26075 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26076 (dolist, dotimes): Use slightly different expansion for lexical code.
26077 (functionp): Move to C.
26078 (letrec): New macro.
26079 (with-wrapper-hook): Use it and apply-partially instead of CL.
26080 (eval-after-load): Preserve lexical-binding.
26081 (save-window-excursion, with-output-to-temp-buffer): Turn them
26082 into macros.
26083
26084 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26085
26086 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26087 than the arglist.
26088 (help-add-fundoc-usage): Don't add `Not documented'.
26089 (help-function-arglist): Handle closures, subroutines, and new
26090 byte-code-functions.
26091 (help-make-usage): Remove leading underscores.
26092 (describe-function-1): Handle closures.
26093 (describe-variable): Use special-variable-p for completion.
26094
26095 * files.el (lexical-binding): Declare safe.
26096
26097 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26098 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26099 (pcase): Add `let' pattern.
26100 Change memoization so it actually works.
26101 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26102 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26103 <let>: New case.
26104
26105 * emacs-lisp/macroexp.el: Use lexical binding.
26106 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26107 Don't convert ' to #' without checking that it's indeed quoting
26108 a lambda.
26109
26110 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26111 Use eval-sexp-add-defvars.
26112 (eval-sexp-add-defvars): New fun.
26113
26114 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26115
26116 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26117 Don't autoload.
26118 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26119 than the internal `byte-compile-lambda'.
26120 (defmethod): Don't hide code under quotes.
26121 (eieio-defmethod): New `code' argument.
26122
26123 * emacs-lisp/eieio-comp.el: Remove.
26124
26125 * emacs-lisp/edebug.el (edebug-eval-defun)
26126 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26127 (edebug-toggle): Avoid `eval'.
26128
26129 * emacs-lisp/disass.el (disassemble-internal): Handle new
26130 `closure' objects.
26131 (disassemble-1): Handle new byte codes.
26132
26133 * emacs-lisp/cl.el (pushnew): Silence warning.
26134
26135 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26136 (cl-byte-compile-throw): Remove.
26137 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26138
26139 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26140 closures.
26141
26142 * emacs-lisp/cconv.el: New file.
26143
26144 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26145 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26146 (byte-compile-initial-macro-environment):
26147 Handle declare-function here.
26148 (byte-compile--lexical-environment): New var.
26149 (byte-stack-ref, byte-stack-set, byte-discardN)
26150 (byte-discardN-preserve-tos): New lap codes.
26151 (byte-interactive-p): Don't use any more.
26152 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26153 New macros.
26154 (byte-compile-lapcode): Use them and handle new lap codes.
26155 (byte-compile-obsolete): Remove.
26156 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26157 (byte-compile-arglist-warn): Check late def of inlinable funs.
26158 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26159 since they should have been expanded by now.
26160 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26161 (byte-compile-from-buffer): Remove unused second arg.
26162 (byte-compile-preprocess): New function.
26163 (byte-compile-toplevel-file-form): New function to distinguish
26164 file-form calls from outside from file-form calls from hunk-handlers.
26165 (byte-compile-file-form): Simplify.
26166 (byte-compile-file-form-defsubst): Remove.
26167 (byte-compile-file-form-defmumble): Simplify now that
26168 byte-compile-lambda always returns a byte-code-function.
26169 (byte-compile): Preprocess.
26170 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26171 Remove, not used any more.
26172 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26173 (byte-compile-make-args-desc): New funs.
26174 (byte-compile-lambda): Handle lexical functions. Always return
26175 a byte-code-function.
26176 (byte-compile-reserved-constants): New var, to make up room for
26177 closed-over variables.
26178 (byte-compile-constants-vector): Obey it.
26179 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26180 (byte-compile-macroexpand-declare-function): New function.
26181 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26182 byte-code-functions.
26183 (byte-compile-form): Check obsolescence here.
26184 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26185 (byte-compile-variable-ref): Remove.
26186 (byte-compile-dynamic-variable-op): New fun.
26187 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26188 (byte-compile-variable-set): New funs.
26189 (byte-compile-discard): Add 2 args.
26190 (byte-compile-stack-ref, byte-compile-stack-set)
26191 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26192 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26193 macroexpand-all instead.
26194 (byte-compile-quote-form): Remove.
26195 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26196 (byte-compile-bind, byte-compile-unbind): New funs.
26197 (byte-compile-let): Handle let* and lexical binding.
26198 (byte-compile-let*): Remove.
26199 (byte-compile-catch, byte-compile-unwind-protect)
26200 (byte-compile-track-mouse, byte-compile-condition-case):
26201 Handle a new :fun-body form, used for lexical scoping.
26202 (byte-compile-save-window-excursion)
26203 (byte-compile-with-output-to-temp-buffer): Remove.
26204 (byte-compile-defun): Simplify.
26205 (byte-compile-stack-adjustment): New fun.
26206 (byte-compile-out): Use it.
26207 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26208
26209 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26210 handler any more.
26211
26212 * emacs-lisp/byte-opt.el: Use lexical binding.
26213 (byte-inline-lapcode): Remove (to bytecomp).
26214 (byte-compile-inline-expand): Pay attention to inlining to/from
26215 lexically bound code.
26216 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26217 any more.
26218 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26219 any more and don't call compiler-macros.
26220 (byte-compile-splice-in-already-compiled-code): Remove.
26221 (byte-code): Don't inline any more.
26222 (disassemble-offset): Receive `bytes' as argument rather than via
26223 dynamic scoping.
26224 (byte-compile-tag-number): Declare before first use.
26225 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26226 `return' even if make-spliceable.
26227 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26228 obsolete interactive-p.
26229 (byte-optimize-lapcode): Optimize new lap-codes.
26230 Don't trip up on new form of `byte-constant' lap code.
26231
26232 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26233
26234 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26235
26236 * custom.el (custom-initialize-default, custom-declare-variable):
26237 Use `defvar'.
26238
26239 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26240 New variables.
26241 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26242 (COMPILE_FIRST): Add macroexp and cconv.
26243 * makefile.w32-in: Mirror changes in Makefile.in.
26244
26245 * vc/cvs-status.el:
26246 * vc/diff-mode.el:
26247 * vc/log-edit.el:
26248 * vc/log-view.el:
26249 * vc/smerge-mode.el:
26250 * textmodes/bibtex-style.el:
26251 * textmodes/css-mode.el:
26252 * startup.el:
26253 * uniquify.el:
26254 * minibuffer.el:
26255 * newcomment.el:
26256 * reveal.el:
26257 * server.el:
26258 * mpc.el:
26259 * emacs-lisp/smie.el:
26260 * doc-view.el:
26261 * dired.el:
26262 * abbrev.el: Use lexical binding.
26263
26264 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26265
26266 * info.el (info-display-manual): New function.
26267
26268 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26269
26270 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26271
26272 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26273
26274 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26275 an entry for that server in rcirc-authinfo. (Bug#8385)
26276
26277 2011-03-31 Glenn Morris <rgm@gnu.org>
26278
26279 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26280
26281 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26282
26283 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26284
26285 * progmodes/python.el (python-default-interpreter)
26286 (python-python-command-args, python-jython-command-args)
26287 (python-which-shell, python-which-args, python-which-bufname)
26288 (python-file-queue, python-comint-output-filter-function)
26289 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26290 variables and functions.
26291
26292 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26293
26294 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26295 (completion-in-region-mode): New minor mode.
26296 (completion-in-region): Use it.
26297 (completion-in-region--data, completion-in-region-mode-map): New vars.
26298 (completion-in-region--postch): New function.
26299 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26300 New vars.
26301 (completion--capf-wrapper): New function.
26302 (completion-at-point): Use it to track well-behavedness of
26303 hook functions.
26304 (completion-help-at-point): New command.
26305
26306 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26307
26308 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26309 syntax class to search for whitespace on a single line
26310 (Message-ID: <4D938140.4030905@redhat.com>).
26311
26312 2011-03-30 Leo Liu <sdl.web@gmail.com>
26313
26314 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26315 New commands.
26316 (edit-abbrevs-map): Bind them here.
26317 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26318
26319 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26320
26321 * allout.el (allout-hide-by-annotation, allout-flag-region):
26322 Reduce possibility of overlay leakage by making them volatile.
26323
26324 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26325 hash is not shared between buffers. Mode initialization is
26326 responsible for giving it a useful starting value.
26327 (allout-item-span): Reduce possibility of overlay leakage by
26328 making them volatile.
26329 (allout-widgets-count-buttons-in-region): Add diagnostic function
26330 for tracking down button overlay leaks.
26331
26332 2011-03-29 Leo Liu <sdl.web@gmail.com>
26333
26334 * ido.el (ido-read-internal): Use the default history var
26335 minibuffer-history if no HISTORY is specified.
26336
26337 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26338
26339 * net/imap.el (imap-shell-open, imap-process-connection-type):
26340 Use imap-process-connection-type for 'shell' streams as well as
26341 Kerberos, SSL, other subprocesses.
26342
26343 2011-03-28 Leo Liu <sdl.web@gmail.com>
26344
26345 * abbrev.el (abbrev-table-empty-p): New function.
26346 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26347 nonempty ones. (Bug#5937)
26348
26349 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26350
26351 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26352
26353 2011-03-27 Leo Liu <sdl.web@gmail.com>
26354
26355 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26356 for foreground and background colors.
26357 (ansi-color-make-color-map): Adapt.
26358
26359 2011-03-25 Leo Liu <sdl.web@gmail.com>
26360
26361 * midnight.el (midnight-time-float): Remove. Note it calculates
26362 the microsecond component incorrectly and seconds-to-time does the
26363 same job.
26364 Remove redundant (require 'timer).
26365
26366 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26367 (ido-completions): Remove unused arguments. (Bug#8329)
26368
26369 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26370
26371 * minibuffer.el (completion--flush-all-sorted-completions):
26372 Remove itself from hook.
26373 (completion-at-point): Let the functions perform the completion
26374 immediately and return nil or t.
26375 * comint.el (comint-dynamic-complete-functions): Now identical to
26376 completion-at-point-functions.
26377 (comint-dynamic-list-input-ring): Remove unused var `index'.
26378 (comint--match-partial-filename, comint--unquote&expand-filename):
26379 New funs, split from comint-match-partial-filename.
26380 (comint-dynamic-complete): Use completion-at-point.
26381 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26382
26383 2011-03-24 Drew Adams <drew.adams@oracle.com>
26384
26385 * thingatpt.el: Support `defun'.
26386
26387 2011-03-23 Leo Liu <sdl.web@gmail.com>
26388
26389 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26390
26391 * help-mode.el (help-mode-finish): Tweak regexp.
26392
26393 2011-03-23 Glenn Morris <rgm@gnu.org>
26394
26395 * eshell/esh-opt.el (eshell-eval-using-options):
26396 Do not bind unused local variable `eshell-option-stub'.
26397
26398 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26399
26400 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26401
26402 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26403 keymap variable in `with-no-warnings' to avoid a warning when the
26404 keymap has been already `defconst'ed.
26405
26406 2011-03-22 Leo Liu <sdl.web@gmail.com>
26407
26408 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26409 encode all chars in abbrevs; otherwise use emacs-mule or
26410 utf-8-emacs. (Bug#8308)
26411
26412 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26413
26414 * simple.el (backward-delete-char-untabify):
26415 Avoid warning about using `delete-backward-char'.
26416
26417 * image.el (image-type-file-name-regexps): Make it variable.
26418 `imagemagick-register-types' modifies it, and the user may want
26419 to add new extensions for known image types.
26420 (imagemagick-register-types): Throw error if not using ImageMagick.
26421
26422 2011-03-22 Leo Liu <sdl.web@gmail.com>
26423
26424 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26425 located before rcirc-prompt-end-marker.
26426 (rcirc-complete): Error if point is not after rcirc prompt.
26427 Handle the case when table is nil.
26428 (rcirc-user-authenticated): Define to fix compiler warning.
26429
26430 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26431
26432 * custom.el (custom--inhibit-theme-enable): Make it affect only
26433 custom-theme-set-variables and custom-theme-set-faces.
26434 (provide-theme): Ignore custom--inhibit-theme-enable.
26435 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26436 (custom-enabling-themes): Delete variable.
26437 (enable-theme): Accept only loaded themes as arguments.
26438 Ignore the special custom-enabled-themes variable.
26439 (custom-enabled-themes): Forbid themes from setting this.
26440 Eliminate use of custom-enabling-themes.
26441 (custom-push-theme): Quote "changed" custom var entry.
26442
26443 2011-03-21 Leo Liu <sdl.web@gmail.com>
26444
26445 * ido.el (ido-read-internal): Add ido-selected to history instead
26446 of user input.
26447
26448 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26449
26450 * subr.el (deferred-action-list, deferred-action-function):
26451 Mark obsolete.
26452
26453 2011-03-21 Leo Liu <sdl.web@gmail.com>
26454
26455 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26456 change on 2011-02-13 (bug#8309).
26457
26458 * minibuffer.el (read-file-name-function): Change default value.
26459 (read-file-name--defaults): Rename from read-file-name-defaults.
26460 (read-file-name-default): Rename from read-file-name.
26461 (read-file-name): Call read-file-name-function.
26462
26463 2011-03-21 Glenn Morris <rgm@gnu.org>
26464
26465 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26466 Doc fixes.
26467
26468 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26469
26470 * cus-theme.el: Add missing provide statement.
26471 (customize-create-theme): Extract theme value correctly.
26472 (custom-theme-visit-theme): Autoload.
26473 (customize-create-theme): Prompt before inserting default faces.
26474
26475 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26476
26477 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26478 units and musical notes.
26479
26480 2011-03-20 Leo Liu <sdl.web@gmail.com>
26481
26482 * ido.el (ido-read-internal): Use completing-read-default.
26483 (ido-completing-read): Fix compatibility with completing-read.
26484
26485 2011-03-20 Christian Ohler <ohler@gnu.org>
26486
26487 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26488 (ert-delete-all-tests): Use `called-interactively-p' rather than
26489 `interactive-p'.
26490 (ert--make-xrefs-region): Respect END.
26491
26492 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26493
26494 * dired-aux.el (dired-create-directory): Signal an error if the
26495 directory already exists (Bug#8246).
26496
26497 * facemenu.el (list-colors-display): Call list-faces-display
26498 inside with-help-window.
26499 (list-colors-print): Use display property to align the final
26500 column, instead of checking window-width.
26501
26502 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26503
26504 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26505 windows-nt systems.
26506 (emerge-protect-metachars): Quote correctly for ms-dos and
26507 windows-nt systems.
26508
26509 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26510
26511 * info.el (info-initialize): Replace all uses of `:' with
26512 path-separator for compatibility with non-Unix systems.
26513 Cache quoting of path-separator. (Bug#8258)
26514
26515 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26516
26517 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26518 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26519 (mouse-avoidance-mode): Fix typos in docstrings.
26520
26521 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26522
26523 * startup.el (package-subdirectory-regexp): Move from package.el.
26524 Omit \\` and \\', and let callers add them.
26525
26526 * emacs-lisp/package.el (package-strip-version)
26527 (package-load-all-descriptors): Add \\` and \\' to
26528 package-subdirectory-regexp before using it.
26529 (package-untar-buffer): New arg DIR; ensure that file untars only
26530 into this expected directory. Remove superfluous delete-region.
26531 (package-unpack): Caller changed.
26532 (package-tar-file-info): Use package-subdirectory-regexp.
26533
26534 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26535
26536 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26537 diff-mode-shared-map (bug#8284).
26538 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26539
26540 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26541
26542 * calendar/time-date.el (format-seconds): Use assoc instead of
26543 assoc-string, since assoc-string doesn't exist in XEmacs.
26544
26545 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26546
26547 * custom.el (custom-known-themes): Reflow docstring.
26548 (custom-theme-load-path): Fix typo in docstring.
26549 (load-theme): Fix typo in error message.
26550 (custom-available-themes, custom-variable-theme-value):
26551 Use `let', not `let*'.
26552
26553 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26554
26555 * calc/README: Mention inclusion of musical notes.
26556
26557 * calc/calc-units.el (calc-lu-quant): Rename from
26558 `calc-logunits-quantity'.
26559 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26560 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26561 (calc-db): Rename from `calc-dblevel'.
26562 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26563 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26564 (calc-np): Rename from `calc-nplevel'.
26565 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26566 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26567 (calc-lu-plus): Rename from `calc-logunits-add'.
26568 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26569 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26570 (calc-lu-minus): Rename from `calc-logunits-sub'.
26571 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26572 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26573 (calc-lu-times): Rename from `calc-logunits-mul'.
26574 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26575 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26576 (calc-lu-divide): Rename from `calc-logunits-div'.
26577 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26578 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26579
26580 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26581 functions being autoloaded.
26582
26583 * calc/calc.el (calc-lu-power-reference): Rename from
26584 `calc-logunits-power-reference'.
26585 (calc-lu-field-reference): Rename from
26586 `calc-logunits-field-reference'.
26587
26588 * calc/calc-help.el (calc-l-prefix-help):
26589 Mention musical note functions.
26590
26591 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26592
26593 * minibuffer.el (completion-all-sorted-completions):
26594 Use :completion-cycle-penalty text property if present.
26595
26596 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26597
26598 * allout.el (allout-yank-processing): Adjust for new rebulleting
26599 regime so bullet being yanked is used without prompting the user
26600 for a choice.
26601
26602 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26603
26604 * startup.el (command-line): Warn the user that _emacs is deprecated.
26605
26606 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26607
26608 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26609 (delphi-verbose, delphi-comment-face, delphi-string-face)
26610 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26611 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26612 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26613 (delphi-new-comment-line, delphi-font-lock-defaults)
26614 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26615 Fix typos in docstrings.
26616
26617 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26618
26619 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26620 Invert the roles of character and string values for INSTEAD, so a
26621 string is used for the more common case of a defaulting prompt.
26622
26623 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26624
26625 * progmodes/ruby-mode.el (ruby-backward-sexp):
26626 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26627 * play/gamegrid.el (gamegrid-make-face):
26628 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26629 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26630 * notifications.el (notifications-notify):
26631 * net/xesam.el (xesam-search-engines):
26632 * net/quickurl.el (quickurl-list-insert):
26633 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26634
26635 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26636
26637 * startup.el (command-line): Update package subdirectory regexp.
26638
26639 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26640
26641 * allout.el (allout-abbreviate-flattened-numbering)
26642 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26643
26644 * subr.el (read-char-choice): Only show the cursor after the prompt,
26645 not after the answer.
26646
26647 2011-03-15 Kevin Ryde <user42@zip.com.au>
26648
26649 * help-fns.el (variable-at-point): Skip leading quotes, if any
26650 (bug#8253).
26651
26652 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26653
26654 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26655 warning message.
26656
26657 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26658
26659 * shell.el (shell): When called interactively, offer to change the
26660 shell file name on remote hosts.
26661
26662 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26663
26664 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26665 integration for LDAP parameters. The host, base, user or binddn,
26666 and secret tokens can be specified in a netrc file, for instance.
26667 This is optional because an `auth-source' parameter must be
26668 specified in the search attributes.
26669
26670 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26671
26672 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26673
26674 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26675
26676 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26677 into declaration. Remove redundant and harmful binding.
26678
26679 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26680
26681 * files.el (file-ownership-preserved-p): Pass `integer' as an
26682 explicit 2nd argument to `file-attributes'. If the file's owner
26683 is the Administrators group on Windows, and the current user is
26684 Administrator, consider that a match.
26685
26686 * server.el (server-ensure-safe-dir): Consider server directory
26687 safe on MS-Windows if its owner is the Administrators group while
26688 the current Emacs user is Administrator. Use `=' to compare
26689 numerical UIDs, since they could be integers or floats.
26690
26691 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26692
26693 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26694
26695 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26696
26697 Sync with Tramp 2.2.1.
26698
26699 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26700
26701 * net/trampver.el: Update release number.
26702
26703 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26704
26705 * progmodes/compile.el (compilation--previous-directory): Fix up
26706 various nil/dead-marker mismatches (bug#8014).
26707 (compilation-directory-properties, compilation-error-properties):
26708 Don't call it at a position past the one we're about to change.
26709
26710 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26711 Disable obsolescence warnings in the file that declares it.
26712
26713 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26714
26715 * allout-widgets.el (allout-widgets-tally):
26716 Initialize allout-widgets-tally as a hash table rather than nil to
26717 prevent mode-line redisplay warnings. Also, clarify the module
26718 description and fix a comment typo.
26719
26720 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26721
26722 * help-fns.el (describe-variable): Don't complete keywords.
26723 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26724
26725 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26726
26727 * emacs-lisp/package.el (package-version-join): Impose a standard
26728 string representation for pre/alpha/beta version lists.
26729 (package-unpack-single): Standardize the directory name by passing
26730 it through package-version-join.
26731 (package-strip-rcs-id): Accept any version string that does not
26732 signal an error in version-to-list.
26733
26734 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26735
26736 * simple.el (delete-trailing-whitespace): Return nil for the
26737 benefit of `write-file-functions'.
26738
26739 2011-03-10 Glenn Morris <rgm@gnu.org>
26740
26741 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26742
26743 * vc/vc-git.el (vc-git-program): New option.
26744 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26745 (vc-git--call): Use it.
26746
26747 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26748
26749 * cus-edit.el (Custom-newline): If no button at point, look
26750 for a subgroup button at start-of-line. (Bug#2298)
26751
26752 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26753
26754 2011-03-10 Julien Danjou <julien@danjou.info>
26755
26756 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26757 `cursor-type' is nil.
26758
26759 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26760
26761 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26762
26763 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26764
26765 * allout.el: Change so yank of distinctive-bullet items
26766 preserves the existing header prefix, rebulleting it if necessary,
26767 rather than replacing it. This is necessary for proper operation
26768 of cooperative addons like allout-widgets.
26769 (allout-make-topic-prefix, allout-rebullet-heading):
26770 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26771 value as alternate bullet to be used, instead of prompting the user
26772 for a bullet character.
26773
26774 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26775
26776 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26777 Do not use `tramp-file-name-port', because this returns also
26778 `tramp-default-port'.
26779
26780 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26781
26782 * net/rcirc.el (rcirc-handler-001): Remove useless
26783 with-rcirc-process-buffer.
26784 (rcirc-check-auth-status): Swap arguments to string-match.
26785
26786 2011-03-09 Glenn Morris <rgm@gnu.org>
26787
26788 * shell.el (shell-mode):
26789 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26790
26791 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26792 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26793
26794 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26795
26796 * emacs-lisp/package.el (package-refresh-contents)
26797 (package-menu-execute): Use condition-case-no-debug.
26798
26799 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26800
26801 * simple.el (shell-command-to-string): Use `process-file'.
26802
26803 * emacs-lisp/package.el (package-tar-file-info): Handle also
26804 remote files.
26805
26806 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26807 Use `equal' for upload base check.
26808
26809 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26810
26811 * textmodes/texinfo.el (texinfo-environments):
26812 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26813
26814 2011-03-08 Glenn Morris <rgm@gnu.org>
26815
26816 * cus-start.el (cursor-in-non-selected-windows):
26817 Fix :set quoting oddness. (Bug#8192)
26818
26819 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26820 in some setf expressions. (Bug#2159)
26821
26822 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26823
26824 * custom.el (custom-available-themes): Return themes in
26825 alphabetical order.
26826
26827 See ChangeLog.15 for earlier changes.
26828
26829 ;; Local Variables:
26830 ;; coding: utf-8
26831 ;; End:
26832
26833 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26834
26835 This file is part of GNU Emacs.
26836
26837 GNU Emacs is free software: you can redistribute it and/or modify
26838 it under the terms of the GNU General Public License as published by
26839 the Free Software Foundation, either version 3 of the License, or
26840 (at your option) any later version.
26841
26842 GNU Emacs is distributed in the hope that it will be useful,
26843 but WITHOUT ANY WARRANTY; without even the implied warranty of
26844 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26845 GNU General Public License for more details.
26846
26847 You should have received a copy of the GNU General Public License
26848 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.