* progmodes/octave.el (octave-begin-keywords, octave-end-keywords)
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-11 Leo Liu <sdl.web@gmail.com>
2
3 * progmodes/octave.el (octave-beginning-of-line)
4 (octave-end-of-line): Check before using up-list because it jumps
5 out of more syntactic contructs since moving to smie.
6 (octave-indent-comment): New function.
7 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8 (octave-begin-keywords, octave-end-keywords)
9 (octave-reserved-words, octave-smie-bnf-table)
10 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11
12 2013-05-11 Glenn Morris <rgm@gnu.org>
13
14 * faces.el (internal-face-x-get-resource):
15 * frame.el (ns-display-monitor-attributes-list):
16 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
17
18 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
19
20 * calc/calc-menu.el: Make it loadable in isolation.
21
22 * net/eudcb-bbdb.el: Make it loadable without bbdb.
23 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
24 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
25 (eudc-bbdb-query-internal): Require 'bbdb.
26
27 * lpr.el (lpr-headers-switches):
28 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
29
30 * progmodes/sql.el (sql-login-params): Fix and improve :type.
31
32 * emulation/edt-mapper.el: In batch mode, error rather than hang.
33
34 * term.el (term-set-escape-char): Make it idempotent.
35
36 2013-05-10 Leo Liu <sdl.web@gmail.com>
37
38 * progmodes/octave.el (inferior-octave-completion-table): No
39 longer a function and all uses changed. Use cache to speed up
40 completion due to bug#11906.
41 (octave-beginning-of-defun): Re-write to be more general.
42
43 2013-05-10 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
46
47 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
48
49 * comint.el (comint-redirect-send-command-to-process): Use :around
50 rather than :override for comint-redirect-filter.
51 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
52 Call it instead of comint-redirect-original-filter-function (which
53 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
54
55 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
56
57 * frame.el (display-monitor-attributes-list): Add NS case.
58 (ns-display-monitor-attributes-list): Declare.
59
60 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
61
62 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
63
64 2013-05-09 Glenn Morris <rgm@gnu.org>
65
66 * international/fontset.el (vertical-centering-font-regexp):
67 Set standard-value.
68
69 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
70
71 * bookmark.el (bookmark-search-delay):
72 * cus-start.el (vertical-centering-font-regexp):
73 * ps-mule.el (ps-mule-font-info-database-default):
74 * ps-print.el (ps-default-fg, ps-default-bg):
75 * type-break.el (type-break-good-break-interval):
76 * whitespace.el (whitespace-indentation-regexp)
77 (whitespace-space-after-tab-regexp):
78 * emacs-lisp/testcover.el (testcover-1value-functions)
79 (testcover-noreturn-functions, testcover-progn-functions)
80 (testcover-prog1-functions):
81 * emulation/viper-init.el (viper-emacs-state-cursor-color):
82 * eshell/em-glob.el (eshell-glob-translate-alist):
83 * play/tetris.el (tetris-tty-colors):
84 * progmodes/cpp.el (cpp-face-default-list):
85 * progmodes/flymake.el (flymake-allowed-file-name-masks):
86 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
87 (idlwave-help-browser-generic-args):
88 * progmodes/make-mode.el (makefile-special-targets-list):
89 * progmodes/python.el (python-shell-virtualenv-path):
90 * progmodes/verilog-mode.el (verilog-active-low-regexp)
91 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
92 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
93 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
94 * textmodes/reftex-vars.el (reftex-format-label-function):
95 * textmodes/remember.el (remember-diary-file): Fix custom types.
96
97 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
98 Add :version.
99
100 2013-05-09 Leo Liu <sdl.web@gmail.com>
101
102 * progmodes/octave.el (inferior-octave-completion-at-point):
103 Restore file completion. (Bug#14300)
104 (inferior-octave-startup): Fix incorrect highlighting for the
105 first prompt.
106
107 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
108
109 * progmodes/ruby-mode.el: First cut at SMIE support.
110 (ruby-use-smie): New var.
111 (ruby-smie-grammar): New constant.
112 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
113 (ruby-smie--forward-token, ruby-smie--backward-token)
114 (ruby-smie-rules): New functions.
115 (ruby-mode-variables): Setup SMIE if applicable.
116
117 2013-05-08 Eli Zaretskii <eliz@gnu.org>
118
119 * simple.el (line-move-visual): Signal beginning/end of buffer
120 only if vertical-motion moved less than it was requested. Avoids
121 silly incorrect error messages when there are display strings with
122 multiple newlines at EOL.
123
124 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
127 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
128 (prolog-char-quote-workaround):
129 * progmodes/cperl-mode.el (cperl-under-as-char):
130 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
131 Mark as obsolete.
132 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
133 their declaration.
134 (vhdl-mode-syntax-table-init): Remove.
135
136 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on last change.
137
138 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
139 syntax for "_".
140 (ld-script-font-lock-keywords):
141 Change regexps to use things like \_< and \_>.
142
143 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
144 Change all regexps to use things like \_< and \_>.
145
146 * progmodes/autoconf.el (autoconf-definition-regexp)
147 (autoconf-font-lock-keywords, autoconf-current-defun-function):
148 Handle a _ with symbol syntax.
149 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
150
151 * progmodes/ada-mode.el (ada-mode-abbrev-table): Consolidate declaration.
152 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
153 the declaration.
154 (ada-create-syntax-table): Remove.
155 (ada-capitalize-word): Don't mess with the syntax of "_" since it
156 already has the right syntax nowadays.
157 (ada-goto-next-word): Don't change the syntax of "_".
158
159 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
160 with-wrapper-hook.
161
162 2013-05-08 Sam Steingold <sds@gnu.org>
163
164 * thingatpt.el (thing-at-point): Accept optional second argument
165 NO-PROPERTIES to strip the text properties from the return value.
166 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
167 to `thing-at-point' instead of stripping the properties ourselves.
168 Also, when `thing-at-point' fails to find a url, prepend "http://"
169 to the filename at point on the assumption that the user is
170 pointing at something like gnu.org/gnu.
171
172 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
173
174 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
175 * faces.el (crm-separator):
176 Silence byte-compiler.
177
178 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
179 (tool-bar-map): Remove unneeded defvars.
180
181 2013-05-08 Leo Liu <sdl.web@gmail.com>
182
183 Re-work a fix for bug#10994 based on Le Wang's patch.
184 * ido.el (ido-remove-consecutive-dups): New helper.
185 (ido-completing-read): Use it.
186 (ido-chop): Revert fix for bug#10994.
187
188 2013-05-08 Adam Spiers <emacs@adamspiers.org>
189
190 * cus-edit.el (custom-save-variables):
191 Pretty-print long values. (Bug#14187)
192
193 2013-05-08 Glenn Morris <rgm@gnu.org>
194
195 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
196 (m4-mode-syntax-table): Init in the defvar.
197 (m4-mode-abbrev-table): Let define-derived-mode define it.
198
199 2013-05-08 Tom Tromey <tromey@redhat.com>
200
201 * progmodes/m4-mode.el (m4-mode-syntax-table):
202 Do not treat "_" as word constituent. (Bug#14167)
203
204 2013-05-07 Glenn Morris <rgm@gnu.org>
205
206 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
207 Remove explicit eshell-isearch-cancel-map.
208
209 * progmodes/f90.el (f90-smart-end-names): New option.
210 (f90-smart-end): Doc fix.
211 (f90-end-block-optional-name): New constant.
212 (f90-block-match): Respect f90-smart-end-names.
213
214 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
215
216 * progmodes/octave.el (octave-smie-forward-token): Be more careful
217 about implicit semi-colons (bug#14218).
218
219 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
220
221 * frame.el (display-monitor-attributes-list)
222 (frame-monitor-attributes): New functions.
223
224 2013-05-06 Leo Liu <sdl.web@gmail.com>
225
226 * progmodes/octave.el (octave-syntax-propertize-function): Change
227 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
228 (octave-font-lock-keywords): Use octave-operator-regexp.
229 (octave-completion-at-point): Renamed from
230 octave-completion-at-point-function.
231 (inferior-octave-directory-tracker): Robustify.
232 (octave-text-functions): Remove and fix its uses. No such things
233 any more.
234
235 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * emacs-lisp/trace.el (trace--display-buffer): New function.
238 (trace-make-advice): Use it.
239
240 2013-05-06 Juri Linkov <juri@jurta.org>
241
242 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
243 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
244 Doc fix.
245 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
246 in the help string. (Bug#12985)
247
248 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
249
250 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
251
252 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
253
254 * progmodes/perl-mode.el: Add support for here documents.
255 (perl-syntax-propertize-function): Match here-doc markers.
256 (perl-syntax-propertize-special-constructs): Find their end.
257 (perl-imenu-generic-expression): Use [:alnum:].
258
259 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
260 (advice--add-function): Refresh the advice if already present
261 (bug#14317).
262
263 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
264
265 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
266
267 2013-05-06 Glenn Morris <rgm@gnu.org>
268
269 * w32-fns.el (w32-charset-info-alist): Declare.
270
271 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
272 of its defcustom properties.
273 (eshell-cmpl-initialize): No need to load pcomplete.
274
275 * generic-x.el: No need to require comint when compiling.
276
277 * net/eudc-export.el: Make it loadable without bbdb.
278 (top-level): Use require rather than load-library.
279 (eudc-create-bbdb-record, eudc-bbdbify-phone)
280 (eudc-batch-export-records-to-bbdb)
281 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
282 Require bbdb.
283
284 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
287 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
288 some tweaks, instead.
289
290 2013-05-05 Leo Liu <sdl.web@gmail.com>
291
292 * progmodes/octave.el (octave-font-lock-keywords)
293 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
294 (inferior-octave-send-list-and-digest): Improve error message.
295 (octave-mode, inferior-octave-mode): Use setq-local.
296 (octave-help): Set info-lookup-mode.
297
298 2013-05-05 Richard Stallman <rms@gnu.org>
299
300 * vc/compare-w.el (compare-windows-whitespace):
301 Treat no-break space as whitespace.
302
303 * mail/rmailsum.el (rmail-summary-rmail-update):
304 Detect empty summary and don't change selected message.
305 (rmail-summary-goto-msg): Likewise.
306
307 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
308 Doc fixes, rename args.
309
310 2013-05-05 Alan Mackenzie <acm@muc.de>
311
312 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
313
314 2013-05-05 Juri Linkov <juri@jurta.org>
315
316 * info.el (Info-read-subfile): Use (point-min) instead of (point)
317 to not add the length of the summary segment to the return value.
318 (Bug#14125)
319
320 2013-05-05 Leo Liu <sdl.web@gmail.com>
321
322 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
323 (inferior-octave-output-filter): Remove.
324 (octave-send-region, inferior-octave-startup): Fix callers.
325 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
326 (octave-binary-file-extensions): New user variable.
327 (octave-find-definition): Confirm if opening binary files.
328 (octave-help-file): Use octave-find-definition to get the binary
329 confirmation.
330 (octave-help): Adjust for octave-help-file change.
331
332 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
335 Merge the two entries that handle function definitions.
336 (pascal--syntax-propertize): New const.
337 (pascal-mode): Use it. Use setq-local.
338
339 2013-05-04 Glenn Morris <rgm@gnu.org>
340
341 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
342 (diary-from-outlook): Respect diary-from-outlook-function.
343
344 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
347 Move the declaration from C.
348 (read-minibuffer, eval-minibuffer): Move from C.
349 (completion-setup-function): Avoid minibuffer-completion-contents.
350
351 2013-05-03 Leo Liu <sdl.web@gmail.com>
352
353 * progmodes/octave.el (octave-font-lock-keywords): Do not
354 dehighlight 'end' in comments or strings.
355 (octave-completing-read, octave-goto-function-definition):
356 New helpers.
357 (octave-help-buffer): New user variable.
358 (octave-help-file, octave-help-function): New button types.
359 (octave-help): New command and bind it to C-h ;.
360 (octave-find-definition): New command and bind it to M-.
361 (user-error): Alias to error if not defined.
362
363 2013-05-02 Leo Liu <sdl.web@gmail.com>
364
365 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
366 for \. (bug#14332)
367 (octave-font-lock-keywords): Include [ and {.
368
369 2013-05-02 Leo Liu <sdl.web@gmail.com>
370
371 * progmodes/octave.el (inferior-octave-startup-file): Change default.
372 (inferior-octave): Remove calling comint-mode and return the buffer.
373 (inferior-octave-startup): Cosmetic changes.
374
375 2013-05-02 Leo Liu <sdl.web@gmail.com>
376
377 * progmodes/octave.el (octave-syntax-propertize-function):
378 Include the case when ' is at line beginning. (Bug#14336)
379
380 2013-05-02 Glenn Morris <rgm@gnu.org>
381
382 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
383 * desktop.el (vc-dir-mode): Just autoload it here.
384
385 2013-05-02 Alan Mackenzie <acm@muc.de>
386
387 Eliminate variable c-standard-font-lock-fontify-region-function.
388 * progmodes/cc-mode.el
389 (c-standard-font-lock-fontify-region-function): Remove.
390 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
391
392 2013-05-01 Leo Liu <sdl.web@gmail.com>
393
394 * progmodes/octave.el: Compatible with older emacs-24 releases.
395 (inferior-octave-has-built-in-variables): Remove. Built-in
396 variables were removed from Octave in 2007.
397 (inferior-octave-startup): Fix uses.
398 (comint-line-beginning-position): Remove compatibility code for
399 emacs 21.
400
401 2013-05-01 Juri Linkov <juri@jurta.org>
402
403 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
404
405 2013-05-01 Juri Linkov <juri@jurta.org>
406
407 * comint.el (comint-previous-matching-input): Don't print message
408 "History item: %d" when `isearch-mode' is active.
409 (comint-history-isearch-message): Print message "History item: %d"
410 when `comint-input-ring-index' is not empty and this function is
411 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
412
413 2013-05-01 Leo Liu <sdl.web@gmail.com>
414
415 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
416 definitions. Use completion-at-point to insert keywords.
417 (octave-abbrev-start): Remove.
418 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
419
420 2013-04-30 Leo Liu <sdl.web@gmail.com>
421
422 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
423 change.
424
425 2013-04-30 Alan Mackenzie <acm@muc.de>
426
427 Handle arbitrarily long C++ member initialisation lists.
428 * progmodes/cc-engine.el (c-back-over-member-initializers):
429 new function.
430 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
431 (most) member init lists.
432
433 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
434
435 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
436 variable.
437
438 2013-04-30 Leo Liu <sdl.web@gmail.com>
439
440 * progmodes/octave.el (octave-variables): Remove. No builtin
441 variables any more. All converted to functions.
442 (octave-font-lock-keywords, octave-completion-at-point-function):
443 Fix uses.
444 (octave-font-lock-texinfo-comment): New user variable.
445 (octave-texinfo-font-lock-keywords): New variable for texinfo
446 comment block.
447 (octave-function-comment-block): New face.
448 (octave-font-lock-texinfo-comment): New function.
449 (octave-mode): Font lock texinfo comment block.
450
451 2013-04-29 Leo Liu <sdl.web@gmail.com>
452
453 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
454 indexing expression.
455 (octave-continuation-string): Do not use \.
456 (inferior-octave-complete-impossible): Remove.
457 (inferior-octave-completion-table)
458 (inferior-octave-completion-at-point): Remove its uses.
459 (inferior-octave-startup): completion_matches was introduced to
460 Octave in 1996 so safe to assume it.
461 (octave-function-file-comment): Improve to follow how Octave does it.
462 (octave-update-function-file-comment): Tweak.
463
464 2013-04-29 Leo Liu <sdl.web@gmail.com>
465
466 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
467 (inferior-octave-startup): Remove inferior-octave-startup-hook.
468 (octave-function-file-comment): Fix typo.
469 (octave-sync-function-file-names): Use read-char-choice.
470
471 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
472
473 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
474 to t for the less important warnings.
475
476 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
477
478 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
479
480 2013-04-27 Glenn Morris <rgm@gnu.org>
481
482 * vc/log-view.el (log-view-current-entry):
483 Treat "---" separator lines as part of the following rev. (Bug#14169)
484
485 2013-04-27 Juri Linkov <juri@jurta.org>
486
487 * subr.el (read-number): Doc fix about using it by interactive
488 code letter `n'. (Bug#14254)
489
490 2013-04-27 Juri Linkov <juri@jurta.org>
491
492 * desktop.el (desktop-auto-save-timeout): New option.
493 (desktop-file-checksum): New variable.
494 (desktop-save): Add optional arg `auto-save' and don't auto-save
495 if nothing changed.
496 (desktop-auto-save-timer): New variable.
497 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
498 (after-init-hook): Call `desktop-auto-save-set-timer'.
499 Suggested by Reuben Thomas <rrt@sc3d.org> in
500 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
501
502 2013-04-27 Leo Liu <sdl.web@gmail.com>
503
504 * progmodes/octave.el (octave-function-file-p)
505 (octave-skip-comment-forward, octave-function-file-comment)
506 (octave-update-function-file-comment): New functions.
507 (octave-mode-map): Bind C-c ; to
508 octave-update-function-file-comment.
509 (octave-mode-menu): Add octave-update-function-file-comment.
510 (octave-mode, inferior-octave-mode): Fix doc-string.
511 (octave-insert-defun): Conform to Octave's coding convention.
512 (Bug#14285)
513
514 * files.el (basic-save-buffer): Don't let errors in
515 before-save-hook prevent saving buffer.
516
517 2013-04-20 Roland Winkler <winkler@gnu.org>
518
519 * faces.el (read-face-name): Use completing-read if arg multiple
520 is nil.
521
522 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
523
524 * ls-lisp.el (ls-lisp-insert-directory): If no files are
525 displayed, move point to after the totals line.
526 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
527 for the details.
528
529 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
530
531 * emacs-lisp/package.el (package-autoload-ensure-default-file):
532 Add current dir to the load-path.
533 (package-generate-autoloads): Don't rely on
534 autoload-ensure-default-file.
535
536 2013-04-26 Reuben Thomas <rrt@sc3d.org>
537
538 * textmodes/remember.el (remember-store-in-files): Document that
539 the file name format is passed to `format-time-string'.
540
541 2013-04-26 Leo Liu <sdl.web@gmail.com>
542
543 * progmodes/octave.el (octave-sync-function-file-names): New function.
544 (octave-mode): Use it in before-save-hook.
545
546 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
549 (bug#14274).
550
551 * progmodes/octave.el (octave-smie-forward-token): Properly skip
552 \n and comment, even if it's not an implicit ; (bug#14218).
553
554 2013-04-26 Glenn Morris <rgm@gnu.org>
555
556 * subr.el (read-number): Once more use `read' rather than
557 `string-to-number', to trap non-numeric input. (Bug#14254)
558
559 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
560
561 * emacs-lisp/syntax.el (syntax-propertize-multiline):
562 Use `syntax-multiline' text property consistently instead of
563 `font-lock-multiline'. (bug#14237).
564
565 2013-04-26 Glenn Morris <rgm@gnu.org>
566
567 * emacs-lisp/shadow.el (list-load-path-shadows):
568 No longer necessary to check for duplicate simple.el, since
569 2012-07-07 change to init_lread to not include installation lisp
570 directories in load-path when running uninstalled. (Bug#14270)
571
572 2013-04-26 Leo Liu <sdl.web@gmail.com>
573
574 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
575 (octave-mode, inferior-octave-mode): Use setq-local.
576 (octave-not-in-string-or-comment-p): Rename to
577 octave-in-string-or-comment-p.
578 (octave-in-comment-p, octave-in-string-p)
579 (octave-in-string-or-comment-p): Replace defsubst with defun.
580
581 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
582
583 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
584
585 2013-04-25 Bastien Guerry <bzg@gnu.org>
586
587 * textmodes/remember.el (remember-data-directory)
588 (remember-directory-file-name-format): Fix custom types.
589
590 2013-04-25 Leo Liu <sdl.web@gmail.com>
591
592 * progmodes/octave.el (octave-completion-at-point-function):
593 Make use of inferior octave process.
594 (octave-initialize-completions): Remove.
595 (inferior-octave-completion-table): New function.
596 (inferior-octave-completion-at-point): Use it.
597 (octave-completion-alist): Remove.
598
599 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * progmodes/opascal.el: Use font-lock and syntax-propertize.
602 (opascal-mode-syntax-table): New var.
603 (opascal-literal-kind, opascal-is-literal-end)
604 (opascal-literal-token-at): Rewrite.
605 (opascal--literal-start-re, opascal-font-lock-keywords)
606 (opascal--syntax-propertize): New constants.
607 (opascal-font-lock-defaults): Adjust.
608 (opascal-mode): Use them. Set comment-<foo> variables as well.
609 (delphi-comment-face, opascal-comment-face, delphi-string-face)
610 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
611 (delphi-other-face, opascal-other-face): Remove face variables.
612 (opascal-save-state): Remove macro.
613 (opascal-fontifying-progress-step): Remove constant.
614 (opascal--ignore-changes): Remove var.
615 (opascal-set-token-property, opascal-parse-next-literal)
616 (opascal-is-stable-literal, opascal-complete-literal)
617 (opascal-is-literal-start, opascal-face-of)
618 (opascal-parse-region, opascal-parse-region-until-stable)
619 (opascal-fontify-region, opascal-after-change)
620 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
621 (opascal-debug-parse-region, opascal-debug-parse-window)
622 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
623 (opascal-debug-fontify-buffer): Remove.
624 (opascal-debug-mode-map): Adjust accordingly.
625
626 2013-04-25 Leo Liu <sdl.web@gmail.com>
627
628 Merge octave-mod.el and octave-inf.el into octave.el with some
629 cleanups.
630 * progmodes/octave.el: New file renamed from octave-mod.el.
631 * progmodes/octave-inf.el: Merged into octave.el.
632 * progmodes/octave-mod.el: Renamed to octave.el.
633
634 2013-04-25 Tassilo Horn <tsdh@gnu.org>
635
636 * textmodes/reftex-vars.el
637 (reftex-label-ignored-macros-and-environments): New defcustom.
638
639 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
640
641 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
644 (smie-indent-keyword): Improve the check to ensure that the next
645 comment is really on the same line.
646 (smie-indent-comment): Don't align with a subsequent closer (or eob).
647
648 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
649 semi-colons if the line is not otherwise empty (bug#14218).
650
651 2013-04-25 Glenn Morris <rgm@gnu.org>
652
653 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
654
655 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * progmodes/opascal.el (opascal-set-token-property): Rename from
658 opascal-set-text-properties and only set `token' (bug#14134).
659 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
660 (opascal-literal-text-properties): Remove.
661 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
662 Adjust callers.
663
664 2013-04-24 Reuben Thomas <rrt@sc3d.org>
665
666 * textmodes/remember.el (remember-handler-functions): Add an
667 option for a new handler `remember-store-in-files'.
668 (remember-data-directory, remember-directory-file-name-format):
669 New options.
670 (remember-store-in-files): New function to store remember notes
671 as separate files within a directory.
672
673 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
674
675 * progmodes/compile.el (compilation-next-error-function):
676 Pass "formats" to compilation-find-file (bug#11777).
677
678 2013-04-24 Glenn Morris <rgm@gnu.org>
679
680 * vc/vc-bzr.el (vc-bzr-print-log):
681 * vc/vc-hg.el (vc-hg-print-log):
682 * vc/vc-svn.el (vc-svn-print-log):
683 Fix START-REVISION with LIMIT != 1. (Bug#14168)
684
685 * vc/vc-bzr.el (vc-bzr-print-log):
686 * vc/vc-cvs.el (vc-cvs-print-log):
687 * vc/vc-git.el (vc-git-print-log):
688 * vc/vc-hg.el (vc-hg-print-log):
689 * vc/vc-mtn.el (vc-mtn-print-log):
690 * vc/vc-rcs.el (vc-rcs-print-log):
691 * vc/vc-sccs.el (vc-sccs-print-log):
692 * vc/vc-svn.el (vc-svn-print-log):
693 * vc/vc.el (vc-print-log-internal): Doc fixes.
694
695 2013-04-23 Glenn Morris <rgm@gnu.org>
696
697 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
698 Remove venerable code attempting to avoid substitute-command-keys.
699
700 2013-04-23 Tassilo Horn <tsdh@gnu.org>
701
702 * textmodes/reftex-vars.el (reftex-label-regexps):
703 Call `reftex-compile-variables' after changes to this variable.
704
705 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
708 Use lexical-binding.
709 (jit-lock-force-redisplay): Use markers, check buffer's continued
710 existence and beware narrowed buffers.
711 (jit-lock-fontify-now): Adjust call accordingly.
712
713 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
716 to avoid misleading the user.
717
718 2013-04-22 Leo Liu <sdl.web@gmail.com>
719
720 * info-look.el: Prefer latex2e.info. (Bug#14240)
721
722 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
723
724 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
725
726 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
727 * net/tramp.el (tramp-call-process): ... here
728 (tramp-set-completion-function, tramp-parse-putty):
729 * net/tramp-adb.el (tramp-adb-execute-adb-command):
730 * net/tramp-gvfs.el (tramp-gvfs-send-command):
731 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
732 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
733 (tramp-call-local-coding-command): Use `tramp-call-process'
734 instead of `tramp-compat-call-process'.
735
736 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
737 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
738 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
739 (tramp-find-inline-compress):Improve traces.
740 (tramp-maybe-send-script): Check for Perl binary.
741 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
742
743 2013-04-22 Daiki Ueno <ueno@gnu.org>
744
745 * epg.el (epg-context-pinentry-mode): New function.
746 (epg-context-set-pinentry-mode): New function.
747 (epg--start): Pass --pinentry-mode option to gpg command.
748
749 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
750
751 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
752 `comint-dynamic-complete' is obsolete since 24.1, replaced by
753 `completion-at-point'. (Bug#13774)
754
755 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
756 default key binding for `describe-distribution' has been moved to
757 `C-h C-o'. (Bug#13970)
758
759 2013-04-21 Glenn Morris <rgm@gnu.org>
760
761 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
762 Add doc strings.
763 (vc-print-log): Clarify interactive prompt.
764
765 2013-04-20 Glenn Morris <rgm@gnu.org>
766
767 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
768 No longer include timestamp etc information.
769
770 2013-04-20 Roland Winkler <winkler@gnu.org>
771
772 * faces.el (read-face-name): Bug fix, return just one face if arg
773 multiple is nil. (Bug#14209)
774
775 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
778 (remove-function): Autoload.
779
780 * comint.el (comint-redirect-original-filter-function): Remove.
781 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
782 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
783 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
784 * progmodes/prolog.el (prolog-consult-compile):
785 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
786 Use add/remove-function instead.
787 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
788 (gud-tooltip-process-output, gud-tooltip-tips):
789 Use add/remove-function instead.
790 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
791 (scheme-interaction-mode, exit-scheme-interaction-mode):
792 Use add/remove-function instead.
793
794 * vc/vc-dispatcher.el: Use lexical-binding.
795 (vc--process-sentinel): Rename from vc-process-sentinel.
796 Change last arg to be the code to run. Don't use vc-previous-sentinel
797 and vc-sentinel-commands any more.
798 (vc-exec-after): Allow code to be a function. Use add/remove-function.
799 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
800
801 2013-04-19 Masatake YAMATO <yamato@redhat.com>
802
803 * progmodes/sh-script.el (sh-imenu-generic-expression):
804 Handle function names with a single character. (Bug#14111)
805
806 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
807
808 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
809 for subroutines defined in an eval (bug#14182).
810
811 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
812
813 * bookmark.el (bookmark-completing-read): Improve handling of empty
814 string (bug#14176).
815
816 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
819
820 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
821
822 New faster Imenu implementation (bug#14058).
823 * progmodes/python.el:
824 (python-imenu-prev-index-position):
825 (python-imenu-format-item-label-function)
826 (python-imenu-format-parent-item-label-function)
827 (python-imenu-format-parent-item-jump-label-function):
828 New vars.
829 (python-imenu-format-item-label)
830 (python-imenu-format-parent-item-label)
831 (python-imenu-format-parent-item-jump-label)
832 (python-imenu--put-parent, python-imenu--build-tree)
833 (python-imenu-create-index, python-imenu-create-flat-index)
834 (python-util-popn): New functions.
835 (python-mode): Set imenu-create-index-function to
836 python-imenu-create-index.
837
838 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * winner.el (winner-active-region): Use region-active-p, activate-mark
841 and deactivate-mark (bug#14225).
842
843 * simple.el (deactivate-mark): Don't inline it.
844
845 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
846
847 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
848
849 2013-04-18 Tassilo Horn <tsdh@gnu.org>
850
851 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
852 file extensions from the archive-mode entry in order to prefer
853 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
854
855 2013-04-18 Leo Liu <sdl.web@gmail.com>
856
857 * bindings.el (help-event-list): Add ?\?.
858
859 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * subr.el (with-wrapper-hook): Declare obsolete.
862 * simple.el (filter-buffer-substring-function): New hook.
863 (filter-buffer-substring): Use it.
864 (filter-buffer-substring-functions): Mark obsolete.
865 * minibuffer.el (completion-in-region-function): New hook.
866 (completion-in-region): Use it.
867 (completion-in-region-functions): Mark obsolete.
868 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
869 * abbrev.el (abbrev-expand-function): New hook.
870 (expand-abbrev): Use it.
871 (abbrev-expand-functions): Mark obsolete.
872 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
873 and :filter-return.
874
875 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
876
877 * progmodes/python.el (python-nav--syntactically): Fix cornercases
878 and do not care about match data.
879
880 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
881
882 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
883 completion tables when completing error conditions and
884 `declare' arguments.
885 (lisp-complete-symbol, field-complete): Mark as obsolete.
886 (check-parens): Unmatched parens are user errors.
887 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
888
889 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
890
891 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
892 command changed buffer (ie. `flyspell-pre-buffer' is not current
893 buffer), which prevents making decisions based on invalid value of
894 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
895 cause an error when `flyspell-pre-point' was nil after switching
896 buffers.
897 (flyspell-post-command-hook): No longer needs to change buffers when
898 checking pre-word. While at it remove unnecessary progn.
899
900 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
901
902 * textmodes/ispell.el (ispell-add-per-file-word-list):
903 Fix `flyspell-correct-word-before-point' error when accepting
904 words and `coment-padding' is an integer by using
905 `comment-normalize-vars' (Bug #14214).
906
907 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
908
909 New defun movement commands.
910 * progmodes/python.el (python-nav--syntactically)
911 (python-nav--forward-defun, python-nav-backward-defun)
912 (python-nav-forward-defun): New functions.
913
914 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
915
916 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
917 (python-syntax-context): Use named compiler-macro for backwards
918 compatibility with Emacs 24.x.
919
920 2013-04-17 Leo Liu <sdl.web@gmail.com>
921
922 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
923 octave-hide-process-buffer.
924
925 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
926
927 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
928 (bug#14216).
929
930 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
931
932 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
933 Fix adjustment of offset when receiving incomplete responses from GDB
934 (bug#14129).
935
936 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
939 python-mode-abbrev-table.
940 (python-skeleton-define): Adjust accordingly.
941 (python-mode-abbrev-table): New table that inherits from it so that
942 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
943
944 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
945 (abbrev-symbol): Use it.
946 (abbrev--before-point): Use it since we already handle inheritance.
947
948 2013-04-16 Leo Liu <sdl.web@gmail.com>
949
950 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
951 binding to info-lookup-symbol.
952
953 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
954
955 * minibuffer.el (completion--twq-all):
956 * term/ns-win.el (ns-initialize-window-system):
957 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
958
959 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
960
961 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
962 global bindings.
963
964 * doc-view.el (doc-view-start-process): Handle url-handler directories.
965
966 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
967
968 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
969 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
970 to nil.
971 (ruby-end-of-defun): Remove the unused arg, change the docstring
972 to reflect that this function is only used as the value of
973 `end-of-defun-function'.
974 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
975 to reflect an earlier change that beginning/end-of-defun functions
976 jump between methods in a class definition, as well as top-level
977 functions.
978
979 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
980
981 * minibuffer.el (minibuffer-complete): Don't just scroll
982 a *Completions* that's been iconified.
983 (minibuffer-force-complete): Make sure repetitions do cycle when going
984 through completion-in-region -> minibuffer-complete.
985
986 2013-04-15 Alan Mackenzie <acm@muc.de>
987
988 Correct the placement of c-cpp-delimiters when there're #s not at
989 col 0.
990
991 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
992 place a submatch around the #.
993 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
994 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
995 on the #, not BOL.
996
997 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
998
999 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1000 (advice--member-p): New arg `name'.
1001 (advice--add-function, advice-member-p): Use it (bug#14202).
1002
1003 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1004
1005 Reformulate java imenu-generic-expression.
1006 The old expression contained ill formed regexps.
1007
1008 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1009 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1010 (cc-imenu-java-method-arg-regexp): New defconsts.
1011 (cc-imenu-java-build-type-args-regex): New defun.
1012 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1013 handling of spaces in the regexp.
1014
1015 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1016
1017 * textmodes/ispell.el (ispell-command-loop): Remove
1018 flyspell highlight of a word when ispell accepts it (bug #14178).
1019
1020 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1021
1022 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1023 uses code from the previous `ange-ftp-run-real-handler'.
1024 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1025 only in case that function exist. This is needed for proper
1026 unloading of Tramp.
1027
1028 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1029
1030 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1031
1032 * textmodes/reftex.el (reftex-compile-variables): Use it.
1033
1034 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * files.el (normal-mode): Only use default major-mode if no other mode
1037 was specified.
1038
1039 * emacs-lisp/trace.el (trace-values): New function.
1040
1041 * files.el: Allow : in local variables (bug#14089).
1042 (hack-local-variable-regexp): New var.
1043 (hack-local-variables-prop-line, hack-local-variables): Use it.
1044
1045 2013-04-13 Roland Winkler <winkler@gnu.org>
1046
1047 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1048 data before it gets modified by bibtex-beginning-of-entry.
1049
1050 2013-04-13 Roland Winkler <winkler@gnu.org>
1051
1052 * textmodes/bibtex.el (bibtex-url): Doc fix.
1053
1054 2013-04-13 Roland Winkler <winkler@gnu.org>
1055
1056 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1057 does not visit a BibTeX file, exclude it from the list of buffers
1058 returned by bibtex-initialize.
1059
1060 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1061
1062 * window.el (split-window): Remove interactive form, since as a
1063 command this function is a special case of split-window-below.
1064 Correct doc string.
1065
1066 2013-04-12 Roland Winkler <winkler@gnu.org>
1067
1068 * faces.el (read-face-name): Do not override value of arg default.
1069 Allow single faces and strings as default values. Remove those
1070 elements from return value that are not faces.
1071 (describe-face): Simplify.
1072 (face-at-point): New optional args thing and multiple so that this
1073 function can provide the same functionality previously provided by
1074 read-face-name.
1075 (make-face-bold, make-face-unbold, make-face-italic)
1076 (make-face-unitalic, make-face-bold-italic, invert-face)
1077 (modify-face, read-face-and-attribute): Use face-at-point.
1078
1079 * cus-edit.el (customize-face, customize-face-other-window)
1080 * cus-theme.el (custom-theme-add-face)
1081 * face-remap.el (buffer-face-set)
1082 * facemenu.el (facemenu-set-face): Use face-at-point.
1083
1084 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1085
1086 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1087
1088 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1089
1090 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1091 off leading { and trailing } from field values.
1092
1093 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * emacs-lisp/timer.el (timer--check): New function.
1096 (timer--time, timer-set-function, timer-event-handler): Use it.
1097 (timer-set-idle-time): Simplify.
1098 (timer--activate): CSE.
1099 (timer-event-handler): Give more info in error message.
1100 (internal-timer-start-idle): New function, moved from C.
1101
1102 * mpc.el (mpc-proc): Add `restart' argument.
1103 (mpc-proc-cmd): Use it.
1104 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1105 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1106 less often.
1107
1108 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1109
1110 * progmodes/sh-script.el: Implement `sh-mode' own
1111 `add-log-current-defun-function' (bug#14112).
1112 (sh-current-defun-name): New function.
1113 (sh-mode): Use the function.
1114
1115 2013-04-09 Bastien Guerry <bzg@gnu.org>
1116
1117 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1118
1119 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1120
1121 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1122
1123 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1124 timer (bug#14156).
1125
1126 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1127
1128 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1129 declaration.
1130
1131 2013-04-07 Leo Liu <sdl.web@gmail.com>
1132
1133 * pcmpl-x.el: New file.
1134
1135 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1136
1137 Do not set x-display-name until X connection is established.
1138 This is needed to prevent from weird situation described at
1139 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1140 * frame.el (make-frame): Set x-display-name after call to
1141 window system initialization function, not before.
1142 * term/x-win.el (x-initialize-window-system): Add optional
1143 display argument and use it.
1144 * term/w32-win.el (w32-initialize-window-system):
1145 * term/ns-win.el (ns-initialize-window-system):
1146 * term/pc-win.el (msdos-initialize-window-system):
1147 Add compatible optional display argument.
1148
1149 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1150
1151 * files.el (normal-backup-enable-predicate): On MS-Windows and
1152 MS-DOS compare truenames of temporary-file-directory and of the
1153 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1154 don't fail comparison by compare-strings. Also, compare file
1155 names case-insensitively on MS-Windows and MS-DOS.
1156
1157 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1158
1159 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1160 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1161
1162 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1163
1164 * whitespace.el (whitespace-color-on, whitespace-color-off):
1165 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1166
1167 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1168
1169 * ispell.el (ispell-set-spellchecker-params):
1170 Really set `ispell-args' for all equivs.
1171
1172 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * ido.el (ido-completions): Use extra elements of ido-decorations
1175 (bug#14143).
1176 (ido-decorations): Update docstring.
1177
1178 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1181 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1182 nil during initialization, in order not to miss changes since the
1183 file was opened. (Bug#14140)
1184
1185 2013-04-05 Leo Liu <sdl.web@gmail.com>
1186
1187 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1188
1189 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1190
1191 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1192
1193 2013-04-04 Glenn Morris <rgm@gnu.org>
1194
1195 * electric.el (electric-pair-inhibit-predicate): Add :version.
1196
1197 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1200 when a package is required several times (bug#14082).
1201
1202 2013-04-04 Roland Winkler <winkler@gnu.org>
1203
1204 * faces.el (read-face-name): Behave as promised by the docstring.
1205 Assume that arg default is a list of faces.
1206 (describe-face): Call read-face-name with list of default faces.
1207
1208 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1209
1210 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1211 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1212 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1213 the header.
1214 (bookmark-exit-hook-internal): Save even if list is empty.
1215
1216 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1217
1218 * emacs-lisp/package.el (package-pinned-packages): New var.
1219 (package--add-to-archive-contents): Obey it (bug#14118).
1220
1221 2013-04-03 Alan Mackenzie <acm@muc.de>
1222
1223 Handle `parse-partial-sexp' landing inside a comment opener
1224 (Bug#13244). Also adapt to the new values of element 7 of a parse
1225 state.
1226
1227 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1228 parameter `not-in-delimiter'. Handle being inside comment opener.
1229 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1230 character in case we're typing a '*' after a '/'.
1231 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1232 instead by passing the parameter to c-state-pp-to-literal.
1233
1234 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1235 for elt. 7 of a parse state.
1236
1237 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1238
1239 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1240 * international/latin1-disp.el, international/mule-util.el:
1241 * language/cyril-util.el, language/european.el, language/ind-util.el:
1242 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1243 * language/tibetan.el, language/viet-util.el:
1244 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1245
1246 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1249 (electric-pair-post-self-insert-function): Use it.
1250 (electric-pair-default-inhibit): New function, extracted from
1251 electric-pair-post-self-insert-function.
1252
1253 2013-03-31 Roland Winkler <winkler@gnu.org>
1254
1255 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1256
1257 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1258
1259 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1260
1261 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1262
1263 Un-indent after "pass" and "return" statements (Bug#13888)
1264 * progmodes/python.el (python-indent-block-enders): New var.
1265 (python-indent-calculate-indentation): Use it.
1266
1267 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1268
1269 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1270 defun. Defining it as defalias could introduce too eager
1271 byte-compiler optimization. (Bug#14030)
1272
1273 2013-03-30 Chong Yidong <cyd@gnu.org>
1274
1275 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1276
1277 2013-03-30 Leo Liu <sdl.web@gmail.com>
1278
1279 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1280 (kmacro-execute-from-register): Pass the keyboard macro to
1281 kmacro-call-macro or repeating won't work correctly.
1282
1283 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1284
1285 * progmodes/subword.el: Back to using `forward-symbol'.
1286
1287 * subr.el (forward-whitespace, forward-symbol)
1288 (forward-same-syntax): Move from thingatpt.el.
1289
1290 2013-03-29 Leo Liu <sdl.web@gmail.com>
1291
1292 * kmacro.el (kmacro-to-register): New command.
1293 (kmacro-execute-from-register): New function.
1294 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1295
1296 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * mpc.el: Use defvar-local and setq-local.
1299 (mpc--proc-connect): Connection failures are not bugs.
1300 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1301 (mpc-volume-map): Bind to the up-events.
1302
1303 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1304
1305 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1306 instead of `forward-symbol'.
1307
1308 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1309
1310 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1311 (edebug--recursive-edit): Use it.
1312 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1313 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1314
1315 2013-03-28 Leo Liu <sdl.web@gmail.com>
1316
1317 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1318
1319 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1320
1321 * facemenu.el (list-colors-callback): New defvar.
1322 (list-colors-redisplay): New function.
1323 (list-colors-display): Install list-colors-redisplay as the
1324 revert-buffer-function. (Bug#14063)
1325
1326 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1329 and suffixes don't overlap (bug#14061).
1330
1331 * case-table.el: Use lexical-binding.
1332 (case-table-get-table): New function.
1333 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1334
1335 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1336
1337 * progmodes/subword.el: Add `superword-mode' to do word motion
1338 over symbol_words (parallels and leverages `subword-mode' which
1339 does word motion inside MixedCaseWords).
1340
1341 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1342
1343 * eshell/em-unix.el: Move su and sudo to...
1344 * eshell/em-tramp.el: ...Eshell tramp module.
1345
1346 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1349 Change return value to be a sexp. Delay `get-buffer' to after
1350 restoring the desktop (bug#13951).
1351
1352 2013-03-26 Leo Liu <sdl.web@gmail.com>
1353
1354 * register.el: Move semantic tag handling back to
1355 cedet/semantic/senator.el. (Bug#14052)
1356
1357 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1358
1359 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1360 into the prompt either (bug#13963).
1361
1362 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1365 part of "(error-foo)".
1366
1367 2013-03-24 Juri Linkov <juri@jurta.org>
1368
1369 * replace.el (list-matching-lines-prefix-face): New defcustom.
1370 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1371 `occur-engine' if `face-differs-from-default-p' returns t.
1372 (occur-engine): Add `,' inside backquote construct to evaluate
1373 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1374 Pass `prefix-face' to the functions `occur-context-lines' and
1375 `occur-engine-add-prefix'.
1376 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1377 `prefix-face' and propertize the prefix with `prefix-face'.
1378 (Bug#14017)
1379
1380 2013-03-24 Leo Liu <sdl.web@gmail.com>
1381
1382 * nxml/rng-valid.el (rng-validate-while-idle)
1383 (rng-validate-quick-while-idle): Guard against deleted buffer.
1384 (Bug#13999)
1385
1386 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1387 is the last entry in kill-buffer-hook.
1388
1389 * files.el (kill-buffer-hook): Doc fix.
1390
1391 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1392
1393 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1394 Make it safe-local.
1395
1396 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1397
1398 2013-03-23 Leo Liu <sdl.web@gmail.com>
1399
1400 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1401 Remove.
1402
1403 * nxml/rng-valid.el (rng-validate-mode)
1404 (rng-after-change-function, rng-do-some-validation):
1405 * nxml/rng-maint.el (rng-validate-buffer):
1406 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1407 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1408 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1409 (nxml-extend-after-change-region): Use with-silent-modifications.
1410
1411 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1412 timer-idle-list.
1413
1414 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1415 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1416 timer-idle-list. (Bug#13999)
1417
1418 2013-03-23 Juri Linkov <juri@jurta.org>
1419
1420 * info.el (info-index-match): New face.
1421 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1422 main pattern and add text properties with the new face to matches
1423 in index entries relative to the beginning of the index entry.
1424 (Bug#14015)
1425
1426 2013-03-21 Eric Ludlam <zappo@gnu.org>
1427
1428 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1429 Inhibit read only while inserting objects.
1430
1431 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1432
1433 * progmodes/cfengine.el: Update docs to mention
1434 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1435 symbol motion. Remove "_" from the word syntax.
1436
1437 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1438
1439 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1440 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1441
1442 2013-03-20 Juri Linkov <juri@jurta.org>
1443
1444 * info.el (Info-next-reference-or-link)
1445 (Info-prev-reference-or-link): New functions.
1446 (Info-next-reference, Info-prev-reference): Use them.
1447 (Info-try-follow-nearest-node): Handle footnote navigation.
1448 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1449
1450 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1451
1452 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1453 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1454
1455 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1456
1457 Suppress unnecessary non-ASCII chatter during build process.
1458 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1459 (batch-skkdic-convert): Suppress most of the chatter.
1460 It's not needed so much now that machines are faster,
1461 and its non-ASCII component was confusing; see Dmitry Gutov in
1462 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1463
1464 2013-03-20 Leo Liu <sdl.web@gmail.com>
1465
1466 * ido.el (ido-chop): Fix bug#10994.
1467
1468 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1469
1470 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1471 Remove vars.
1472 (whitespace-color-on, whitespace-color-off):
1473 Use `font-lock-fontify-buffer' (Bug#13817).
1474
1475 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1476
1477 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1478 remapping in mode-line.
1479 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1480
1481 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1482
1483 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1484 value for `whitespace-line' face (Bug#13875).
1485 (whitespace-font-lock-keywords): Change description.
1486 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1487 the constructed keywords instead.
1488 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1489
1490 2013-03-19 Leo Liu <sdl.web@gmail.com>
1491
1492 * progmodes/compile.el (compilation-display-error): New command.
1493 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1494 C-o. (Bug#13992)
1495
1496 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1497
1498 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1499
1500 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1501
1502 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1503
1504 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1505
1506 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1507
1508 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1509 * net/tramp-gvfs.el (top):
1510 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1511 (tramp-handle-shell-command): Use it.
1512 (tramp-dissect-file-name): Raise an error when hostname is a
1513 method name, and neither method nor user is specified.
1514
1515 * net/trampver.el: Update release number.
1516
1517 2013-03-18 Leo Liu <sdl.web@gmail.com>
1518
1519 Make sure eldoc can be turned off properly.
1520 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1521 eldoc-mode.
1522 (eldoc-display-message-p): Revert last change.
1523 (eldoc-display-message-no-interference-p)
1524 (eldoc-print-current-symbol-info): Tweak.
1525
1526 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1527
1528 * doc-view.el (doc-view-new-window-function): Check the new window
1529 overlay's display property instead the char property of the
1530 buffer's first char. Use `with-selected-window' instead of
1531 `save-window-excursion' with `select-window'.
1532 (doc-view-document->bitmap): Check the current doc-view overlay's
1533 display property instead the char property of the buffer's first char.
1534
1535 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1536
1537 Automate the build of ja-dic.el (Bug#13984).
1538 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1539 from the input, rather than assume that it's been done for us by the
1540 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1541 the current date into a ja-dic.el comment, as that complicates
1542 regression testing.
1543
1544 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * whitespace.el: Fix double evaluation.
1547 (whitespace-space, whitespace-hspace, whitespace-tab)
1548 (whitespace-newline, whitespace-trailing, whitespace-line)
1549 (whitespace-space-before-tab, whitespace-indentation)
1550 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1551 obsolete defvars.
1552 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1553 (whitespace-color-on): Use a single font-lock-add-keywords call.
1554 Fix double-evaluation of face variables.
1555
1556 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1557
1558 * net/tramp-adb.el (tramp-adb-parse-device-names):
1559 Use `start-process' instead of `call-process'. Otherwise, the
1560 function might be blocked under MS Windows. (Bug#13299)
1561
1562 2013-03-17 Leo Liu <sdl.web@gmail.com>
1563
1564 Extend eldoc to display info in the mode-line. (Bug#13978)
1565 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1566 (eldoc-mode-line-string): New variable.
1567 (eldoc-minibuffer-message): New function.
1568 (eldoc-message-function): New variable.
1569 (eldoc-message): Use it.
1570 (eldoc-display-message-p)
1571 (eldoc-display-message-no-interference-p):
1572 Support eldoc-post-insert-mode.
1573
1574 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1575 (eval-expression): Run it.
1576
1577 2013-03-17 Roland Winkler <winkler@gnu.org>
1578
1579 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1580 strings in the list of return values.
1581
1582 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1583
1584 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1585 radix before checking for HMS forms.
1586
1587 2013-03-16 Leo Liu <sdl.web@gmail.com>
1588
1589 * progmodes/scheme.el: Add indentation and font-locking for λ.
1590 (Bug#13975)
1591
1592 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1593
1594 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1595 token before point (bug#13942).
1596
1597 2013-03-16 Leo Liu <sdl.web@gmail.com>
1598
1599 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1600
1601 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1602
1603 * startup.el (command-line-normalize-file-name): Fix handling of
1604 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1605 <xfq.free@gmail.com> in
1606 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1607
1608 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1609
1610 Sync with Tramp 2.2.7.
1611
1612 * net/trampver.el: Update release number.
1613
1614 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1615
1616 * doc-view.el Fix bug#13887.
1617 (doc-view-insert-image): Don't modify overlay associated to
1618 non-live windows, and implement horizontal centering of image in
1619 case it's smaller than the window.
1620 (doc-view-new-window-function): Force redisplay of new windows on
1621 doc-view buffers.
1622
1623 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1624
1625 * saveplace.el (save-place-alist-to-file): Don't sort
1626 `save-place-alist', just pretty-print it (bug#13882).
1627
1628 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1629
1630 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1631 whether `default-file-name-coding-system' is bound. It isn't in
1632 XEmacs.
1633
1634 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1635
1636 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1637 backquotes for `obsolete' (bug#13929).
1638
1639 * international/mule.el (find-auto-coding): Include file name in
1640 obsolescence warning (bug#13922).
1641
1642 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1643
1644 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1645 for CFEngine 3-specific indentation.
1646 (cfengine3-indent-line): Use it. Fix up category regex.
1647 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1648
1649 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1650
1651 * type-break.el (type-break-file-name):
1652 * textmodes/remember.el (remember-data-file):
1653 * strokes.el (strokes-file):
1654 * shadowfile.el (shadow-initialize):
1655 * saveplace.el (save-place-file):
1656 * ps-bdf.el (bdf-cache-file):
1657 * progmodes/idlwave.el (idlwave-config-directory):
1658 * net/quickurl.el (quickurl-url-file):
1659 * international/kkc.el (kkc-init-file-name):
1660 * ido.el (ido-save-directory-list-file):
1661 * emulation/viper.el (viper-custom-file-name):
1662 * emulation/vip.el (vip-startup-file):
1663 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1664 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1665
1666 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1667
1668 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1669 * language/thai-word.el: Switch to UTF-8.
1670
1671 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1672
1673 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1674
1675 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1676
1677 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1678 Use with-current-buffer and don't move point.
1679 (net-utils-run-simple): Remove useless code.
1680 (net-utils-remove-ctl-m): Remove unused custom.
1681
1682 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1683
1684 * international/characters.el (glyphless-set-char-table-range): New fun.
1685 (update-glyphless-char-display): Use it (bug#13744).
1686
1687 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1688
1689 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1690 namespaces in the syntax, indent closer for hanging brace
1691 correctly, allow single-quote delimited 'strings', and make
1692 `cfengine3-mode' the default.
1693
1694 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1695
1696 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1697 Use lexical-binding. Fix up docstring according to conventions.
1698 (gdbmi-debug-mode): New var.
1699 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1700 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1701 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1702 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1703 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1704 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1705 (gdbmi-bnf-incomplete-record-result): New functions.
1706 (gdb-car<): Remove function.
1707 (gdbmi-record-list): Remove variable.
1708 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1709 (gdbmi-bnf-result-state-configs): New const.
1710 (gud-gdbmi-marker-filter): Rewrite.
1711 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1712 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1713 Add `token' argument.
1714 (gdb-done, gdb-error): New functions.
1715 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1716
1717 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1718
1719 * term/xterm.el (xterm--report-background-handler): Don't burp
1720 upon timeout.
1721 (xterm--version-handler): Extract from terminal-init-xterm.
1722 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1723 Allow multiple handlers.
1724 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1725
1726 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1727 (xterm--report-background-handler, xterm--query): New functions.
1728 (terminal-init-xterm): Use them.
1729
1730 2013-03-11 Michael R. Mauger <michael@mauger.com>
1731
1732 * progmodes/sql.el Version 3.2
1733 Please note that my address changed to <michael@mauger.com>;
1734 the <mmaug@yahoo.com> address remains active.
1735 (sql-connection-alist): Updates documentation to fix bug#13715.
1736 (sql-connect): Handle missing `sql-connection-alist' correctly.
1737 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1738 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1739 property.
1740 (sql-default-value): New function.
1741 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1742 values were not used.
1743 (sql-rename-buffer): Make sure alternate buffer name has no text
1744 properties.
1745 (sql-input-sender, sql-execute-feature): Fetch variable with
1746 `buffer-local-value' rather than `with-current-buffer'.
1747 (sql-*): Use #' function syntax consistently.
1748 (sql-*): Use message/error/user-error consistently.
1749
1750 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1751
1752 * xt-mouse.el (xterm-mouse-event-read): Remove.
1753 (xterm-mouse--read-event-sequence-1000)
1754 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1755
1756 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1757
1758 * term/xterm.el (xterm-function-map): Support format used with
1759 formatOtherKeys=1 (bug#13839).
1760
1761 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1762 (with-no-warnings): Use `declare'.
1763
1764 * whitespace.el (whitespace-enable-predicate): New variable.
1765 (whitespace-enable-predicate): Use it.
1766
1767 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1768 (comint-output-filter, comint-update-fence):
1769 Use with-silent-modifications.
1770
1771 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1772
1773 * replace.el (occur-read-regexp-defaults-function): New var.
1774 (occur-read-regexp-defaults): New defun.
1775 (occur-read-primary-args): Propagate above change (bug#13892).
1776
1777 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1778
1779 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1780
1781 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1782
1783 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1784
1785 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1786 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1787 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1788 New defconst.
1789 (tramp-gvfs-file-name-handler-alist) [directory-files]
1790 [directory-files-and-attributes, file-exists-p, file-modes]:
1791 Use Tramp default handler.
1792 [file-acl, file-selinux-context, process-file, set-file-acl]:
1793 [set-file-modes, set-file-selinux-context, shell-command]:
1794 [start-file-process]: Remove handler.
1795 [verify-visited-file-modtime]: New handler.
1796 (tramp-gvfs-dbus-string-to-byte-array)
1797 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1798 calls of `dbus-string-to-byte-array' and
1799 `tramp-gvfs-dbus-byte-array-to-string'.
1800 (tramp-gvfs-handle-copy-file)
1801 (tramp-gvfs-handle-delete-directory)
1802 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1803 (tramp-gvfs-handle-file-directory-p)
1804 (tramp-gvfs-handle-file-executable-p)
1805 (tramp-gvfs-handle-file-name-all-completions)
1806 (tramp-gvfs-handle-file-readable-p)
1807 (tramp-gvfs-handle-file-writable-p)
1808 (tramp-gvfs-handle-insert-directory)
1809 (tramp-gvfs-handle-insert-file-contents)
1810 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1811 (tramp-gvfs-handle-set-visited-file-modtime)
1812 (tramp-gvfs-handle-write-region): Rewrite.
1813 (tramp-gvfs-handle-file-acl)
1814 (tramp-gvfs-handle-file-selinux-context)
1815 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1816 (tramp-gvfs-handle-set-file-modes)
1817 (tramp-gvfs-handle-set-file-selinux-context)
1818 (tramp-gvfs-handle-shell-command)
1819 (tramp-gvfs-handle-start-file-process)
1820 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1821 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1822 over the symlinks. Fix user handling.
1823 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1824 of the D-Bus signals.
1825 (tramp-gvfs-connection-mounted-p): Handle different names of the
1826 D-Bus methods.
1827 (tramp-gvfs-mount-spec-entry): New defun.
1828 (tramp-gvfs-mount-spec): Use it.
1829 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1830 there is a share name. Handle different names of the D-Bus
1831 signals and methods. Set connection properties needed for
1832 `tramp-check-cached-permissions'.
1833 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1834 Return t or nil.
1835
1836 * net/tramp.el (tramp-backtrace): Move up.
1837 (tramp-error): Dump a backtrace into the debug buffer when
1838 `tramp-verbose > 9.
1839 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1840 (tramp-file-mode-permissions, tramp-get-local-uid)
1841 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1842 tramp-sh.el.
1843
1844 * net/tramp-sh.el (tramp-file-mode-type-map)
1845 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1846 (tramp-file-mode-permissions, tramp-get-local-uid)
1847 (tramp-get-local-gid): Move to tramp.el.
1848
1849 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 Separate mouse-1-click-follows-link from mouse-drag-region.
1852 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1853 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1854 (mouse-drag-line, mouse-drag-track):
1855 Remove mouse-1-click-follows-link code.
1856 (mouse--remap-link-click-p): Remove.
1857
1858 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1859
1860 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1861 (hi-lock-read-regexp-defaults): New defun.
1862 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1863 (hi-lock-face-phrase-buffer): Propagate above change.
1864 Update docstring (bug#13892).
1865
1866 * subr.el (find-tag-default-as-regexp): New defun.
1867 * replace.el (read-regexp): Propagate above change.
1868
1869 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1870
1871 * calc/calc-units.el (calc-convert-units): Fix the way that default
1872 new units are stored.
1873
1874 2013-03-07 Matthias Meulien <orontee@gmail.com>
1875
1876 * bookmark.el: Define a face to highlight bookmark names in
1877 bookmark menu buffers, where the default is a bold face similarly
1878 to buffer names in buffer menu buffers.
1879 (bookmark-menu-bookmark): New face to highlight bookmark names.
1880 (bookmark-insert-location): Remove duplicated text property to
1881 conform to buffer list (see `list-buffers').
1882 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1883 `bookmark-menu-bookmark' to bookmark names.
1884
1885 2013-03-07 Matthias Meulien <orontee@gmail.com>
1886 Karl Fogel <kfogel@red-bean.com>
1887
1888 * bookmark.el: Display the bookmark list header similarly to the
1889 buffer list header (see `list-buffers'), where the default is now
1890 an immovable/immutable header line.
1891 (bookmark-bmenu-use-header-line): New variable.
1892 (bookmark-bmenu-inline-header-height): New name for
1893 `bookmark-bmenu-header-height', to avoid confusion with the code
1894 for the new immovable header. All references changed.
1895 (bookmark-bmenu-set-header): New function.
1896 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1897 Conditionalize header construction accordingly.
1898 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1899 the inline header height.
1900 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1901 Conditionalize the skipping of the inline header height.
1902
1903 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1904
1905 * progmodes/js.el (js--multi-line-declaration-indentation):
1906 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1907
1908 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1909
1910 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1911 Only propertize regexp when not inside a string (Bug#13885).
1912
1913 2013-03-06 Alan Mackenzie <acm@muc.de>
1914
1915 Correct the position of point in some line-up functions.
1916 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1917 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1918 point at column 0 rather than at a random place in the line.
1919
1920 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1921
1922 * net/tramp-compat.el (tramp-compat-delete-directory):
1923 Implement TRASH argument.
1924
1925 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1926
1927 Keep pre-existing highlighting in completion candidates (Bug#13250).
1928 * minibuffer.el (completions-first-difference): State that the
1929 face is "added" in the docstring.
1930 (completions-common-part): Same. And don't inherit from default.
1931 (completion-hilit-commonality): Prepend 'completions-common-part
1932 and 'completion-first-difference faces to the 'face property,
1933 instead of replacing the value(s).
1934 (completion--insert-strings): Same with 'completions-annotations face.
1935 (completion-hilit-commonality): Use 'face instead of
1936 'font-lock-face, because it gets priority if the completion
1937 strings already have 'face set.
1938
1939 2013-03-04 Alan Mackenzie <acm@muc.de>
1940
1941 Replace `last-command-event' by `last-command-char' in XEmacs.
1942 * progmodes/cc-defs.el (c-last-command-char): New macro.
1943 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1944 (c-semi&comma-no-newlines-before-nonblanks)
1945 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1946 in place of `last-command-event'.
1947 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1948 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1949 (c-electric-paren, c-electric-continued-statement): Use the new
1950 macro in place of `last-command-event'.
1951
1952 2013-03-04 Glenn Morris <rgm@gnu.org>
1953
1954 * files.el (inhibit-local-variables-regexps):
1955 Add .diff and .patch. (Bug#13862)
1956
1957 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1958
1959 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1960 whether the "su" command is available on the device.
1961
1962 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1965 (tramp-adb-handle-process-file): Remove superfluous setting.
1966 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1967 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1968 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1969
1970 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1971
1972 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1973 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1974 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1975 Use dict-key rather than dict-name for the error message.
1976
1977 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1978
1979 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1980 when reverting (bug#13831).
1981
1982 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1983
1984 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1985 Always expand affix-file before storing to protect against changed
1986 `default-directory'.
1987 (ispell-print-if-debug): Make sure message is printed at the end
1988 of the debug buffer.
1989
1990 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1991
1992 * net/tramp.el (tramp-obsolete-methods): New defconst.
1993 (tramp-warned-obsolete-methods): New defvar.
1994 (tramp-find-method): Check for obsolete methods. Map them to a
1995 replacement method if appropriate.
1996
1997 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1998 Remove methods.
1999 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2000 "ssh2" and "plink1".
2001
2002 2013-02-28 Dale Sedivec <dale@codefu.org>
2003
2004 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2005 Return valid syntax-table property value when converting
2006 quotes within text from string syntax to punctuation syntax (bug#13844).
2007
2008 2013-02-28 Juri Linkov <juri@jurta.org>
2009
2010 * dired-aux.el (dired-diff): If file at point is a backup file,
2011 use its original as the default value, and reverse the order
2012 of arguments to the `diff' call. Doc fix. (Bug#13772)
2013
2014 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2017 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2018
2019 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2020
2021 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2022
2023 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2024 Ask hunspell about available and default dictionaries.
2025 (ispell-parse-hunspell-affix-file): Extract relevant info from
2026 hunspell affix file.
2027 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2028 `ispell-dictionary-alist' entry for given dictionary after info
2029 provided by `ispell-parse-hunspell-affix-file'.
2030 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2031 of parsed hunspell dicts and associated affix files.
2032 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2033 of parsed hunspell dicts and associated parameters.
2034 (ispell-set-spellchecker-params):
2035 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2036 previously done.
2037 (ispell-start-process):
2038 Call `ispell-hunspell-fill-dictionary-entry' for current
2039 dictionary if it is not initialized.
2040
2041 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2042
2043 * imenu.el: Comment nitpicks.
2044
2045 2013-02-28 Sam Steingold <sds@gnu.org>
2046
2047 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2048 See <http://stackoverflow.com/questions/14720205>.
2049
2050 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2051
2052 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2053 (net-utils-mode): Use it.
2054 (net-utils--revert-cmd): New var.
2055 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2056 (traceroute): Use net-utils-run-simple.
2057
2058 2013-02-28 Glenn Morris <rgm@gnu.org>
2059
2060 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2061
2062 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2063
2064 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2065 (doc-view-fallback-mode): Remove overlays here.
2066 (doc-view-toggle-display): Instead of here. Don't throw away
2067 image-mode-winprops-alist.
2068 (doc-view-goto-page): Don't mess with hscroll.
2069
2070 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2071
2072 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2073 &optional (bug#13819).
2074
2075 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2076
2077 * net/tramp-adb.el (tramp-adb-parse-device-names)
2078 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2079
2080 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2081
2082 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2083 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2084 defined. POSIX environments fall back to the "C" locale then and
2085 emit a warning, which shall be suppressed.
2086
2087 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2088
2089 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2090 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2091
2092 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2095
2096 2013-02-25 Juri Linkov <juri@jurta.org>
2097
2098 * replace.el (read-regexp): Let-bind `default' to the first
2099 element of `defaults' if it's a list, otherwise it should be
2100 a string or nil. Let-bind `suggestions' to `defaults' if it's
2101 a list, otherwise make a list with the string value. Doc fix.
2102 (Bug#13805)
2103
2104 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2105
2106 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2107 that match "\`\.#", to avoid compiling lock files, even if they
2108 are readable (as they are on MS-Windows).
2109
2110 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2111
2112 * files.el (basic-save-buffer): Remove redundant directory-creation.
2113
2114 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2115
2116 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2117 Add option to force `pi' to remain symbolic.
2118 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2119 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2120 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2121 derivatives, when necessary.
2122
2123 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2124
2125 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2126 (ps-mode-octal-region): Use string-make-unibyte.
2127
2128 2013-02-23 Glenn Morris <rgm@gnu.org>
2129
2130 * emulation/viper-cmd.el (viper-submit-report):
2131 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2132 * progmodes/vera-mode.el (vera-mode-help-address):
2133 * textmodes/artist.el (artist-maintainer-address):
2134 * textmodes/reftex.el (reftex-report-bug):
2135 * vc/ediff-util.el (ediff-submit-report):
2136 Add bug-gnu-emacs to bug report address.
2137
2138 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2139 Remove bug report entries.
2140 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2141
2142 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2143 (byte-compile-file, byte-compile-from-buffer):
2144 Use separate input/output buffers for each level of recursive
2145 byte-compile-file calls. (Bug#13787)
2146
2147 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2148
2149 * net/tramp.el (tramp-methods): Fix docstring.
2150 (tramp-ssh-controlmaster-options): Rename it from
2151 `tramp-ssh-controlmaster-template'. Return a string.
2152 (tramp-default-method): Adapt check for
2153 `tramp-ssh-controlmaster-options'.
2154
2155 * net/tramp-sh.el (tramp-methods):
2156 Replace `tramp-ssh-controlmaster-template' by "%c".
2157 (tramp-do-copy-or-rename-file-out-of-band)
2158 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2159 that it is applied for the first hop only.
2160
2161 2013-02-22 Juri Linkov <juri@jurta.org>
2162
2163 * isearch.el (isearch-lazy-highlight-new-loop):
2164 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2165 to `isearch-other-end' if it is not nil. (Bug#13402)
2166
2167 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2168 to `match-beg'.
2169
2170 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2171 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2172 and `isearch-error' to nil.
2173
2174 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2175
2176 * progmodes/python.el (python-info-current-defun):
2177 Enhance match-data cluttering prevention.
2178
2179 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2180
2181 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2182
2183 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2184 Handle multibyte file names.
2185
2186 2013-02-22 Glenn Morris <rgm@gnu.org>
2187
2188 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2189 (sgml-transformation-function): Give it a :set function.
2190 (sgml-tag): Doc fix.
2191
2192 * cmuscheme.el (scheme-buffer):
2193 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2194 * progmodes/tcl.el (inferior-tcl-buffer):
2195 * textmodes/tex-mode.el (tex-command): Doc fixes.
2196
2197 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2198
2199 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2200
2201 2013-02-21 Bastien Guerry <bzg@gnu.org>
2202
2203 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2204
2205 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2206
2207 * progmodes/python.el (python-info-current-defun):
2208 Enhance match-data cluttering prevention.
2209
2210 2013-02-21 Glenn Morris <rgm@gnu.org>
2211
2212 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2213 loaded while outline-regexp is let bound. (Bug#9584)
2214
2215 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2216
2217 * progmodes/python.el (python-info-current-defun): Fix failed
2218 defun name retrieval because of unwanted match-data cluttering.
2219
2220 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2221
2222 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2223 defconst. Apply independent check for ControlPersist.
2224
2225 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2226 temporarily, via "env".
2227
2228 2013-02-21 Glenn Morris <rgm@gnu.org>
2229
2230 * info.el (Info-enable-edit): Remove.
2231 (Info-edit): Disable it rather than using Info-enable.
2232 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2233 (Info-cease-edit): Make editing of Info files obsolete.
2234
2235 * informat.el (Info-tagify):
2236 Handle buffers not visiting files. (Bug#13763)
2237
2238 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2239
2240 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2241
2242 2013-02-21 Glenn Morris <rgm@gnu.org>
2243
2244 * files.el (basic-save-buffer): Move check for existing parent
2245 directory after hooks. (Bug#13773)
2246
2247 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * simple.el (command-execute): Move from C. Add obsolete check.
2250 (extended-command-history): Move from C.
2251
2252 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2253
2254 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2255 (jka-compr-mode-alist-additions): Handle .txz suffix for
2256 XZ-compressed tar archives (bug#13770).
2257
2258 2013-02-20 Bastien Guerry <bzg@gnu.org>
2259
2260 * outline.el (outline-regexp, outline-heading-end-regexp):
2261 Make variables, not options (bug#13731).
2262
2263 2013-02-20 Glenn Morris <rgm@gnu.org>
2264
2265 * image.el (image-current-frame): Change from variable to function.
2266 (image-show-frame): Rename from image-nth-frame. Update callers.
2267 * image-mode.el (image-multi-frame): New variable.
2268 (image-mode-map, image-mode, image-goto-frame):
2269 Use image-multi-frame rather than image-current-frame.
2270 (image-mode, image-goto-frame): Use image-current-frame as
2271 function rather than as variable.
2272
2273 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2274 * emacs-lisp/cl-macs.el (cl--make-type-test)
2275 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2276
2277 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2278
2279 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2280 (tramp-get-file-property, tramp-set-file-property)
2281 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2282 (tramp-flush-file-property, tramp-flush-directory-property):
2283 Rename argument to KEY.
2284 (tramp-flush-connection-property): Simplify a little bit.
2285 (tramp-connection-property-p): New defun.
2286 (top): Reapply saved values only if there isn't a corresponding
2287 entry in `tramp-connection-properties'.
2288
2289 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2290
2291 * progmodes/python.el (python-indent-context):
2292 Fix python-info-line-ends-backslash-p call.
2293 (python-info-line-ends-backslash-p)
2294 (python-info-beginning-of-backslash): Respect line-number argument.
2295 (python-info-current-line-comment-p):
2296 Fix behavior when not at beginning-of-line.
2297 (python-util-position): Remove function.
2298 (python-util-goto-line): New function.
2299
2300 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * eshell/em-unix.el (eshell/su): Require tramp.
2303 (eshell/sudo): Require tramp. Remove now unnecessary check.
2304
2305 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2306 `tramp-current-connection' in order to avoid an error when several
2307 commands are invoked in a short time in eshell and friends.
2308
2309 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2310
2311 Cleanup some of EIEIO's namespace.
2312 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2313 Use it to define all the class-* and object-* field accessors (renamed
2314 to eieio--class-* and eieio--object-*). Update all uses.
2315 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2316 class-num-slots and object-num-slots.
2317 (eieio--check-type): New macro.
2318 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2319 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2320 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2321 (object-assoc-list-safe): Use it.
2322 (eieio-defclass): Tighten regexp.
2323 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2324 Remove unreachable code.
2325 (object-class-fast): Declare obsolete.
2326 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2327 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2328 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2329 Rename from class-name, object-name, object-set-name-string,
2330 object-class, object-class-name, class-parents, class-children,
2331 class-precedence-list, class-parent; with obsolete alias.
2332 (class-of, class-direct-superclasses, class-direct-subclasses):
2333 Declare obsolete.
2334 (eieio-defmethod): Use `memq'; remove unreachable code.
2335 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2336 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2337 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2338
2339 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2340
2341 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2342 commentary.
2343
2344 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2345
2346 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2347 Use font-lock-keyword-face for macros and special forms (bug#8345).
2348
2349 2013-02-17 Didier Verna <didier@didierverna.net>
2350
2351 * net/network-stream.el (network-stream-open-starttls):
2352 Check that response to the starttls-command is non-nil. (Bug#13706)
2353
2354 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2357 Don't assume all identifier chars have syntax word.
2358 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2359 Remove bar-not-symbol. Adjust callers.
2360 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2361
2362 2013-02-17 Leo Liu <sdl.web@gmail.com>
2363
2364 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2365
2366 2013-02-17 Glenn Morris <rgm@gnu.org>
2367
2368 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2369
2370 * image-mode.el (image-mode-map): Add image-dired menu entry.
2371
2372 * image-dired.el (tumme): Make this alias obsolete.
2373
2374 2013-02-16 Glenn Morris <rgm@gnu.org>
2375
2376 * image.el (image-animated-types): Remove.
2377 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2378 (image-animated-p): Make obsolete alias.
2379 (image-animate, image-nth-frame, image-animate-timeout):
2380 Use image-multi-frame-p.
2381 (image-animate-timeout): If no delay, use image-default-frame-delay.
2382 * image-mode.el (image-mode, image-toggle-animation):
2383 Use image-multi-frame-p. (Bug#763, bug#10739)
2384 (image-mode): Adjust startup message for a multi-frame image.
2385
2386 * image-mode.el (image-mode-map): Give it a menu.
2387
2388 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2389
2390 * net/tramp-cache.el (tramp-connection-properties): New customer
2391 option.
2392 (tramp-get-connection-property): Use it.
2393
2394 * net/tramp-compat.el (top): Require 'trampver.
2395
2396 * net/tramp-sh.el (tramp-remote-process-environment):
2397 Set tramp-autoload cookie.
2398
2399 2013-02-16 Kevin Ryde <user42@zip.com.au>
2400
2401 * info-look.el (info-lookup-select-mode): If major-mode has no
2402 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2403
2404 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2405
2406 * replace.el (read-regexp): Tighten the regexp that matches tag.
2407 When tag is retrieved with `find-tag-default', use regexp that
2408 matches tag at point. Also update docstring (Bug#13687).
2409
2410 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2411
2412 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2413 add watch for the file, not its parent directory, since w32notify
2414 sets up the watch for the directory internally. (Bug#13725)
2415
2416 2013-02-16 Glenn Morris <rgm@gnu.org>
2417
2418 * image.el (image-default-frame-delay): New variable.
2419 (image-animated-p): Use image-default-frame-delay.
2420 (image-minimum-frame-delay): New constant.
2421 (image-animate-timeout): Use image-minimum-frame-delay.
2422
2423 * image.el (image-nth-frame): New, split from image-animate-timeout.
2424 (image-animate-timeout): Use image-nth-frame.
2425 * image-mode.el (image-goto-frame, image-next-frame)
2426 (image-previous-frame): New commands.
2427 (image-mode-map): Add new frame commands.
2428
2429 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2430
2431 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2432 If col-desc already has help-echo, use it. (Bug#13563)
2433
2434 2013-02-16 Glenn Morris <rgm@gnu.org>
2435
2436 * image.el (image-current-frame): New variable.
2437 (image-animate-timeout): Set image-current-frame.
2438 * image-mode.el (image-mode): For animated images,
2439 display a frame counter via mode-line-process.
2440
2441 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2442
2443 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2446
2447 2013-02-15 Alan Mackenzie <acm@muc.de>
2448
2449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2450 global minor mode has been enabled, call the minor mode function
2451 for a new buffer once only, after the major mode hook, whilst
2452 allowing that hook explicitly to disable the minor mode.
2453 (MODE-disable-in-buffer): New (generated) function.
2454 (disable-MODE): New (generated) buffer local variable.
2455
2456 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2457
2458 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2459 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2460 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2461 `ido-next-match' and `ido-prev-match' resply.
2462 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2463 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2464 `icomplete-backward-completions' (Bug#13708).
2465
2466 2013-02-15 Glenn Morris <rgm@gnu.org>
2467
2468 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2469
2470 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2471
2472 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2473 (goto-address-fontify-region): Use them instead of narrowing, so
2474 syntax-ppss has access to the whole buffer.
2475
2476 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2477
2478 * progmodes/python.el: Explain how to restore "cc-mode"-like
2479 forward-sexp movement in header documentation (Bug#13642).
2480 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2481 comments and strings (GH bug 114).
2482
2483 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
2484
2485 * progmodes/python.el (python-info-current-defun): Fix current
2486 defun detection (Bug#13618).
2487
2488 2013-02-15 Chong Yidong <cyd@gnu.org>
2489
2490 * xml.el (xml-parse-string): Fix typo in handling of bad character
2491 references.
2492
2493 2013-02-15 Glenn Morris <rgm@gnu.org>
2494
2495 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2496
2497 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-debug-message):
2500 Add `tramp-condition-case-unless-debug'.
2501 (tramp-debug-on-error): New defvar.
2502 (tramp-condition-case-unless-debug): New defun.
2503 (tramp-file-name-handler): Use it.
2504
2505 2013-02-14 Juri Linkov <juri@jurta.org>
2506
2507 * info.el (Info-isearch-filter): Treat non-nil values of
2508 `search-invisible' including its default value `open'
2509 like the value `t' to match hidden text. (Bug#13402)
2510
2511 2013-02-14 Glenn Morris <rgm@gnu.org>
2512
2513 * help-fns.el (find-lisp-object-file-name): Give special treatment
2514 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2515
2516 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2517
2518 * net/quickurl.el (quickurl-save-urls):
2519 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2520
2521 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2522
2523 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2524 depth for unfinished percent literal. Not using it in the caller.
2525 (ruby-move-to-block): Jump over multiline literals of all types,
2526 ignoring code-looking contents inside them.
2527 (ruby-add-log-current-method): Improve performance at the expense
2528 of accuracy. `ruby-block-contains-point' is relatively slow, so
2529 only use it for method and singleton class blocks.
2530
2531 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2532
2533 Use ControlMaster where applicable. (Bug#13677)
2534
2535 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2536 replacing `tramp-detect-ssh-controlmaster'.
2537 (tramp-default-method): Use it.
2538
2539 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2540 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2541 arguments.
2542 [scpc, rsyncc]: Remove methods.
2543 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2544 and "ssh2_old".
2545 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2546 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2547
2548 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2549
2550 * emacs-lisp/package.el (package--initialized): Move before first use.
2551
2552 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2553
2554 * icomplete.el (icomplete-hide-common-prefix): New user option.
2555 (icomplete-first-match): New face.
2556 (icomplete-completions): Correct handling of "complete but not
2557 unique" (Bug#12638).
2558
2559 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2560
2561 * descr-text.el (describe-char): Display the script (bug#13698).
2562
2563 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2564
2565 * tmm.el: Use lexical-binding and current-active-maps.
2566 (tmm-menubar): Use map-keymap and pcase.
2567 (tmm--completion-table): New function.
2568 (tmm-prompt): Use it to fix the menu order.
2569 (tmm-get-keybind): Use current-active-maps.
2570
2571 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2572
2573 Add dired-hide-details-mode. (Bug#6799)
2574
2575 * locate.el (locate-mode): Set parent mode property to dired-mode.
2576
2577 * find-dired.el (find-dired): Call dired-insert-set-properties on
2578 initial information line. Set process mark on end of buffer.
2579 (find-dired-sentinel):
2580 Call dired-insert-set-properties on summary.
2581
2582 * dired.el (dired-hide-details-hide-symlink-targets)
2583 (dired-hide-details-hide-information-lines): New options.
2584 (dired-insert-directory):
2585 Set properties after final treatment of output.
2586 (dired-insert-set-properties):
2587 Set dired-hide-details-* properties.
2588 (dired-mode-map): Bind dired-hide-details-mode.
2589 (dired-mode): Set buffer-invisibility-spec to a list.
2590 (dired-next-line): Skip hidden lines.
2591 (dired-previous-line): Use dired-next-line.
2592 (dired-hide-details-mode): New minor mode.
2593 (dired-hide-details-update-invisibility-spec): New function.
2594
2595 2013-02-13 Glenn Morris <rgm@gnu.org>
2596
2597 * play/yow.el: Move to obsolete/. (Bug#9384)
2598
2599 2013-02-13 Juri Linkov <juri@jurta.org>
2600
2601 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2602 to select `ediff-control-frame' and set input focus correctly on Xfce.
2603 (Bug#12218)
2604
2605 2013-02-13 Juri Linkov <juri@jurta.org>
2606
2607 * image-mode.el (image-mode-map):
2608 * doc-view.el (doc-view-mode-map):
2609 * vc/ediff-util.el (ediff-setup-keymap):
2610 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2611
2612 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2615 performance. Instead of recalculating indentation fully for each
2616 line, sum up indentation depth based only on visited lines.
2617 (ruby-parse-partial): Increase the depth after "do" even when END
2618 is right after it.
2619 (ruby-parse-partial): When END is in the middle of a percent
2620 literal, increase the depth if the delimiter chars belong to the
2621 paren syntax class.
2622
2623 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2624
2625 * play/fortune.el (fortune-compile): Also make the compiled file
2626 if it does not exist at all, not just if it is old. (Bug#5338)
2627
2628 2013-02-13 Glenn Morris <rgm@gnu.org>
2629
2630 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2631
2632 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2633
2634 * lisp/emacs-lisp/package.el (package-menu-execute):
2635 Add optional noquery argument. (Bug#13625)
2636
2637 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2638
2639 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2640 if DIR exists and PARENTS is non-nil.
2641
2642 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2643
2644 * progmodes/js.el (js--multi-line-declaration-indentation):
2645 Silence byte-compiler warning.
2646
2647 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2648
2649 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2650
2651 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2652 only if it doesn't exist.
2653
2654 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2655 Set process marker.
2656
2657 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2658
2659 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2660 UserInstallation when calling soffice to work around LibreOffice
2661 bug 37531.
2662
2663 2013-02-12 Glenn Morris <rgm@gnu.org>
2664
2665 * files.el (basic-save-buffer):
2666 Offer to create a non-existing directory. (Bug#3016)
2667
2668 * calc/calc-graph.el (calc-graph-show-dumb):
2669 * calendar/calendar.el (calendar-mode-map):
2670 * cus-edit.el (custom-mode-map):
2671 * ehelp.el (electric-help-map):
2672 * emulation/vip.el (vip-mode-map):
2673 * epa.el (epa-key-list-mode-map):
2674 * info.el (Info-mode-map):
2675 * mail/rmail.el (rmail-mode-map):
2676 * mail/rmailsum.el (rmail-summary-mode-map):
2677 * man.el (Man-mode-map):
2678 * net/newst-plainview.el (newsticker-mode-map):
2679 * progmodes/cpp.el (cpp-edit-mode-map):
2680 * progmodes/grep.el (grep-mode-map):
2681 * progmodes/idlw-help.el (idlwave-help-mode-map):
2682 * simple.el (special-mode-map):
2683 * startup.el (splash-screen-keymap):
2684 * view.el (view-mode-map):
2685 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2686
2687 2013-02-11 Elias Pipping <pipping@lavabit.com>
2688
2689 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2690 (bug#13679).
2691
2692 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2695
2696 2013-02-11 Glenn Morris <rgm@gnu.org>
2697
2698 * vc/diff.el (diff-use-labels): New variable.
2699 (diff-no-select): Use --label rather than -L, and first
2700 check that it is supported. (Bug#11067)
2701
2702 * files.el (enable-dir-local-variables): New variable.
2703 (hack-dir-local-variables): Respect enable-dir-local-variables.
2704 * tutorial.el (help-with-tutorial):
2705 Ignore directory-local variables. (Bug#11127)
2706
2707 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2708 (vc-svn-global-switches): ... to here. (Bug#13513)
2709
2710 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2711
2712 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2713 Handle "foo (bar, default: xxx): " prompts.
2714
2715 2013-02-10 Chong Yidong <cyd@gnu.org>
2716
2717 * files.el (basic-save-buffer-1): Do not set
2718 buffer-file-coding-system-explicit (Bug#4533).
2719
2720 * mail/emacsbug.el (report-emacs-bug): Change binding of
2721 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2722
2723 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2724
2725 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2726 * calc/calc-units.el (calc-convert-units): Use new variable.
2727
2728 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2729
2730 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2731
2732 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2733 buffer-file-type.
2734
2735 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2736 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2737 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2738 coding-system-for-write instead.
2739
2740 * jka-compr.el (jka-compr-write-region): Don't bind
2741 buffer-file-type.
2742
2743 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2744 buffer-file-type.
2745
2746 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2747 (insert-file-contents-literally): Remove reference to
2748 file-name-buffer-file-type-alist.
2749
2750 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2751 make-obsolete.
2752 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2753 (find-buffer-file-type-coding-system): Remove references to
2754 find-buffer-file-type-match, find-buffer-file-type, and
2755 buffer-file-type.
2756 Don't put find-buffer-file-type-coding-system into
2757 file-coding-system-alist.
2758 (find-file-binary, find-file-text): Bind coding-system-for-read
2759 instead of file-name-buffer-file-type-alist.
2760
2761 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2762
2763 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2764 converter (Bug#13622).
2765 (doc-view-unoconv-program): Make obsolete alias.
2766 (doc-view-odf->pdf-converter-program): New variable.
2767 (doc-view-odf->pdf-converter-function): New variable.
2768 (doc-view-mode-p): Use it.
2769 (doc-view-odf->pdf-converter-unoconv):
2770 Rename from `doc-view-odf->pdf-converter-unoconv'.
2771 (doc-view-odf->pdf-converter-soffice): New function.
2772 (doc-view-convert-current-doc):
2773 Use `doc-view-odf->pdf-converter-function'.
2774
2775 2013-02-09 Chong Yidong <cyd@gnu.org>
2776
2777 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2778 view-echo-area-messages (Bug#13340).
2779
2780 * help.el (view-echo-area-messages): Use display-buffer.
2781
2782 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2783 (Bug#13561).
2784
2785 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2788 Eval body right away, now that we do eager macroexpansion (bug#13605).
2789
2790 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2791 (fundamental-mode): Use run-mode-hooks.
2792
2793 * eshell/esh-proc.el (eshell/kill): Fix last change.
2794 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2795
2796 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2797
2798 * eshell/esh-proc.el (eshell/kill): Rewrite.
2799
2800 * eshell/em-ls.el (show-almost-all): Declare.
2801 (eshell-do-ls): Add support for -A argument.
2802
2803 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2804
2805 * icomplete.el (icomplete-forward-completions)
2806 (icomplete-backward-completions): Handle corner case (bug#13602).
2807
2808 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2811 be nil. Handle this. (Bug#13636)
2812
2813 2013-02-07 Richard Stallman <rms@gnu.org>
2814
2815 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2816 `save-buffer-coding-system'.
2817
2818 2013-02-07 Alan Mackenzie <acm@muc.de>
2819
2820 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2821 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2822 (c-parse-state-get-strategy): Don't return 'BOD any more.
2823 (c-append-lower-brace-pair-to-state-cache):
2824 Extra parameter HERE instead of narrowing.
2825 Widen to top of buffer before searching backwards for a brace pair.
2826 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2827 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2828 Narrow to parameter HERE, in place of being called narrowed.
2829 (c-remove-stale-state-cache): Extra parameter HERE in place of
2830 narrowing. Check there's an open brace in the cache before
2831 searching for its match.
2832 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2833 (c-parse-state-1): Don't narrow here for 'forward strategy,
2834 instead passing extra parameter HERE to several functions.
2835 Remove 'BOD strategy.
2836
2837 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2838
2839 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2840 used to install the package.
2841
2842 2013-02-06 Glenn Morris <rgm@gnu.org>
2843
2844 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2845 if we can't get user input. (Bug#6567)
2846
2847 * startup.el (command-line): If simple.el is missing,
2848 test and warn about for some possible causes.
2849
2850 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2851
2852 * cus-start.el (all): Add ns-use-native-fullscreen.
2853
2854 2013-02-05 Glenn Morris <rgm@gnu.org>
2855
2856 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2857
2858 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2859 Fix directory creation in fallback case.
2860
2861 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2862
2863 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2864 (vc-update-change-log): Use dolist.
2865
2866 2013-02-04 Chong Yidong <cyd@gnu.org>
2867
2868 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2869 code from ffap.el.
2870 (thing-at-point-beginning-of-url-regexp): New var.
2871 (thing-at-point-uri-schemes): Update list of URI schemes.
2872 (thing-at-point-url-regexp): Variable deleted.
2873 (thing-at-point-markedup-url-regexp): Disallow newlines.
2874 (thing-at-point-newsgroup-regexp)
2875 (thing-at-point-newsgroup-heads)
2876 (thing-at-point-default-mail-uri-scheme): New variables.
2877 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2878 method to find the possible bounds of the URI at point.
2879 New optional argument to find ill-formed URIs.
2880 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2881 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2882 the scheme-adding heuristics from ffap-url-at-point.
2883 (thing-at-point--bounds-of-well-formed-url): New function.
2884 Do parens matching to decide whether to include parens in the URI
2885 (Bug#9153).
2886
2887 * ffap.el: Require thingatpt.
2888 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2889 All URI-valid characters are now recognized (Bug#5673).
2890 (ffap-string-at-point): Use use-region-p.
2891 (ffap-url-regexp): Extra character is handled by thing-at-point.
2892 (ffap-string-at-point-mode-alist): Allow parentheses.
2893 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2894 Convert to aliases; code moved to thingatpt.el.
2895 (ffap-gnus-hook): Use setq-local.
2896
2897 2013-02-04 Glenn Morris <rgm@gnu.org>
2898
2899 * emacs-lisp/ert.el (ert--explain-format-atom):
2900 Don't try to print non-characters as characters. (Bug#13543)
2901
2902 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2903
2904 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2905 (tramp-backtrace): New defun.
2906 (tramp-handle-insert-file-contents): Use `visit' when inserting
2907 the local copy.
2908
2909 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2910 Use `remote-file-name-inhibit-cache'.
2911
2912 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2913
2914 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2915 (bug#13614).
2916
2917 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2918 current-load-list (bug#13366).
2919
2920 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2921
2922 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2923 Identify g++ template instantiation trace. (Bug#12287)
2924 (compilation-mode-hook, compilation-start-hook)
2925 (compilation-window-height): Simplify docstrings. (Bug#13379)
2926
2927 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2928
2929 * mouse.el (mouse-drag-track): Always deactivate the mark before
2930 running the final event's command since that command is in charge of
2931 activating the mark if needed (bug#13523).
2932
2933 2013-02-02 Juri Linkov <juri@jurta.org>
2934
2935 * replace.el (perform-replace): Move let-bindings of isearch-*
2936 variables deeper to the loop that searches for the next match.
2937 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2938 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2939 (Bug#13579)
2940
2941 * isearch.el (isearch-search-fun-default): Check for null
2942 first element of isearch-cmds as a precaution when it's used
2943 with inactive isearch.
2944
2945 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2946
2947 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2948 error when buffer in question is narrowed so position 1 is out of
2949 visible part.
2950
2951 2013-02-02 Glenn Morris <rgm@gnu.org>
2952
2953 * textmodes/remember.el (remember-clipboard): Doc fix.
2954
2955 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2958 properties (bug#13179).
2959
2960 2013-02-02 Juri Linkov <juri@jurta.org>
2961
2962 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2963 instead of hard-coded default face `match'. (Bug#9438)
2964
2965 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2966
2967 * vc/vc-arch.el (vc-arch-registered):
2968 * vc/vc-bzr.el (vc-bzr-registered):
2969 * vc/vc-cvs.el (vc-cvs-registered):
2970 * vc/vc-git.el (vc-git-registered):
2971 * vc/vc-hg.el (vc-hg-registered):
2972 * vc/vc-mtn.el (vc-mtn-registered):
2973 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2974 (Bug#13139)
2975
2976 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2977 prefix argument. (Bug#11656)
2978
2979 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2980
2981 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2982
2983 2013-02-01 Glenn Morris <rgm@gnu.org>
2984
2985 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2986 if the backend is known not to support it.
2987
2988 * imenu.el (imenu-default-create-index-function):
2989 Tweak infinite loop test to check for forward motion as well as none.
2990
2991 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2992
2993 * net/soap-client.el (soap-invoke): Encode the string for
2994 `url-request-data' as UTF-8.
2995 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2996
2997 2013-02-01 Glenn Morris <rgm@gnu.org>
2998
2999 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3000
3001 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3002
3003 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3004
3005 * net/tramp.el (tramp-tramp-file-p): Comment check for
3006 `string-as-unibyte'. The function does not exist on XEmacs, and
3007 likely we need another approach.
3008
3009 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3010 `tramp-gw-*' variables are bound.
3011
3012 2013-01-31 Glenn Morris <rgm@gnu.org>
3013
3014 * files.el (basic-save-buffer-2): Choose coding system for
3015 writing the file before backing it up, to reduce delay between
3016 backing up and writing the new version. (Bug#13522)
3017
3018 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3019
3020 * simple.el (cycle-spacing): New command.
3021 (just-one-space): Use it.
3022
3023 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3024
3025 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3026 (opascal-newline-always-indents): Remove custom.
3027 (opascal-tab, opascal-newline): Remove commands.
3028 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3029 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3030 (opascal-save-match-data): Remove, use save-match-data instead.
3031 (opascal-save-state): Use with-silent-modifications.
3032
3033 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3034 (bug#13585).
3035
3036 2013-01-30 Juri Linkov <juri@jurta.org>
3037
3038 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3039 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3040 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3041
3042 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3043
3044 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3045 column if we're just deleting the backslashes.
3046 (makefile-fill-paragraph): Use eolp.
3047
3048 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3049
3050 * autorevert.el (auto-revert-use-notify): Fix docstring.
3051
3052 2013-01-30 Leo Liu <sdl.web@gmail.com>
3053
3054 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3055
3056 2013-01-30 Glenn Morris <rgm@gnu.org>
3057
3058 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3059 unread-command-events twice in some cases. This tries to implement
3060 the 2012-07-26 changes in a different way. (Bug#13560)
3061
3062 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3063
3064 * progmodes/python.el
3065 (python-pdbtrack-comint-output-filter-function): Enhancements on
3066 stacktrace detection. (thanks @gnovak)
3067
3068 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3069
3070 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3071 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3072 Use defvar-local.
3073 (jit-lock-register): Use setq-local.
3074
3075 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3076
3077 * calc-units.el (math-default-units-table): Remove initial value.
3078 (calc-convert-units): Treat expressions where all the units cancel as
3079 if they didn't have units.
3080
3081 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3082
3083 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3084 (tramp-completion-reread-directory-timeout): Fix type.
3085 (tramp-connection-min-time-diff): New defcustom.
3086
3087 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3088
3089 2013-01-30 Glenn Morris <rgm@gnu.org>
3090
3091 * imenu.el (imenu-default-create-index-function):
3092 Put back a version of the infinite loop test removed 2013-01-23.
3093
3094 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3095
3096 * progmodes/python.el (python-shell-parse-command):
3097 Find python-shell-interpreter with modified environment.
3098
3099 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3102
3103 2013-01-29 Alan Mackenzie <acm@muc.de>
3104
3105 Amend to fontify /regexp/s in actions correctly.
3106 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3107 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3108 are no longer included.
3109 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3110 What used to be these variables without "-line" in the name.
3111 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3112 (c-awk-non-arith-op-bra-re): Now also matches {.
3113 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3114 "return", and "case".
3115 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3116 by /.
3117 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3118 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3119
3120 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3121
3122 * autorevert.el (auto-revert-use-notify):
3123 Use `custom-initialize-default' for initialization. (Bug#13583)
3124
3125 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3126
3127 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3128 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3129 in `tramp-file-name-handler'.
3130 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3131 compatibility.
3132 (tramp-compute-multi-hops): Check, whether
3133 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3134
3135 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3136
3137 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3138 (bug#13297).
3139
3140 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3141
3142 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3143 checks made superfluous by the \_< operator.
3144 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3145 temporarily) broken indentation.
3146 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3147 Highlight nested constants, too. \_< broke that.
3148
3149 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3150
3151 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3152 instead of "\\b".
3153
3154 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * autorevert.el (auto-revert-handler): Notifications which result
3157 from a saved file shall not be taken into account. (Bug#13557)
3158
3159 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3160
3161 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3162 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3163 (lisp-mode): Pass t for it. (Bug#13556)
3164
3165 2013-01-25 Alan Mackenzie <acm@muc.de>
3166
3167 AWK Mode: Fix indentation bug at top level. Bug #12274.
3168
3169 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3170 just before CASE 5D.
3171
3172 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3173
3174 * net/socks.el (socks-nslookup-host): Use string-to-number.
3175
3176 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3177
3178 * autorevert.el (auto-revert-remote-files)
3179 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3180 (auto-revert-notify-enabled, auto-revert-use-notify)
3181 (auto-revert-notify-watch-descriptor-hash-list)
3182 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3183 (auto-revert-notify-event-descriptor)
3184 (auto-revert-notify-event-action)
3185 (auto-revert-notify-event-file-name): Doc fix.
3186 (global-auto-revert-mode): Reorder checks.
3187 (auto-revert-notify-rm-watch): Respect changed values of
3188 `auto-revert-notify-watch-descriptor-hash-list'.
3189 (auto-revert-notify-add-watch): Check for
3190 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3191 `inotify-add-watch'. Watch `default-directory' instead of
3192 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3193 has a changed meaning now. (Bug#13540)
3194 (auto-revert-notify-handler): Change implementation wrt events
3195 returning from a directory.
3196 (auto-revert-handler): Reorder implementation for checks of remote
3197 files.
3198 (auto-revert-buffers): Fix parentheses error.
3199
3200 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3201
3202 * progmodes/python.el: Enhancements to header documentation about
3203 skeletons. (Bug#5716)
3204
3205 * imenu.el (imenu-default-create-index-function): Remove useless
3206 infinite loop check. (Bug#13438)
3207
3208 2013-01-25 Alan Mackenzie <acm@muc.de>
3209
3210 Fix a bug in the state cache mechanism. Refactor this a bit.
3211
3212 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3213 `cache-pos' element from the return value.
3214 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3215 buffer to enable proper searching from beyond HERE. Amend the
3216 test for detecting the sought brace pair. Amend the value written
3217 to the "brace desert cache" when the brace isn't found.
3218 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3219 and several other variables analogously.
3220 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3221 parameter to a locally calculated variable.
3222 (c-parse-state-1): Change the calling conventions to the two
3223 defuns involving `cache-pos'.
3224
3225 2013-01-25 Chong Yidong <cyd@gnu.org>
3226
3227 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3228
3229 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3230
3231 * paren.el (show-paren-function): Make sure to set 'priority and
3232 'face only if the overlay does exist.
3233
3234 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3235
3236 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3237
3238 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3239 basic attributes.
3240 (tramp-sh-handle-set-file-acl): Improve error checking.
3241
3242 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3243
3244 * doc-view.el (doc-view-display): Force mode line update until all
3245 document is converted. Suggested by Stefan Monnier (Bug#13164).
3246
3247 2013-01-23 Bastien Guerry <bzg@gnu.org>
3248
3249 * paren.el (show-paren-function): Make sure an overlay exists
3250 before trying to delete it. Also use `pos' as a position only
3251 when it is an integer.
3252
3253 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3254
3255 * play/gametree.el (gametree-break-line-here): Use point-marker.
3256
3257 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3258
3259 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3260 Mark descriptive parts with `display' property.
3261
3262 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3263
3264 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3265 New variable to map standard dict names to hunspell ones.
3266 (ispell-set-spellchecker-params): Make sure specific dict names
3267 are used for standard dicts with hunspell.
3268
3269 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3270
3271 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3272 chars for note (%N) and url (%U).
3273 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3274
3275 2013-01-21 Juri Linkov <juri@jurta.org>
3276
3277 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3278 in addition to existing separate binding `meta f10' in `global-map'.
3279 (Bug#13484)
3280
3281 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3282
3283 Improve XEmacs compatibility.
3284
3285 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3286
3287 * net/tramp-adb.el (top): Require `time-date'.
3288 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3289 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3290 Use `tramp-file-name-handler'.
3291 (tramp-adb-maybe-open-connection):
3292 Use `tramp-compat-set-process-query-on-exit-flag'.
3293
3294 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3295 Use `tramp-compat-funcall'.
3296
3297 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3298 `tramp-compat-funcall'.
3299
3300 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3301
3302 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3303 reimplementation using "adb shell command ..." instead of running
3304 remote shell interactively.
3305
3306 2013-01-20 Glenn Morris <rgm@gnu.org>
3307
3308 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3309 Add native profiler menu entries.
3310
3311 * profiler.el (profiler-running-p): New function.
3312 (profiler-cpu-profile): Use profiler-running-p.
3313 (profiler-report-mode-map): Add some more menu entries.
3314
3315 2013-01-19 Glenn Morris <rgm@gnu.org>
3316
3317 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3318 fixes 2012-12-07 change. (Bug#13499)
3319
3320 2013-01-19 Leo Liu <sdl.web@gmail.com>
3321
3322 * dired.el (dired-get-marked-files): Prune erroneous values due to
3323 last change. (Bug#13152)
3324
3325 2013-01-19 Glenn Morris <rgm@gnu.org>
3326
3327 * progmodes/etags.el (tags-table-check-computed-list):
3328 Preserve point in tags buffer. (Bug#13412)
3329
3330 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3331
3332 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3333 Chong Yidong <cyd@gnu.org>
3334
3335 * image-mode.el (image-next-file, image-previous-file):
3336 New commands (Bug#8453).
3337 (image-mode-map): Bind them to n and p.
3338 (image-mode--images-in-directory): New helper function.
3339
3340 2013-01-19 Chong Yidong <cyd@gnu.org>
3341
3342 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3343 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3344 save and restore the old window configuration.
3345
3346 2013-01-18 Leo Liu <sdl.web@gmail.com>
3347
3348 * progmodes/js.el: Tweak autoload cookie for alias.
3349
3350 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3351
3352 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3353 buffer local, again. This was lost with the fix on 2013-01-12.
3354
3355 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3356
3357 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3358 order to support several eshell buffers in parallel.
3359
3360 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * autorevert.el (auto-revert-use-notify): In the :set function, do
3363 not modify `kill-buffer-hook'.
3364 (auto-revert-notify-rm-watch):
3365 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3366 (auto-revert-notify-add-watch): Do not call
3367 `auto-revert-notify-rm-watch', but add it to a buffer local
3368 `kill-buffer-hook'.
3369
3370 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3373 call to `eval' rather than a backquoted lambda.
3374
3375 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3378 to return an explicit nil.
3379 (advice--remove-function): Change accordingly.
3380
3381 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3382 the use of nadvice.el.
3383
3384 * progmodes/which-func.el (which-function): Silence imenu errors
3385 (bug#13433).
3386
3387 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3388
3389 * progmodes/sql.el (sql-imenu-generic-expression):
3390 (sql-mode-font-lock-object-name): Match schema qualified names.
3391 (sql-connect): Use string keys.
3392 (sql-product-interactive): Wait for interpreter prompt.
3393 (sql-comint-oracle): Set process coding based on NLS_LANG.
3394
3395 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3396
3397 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3398 (sql-interactive-remove-continuation-prompt):
3399 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3400
3401 2013-01-14 Leo Liu <sdl.web@gmail.com>
3402
3403 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3404 (Bug#13420)
3405
3406 2013-01-14 Glenn Morris <rgm@gnu.org>
3407
3408 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3409 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3410
3411 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3412
3413 * progmodes/python.el (python-nav-end-of-statement):
3414 Fix cornercase when handling multiline strings.
3415
3416 2013-01-13 Richard Stallman <rms@gnu.org>
3417
3418 * mail/sendmail.el (mail-position-on-field): Add doc string.
3419
3420 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3421 Get current message boundaries and pass them to
3422 message-forward-make-body-mime. Minor style changes.
3423
3424 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3425
3426 * cus-start.el (all): Avoid warnings about
3427 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3428
3429 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3430
3431 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3432
3433 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3436 (jit-lock--debug-fontifying): New var.
3437 (jit-lock--debug-fontify): New function.
3438 * subr.el (condition-case-unless-debug): Don't prevent catching the
3439 error, just let the debbugger run.
3440 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3441 timer code and don't drop errors silently.
3442
3443 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3444
3445 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3446 `permanent-local' property.
3447 (auto-revert-notify-handler): Use `file-equal-p'.
3448
3449 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3450
3451 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3452 file notification by ACTION. For filtering by file name, compare
3453 only the non-directory part of the file name.
3454
3455 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3456
3457 * autorevert.el: Use cl-lib instead of cl.
3458
3459 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3460 (vc-bzr-checkin): Use it.
3461 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3462 will preserve match-data.
3463
3464 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3465
3466 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3467 (js--declaration-keyword-re): New var.
3468 (js--multi-line-declaration-indentation): New function.
3469 (js--proper-indentation): Use it.
3470
3471 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3472
3473 * calc/calc.el (calc-highlight-selections-with-faces)
3474 (calc-dispatch):
3475 * comint.el (comint-history-isearch-message):
3476 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3477 * ffap.el (ffap-string-at-point-region, ffap-next)
3478 (ffap-string-at-point, ffap-string-around)
3479 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3480 (ffap-literally):
3481 * font-lock.el (font-lock-keywords-alist)
3482 (font-lock-removed-keywords-alist):
3483 * help-mode.el (help-xref-symbol-regexp):
3484 * info.el (Info-find-emacs-command-nodes):
3485 * international/mule.el (add-to-coding-system-list):
3486 * isearch.el (isearch-message-function, isearch-fail-pos):
3487 * misearch.el (multi-isearch-next-buffer-function):
3488 * newcomment.el (comment-box):
3489 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3490 (pr-setting-database):
3491 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3492 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3493 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3494 (pike-font-lock-keywords-3):
3495 * progmodes/compile.el (compile):
3496 * progmodes/etags.el (tags-table-files)
3497 (tags-table-files-function, tags-included-tables-function):
3498 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3499 (gdb-restore-windows):
3500 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3501 (ps-n-up-filling-database):
3502 * server.el (server-buffer, server-log):
3503 * simple.el (newline, delete-backward-char, delete-forward-char)
3504 (minibuffer-history-isearch-message, kill-line, track-eol)
3505 (temporary-goal-column):
3506 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3507 (flyspell-default-deplacement-commands):
3508 * textmodes/ispell.el (ispell-accept-output):
3509 * textmodes/sgml-mode.el (html-tag-help):
3510 * vc/compare-w.el (compare-ignore-whitespace)
3511 (compare-ignore-case, compare-windows-dehighlight):
3512 * vc/diff.el (diff):
3513 * whitespace.el (whitespace-point)
3514 (whitespace-font-lock-refontify, whitespace-bob-marker)
3515 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3516
3517 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3518
3519 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3520 (auto-revert-notify-rm-watch): Ignore errors.
3521 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3522 inotify, and '(size last-write-time) for w32notify.
3523 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3524 watch fails - this is a fallback to the file modification check.
3525 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3526 (auto-revert-notify-event-action)
3527 (auto-revert-notify-event-file-name): New defuns.
3528 (auto-revert-notify-handler): Use them. Implement first
3529 plausibility checks.
3530 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3531
3532 2013-01-11 Julien Danjou <julien@danjou.info>
3533
3534 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3535 max are almost equal. Also return the correct value for V which is
3536 already between 0 and 1.
3537
3538 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3539
3540 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3541
3542 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3543
3544 * autorevert.el (auto-revert-notify-rm-watch)
3545 (auto-revert-notify-add-watch): Fix typos in w32notify function
3546 names.
3547
3548 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3549
3550 * autorevert.el (auto-revert-notify-enabled): Move up.
3551 (auto-revert-use-notify): New defcustom.
3552 (auto-revert-mode, global-auto-revert-mode)
3553 (auto-revert-notify-add-watch, auto-revert-handler)
3554 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3555 `auto-revert-notify-enabled'.
3556
3557 2013-01-10 Elias Pipping <pipping@exherbo.org>
3558
3559 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3560 * doc-view.el (doc-view-document->bitmap):
3561 Use doc-view-single-page-converter-function instead of
3562 single-page-converter arg; adjust callers.
3563
3564 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3565
3566 * progmodes/which-func.el (which-function): Understand Semantic's use
3567 of overlays in imenu--index-alist.
3568
3569 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3570
3571 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3572 (Man-man-k-use-anchor): New var.
3573 (Man-parse-man-k): New function.
3574 (Man-completion-table): Use it.
3575 (man): Flush the completion cache between uses.
3576
3577 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * autorevert.el: Add file watch support.
3580 (auto-revert-notify-enabled): New defconst.
3581 (auto-revert-notify-watch-descriptor-hash-list)
3582 (auto-revert-notify-watch-descriptor)
3583 (auto-revert-notify-modified-p): New defvars.
3584 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3585 (auto-revert-notify-handler): New defuns.
3586 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3587 when mode is disabled.
3588 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3589 (auto-revert-buffers): Add file watches for active buffers.
3590
3591 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3592
3593 * cus-start.el (toplevel): Only allow float values for
3594 scroll-up-aggressively and scroll-down-aggressively.
3595 Allow any number for line-spacing.
3596
3597 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3598
3599 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3600 (doc-view-pdf->png-converter-function): Use mupdf if available.
3601 (doc-view-djvu->png-converter-function)
3602 (doc-view-ps->png-converter-function): Remove.
3603 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3604 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3605 (doc-view-already-converted-p): Adjust accordingly.
3606 (doc-view-mode-p): Simplify.
3607 (doc-view-enlarge): Use setq-local.
3608 (doc-view-pdf->png-converter-ghostscript)
3609 (doc-view-djvu->png-converter-ddjvu)
3610 (doc-view-pdf->png-converter-mupdf): Rework to call
3611 doc-view-start-process directly.
3612 (doc-view-pdf/ps->png): Simplify accordingly.
3613 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3614 (doc-view-document->bitmap): Rename from doc-view-document->png.
3615 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3616 (doc-view-set-slice-from-bounding-box): Fix completion table.
3617 (doc-view-mode): Use add-hook for after-revert-hook.
3618
3619 2013-01-10 Glenn Morris <rgm@gnu.org>
3620
3621 * emacs-lisp/authors.el (authors-ignored-files)
3622 (authors-valid-file-names, authors-renamed-files-alist):
3623 Add some more entries.
3624
3625 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3628 `t' pseudo-window entry.
3629
3630 2013-01-10 Alan Mackenzie <acm@muc.de>
3631
3632 Fix bugs in the c-parse-state mechanism. Reuse some markers
3633 instead of continually generating new ones.
3634
3635 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3636 (c-state-old-cpp-end-marker): New variables.
3637 (c-append-lower-brace-pair-to-state-cache): Start a backward
3638 search for "}" definitively outside CPP constructs.
3639 (c-remove-stale-state-cache): Inform the caller of a need to
3640 search back for a brace pair in certain circumstances.
3641 (c-state-maybe-marker): New macro.
3642 (c-parse-state): Reuse markers when appropriate.
3643
3644 2013-01-10 Glenn Morris <rgm@gnu.org>
3645
3646 * simple.el (execute-extended-command): Doc fix.
3647 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3648
3649 2013-01-10 Chong Yidong <cyd@gnu.org>
3650
3651 * faces.el (read-face-name): Doc fix.
3652
3653 2013-01-10 Roland Winkler <winkler@gnu.org>
3654
3655 * emacs-lisp/crm.el: Allow any regexp for separators.
3656 (crm-default-separator): All spaces around the default comma separator.
3657 (crm--completion-command): New macro.
3658 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3659 (crm-complete-and-exit): Handle non-single-char separators.
3660
3661 2013-01-09 Elias Pipping <pipping@lavabit.com>
3662
3663 * doc-view.el: Add support for DjVu (bug#13164).
3664 (doc-view-djvu->png-converter-function): New config var.
3665 (doc-view-single-page-converter-function, doc-view--image-type)
3666 (doc-view--image-file-extension): New vars.
3667 (doc-view-mode): Initialize them.
3668 (doc-view-goto-page): Use them.
3669 (doc-view-mode-p): Add support for ddjvu.
3670 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3671 (doc-view-set-up-single-converter): New funs.
3672 (doc-view-pdf/ps->png): Extend for djvu.
3673 (doc-view-document->png): Rename from doc-view-pdf->png.
3674 (doc-view-convert-current-doc): Handle djvu.
3675 (doc-view-insert-image, doc-view-display)
3676 (doc-view-already-converted-p): Don't hardcode png.
3677 (doc-view-set-doc-type): Recognize djvu docs.
3678
3679 2013-01-09 Elias Pipping <pipping@lavabit.com>
3680
3681 * doc-view.el: Add support for mupdf converter (bug#13164).
3682 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3683 (doc-view-ps->png-converter-function): New config vars.
3684 (doc-view-pdf->png-converter-ghostscript)
3685 (doc-view-ps->png-converter-ghostscript)
3686 (doc-view-pdf->png-converter-mupdf): New functions.
3687 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3688
3689 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3690
3691 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3692 first in session cache: When `tramp-own-remote-path' is in
3693 `tramp-remote-path', the remote path is only set in the session
3694 cache.
3695
3696 2013-01-09 Glenn Morris <rgm@gnu.org>
3697
3698 * emacs-lisp/trace.el (trace-function-foreground)
3699 (trace-function-background): Doc fix.
3700
3701 2013-01-09 Juri Linkov <juri@jurta.org>
3702
3703 * international/mule-cmds.el (read-char-by-name): Move let-binding
3704 of completion-ignore-case around completing-read to fix regression
3705 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3706 `string-match-p' using the nil value of `case-fold-search' and
3707 `completion-ignore-case' in `completion-pcm--all-completions'.
3708 (Bug#12615).
3709
3710 2013-01-09 Glenn Morris <rgm@gnu.org>
3711
3712 * progmodes/compile.el (compilation-parse-errors):
3713 Fix typo. (Bug#13369)
3714
3715 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3716
3717 * comint.el (comint-send-input): Check size of buffer before
3718 waiting for process output, in case already accepted. (Bug#13290)
3719
3720 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3721
3722 Spelling fixes.
3723 * net/tramp-adb.el (tramp-adb-get-toolbox):
3724 Fix misspelling of 'unknown'.
3725
3726 2013-01-08 Juri Linkov <juri@jurta.org>
3727
3728 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3729 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3730 Use underline style wave on terminals that support it. (Bug#13000)
3731
3732 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3735 the predicate returns nil.
3736
3737 * simple.el: Use lexical-binding.
3738 (primitive-undo): Use pcase.
3739 (minibuffer-history-isearch-push-state): Use a closure.
3740
3741 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3742
3743 * simple.el (primitive-undo): Move from undo.c.
3744
3745 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3746
3747 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3748 (cvs-mode-remove-handled): Use it (bug#13380).
3749
3750 * emacs-lisp/nadvice.el (advice--tweak): New function.
3751 (advice--remove-function, advice--subst-main): Use it.
3752
3753 * emacs-lisp/advice.el: Update commentary.
3754
3755 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3756
3757 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3758 Remove spurious entry.
3759
3760 2013-01-08 Glenn Morris <rgm@gnu.org>
3761
3762 * net/tramp.el (tramp-default-host-alist): Add :version.
3763
3764 2013-01-08 Juri Linkov <juri@jurta.org>
3765
3766 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3767 single completion. (Bug#12456)
3768 (info--manual-names): Expand node completions into an explicit list
3769 before appending it to another list. Filter out internal buffers
3770 with the leading space in the buffer name. (Bug#10771)
3771
3772 2013-01-08 Juri Linkov <juri@jurta.org>
3773
3774 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3775 that defaults to the Top node.
3776 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3777 the short format (FILENAME) goes to the Top node.
3778 (Info-build-node-completions): Rename arg `file' to `filename'.
3779 (Bug#13365)
3780
3781 2013-01-07 Bastien Guerry <bzg@gnu.org>
3782
3783 * menu-bar.el (menu-bar-search-documentation-menu):
3784 Use `apropos-user-option' and fix the help message.
3785
3786 2013-01-07 Bastien Guerry <bzg@gnu.org>
3787
3788 * apropos.el (apropos-do-all): Update docstring.
3789 (apropos-user-option-button): New face.
3790 (apropos-user-option): Rename from `apropos-variable' and update
3791 docstring.
3792 (apropos-variable): Rewrite, now show all variables by default.
3793 (apropos-print): Mention "User option" instead of "Variable" when
3794 printing doc for user options. (Bug#13276)
3795
3796 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3797
3798 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3799 Handle filename correctly, when parsing "source -> target" symlink
3800 output.
3801 (tramp-adb-handle-set-file-times): New defun.
3802
3803 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3804
3805 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3806 advice list when the interactive-spec of ad-Advice-* changes.
3807
3808 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3809
3810 * wid-edit.el (widget-default-get): Work for inlined elements.
3811 (Bug#12670)
3812
3813 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3814
3815 * net/tramp.el (tramp-default-host-alist): New defcustom.
3816 (tramp-find-host): Use it.
3817 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3818 `eshell-directory-change-hook'.
3819
3820 * net/tramp-adb.el (top): Add adb specific entry in
3821 `tramp-default-host-alist'.
3822 (tramp-adb-file-name-host): Remove function.
3823 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3824 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3825
3826 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3827
3828 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3829
3830 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3831
3832 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3833
3834 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3835 consist of more than one digit.
3836 (tramp-adb-file-name-handler-alist):
3837 Use `tramp-handle-file-exists-p' consistently.
3838 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3839 (tramp-adb-handle-file-exists-p): Remove function.
3840 (tramp-adb-file-name-host): New defun.
3841 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3842 Use it.
3843 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3844
3845 2013-01-06 Chong Yidong <cyd@gnu.org>
3846
3847 * vc/vc.el (vc-next-action): Detect buffer modifications
3848 conflicting with locking VCS operation (Bug#11490).
3849
3850 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3851
3852 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3855 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3856
3857 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3858
3859 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3860 parsing of ls output using regular expression (handle filenames
3861 with spaces). Use virtual device number.
3862 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3863 cleanup).
3864
3865 2013-01-04 Daiki Ueno <ueno@gnu.org>
3866
3867 * epg.el: Silence byte-compiler warnings.
3868 (epg--start): Use delete-char instead of delete-backward-char.
3869 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3870
3871 2013-01-04 Daiki Ueno <ueno@gnu.org>
3872
3873 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3874 Suggested by Eli Zaretskii <eliz@gnu.org>.
3875
3876 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3877
3878 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3879 non-negative integers. Otherwise, the default values are used.
3880 (tramp-convert-file-attributes): Convert uid and gid to integers.
3881
3882 2013-01-04 Glenn Morris <rgm@gnu.org>
3883
3884 * term.el (term-handle-colors-array): Ensure face attributes
3885 are fully specified, not nil. (Bug#13337)
3886
3887 * term.el (term-default-fg-color, term-default-bg-color):
3888 Fix custom type.
3889
3890 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3891 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3892 rather than 'jka-compr being loaded. (Bug#13338)
3893
3894 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3895
3896 * icomplete.el (icomplete-completions):
3897 Honor icomplete-prospects-height once more following
3898 2012-11-29 changes. (Bug#13224)
3899
3900 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3901
3902 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3903 of called-interactively-p as well (bug#13237).
3904
3905 * view.el (view--enable, view--disable): Rename from view-mode-enable
3906 and view-mode-disable and assume it's called from view-mode.
3907 (view-mode-enable, view-mode-disable): Redefine as obsolete
3908 compatibility layer above view-mode.
3909 (view-mode-enter): Call `view-mode'.
3910
3911 * files.el (after-find-file): Call `view-mode'.
3912
3913 * doc-view.el (doc-view-scale-internally): New var.
3914 (doc-view-enlarge, doc-view-insert-image): Obey it.
3915
3916 2013-01-03 Daiki Ueno <ueno@gnu.org>
3917
3918 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3919 exist. (Bug#13344)
3920
3921 2013-01-03 Glenn Morris <rgm@gnu.org>
3922
3923 * mail/rmail.el (rmail-set-header-1): Ignore case.
3924 Handle multi-line headers. (Bug#13330)
3925
3926 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3927 Handle paragraph starting at beginning of buffer.
3928
3929 * subr.el (eval-after-load): Don't purecopy the form, so that it
3930 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3931
3932 * emacs-lisp/byte-run.el (defun): Place cl declarations
3933 after any interactive spec. (Bug#13265)
3934
3935 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3936
3937 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3938 defun. Don't check for DECL if DOCSTRING isn't a string.
3939 (defun): Likewise.
3940
3941 2013-01-02 Glenn Morris <rgm@gnu.org>
3942
3943 * eshell/em-cmpl.el (eshell-pcomplete):
3944 More thoroughly imitate pcomplete. (Bug#13293)
3945
3946 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3947 Return nil for empty path elements. (Bug#13296)
3948
3949 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3950
3951 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3952 order to improve efficiency (Based on Daniel Colascione's
3953 <dancol@dancol.org> patch). (Bug#13182)
3954
3955 2013-01-02 Glenn Morris <rgm@gnu.org>
3956
3957 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3958
3959 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3960
3961 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3962 neither DOCSTRING nor DECL was given. (Bug#13316)
3963
3964 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3965
3966 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3967 `error' call.
3968 (tramp-do-copy-or-rename-file): Ignore errors when calling
3969 `set-file-extended-attributes'.
3970
3971 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3972 Add handler for `file-acl'.
3973 (tramp-smb-handle-file-acl): New defun.
3974
3975 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3976
3977 * calc/README: Mention ISO 8601 week-numbering dates.
3978
3979 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3980
3981 * view.el (view-mode-enable): New argument run-view-mode-hook.
3982 Run view-mode-hook only when it's non-nil (Bug#13315).
3983 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3984 argument t.
3985
3986 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3987
3988 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3989 (No device connected, invalid device name). (Bug #13299)
3990
3991 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3992
3993 * window.el (window-resizable--p): Rename to window-resizable-p.
3994 (window-resize-no-error): New function.
3995
3996 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3997 broken in fix from 2012-12-28.
3998
3999 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4000
4001 * subr.el (special-form-p): Don't signal errors on undef aliases.
4002
4003 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4004
4005 * calc/calc-forms.el (math-parse-date): Try using
4006 `math-parse-iso-date' when it looks like it might be needed.
4007 Allow times of 24:00.
4008 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4009 of 24:00.
4010
4011 2012-12-30 Glenn Morris <rgm@gnu.org>
4012
4013 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4014 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4015 (rmail-summary-displayed, rmail-summary): Declare.
4016 (mairix-rmail-display): Just require rmail.
4017
4018 2012-12-30 Chong Yidong <cyd@gnu.org>
4019
4020 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4021 check for the tarball contents.
4022
4023 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4024
4025 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4026 tarfile content listings (Bug#13136).
4027
4028 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4029
4030 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4031 Insert the undecoded text of the message being forwarded. (Bug#9521)
4032
4033 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4036 integers, if they are real numbers. (Bug#13282)
4037
4038 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4039 Return `t' on success.
4040
4041 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4042 Add handler for `set-file-selinux-context'.
4043
4044 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4045
4046 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4047 (tramp-sh-handle-set-file-acl): Return `t' on success.
4048
4049 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4050
4051 * files.el (backup-buffer-copy, basic-save-buffer-2):
4052 If set-file-extended-attributes fails, fall back on set-file-modes
4053 instead of signaling an error. (Bug#13298)
4054 (basic-save-buffer): Likewise.
4055
4056 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4057
4058 * progmodes/python.el: Support other commands triggering
4059 python-indent-line so indentation cycling continues to work.
4060 (python-indent-trigger-commands): New defcustom.
4061 (python-indent-line): Use it.
4062
4063 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4064
4065 * progmodes/python.el (python-shell-send-region): Add blank lines
4066 for non sent code so backtraces remain correct.
4067
4068 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4069
4070 * progmodes/python.el: Remove cl dependency.
4071 (python-syntax-count-quotes): Replace incf call.
4072 (python-fill-string): Replace setf call.
4073
4074 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4075
4076 * info.el (info-other-window): New arg, for consistency with info.
4077
4078 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4079
4080 * mail/rmail.el (rmail-maybe-display-summary):
4081 Rewrite (Bug#13066).
4082
4083 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4084
4085 * epg.el (epg--start): Modify process-environment locally.
4086
4087 2012-12-28 Daiki Ueno <ueno@gnu.org>
4088
4089 * epg.el: Support pinentry-curses.
4090 Suggested by Werner Koch in
4091 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4092 (epg-agent-file, epg-agent-mtime): New variable.
4093 (epg--start): Record the modified time of gpg-agent socket file,
4094 to restore Emacs frame after pinentry-curses termination.
4095 (epg-wait-for-completion): Restore Emacs frame here.
4096
4097 2012-12-27 Juri Linkov <juri@jurta.org>
4098
4099 * info.el (Info-file-completions): New variable.
4100 (Info-read-node-name-1): Complete node names in the Info file
4101 when a file name is given. Call `Info-build-node-completions'
4102 with a file name.
4103 (Info-build-node-completions): Add new arg `file'. When it is
4104 non-nil, visit it in a temporary buffer and cache its completions in
4105 `Info-current-file-completions'. Move most of the function body to
4106 `Info-build-node-completions-1'.
4107 (Info-build-node-completions-1): New function with the body from
4108 `Info-build-node-completions'. (Bug#12456)
4109
4110 2012-12-27 Juri Linkov <juri@jurta.org>
4111
4112 * frame.el (frame-maximization-style): Remove user option.
4113 (cycle-frame-maximized): Remove function.
4114 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4115 (toggle-frame-fullscreen): New command bound to <f11> instead of
4116 `toggle-frame-maximized'.
4117 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4118
4119 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4120
4121 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4122
4123 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4124 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4125 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4126 for `file-accessible-directory-p'. (Bug#13275)
4127
4128 2012-12-27 Sam Steingold <sds@gnu.org>
4129
4130 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4131 continuations, see <http://stackoverflow.com/questions/3582436>.
4132
4133 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4134
4135 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4136 "module" and "def" to have indentation before them.
4137 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4138
4139 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4140
4141 2012-12-27 Alan Mackenzie <acm@muc.de>
4142
4143 Speed up fontification where there's large brace blocks.
4144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4145 to a call of c-beginning-of-decl-1.
4146
4147 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4148
4149 * comint.el (comint-adjust-window-point): New function.
4150 (comint-postoutput-scroll-to-bottom):
4151 Call comint-adjust-window-point (Bug#13248).
4152
4153 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4154
4155 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4156 Rakefile regexp.
4157 (auto-mode-alist): Associate .gemspec files with ruby-mode
4158 (https://bugs.ruby-lang.org/issues/5453).
4159
4160 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4161
4162 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4163 Suppress coloring, if possible (required for BusyBox based systems like
4164 CyanogenMod).
4165 (tramp-adb-handle-file-attributes)
4166 (tramp-adb-handle-insert-directory)
4167 (tramp-adb-handle-file-name-all-completions): Use it.
4168 (tramp-adb-get-toolbox): New defun. Check for remote shell
4169 implementation (BusyBox or Toolbox).
4170
4171 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4172
4173 * startup.el (initial-buffer-choice): Allow function as value
4174 (Bug#13251).
4175 (command-line-1): Handle case where initial-buffer-choice
4176 specifies a function.
4177 * server.el (server-execute): Handle case where
4178 initial-buffer-choice specifies a function.
4179
4180 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4181
4182 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4183 its own function.
4184 (smtpmail-try-auth-methods): Forget the user name/password if the
4185 login is unsuccessful (bug#12424).
4186
4187 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4188
4189 * notifications.el (notifications-notify): Protect body with
4190 `with-demoted-errors'.
4191
4192 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4193 Check properties of remote device. Restart connection, if there is a
4194 change.
4195
4196 2012-12-21 Chong Yidong <cyd@gnu.org>
4197
4198 * sort.el (sort-subr): Doc fix (Bug#13056).
4199
4200 2012-12-21 Bastien Guerry <bzg@gnu.org>
4201
4202 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4203
4204 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4205
4206 * simple.el (process-file): Overwrite stderr file, if exists.
4207
4208 2012-12-21 Daiki Ueno <ueno@gnu.org>
4209
4210 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4211 (epg-error): Set `error-message' property.
4212
4213 2012-12-21 Chong Yidong <cyd@gnu.org>
4214
4215 * international/mule-cmds.el (read-char-by-name): Signal an error
4216 if the user does not supply a valid character (Bug#13177).
4217
4218 * simple.el (transpose-subr-1): Preserve marker positions by
4219 changing the insertion sequence (Bug#13122).
4220
4221 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4222
4223 * simple.el (kill-region): Deactivate mark even for empty regions
4224 (Bug#13169).
4225
4226 2012-12-21 Chong Yidong <cyd@gnu.org>
4227
4228 * help-fns.el (describe-variable): Make sure we get the right
4229 buffer name (Bug#13105). Suggested by Kelly Dean.
4230
4231 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4232
4233 * comint.el (comint-redirect-previous-input-string): New variable.
4234 (comint-redirect-setup, comint-redirect-cleanup)
4235 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4236 (comint-redirect-preoutput-filter): Fix verbose message.
4237
4238 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4239
4240 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4241 is too long for Tramp. See discussion in
4242 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4243
4244 * progmodes/compile.el (compilation-start): Remove line escape
4245 template.
4246
4247 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4248
4249 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4250 Adjust comment.
4251
4252 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4253
4254 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4255 following non-comment text (bug#13207).
4256 (lm-header-multiline): Continuation lines need to be indented more than
4257 the first line.
4258 (lm-homepage): New function.
4259 (lm-with-file): Don't be confused if narrowing is in effect.
4260
4261 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4262
4263 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4264 very beginning of a hunk (e.g. killing the first line).
4265
4266 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4267
4268 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4269 and text properties from returned ACL string.
4270 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4271 for "setfacl" command.
4272
4273 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4274
4275 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4276 `tramp-cleanup-this-connection', when the process has died.
4277 (Bug#13151)
4278
4279 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4282
4283 2012-12-17 Kevin Ryde <user42@zip.com.au>
4284
4285 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4286
4287 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4288
4289 Add support for preserving ACL entries of files.
4290
4291 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4292 `set-file-acl' handlers.
4293
4294 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4295 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4296
4297 * net/tramp-compat.el (tramp-compat-copy-file):
4298 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4299
4300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4301 Add `file-acl' and `set-file-acl' handlers.
4302 (tramp-gvfs-handle-copy-file):
4303 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4304 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4305 New defuns.
4306
4307 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4308 Add `file-acl' and `set-file-acl' handlers.
4309 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4310 (tramp-sh-handle-set-file-acl): New defuns.
4311 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4312 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4313
4314 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4315 Add `file-acl' and `set-file-acl' handlers.
4316 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4317
4318 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4319
4320 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4321 use pop-to-buffer with NORECORD argument t. As buffer name, use
4322 *Metahelp* with a leading space (Bug#13190).
4323
4324 2012-12-16 Romain Francoise <romain@orebokech.com>
4325
4326 * files.el (file-extended-attributes)
4327 (set-file-extended-attributes): New functions.
4328 (backup-buffer): Use them to handle both SELinux context and ACL
4329 entries.
4330 (backup-buffer-copy): Work with an alist of extended attributes,
4331 rather than an SELinux context.
4332 (basic-save-buffer-2): Ditto.
4333
4334 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4335
4336 * battery.el (battery-bsd-apm): New function.
4337
4338 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4339
4340 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4341 standard date formats.
4342
4343 2012-12-15 Juri Linkov <juri@jurta.org>
4344
4345 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4346 `isearch-insert-char-by-name'.
4347 (with-isearch-suspended): New defmacro with body mostly from
4348 `isearch-edit-string' except the part that sets
4349 `isearch-new-string' and `isearch-new-message'.
4350 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4351 body that sets `isearch-new-string' and `isearch-new-message'.
4352 (isearch-insert-char-by-name): New command.
4353 * international/mule-cmds.el (read-char-by-name): Let-bind
4354 `enable-recursive-minibuffers' to t.
4355 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4356
4357 2012-12-15 Juri Linkov <juri@jurta.org>
4358
4359 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4360 (Bug#13175)
4361
4362 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4363
4364 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4365 the prompt. (Bug#13045)
4366
4367 2012-12-14 Glenn Morris <rgm@gnu.org>
4368
4369 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4370 Try to include filename in non-bytecomp warning. (Bug#13132)
4371
4372 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4373
4374 Fix permissions bugs with setgid directories etc. (Bug#13125)
4375 * files.el (backup-buffer): Don't rely on 9th output of
4376 file-attributes, as it's now a placeholder. Instead, use the new
4377 optional arg of file-ownership-preserved-p.
4378 (file-ownership-preserved-p): New optional arg GROUP.
4379 Fix mishandling of setuid directories that would cause this
4380 function to return t when it should have returned nil.
4381 Document what happens if the file does not exist, and when
4382 it's not known whether the ownership will be preserved.
4383 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4384 Likewise.
4385 (tramp-get-local-gid): Use group-gid for integer, as that's
4386 faster and more reliable.
4387
4388 2012-12-14 Julien Danjou <julien@danjou.info>
4389
4390 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4391 Update keywords list, data type and PL/pgSQL.
4392
4393 2012-12-14 Dave Abrahams <dave@boostpro.com>
4394
4395 * vc/ediff-util.el (ediff-buffer-type): New function.
4396 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4397 rather than taking it as as argument.
4398 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4399
4400 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4401
4402 * json.el: Add pretty-print option (bug#12634).
4403 (json-encoding-separator, json-encoding-default-indentation)
4404 (json--encoding-current-indentation, json-encoding-pretty-print)
4405 (json-encoding-lisp-style-closings): New vars.
4406 (json--with-indentation): New macro.
4407 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4408 (json-encode-array): Use it to obey json-encoding-pretty-print.
4409 (json-pretty-print-buffer, json-pretty-print): New commands.
4410
4411 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4412
4413 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4414 Extract `ruby-syntax-propertize-expansions'.
4415 (ruby-syntax-propertize-expansions): Only change syntax on
4416 certain string delimiters, to punctuation. This way the common
4417 functions like forward-word and thing-at-point still work.
4418 (ruby-match-expression-expansion): Improve readability.
4419 (ruby-block-contains-point): New function.
4420 (ruby-add-log-current-method): Handle several edge cases.
4421
4422 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4423
4424 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4425 unload-feature finishes even when aborting an ongoing edebug session.
4426 Also, do not worry about edebug-mode, unload-feature takes care of it.
4427
4428 2012-12-13 Andreas Schwab <schwab@suse.de>
4429
4430 * net/tls.el (tls-program): Update customize type.
4431
4432 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4433
4434 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4435 (edebug-setup-hook, cl-read-load-hooks): Use it.
4436 (edebug-unload-function): New function. (Bug#13163)
4437
4438 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4439
4440 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4441 Otherwise, there could be errors in autoloading. (Bug#13151)
4442
4443 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4444
4445 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4446 sequences.
4447
4448 2012-12-13 Alan Mackenzie <acm@muc.de>
4449
4450 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4451 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4452 around `forward-comment' not recognizing ^M as whitespace.
4453
4454 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
4455
4456 * progmodes/python.el (python-skeleton-class)
4457 (python-skeleton-def): Do not add space after defun name.
4458
4459 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4462 (cl--symbol-function): Remove (now that funbound is like nil).
4463
4464 2012-12-12 Glenn Morris <rgm@gnu.org>
4465
4466 * button.el (button--area-button-p): Fix typo.
4467
4468 2012-12-12 Sam Steingold <sds@gnu.org>
4469
4470 * frame.el (frame-maximization-style): New user option.
4471 (toggle-frame-maximized): Toggle frame maximization according to
4472 `frame-maximization-style', bound to <f11>.
4473 (cycle-frame-maximized): Cycle between all maximization styles and
4474 non-maximized frame, bound to shift-<f11>.
4475
4476 2012-12-12 David Cadé <codename68@gmail.com>
4477
4478 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4479
4480 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4481
4482 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4483 (eieio-override-prin1): Don't quote kewords and booleans.
4484 (object-write) <eieio-default-superclass>: Don't put closing parens
4485 on new line, avoid needless empty lines, align values that are objects
4486 with the slot keyword (instead of beginning on the same line).
4487 (eieio-list-prin1): Align value with slot keyword; increase
4488 eieio-print-depth before printing members of the list.
4489
4490 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4493 a display text-property.
4494 (report-emacs-bug-hook): Don't bother deleting it any more.
4495
4496 * hilit-chg.el (highlight-save-buffer-state): Delete.
4497 Use with-silent-modifications instead.
4498 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4499
4500 * button.el: Handle buttons in display text-properties.
4501 (button--area-button-p, button--area-button-string):
4502 Use (STRING . STRING-POS) representation instead of just STRING.
4503
4504 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4505
4506 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4507 subdirectory be skipped.
4508
4509 2012-12-11 Glenn Morris <rgm@gnu.org>
4510
4511 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4512
4513 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4514 Treat preprocessor lines embedded in continuations like comments.
4515 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4516
4517 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4518
4519 * calc/calc.el (calc-standard-date-formats): Add more date
4520 formats.
4521 * calc/calc-forms.el (math-parse-iso-date): New function.
4522 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4523 (math-parse-iso-date-validate): Add extra error checking.
4524 (calc-date-notation): Add ability to access new date formats.
4525
4526 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4527
4528 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4529 font-lock as well as when there's no text-property.
4530
4531 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4532
4533 * hi-lock.el: Refine the choice of default face.
4534 (hi-lock-keyword->face): New function. Use it wherever we used
4535 cadadadr instead.
4536 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4537 (hi-lock--last-face): Remove var.
4538 (hi-lock--unused-faces): New var to replace it.
4539 (hi-lock-read-face-name): Use/maintain it.
4540 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4541 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4542 if it has another face.
4543
4544 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4545
4546 * subr.el (w32notify-handle-event): New function.
4547 (inotify-handle-event): Doc fix.
4548
4549 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4550
4551 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4552
4553 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4554
4555 * simple.el (just-one-space): Doc fix.
4556
4557 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4558
4559 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4560
4561 2012-12-10 Le Wang <l26wang@gmail.com>
4562
4563 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4564 narrowed buffer (bug#12361).
4565
4566 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4567
4568 * vc/vc-hooks.el (vc-state): Doc fix.
4569
4570 2012-12-10 Glenn Morris <rgm@gnu.org>
4571
4572 * mail/rmail.el (rmail-maybe-display-summary):
4573 Preserve buffer, in case select-window changes it. (Bug#13066)
4574
4575 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4576
4577 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4578 cl-load-hook where they belong.
4579
4580 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4583
4584 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4585
4586 Parallelize byte compilation on MS-Windows.
4587 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4588 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4589 (WINS_BASIC): Define as concatenation of the above.
4590 (compile): Subdivide into 4 separate and independent jobs that can
4591 be run in parallel.
4592 (compile0-CMD, compile0-SH): New targets for compiling
4593 COMPILE_FIRST files, which are prerequisites for the rest of the
4594 byte-compilation.
4595 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4596 New targets for parallel compilation with cmd.exe.
4597 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4598 compiling under a Unixy shell.
4599
4600 2012-12-09 Chong Yidong <cyd@gnu.org>
4601
4602 * simple.el (set-mark-default-inactive): Delete this
4603 accidentally-introduced option.
4604 (set-mark-command, exchange-point-and-mark): Remove calls.
4605
4606 2012-12-09 Glenn Morris <rgm@gnu.org>
4607
4608 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4609 Respect a defcustom's :set function, if appropriate. (Bug#109)
4610 (eval-defun): Doc fix.
4611
4612 2012-12-08 Juri Linkov <juri@jurta.org>
4613
4614 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4615 (Info-fontify-node, Info-bookmark-make-record): Remove the
4616 file extension from Info-current-file (Bug#13016).
4617
4618 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4621 point, still provide some default.
4622 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4623 names, since we don't use it right now. Actually return the list.
4624 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4625
4626 2012-12-07 Chong Yidong <cyd@gnu.org>
4627
4628 * novice.el (disabled-command-function): Remove a spurious help
4629 xref (Bug#13043). Suggested by Kelly Dean.
4630
4631 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4632 syntax is specified (Bug#13025).
4633
4634 * info.el (Info-set-mode-line): Remove the file extension from
4635 Info-current-file if there is one (Bug#13016).
4636
4637 2012-12-07 Glenn Morris <rgm@gnu.org>
4638
4639 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4640 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4641 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4642 and rmail-mime-decoded. (Bug#9841)
4643
4644 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4645 (batch-unrmail, unrmail): Doc fixes.
4646 (unrmail): Respect unrmail-mbox-format.
4647 * mail/rmail.el (rmail-mbox-format): New option.
4648 (rmail-show-message-1): Respect rmail-mbox-format.
4649
4650 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4653
4654 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4655
4656 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4657 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4658 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4659 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4660 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4661 (cl-progv): Don't rely on dynamic scoping to find the body.
4662 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4663 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4664 (cl-declaim): Use backquotes.
4665 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4666 Use "cl--" prefix for the object's tag.
4667
4668 * ses.el: Use advice-add/remove.
4669 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4670 (copy-region-as-kill, yank): Use advice-add.
4671 (ses-unload-function): Use advice-remove.
4672
4673 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4674
4675 * button.el: Make them work in header-lines (bug#12817).
4676 (button-map): Add bindings for header-line and mode-line use.
4677 (button-get, button-put, button-label): `button' may now be a string.
4678 (button-activate): Don't make it a defsubst.
4679 (button--area-button-p, button--area-button-string): New functions.
4680 (make-text-button): Fix the return value when `beg' was a string.
4681 (push-button): Handle the mode-line case.
4682
4683 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4684
4685 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4686 (sql-signum): Remove. Use `cl-signum' instead.
4687 (sql-read-passwd): Remove; use read-passwd instread.
4688 (sql-get-login-ext): Use read-string.
4689 (sql-get-login): Use dolist and pcase.
4690 (sql--completion-table): Rename from sql-try-completion.
4691 Use complete-with-action.
4692 (sql-mode): Don't change abbrev-all-caps globally.
4693 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4694 (sql-postgres-completion-object): Initialize vars in their `let'.
4695 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4696 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4697 (sql-comint-interbase): Use a single append, without setq.
4698 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4699
4700 * hi-lock.el: Rework the default face and the serialize regexp code.
4701 (hi-lock--auto-select-face-defaults): Remove.
4702 (hi-lock-string-serialize-serial): Remove.
4703 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4704 make weak.
4705 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4706 equal string.
4707 (hi-lock-set-pattern): Adjust accordingly.
4708 (hi-lock--regexps-at-point): Simplify accordingly.
4709 (hi-lock--auto-select-face-defaults): Remove.
4710 (hi-lock--last-face): New var to replace it.
4711 (hi-lock-read-face-name): Rewrite (bug#11095).
4712 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4713
4714 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4715
4716 * net/tramp.el (tramp-replace-environment-variables):
4717 Hide compiler warning.
4718 (tramp-file-name-for-operation): Remove `executable-find',
4719 `start-process', `call-process' and `call-process-region'.
4720
4721 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4722
4723 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4724 compatibility.
4725
4726 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4727
4728 2012-12-06 Chong Yidong <cyd@gnu.org>
4729
4730 * ffap.el (ffap-replace-file-component): Fix typo.
4731
4732 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4733
4734 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4735 fix open-paren-like token test (bug#12785).
4736
4737 2012-12-06 Glenn Morris <rgm@gnu.org>
4738
4739 * mail/rmailsum.el (rmail-new-summary): Tweak for
4740 rmail-maybe-display-summary changing buffer. (Bug#13066)
4741
4742 2012-12-06 Juri Linkov <juri@jurta.org>
4743
4744 * info.el (Info-fontify-node): Don't hide the last newline.
4745 (Bug#12272)
4746
4747 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4748
4749 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4750 so as to enable message-read-from-minibuffer to expand mail aliases.
4751
4752 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4753
4754 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4755 the `intangible' property.
4756 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4757
4758 2012-12-05 Deniz Dogan <deniz@dogan.se>
4759
4760 * net/rcirc.el (rcirc-urls): Update documentation.
4761 (rcirc-condition-filter): New function.
4762 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4763 and exclude consecutive duplicate URLs (Bug#6082).
4764
4765 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4766
4767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4768 Check return code of copy command.
4769
4770 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4771 Use group `tramp'. Add version.
4772
4773 2012-12-05 Chong Yidong <cyd@gnu.org>
4774
4775 * ffap.el (ffap-url-regexp): Don't require matching at front of
4776 string (Bug#4952).
4777 (ffap-url-p): If only a substring matches, return that.
4778 (ffap-url-at-point): Use the return value of ffap-url-p.
4779 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4780 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4781 (ffap-guess-file-name-at-point): Likewise.
4782 (ffap-replace-file-component): Fix typo.
4783
4784 * info.el (info-display-manual): Add existing Info buffers, whose
4785 files may not be in Info-directory-list, to the completion.
4786 (info--manual-names): New helper function.
4787
4788 2012-12-05 Glenn Morris <rgm@gnu.org>
4789
4790 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4791 New functions, for detecting and resolving conflicts. (Bug#10709)
4792
4793 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4794
4795 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4796 (hi-lock-auto-select-face-defaults): New buffer local variable.
4797 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4798 (hi-lock-unface-buffer): Prompt user with useful defaults.
4799 With prefix arg, unhighlight all hi-lock patterns in buffer.
4800
4801 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4802
4803 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4804
4805 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4806
4807 * Makefile.in (TRAMP_SRC):
4808 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4809
4810 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4811
4812 * net/tramp-adb.el: New package.
4813
4814 2012-12-04 Chong Yidong <cyd@gnu.org>
4815
4816 * terminal.el: Move to obsolete/.
4817
4818 * longlines.el: Move to obsolete/.
4819
4820 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4821 Remove code referring to longlines mode.
4822
4823 2012-12-03 Juri Linkov <juri@jurta.org>
4824
4825 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4826
4827 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4828
4829 * textmodes/ispell.el (ispell-init-process)
4830 (ispell-start-process, ispell-internal-change-dictionary):
4831 Make sure personal dictionary name is expanded after initial
4832 `default-directory' value. Use expanded strings for
4833 keep/restart checks and for value (Bug#13019).
4834
4835 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4836
4837 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4838
4839 2012-12-03 Leo Liu <sdl.web@gmail.com>
4840
4841 * files.el (dir-locals-read-from-file): Check file non-empty
4842 before reading. (Bug#13038)
4843
4844 2012-12-03 Glenn Morris <rgm@gnu.org>
4845
4846 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4847 Remove any version extension before checking filename. (Bug#13006)
4848 (jka-compr-compression-info-list): Belated :version bump.
4849
4850 2012-12-03 Chong Yidong <cyd@gnu.org>
4851
4852 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4853
4854 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4855 (buffer-menu): Doc fix (Bug#12294).
4856
4857 2012-12-03 Roland Winkler <winkler@gnu.org>
4858
4859 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4860 of diary-show-all-entries in the diary buffer (Bug#12994).
4861
4862 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4863
4864 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4865 "<STDIN>". This is binary safe.
4866
4867 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4868
4869 * calc/calc-forms.el (math-absolute-from-iso-dt)
4870 (math-date-to-iso-dt, math-parse-iso-date-validate)
4871 (math-iso-dt-to-date): New functions.
4872 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4873 (math-fd-isoweekday): New variables.
4874 (calc-date-notation, math-parse-standard-date, math-format-date)
4875 (math-format-date-part): Add support for more formatting codes.
4876
4877 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4878
4879 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4880 current buffer's file name when called interactively (Bug#12488).
4881
4882 2012-12-02 Juri Linkov <juri@jurta.org>
4883
4884 * info.el (info-display-manual): Don't clobber an existing Info
4885 buffer (Bug#10770). Add completion (Bug#10771).
4886
4887 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4888
4889 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4890 before using it for comparison (Bug#5297).
4891
4892 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4893
4894 * textmodes/css-mode.el (css-current-defun-name): New function.
4895 (css-mode): Use it.
4896
4897 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4898 (html-mode): Use it.
4899
4900 2012-12-01 Chong Yidong <cyd@gnu.org>
4901
4902 Modularize add-log-current-defun (Bug#2224).
4903 Suggested by Jari Aalto.
4904
4905 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4906 (add-log-current-defun): Move mode-specific code to other files.
4907 (add-log-lisp-like-modes, add-log-c-like-modes)
4908 (add-log-tex-like-modes): Variables deleted.
4909
4910 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4911 (lisp-mode-variables): Use it.
4912
4913 * progmodes/cc-mode.el (c-common-init):
4914 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4915 add-log-current-defun-function.
4916
4917 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4918 (m4-mode): Use it.
4919
4920 * progmodes/perl-mode.el (perl-current-defun-name): New.
4921 (perl-mode): Use it.
4922
4923 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4924 Use lisp-current-defun-name.
4925
4926 * textmodes/tex-mode.el (tex-current-defun-name): New.
4927 (tex-common-initialization): Use it.
4928
4929 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4930 (texinfo-mode): Use it.
4931
4932 2012-12-01 Chong Yidong <cyd@gnu.org>
4933
4934 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4935 * progmodes/autoconf.el (autoconf-mode):
4936 * progmodes/js.el (js-mode):
4937 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4938 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4939 * progmodes/perl-mode.el (perl-mode):
4940 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4941 * textmodes/css-mode.el (css-mode):
4942 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4943 (sgml-tags-invisible, sgml-guess-indent):
4944 * textmodes/tex-mode.el (tex-common-initialization)
4945 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4946 (doctex-mode, plain-tex-mode, latex-mode):
4947 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4948
4949 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4950
4951 * vc/vc-hg.el (vc-hg-next-revision):
4952 Ensure use of default "tip" output format. (Bug#6968)
4953
4954 2012-12-01 Kim F. Storm <storm@cua.dk>
4955
4956 * startup.el (fancy-startup-tail): Add a clickable link
4957 (Bug#2176).
4958
4959 2012-12-01 Chong Yidong <cyd@gnu.org>
4960
4961 * startup.el (fancy-startup-tail): Improve the message about
4962 auto-save files (Bug#2176).
4963
4964 * files.el (recover-session): Improve the descriptive message, and
4965 use substitute-command-keys.
4966
4967 2012-12-01 Glenn Morris <rgm@gnu.org>
4968
4969 * ido.el (ido-file-internal):
4970 Handle other-window, other-frame for dired. (Bug#13036)
4971
4972 2012-11-30 Glenn Morris <rgm@gnu.org>
4973
4974 * icomplete.el (icomplete-separator): Fix :version.
4975
4976 2012-11-30 Chong Yidong <cyd@gnu.org>
4977
4978 * shell.el (shell): For C-u M-x shell, use an inactive shell
4979 buffer as the default (Bug#1975).
4980 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4981 (shell-mode): Use them to reapply ansi colorization if Shell mode
4982 is re-enabled.
4983
4984 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4985
4986 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4987
4988 2012-11-30 Samuel Bronson <naesten@gmail.com>
4989
4990 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4991 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4992
4993 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4994
4995 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4996 by move-to-column (Bug#3234).
4997
4998 2012-11-30 Chong Yidong <cyd@gnu.org>
4999
5000 * longlines.el (longlines-wrap-line, longlines-encode-region):
5001 Preserve text properties (Bug#1425).
5002
5003 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5004
5005 * vc/vc.el (vc-register): Allow registering a file which is
5006 already registered with a different backend (Bug#10589).
5007
5008 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5009 Stefan Monnier <monnier@iro.umontreal.ca>
5010
5011 * icomplete.el: Change separator; add ido-style commands.
5012 (icomplete-show-key-bindings): Remove custom var.
5013 (icomplete-get-keys): Remove function.
5014 (icomplete-forward-completions, icomplete-backward-completions):
5015 New commands.
5016 (icomplete-minibuffer-map): New var.
5017 (icomplete-minibuffer-setup): Use it.
5018 (icomplete-exhibit): Don't delay if the list of completions is known.
5019 (icomplete-separator): New custom.
5020 (icomplete-completions): Use it.
5021 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5022 (minibuffer-force-complete-and-exit): New command.
5023 (minibuffer--complete-and-exit): New function extracted from
5024 minibuffer-complete-and-exit.
5025 (minibuffer-complete-and-exit): Use it.
5026
5027 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5028 error message when the file doesn't exist (bug#12974).
5029
5030 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5031
5032 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5033
5034 2012-11-29 Glenn Morris <rgm@gnu.org>
5035
5036 * files.el (hack-dir-local-variables): Warn if try to set
5037 coding via dir-locals, since it doesn't work. (Bug#7169)
5038
5039 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5040 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5041 Set buffer-local value of desktop-save-buffer.
5042 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5043 New functions.
5044 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5045 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5046
5047 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5048 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5049 Doc fix.
5050 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5051 Doc fixes.
5052
5053 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5054
5055 * calc/calc-forms.el (calc-date-notation): Fix regexp
5056 used to find time codes. Fix symbol for seconds.
5057
5058 2012-11-27 Glenn Morris <rgm@gnu.org>
5059
5060 * emacs-lisp/derived.el (derived-mode-make-docstring):
5061 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5062
5063 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5066 lexically scoped variables (bug#13005).
5067
5068 2012-11-27 Glenn Morris <rgm@gnu.org>
5069
5070 * vc/vc-hooks.el (vc-mistrust-permissions):
5071 Default to t, to avoid data-loss. (Bug#11490)
5072
5073 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5074
5075 * progmodes/python.el (python-indent-guess-indent-offset):
5076 If indentation is guessed make python-indent-offset buffer-local.
5077
5078 Fix Imenu regression.
5079 * progmodes/python.el (python-nav-beginning-of-defun):
5080 Fix forward movement when statement(s) separates point from defun.
5081 (python-imenu-prev-index-position): New function.
5082
5083 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5084
5085 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5086
5087 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5088 Don't set buffer-file-type. Return nil. (Bug#12989)
5089
5090 2012-11-27 Glenn Morris <rgm@gnu.org>
5091
5092 * hippie-exp.el (hippie-expand-try-functions-list):
5093 Re-autoload it. (Bug#12982)
5094
5095 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5096
5097 * descr-text.el (describe-char-padded-string):
5098 Call internal-char-font only on GUI frames. (Bug#11964)
5099
5100 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5101
5102 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5103 and obsoletion message.
5104
5105 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5108 the constructs to keep outside of the `cl-block' (bug#12977).
5109
5110 2012-11-27 Chong Yidong <cyd@gnu.org>
5111
5112 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5113 keep reading until we get the up-event anyway, in order to process
5114 the up-event for mouse-1-click-follows-link (Bug#12971).
5115
5116 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5117
5118 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5119 base function is not yet defined (bug#12965).
5120 (ad-activate-advised-definition): Use ad-compile-function.
5121 (ad-activate): Use cond.
5122
5123 2012-11-25 Leo Liu <sdl.web@gmail.com>
5124
5125 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5126 (Bug#12979)
5127
5128 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5129
5130 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5131 reftex-section-info-function in order to be compatible with
5132 Texinfo integration.
5133
5134 * textmodes/reftex.el (reftex-section-pre-regexp)
5135 (reftex-section-post-regexp, reftex-section-info-function):
5136 New variable.
5137 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5138 reftex-section-post-regexp, and reftex-section-info-function in order
5139 to be compatible with Texinfo integration.
5140
5141 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5142 use reftex-section-pre-regexp variable in order to be compatible with
5143 Texinfo integration.
5144
5145 2012-11-25 Chong Yidong <cyd@gnu.org>
5146
5147 * faces.el: Make face-spec-set more analogous to setq.
5148 (face-spec-set): Change the third arg to specify whether this
5149 function is being called via defface, customize, or a third party.
5150 Set the appropriate symbol properties. Clear the override spec if
5151 setting via Custom. Initialize face if necessary. (Bug#4988)
5152 (face-spec-recalc): Allow theme faces to completely replace the
5153 defface spec, in the same way as custom faces (Bug#8454).
5154
5155 * cus-face.el (custom-declare-face): Move face initialization to
5156 face-spec-set.
5157 (custom-theme-set-faces): Don't initialize the face name here, as
5158 that is now done in face-spec-set.
5159
5160 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5161 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5162 Simplify by using the new arg to face-spec-set.
5163
5164 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5165 reset face-override-spec too, and use custom-declare-face.
5166
5167 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5168
5169 * term/ns-win.el (ns-initialize-window-system): Move creation of
5170 fontsets here (Bug#11964).
5171
5172 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5173
5174 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5175 cell renaming.
5176
5177 2012-11-24 Chong Yidong <cyd@gnu.org>
5178
5179 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5180 obsolete.
5181
5182 * custom.el (custom-theme-set-variables): Use a topological sort
5183 for ordering by custom dependencies (Bug#12952).
5184 (custom--sort-vars, custom--sort-vars-1): New functions.
5185
5186 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5187
5188 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5189 lexical-binding (bug#12938).
5190
5191 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5192
5193 * image-mode.el (image-transform-check-size): Use assertions only
5194 for images of type imagemagick.
5195
5196 Otherwise no error, image-transform-fit-to-{width,height} is
5197 silently ignored, as before. Doc fix.
5198
5199 2012-11-24 Chong Yidong <cyd@gnu.org>
5200
5201 * faces.el (color-defined-p): Doc fix (Bug#12853).
5202
5203 2012-11-24 Juri Linkov <juri@jurta.org>
5204
5205 * dired.el (dired-mark): Add optional arg `interactive'.
5206 Check for `use-region-p' if `interactive' is non-nil.
5207 (dired-unmark, dired-flag-file-deletion): Add optional arg
5208 `interactive'. Call `dired-mark' with the arg `interactive'.
5209 (Bug#10624)
5210
5211 * wdired.el: Revert 2012-10-17 change partly and replace it with
5212 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5213 (wdired-finish-edit): Add marks for new file names to
5214 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5215 after `revert-buffer'.
5216 (wdired-do-renames): Remove calls to `dired-remove-file',
5217 `dired-add-file', `dired-add-entry'. (Bug#11795)
5218
5219 2012-11-24 Alan Mackenzie <acm@muc.de>
5220
5221 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5222
5223 Fix bugs in the state cache. Enhance a debugging mechanism.
5224 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5225 "brace at column zero" strategy for C++.
5226 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5227 (c-parse-state-point): New variable.
5228 (c-record-parse-state-state): Record old parse state with
5229 `copy-tree'. Record previous value of point.
5230 (c-debug-parse-state-double-cons): New debugging function.
5231 (c-debug-parse-state): Call the above new function.
5232 (c-toggle-parse-state-debug): Output a confirmatory message.
5233
5234 * progmodes/cc-mode.el (c-before-change, c-after-change):
5235 Call c-invalidate-state-cache from `c-before-change' instead of
5236 `c-after-change'.
5237
5238 2012-11-23 Chong Yidong <cyd@gnu.org>
5239
5240 * find-cmd.el (find-constituents): Add executable, ipath,
5241 readable, samefile, writable, daystart, regextype (Bug#12856).
5242
5243 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5244
5245 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5246
5247 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5248
5249 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5250 definition. This fixes a bootstrap failure.
5251 (calc-gregorian-switch): In menu, put dates before regions.
5252 This is easier to follow, lines up better in the menu, and lets us
5253 coalesce regions that switch at the same time. Give country
5254 names, not "Vatican", as that's better for non-expert users.
5255 Use names that are stable between the date of switch and now, e.g.,
5256 Bohemia and Moravia (which existed then and now) and not
5257 Czechoslovakia (which didn't exist then and doesn't exist now).
5258 What is now the U.S. mostly did not switch at the same time as
5259 Britain, so omit the U.S. Correct spelling of "Britain".
5260 Catholic Switzerland was too much of a mess, so omit it.
5261
5262 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5263
5264 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5265 after the variable is changed.
5266
5267 2012-11-21 Daniel Colascione <dancol@dancol.org>
5268
5269 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5270 in SQL declarations for font-lock.
5271 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5272
5273 2012-11-21 Glenn Morris <rgm@gnu.org>
5274
5275 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5276 (face-italic-p): Add optional argument "inherit".
5277
5278 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5279 Remove -p suffix from names, for consistency with other set-face-*.
5280 (set-face-inverse-video): Fix interactive spec.
5281 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5282 * textmodes/table.el (table--update-cell-face):
5283 Use set-face-inverse-video rather than now obsolete alias.
5284
5285 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5286
5287 * simple.el (line-move): Don't call line-move-partial if
5288 scroll-conservatively is in effect. (Bug#12927)
5289
5290 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5293 Fallback on completion-at-point rather than
5294 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5295 (eshell-cmpl-initialize): Setup completion-at-point.
5296
5297 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5298
5299 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5300
5301 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5302
5303 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5304 are remote, check out-of-band property for both.
5305
5306 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5307
5308 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5309 code rewrite.
5310
5311 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5312
5313 More minor time fixes.
5314 * calendar/time-date.el: Commentary fix.
5315 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5316 too much other code depends on (0 0) time stamps.
5317 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5318 Add a couple of FIXME comments.
5319
5320 Minor cleanup for times as lists of four integers.
5321 * files.el (dir-locals-directory-cache):
5322 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5323 Doc fixes.
5324 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5325 * ps-bdf.el (bdf-file-newer-than-time):
5326 Process four-integers time stamps, not two. Doc fixes.
5327
5328 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5329
5330 * uniquify.el (uniquify-managed): Use defvar-local.
5331 (rename-buffer, create-file-buffer): Advise with advice-add.
5332 (uniquify-unload-function): Unadvise accordingly.
5333
5334 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5335 (trace-buffer): Don't purecopy.
5336 (trace-entry-message, trace-exit-message): Add `context' arg.
5337 (trace--timer): New var.
5338 (trace-make-advice): Adjust for use in nadvice.
5339 Add `context' argument. Delay `display-buffer' via a timer.
5340 (trace-function-internal): Use advice-add.
5341 (trace--read-args): New function.
5342 (trace-function-foreground, trace-function-background): Use it.
5343 (trace-function): Rename to trace-function-foreground and redefine as
5344 an alias to that new name.
5345 (untrace-function, untrace-all): Adjust to the use of nadvice.
5346
5347 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5348
5349 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5350
5351 * subr.el (called-interactively-p-functions): New var.
5352 (internal--called-interactively-p--get-frame): New macro.
5353 (called-interactively-p, interactive-p): Rewrite in Lisp.
5354 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5355 (called-interactively-p-functions): Use it.
5356 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5357 (called-interactively-p-functions): Use it.
5358 * allout.el (allout-called-interactively-p): Don't assume
5359 called-interactively-p is a subr.
5360
5361 2012-11-20 Glenn Morris <rgm@gnu.org>
5362
5363 * profiler.el (profiler-report-mode-map): Add a menu.
5364 No need to bind `q' because we derive from special-mode.
5365 (profiler-report-find-entry): Handle calls from the menu-bar.
5366
5367 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5368
5369 * emacs-lisp/byte-run.el (defun-declarations-alist):
5370 Allow a compiler-macro to be a lambda expression.
5371
5372 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5373 eval-when-compile.
5374 (python-syntax-context): Add compiler-macro.
5375 (python-font-lock-keywords): Simplify with De Morgan.
5376
5377 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5378
5379 * files.el (load-file): Require match in minibuffer selection, as was
5380 the case in Emacs-20 before we changed the spec to allow .elc files
5381 (bug#12935).
5382
5383 * json.el: Don't require cl since we don't use it.
5384 * color.el: Don't require cl.
5385 (color-complement): `caddr' -> `nth 2'.
5386
5387 * calendar/time-date.el (time-to-seconds): De-obsolete.
5388
5389 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5390
5391 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5392 year numbers.
5393 (math-date-to-julian-dt): Adjust the initial approximation for the
5394 year to deal with the new definition of the DATE.
5395
5396 2012-11-19 Daniel Colascione <dancol@dancol.org>
5397
5398 * term/w32-win.el (cygwin-convert-path-from-windows):
5399 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5400
5401 2012-11-18 Chong Yidong <cyd@gnu.org>
5402
5403 * filecache.el (file-cache--read-list): New function.
5404 (file-cache-add-directory-list, file-cache-add-file-list)
5405 (file-cache-delete-file-list, file-cache-delete-directory-list):
5406 Use it to read a list of files or directories (Bug#12846).
5407 (file-cache-add-file, file-cache-add-directory)
5408 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5409 (file-cache-delete-directory): Print an message.
5410
5411 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5412
5413 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5414 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5415
5416 2012-11-18 Glenn Morris <rgm@gnu.org>
5417
5418 * image.el (insert-image, insert-sliced-image): Doc fix.
5419
5420 2012-11-18 Chong Yidong <cyd@gnu.org>
5421
5422 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5423 (Bug#12810).
5424
5425 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5426
5427 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5428 response when the target file is in a subdirectory (Bug#12757).
5429
5430 2012-11-18 Chong Yidong <cyd@gnu.org>
5431
5432 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5433
5434 2012-11-18 Glenn Morris <rgm@gnu.org>
5435
5436 * emacs-lisp/cl-lib.el (face-underline-p):
5437 Use set-face-underline rather than the alias set-face-underline-p.
5438
5439 * window.el (with-temp-buffer-window): Doc fix.
5440 * subr.el (with-output-to-temp-buffer):
5441 Add doc xref to with-temp-buffer-window.
5442
5443 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5444
5445 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5446 * calc/calc.el (math-format-date-cache): Declare.
5447
5448 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5449
5450 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5451 It also uses January 1, 1 AD as its day number 1.
5452 * calc/calc-forms.el (math-julian-date-beginning)
5453 (math-julian-date-beginning-int): Implement this.
5454
5455 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5456
5457 * descr-text.el (quail-find-key):
5458 * dired.el (desktop-file-name):
5459 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5460 * generic-x.el (comint-mode, comint-exec):
5461 * image-dired.el (widget-forward):
5462 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5463 (speedbar-change-expand-button-char)
5464 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5465 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5466 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5467 (widget-field-action, widget-value-set):
5468 * speedbar.el (imenu--make-index-alist):
5469 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5470 (ring-length, ring-insert):
5471 * vcursor.el (compare-windows-skip-whitespace):
5472 * woman.el (dired-get-filename):
5473 Declare functions.
5474
5475 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5476
5477 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5478
5479 * calc/calc.el (calc-gregorian-switch): New variable.
5480
5481 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5482 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5483 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5484 (math-leap-year-p): Add option to distinguish between Julian
5485 and Gregorian calendars.
5486 (math-day-number): Use `math-day-in-year' to do the computations.
5487 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5488 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5489 to do the computations.
5490 (math-date-to-dt): Use `math-date-to-julian-dt' and
5491 `math-date-to-gregorian-dt' to do the computations.
5492 (calcFunc-weekday, math-format-date-part): Use the new version of
5493 the DATE to determine the weekday.
5494 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5495 when necessary.
5496
5497 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5498
5499 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5500 Cygwin; otherwise use 'file:'. (Bug#12914)
5501 (cygwin-convert-path-from-windows): Declare, to avoid
5502 byte-compiler warnings.
5503
5504 2012-11-17 Andreas Politz <politza@fh-trier.de>
5505
5506 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5507 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5508 prefix and negative numeric prefix args (Bug#12795).
5509
5510 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5511
5512 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5513 Don't signal an error with a score that is too low to add to the
5514 list of top scores. (Bug#12779)
5515
5516 2012-11-17 Chong Yidong <cyd@gnu.org>
5517
5518 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5519
5520 * filecache.el (file-cache-add-file): Handle relative file name in
5521 the argument (Bug#12694).
5522
5523 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5524
5525 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5526
5527 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5528
5529 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5530
5531 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5532
5533 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5534
5535 * window.el (enlarge-window, shrink-window): Don't mention return
5536 value in doc-string (Bug#12896).
5537 (window--display-buffer): Don't resize frames - it won't work
5538 with all window managers and defeat pop-up-frame-alist.
5539 (display-buffer-alist): In doc-string explain that CONDITION can
5540 be a function and which arguments are passed to it (Bug#12854).
5541 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5542 expressions (Bug#12854).
5543 (display-buffer): Pass ACTION argument to
5544 display-buffer-assq-regexp.
5545
5546 2012-11-16 Glenn Morris <rgm@gnu.org>
5547
5548 * window.el (fit-frame-to-buffer-bottom-margin)
5549 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5550
5551 * faces.el (face-underline-p): Use face-attribute-specified-or.
5552
5553 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5554
5555 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5556
5557 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5558
5559 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5560
5561 2012-11-16 Glenn Morris <rgm@gnu.org>
5562
5563 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5564 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5565
5566 * faces.el (face-underline-p): Doc fix. Handle :underline being
5567 things other than `t' (a string, a list).
5568 (face-inverse-video-p): Doc fix.
5569 (set-face-underline): Rename it back from set-face-underline-p.
5570 Doc fix. Allow interactive input of values other than t.
5571 (read-face-attribute): Apply formatting to :underline,
5572 since like :box and :stipple it can take list values.
5573
5574 * term.el (ansi-term): Don't let C-x escape-char binding
5575 clobber the more standard C-c binding. (Bug#12842)
5576
5577 * subr.el (set-temporary-overlay-map): Doc fix.
5578
5579 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5580
5581 * window.el (record-window-buffer)
5582 (display-buffer-record-window): When copying the markers to
5583 window-point preserve window-point-insertion-type. (Bug#12588)
5584
5585 2012-11-16 Glenn Morris <rgm@gnu.org>
5586
5587 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5588 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5589 Use new names for hooks rather than obsolete aliases.
5590
5591 2012-11-15 Daniel Colascione <dancol@dancol.org>
5592
5593 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5594 prefix instead of "file:" so that when FILE-NAME begins with "//",
5595 as it does when the target file is on a network share, url-handler
5596 isn't confused.
5597
5598 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5601 a preactivated advice from an old advice.el; they're not compatible!
5602
5603 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5604
5605 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5606 Fix string-spec case.
5607
5608 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5609
5610 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5611
5612 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5613 (advice--buffer-local-function-sample): New var.
5614 (advice--set-buffer-local, advice--buffer-local): New functions.
5615 (add-function, remove-function): Use them.
5616
5617 2012-11-15 Drew Adams <drew.adams@oracle.com>
5618
5619 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5620
5621 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5624 potential binding of print-gensym to t, and prettify (back)quotes in
5625 case they appear in args's default values (bug#12884).
5626
5627 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5630 (advice-eval-interactive-spec): New function.
5631 (advice--make-interactive-form): Support around advice (bug#12844).
5632
5633 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5634
5635 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5636 more strict. Add docstring.
5637 (ruby-expression-expansion-re): Extract from
5638 `ruby-match-expression-expansion'.
5639 (ruby-syntax-propertize-function): After everything else, search
5640 for expansions in string literals, mark their insides as
5641 whitespace syntax and save match data for font-lock.
5642 (ruby-font-lock-keywords): Use the 2nd group from expression
5643 expansion matches.
5644 (ruby-match-expression-expansion): Use the match data saved to the
5645 text property in ruby-syntax-propertize-function.
5646
5647 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5648
5649 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5650 (bug#12879).
5651
5652 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5653
5654 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5655 start/end keyword a bit harder. Works with different values of N.
5656 Add more comments.
5657 (ruby-end-of-block): Update accordingly.
5658
5659 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * woman.el (woman-file-name): Don't mess with unread-command-events
5662 (bug#12861).
5663
5664 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5665 Remove out of date self-require hack.
5666 (ad-do-advised-functions): Use simple `dolist'.
5667 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5668 (ad-advice-definition): Redefine as functions.
5669 (ad-advice-classes): Move before first use.
5670 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5671 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5672 (ad--defalias-fset): Remove functions.
5673 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5674 (ad-get-orig-definition): Rewrite.
5675 (ad-make-advised-definition-docstring): Change base docstring.
5676 (ad-real-orig-definition): Rewrite.
5677 (ad-map-arglists): Change name of called function.
5678 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5679 (ad-make-advised-definition): Simplify.
5680 (ad-assemble-advised-definition): Tweak for new calling context.
5681 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5682 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5683 function and call ad-activate if needed.
5684 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5685 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5686 (ad-compile-function): Compile ad-Advice-*.
5687 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5688 (ad-start-advice, ad-stop-advice): Remove.
5689
5690 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5691
5692 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5693 period before class method names, not after. Remove handling of
5694 one impossible case. Add comments.
5695
5696 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5697
5698 * emacs-lisp/advice.el: Remove support for freezing.
5699 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5700 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5701 Remove support for `freeze'.
5702
5703 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5704 override the default.
5705 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5706 cl--dotimes/dolist.
5707 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5708 `cl' is loaded.
5709
5710 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5711 from add-advice.
5712 (advice--strip-macro): New function.
5713 (advice--defalias-fset): Use them to handle macros.
5714 (advice-add): Use them.
5715 (advice-member-p): Correctly handle macros.
5716
5717 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5718
5719 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5720 Never font-lock the beginning of singleton class as heredoc.
5721
5722 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5725
5726 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5727
5728 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5729 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5730 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5731
5732 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5733
5734 Fix end-of-defun misbehavior.
5735 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5736 python-beginning-of-defun-function. Handle nested defuns
5737 correctly.
5738 (python-nav-end-of-defun): Rename from
5739 python-end-of-defun-function. Ensure forward movement.
5740 (python-info-current-defun): Reimplement to work as intended
5741 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5742 parent defuns as soon as possible.
5743
5744 2012-11-13 Glenn Morris <rgm@gnu.org>
5745
5746 * progmodes/flymake.el (flymake-error-bitmap)
5747 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5748 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5749
5750 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5751
5752 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5753 backward, always stop at indentation. Reverts the change from
5754 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5755
5756 2012-11-13 Glenn Morris <rgm@gnu.org>
5757
5758 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5759 Add ibuffer-filter-by-derived-mode.
5760
5761 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5762 the same name shadowing each other.
5763
5764 * window.el (with-temp-buffer-window): Doc tweak.
5765
5766 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5767
5768 * help.el (temp-buffer-max-height):
5769 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5770 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5771
5772 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5773
5774 * emacs-lisp/nadvice.el: New package.
5775 * subr.el (special-form-p): New function.
5776 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5777 (elp-all-instrumented-list): Remove var.
5778 (elp-not-profilable): Remove elp-wrapper.
5779 (elp-profilable-p): Use autoloadp and special-form-p.
5780 (elp--advice-name): New const.
5781 (elp-instrument-function): Use advice-add.
5782 (elp--instrumented-p): New predicate.
5783 (elp-restore-function): Use advice-remove.
5784 (elp-restore-all, elp-reset-all): Use mapatoms.
5785 (elp-set-master): Use elp--instrumented-p.
5786 (elp--make-wrapper): Rename from elp-wrapper, return a function
5787 suitable for advice-add. Use cl-inf.
5788 (elp-results): Use mapatoms+elp--instrumented-p.
5789 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5790 (debug-function-list): Remove var.
5791 (debug): Rename arg, and then let-bind it explicitly inside.
5792 (debugger-setup-buffer): Rename arg.
5793 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5794 (debugger-frame-number): Adjust to new debug-on-entry setup.
5795 (debug--implement-debug-on-entry): Rename from
5796 implement-debug-on-entry, add argument.
5797 (debugger-special-form-p): Remove, use special-form-p instead.
5798 (debug-on-entry): Use advice-add.
5799 (debug--function-list): New function.
5800 (cancel-debug-on-entry): Use it, along with advice-remove.
5801 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5802 (debugger-list-functions): Use debug--function-list instead of
5803 debug-function-list.
5804 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5805 (ad-special-form-p): Remove, use special-form-p instead.
5806 (ad-set-advice-info): Use add-function and remove-function.
5807 (ad--defalias-fset): Adjust accordingly.
5808
5809 2012-11-10 Glenn Morris <rgm@gnu.org>
5810
5811 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5812 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5813 (report-emacs-bug-create-existing-bugs-buffer)
5814 (report-emacs-bug-parse-query-results)
5815 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5816
5817 * term.el (term-default-fg-color, term-default-bg-color):
5818 Make obsolete, rather than just saying "deprecated" in the doc.
5819
5820 * term.el (term): Rename from `term-face'.
5821 (term-current-face, ansi-term-color-vector)
5822 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5823 Update all users.
5824
5825 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5826
5827 * server.el (server-create-window-system-frame): Handle Nextstep
5828 specially (Bug#12780).
5829
5830 2012-11-10 Glenn Morris <rgm@gnu.org>
5831
5832 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5833 Unautoload, and make obsolete. (Bug#7449)
5834
5835 2012-11-10 Chong Yidong <cyd@gnu.org>
5836
5837 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5838 rename from diff-remove-trailing-whitespace (Bug#12831).
5839
5840 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5843 miscompilation of trace.el.
5844
5845 2012-11-10 Glenn Morris <rgm@gnu.org>
5846
5847 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5848
5849 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5850
5851 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5852 (bug#12812).
5853
5854 2012-11-10 Chong Yidong <cyd@gnu.org>
5855
5856 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5857 a defcustom with an appropriate :set function.
5858 (minibuffer-default--in-prompt-regexps): New function.
5859
5860 2012-11-10 Glenn Morris <rgm@gnu.org>
5861
5862 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5863 (define-modify-macro): Doc fixes.
5864
5865 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5866 (gv-define-simple-setter): Update doc of `fix-return'.
5867
5868 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5871 twice when `fix-return' is set (bug#12813).
5872
5873 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5874 gv-define-simple-setter (bug#12812).
5875
5876 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5877 (bug#12756).
5878
5879 2012-11-10 Glenn Morris <rgm@gnu.org>
5880
5881 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5882
5883 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5884 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5885 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5886 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5887
5888 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5889
5890 2012-11-10 Leo Liu <sdl.web@gmail.com>
5891
5892 * ido.el (ido-set-matches-1): Improve flex matching performance by
5893 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5894
5895 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5896
5897 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5898 (ad--defalias-fset): New function.
5899 (ad-safe-fset): Remove.
5900 (ad-make-freeze-definition): Use cl-letf*.
5901
5902 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5903
5904 * subr.el (dolist): Don't bind VAR in RESULT.
5905
5906 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5907 (fset, documentation): Don't save real def since we don't advise.
5908 (ad-do-advised-functions): Remove problematic `result-form'.
5909 (ad-safe-fset): `ad-real-fset' => `fset'.
5910 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5911 uses CL's dolist internally.
5912 (ad-arglist): Remove unused arg `name'.
5913 (ad-docstring, ad-make-advised-docstring):
5914 `ad-real-documentation' => `documentation'.
5915 (warning-suppress-types): Declare.
5916 (ad-set-arguments): Simple CSE.
5917 (ad-recover-normality): Sanity check.
5918
5919 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5920 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5921
5922 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5923
5924 * ses.el: symbol to coordinate mapping is made by symbol property
5925 `ses-cell'. This means that the same mapping is done for all SES
5926 sheets. That is good enough for cells with standard A1 names, but
5927 not for named cell. So a hash map is added for the latter.
5928 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5929 (ses-sym-rowcol): Use hashmap for named cell.
5930 (ses-is-cell-sym-p): New defun.
5931 (ses-decode-cell-symbol): New defun.
5932 (ses-create-cell-variable): Add cell to hashmap when name is not
5933 A1-like.
5934 (ses-rename-cell): Check that cell new name is not already in
5935 spreadsheet with the use of ses-is-cell-sym-p
5936 (ses-rename-cell): Use hash map for named cells, but accept also
5937 renaming back to A1-like.
5938
5939 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5940
5941 * emacs-lisp/advice.el: Use new dynamic docstrings.
5942 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5943 Use dynamic-docstring-function instead of ad-advice-info.
5944 (ad--make-advised-docstring): New function extracted from
5945 ad-make-advised-docstring.
5946 (ad-make-advised-docstring): Use it.
5947 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5948 from sql-help.
5949 (sql-help): Use it with dynamic-docstring-function.
5950
5951 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5952
5953 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * files.el (hack-one-local-variable--obsolete): New function.
5956 (hack-one-local-variable): Use it for obsolete settings.
5957
5958 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5959 the new name.
5960
5961 * progmodes/js.el (js--filling-paragraph): New var.
5962 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5963 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5964 less sneaky.
5965
5966 2012-11-08 Julien Danjou <julien@danjou.info>
5967
5968 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5969 `auto-mode-alist' (Bug#12835).
5970
5971 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5972
5973 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5974 (perl--prettify-symbols-alist): New const.
5975 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5976 New functions.
5977 (perl-font-lock-keywords-2): Use them.
5978 (perl-electric-noindent-p): New function.
5979 (perl-mode): Use it to set up electric-indent-mode.
5980 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5981 (perl-mode-map): Remove bindings for them.
5982 (perl-imenu-generic-expression, perl-outline-level):
5983 Match functions&packages in column>0.
5984
5985 * env.el (env--substitute-vars-regexp): New const.
5986 (substitute-env-vars): Use it. Add `only-defined' arg.
5987 * net/tramp.el (tramp-replace-environment-variables): Use it.
5988
5989 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5990 Byte-compile *before* eval in eval-and-compile.
5991 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5992 (byte-compile-file-form-autoload): Don't hide actual definition.
5993 (byte-compile-maybe-guarded): Accept `functionp' as well.
5994
5995 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5996
5997 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5998
5999 * notifications.el (notifications-get-server-information-method):
6000 New defconst.
6001 (notifications-get-capabilities): Fix docstring.
6002 (notifications-get-server-information): New defun.
6003
6004 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6005
6006 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6007 readability.
6008
6009 * textmodes/ispell.el: Experimental support for support debugging.
6010 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6011 buffer for ispell.
6012 (ispell-print-if-debug): New function to print stuff to
6013 `ispell-debug-buffer' if debugging is enabled.
6014 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6015 show some debugging info.
6016 (ispell-buffer-with-debug): New function that creates a debugging
6017 buffer and calls `ispell-buffer' with debugging enabled.
6018
6019 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6020 comment in autoconf mode. (Bug#12768)
6021
6022 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6023
6024 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6025 frame-first-window, frame-root-window, frame-selected-window,
6026 minibuffer-selected-window, minibuffer-window,
6027 window-absolute-pixel-edges, window-at, window-body-height,
6028 window-body-width, window-display-table, window-combination-limit,
6029 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6030 window-inside-edges, window-inside-pixel-edges, window-left-child,
6031 window-left-column, window-margins, window-next-buffers,
6032 window-next-sibling, window-new-normal, window-new-total,
6033 window-normal-size, window-parameter, window-parameters, window-parent,
6034 window-pixel-edges, window-point, window-prev-buffers,
6035 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6036 window-start, window-text-height, window-top-child, window-top-line,
6037 window-total-height, window-total-width and window-use-time to the list
6038 of functions without side-effects.
6039 (toplevel): Add window-valid-p to the list of error-free functions
6040 without side-effects.
6041
6042 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6043
6044 * textmodes/ispell.el (ispell-program-name):
6045 Update spellchecker parameters when customized.
6046
6047 2012-11-04 Glenn Morris <rgm@gnu.org>
6048
6049 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6050
6051 2012-11-04 Chong Yidong <cyd@gnu.org>
6052
6053 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6054 same-window-* variables.
6055
6056 2012-11-04 Juri Linkov <juri@jurta.org>
6057
6058 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6059 (isearch-describe-key, isearch-describe-mode): Use a display
6060 action instead of binding same-window-* variables (Bug#10040).
6061
6062 2012-11-03 Glenn Morris <rgm@gnu.org>
6063
6064 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6065 Rename handler properties back from cl-- to cl-. (Bug#12788)
6066
6067 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6068
6069 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6070
6071 * term/pc-win.el: Don't load term/internal from here.
6072
6073 * loadup.el: Load term/internal from here.
6074
6075 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6076
6077 * progmodes/python.el (inferior-python-mode): Fix hang in
6078 jit-lock (Bug#12645).
6079
6080 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6081
6082 * window.el (switch-to-visible-buffer)
6083 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6084
6085 2012-11-03 Glenn Morris <rgm@gnu.org>
6086
6087 * emacs-lisp/cl-lib.el (cl--random-time):
6088 Rename from cl-random-time. (Bug#12773)
6089 (cl--gensym-counter, cl--random-state): Update callers.
6090 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6091
6092 2012-11-03 Chong Yidong <cyd@gnu.org>
6093
6094 * cus-start.el: Make cursor-type customizable (Bug#11633).
6095
6096 2012-11-02 Glenn Morris <rgm@gnu.org>
6097
6098 * filecache.el: No need to load find-lisp when compiling.
6099 (find-lisp-find-files): Autoload it.
6100 (file-cache-add-directory-recursively): Don't require find-lisp.
6101
6102 * image.el (image-type-from-file-name): Trivial simplification.
6103
6104 * emacs-lisp/bytecomp.el (byte-compile-eval):
6105 Decouple "noruntime" and "cl-functions" warnings.
6106
6107 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6108
6109 * play/gomoku.el (gomoku-display-statistics): Update mode line
6110 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6111
6112 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6113
6114 * window.el (quit-restore-window): If the window has been
6115 created on an existing frame and ended up as the sole window on
6116 that frame, do not delete it (Bug#12764).
6117
6118 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6121 Rename from sh--inside-arithmetic-expression, handle more cases
6122 (bug#11263).
6123
6124 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6125 (sh-font-lock-open-heredoc): Use it (bug#12770).
6126
6127 2012-10-30 Glenn Morris <rgm@gnu.org>
6128
6129 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6130
6131 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6132
6133 2012-10-29 Chong Yidong <cyd@gnu.org>
6134
6135 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6136 function key is stored in a keyboard macro (Bug#4894).
6137
6138 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6139
6140 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6143 header comments".
6144 (diff-unified->context, diff-context->unified)
6145 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6146
6147 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6148
6149 * files.el (find-alternate-file): Only ask one question (bug#12487).
6150
6151 2012-10-29 Chong Yidong <cyd@gnu.org>
6152
6153 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6154 Suggested by Dan Nicolaescu (Bug#6326).
6155
6156 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6157
6158 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6159
6160 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6161
6162 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6163
6164 * face-remap.el (face-remap-add-relative): Handle the case where a
6165 face-remapping-alist entry is a cons cell (Bug#12762).
6166
6167 2012-10-29 Kevin Ryde <user42@zip.com.au>
6168
6169 * woman.el (woman-parse-numeric-value): Handle picas correctly
6170 (Bug#12639).
6171
6172 2012-10-29 Glenn Morris <rgm@gnu.org>
6173
6174 * emacs-lisp/cl.el (defsetf): Doc fix.
6175
6176 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6179 syntax to the matching opener, if any (bug#12547).
6180 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6181 matching open as a "case-(".
6182 (sh-smie-rc-grammar): Add a corresponding rule for it.
6183
6184 2012-10-28 Daniel Hackney <dan@haxney.org>
6185
6186 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6187 "PKGNAME-autoloads.el" in case we created it.
6188
6189 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6190
6191 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6192 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6193 (completion--twq-all): Disable too-strict assertions.
6194
6195 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6196
6197 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6198
6199 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6200 text to match the real keybindings.
6201
6202 2012-10-27 Juri Linkov <juri@jurta.org>
6203
6204 * wdired.el (wdired-keep-marker-rename): New defcustom.
6205 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6206 (Bug#11795)
6207
6208 * dired.el (dired-keep-marker-rename): Add reference to
6209 `wdired-keep-marker-rename' in the docstring.
6210 Add default character value ?R to display initially in
6211 Customization UI instead of ?@.
6212
6213 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (display-buffer): In doc-string describe
6216 window-height and window-width alist entries.
6217
6218 * time.el (display-time-world): Restore fit-window-to-buffer
6219 behavior.
6220
6221 2012-10-27 Chong Yidong <cyd@gnu.org>
6222
6223 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6224
6225 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6226
6227 * minibuffer.el (completion-category-overrides): New completion
6228 category `bookmark' (bug#11131).
6229
6230 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6233 Silence bogus compiler warnings for ad-do-it.
6234
6235 * bookmark.el (bookmark-completing-read): Set the completion category
6236 to `bookmark' (bug#11131).
6237
6238 2012-10-26 Bastien <bzg@altern.org>
6239 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * face-remap.el: Use lexical-binding.
6242 (text-scale-adjust): Improve docstring. Use itself for the temporary
6243 overlay-map bindings, so as to repeat the "Use..." message each time.
6244
6245 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6246
6247 * emacs-lisp/macroexp.el (macroexp--expand-all):
6248 Obey byte-compile-warning-enabled-p (bug#12486).
6249
6250 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6251 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6252
6253 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6254
6255 * mouse.el (mouse-drag-line): Move last form into preceding when
6256 clause (Bug#12731).
6257
6258 * help.el (resize-temp-buffer-window): Fix doc-string.
6259
6260 2012-10-25 David Engster <deng@randomsample.de>
6261
6262 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6263 Remove. This feature is already integrated in imenu.
6264
6265 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6266 always loaded. Require `speedbar' unconditionally.
6267
6268 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6269
6270 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6271
6272 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6273
6274 * net/ldap.el (ldap-search-internal): The official ldif format starts
6275 with a "version: 1" header (bug#12724).
6276
6277 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6278 (bug#12721).
6279
6280 2012-10-25 Glenn Morris <rgm@gnu.org>
6281
6282 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6283
6284 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6285
6286 * minibuffer.el (minibuffer-force-complete): Use one more marker
6287 for the temporary-overlay-map command (bug#12619).
6288
6289 2012-10-24 Chong Yidong <cyd@gnu.org>
6290
6291 * time.el (display-time-world-mode): Derive from special-mode.
6292 (display-time-world): Use display-buffer (Bug#12708).
6293 (display-time-world-mode-map): Variable deleted.
6294 (display-time-world-display): Wrap the final delete-char inside
6295 inhibit-read-only.
6296
6297 2012-10-24 Chong Yidong <cyd@gnu.org>
6298
6299 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6300 Doc fix.
6301
6302 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6303
6304 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6305
6306 * minibuffer.el (completion--all-sorted-completions-location): New var.
6307 (completion--cache-all-sorted-completions)
6308 (completion--flush-all-sorted-completions): Use it.
6309 (completion-in-region, completion-in-region--postch)
6310 (completion-at-point, completion-help-at-point): Use markers in
6311 completion-in-region--data (bug#12619).
6312
6313 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * progmodes/compile.el (compilation-start): Try to handle common
6316 quoting of `cd' argument (bug#12640).
6317
6318 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6319 (bug#12671).
6320
6321 2012-10-23 Glenn Morris <rgm@gnu.org>
6322
6323 * progmodes/gud.el (gud-menu-map):
6324 Check gdb-active-process is bound. (Bug#12358)
6325
6326 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6327
6328 * repeat.el (repeat): Set real-this-command (bug#12232).
6329
6330 * htmlfontify.el (hfy-post-html-hook):
6331 * filesets.el (filesets-cache-fill-content-hook):
6332 * arc-mode.el (archive-extract-hook):
6333 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6334 * net/rcirc.el (rcirc-sentinel-functions)
6335 (rcirc-receive-message-functions, rcirc-activity-functions)
6336 (rcirc-print-functions):
6337 * net/dbus.el (dbus-event-error-functions):
6338 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6339 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6340 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6341 * term/sun.el (sun-raw-prefix-hooks):
6342 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6343
6344 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6345
6346 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6347 Set `tramp-chunksize' to 1. This improves the performance.
6348 (tramp-smb-wait-for-output): Add timeout to
6349 `tramp-accept-process-output' calls.
6350
6351 2012-10-23 Chong Yidong <cyd@gnu.org>
6352
6353 * faces.el (font-list-limit): Define as an obsolete variable.
6354
6355 * startup.el (command-line):
6356 * cus-start.el: Don't refer to font-list-limit.
6357
6358 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6359
6360 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * subr.el (internal-temp-output-buffer-show): Rename from
6363 temp-output-buffer-show, since previously compiled files expect this name.
6364
6365 2012-10-23 Glenn Morris <rgm@gnu.org>
6366
6367 * image.el (image-type-from-file-name): If multiple types match,
6368 return the first one that is supported. (Bug#9045)
6369
6370 2012-10-22 Glenn Morris <rgm@gnu.org>
6371
6372 * image.el (imagemagick-enabled-types): Doc fix.
6373
6374 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6375
6376 * progmodes/which-func.el (which-func-current): The hash-table may have
6377 an explicit nil (bug#12338).
6378
6379 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6380
6381 * electric.el (electric-pair-delete-selection-self-insert-function):
6382 Rename to electric-pair-will-use-region, return a boolean.
6383 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6384
6385 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6386 (delete-selection-pre-hook): Use use-region-p.
6387 (delete-selection-self-insert-function): Remove.
6388 (self-insert-command): Obey self-insert-uses-region-functions.
6389 (self-insert-iso): Revert to previous setting, since we don't actually
6390 know what that command does.
6391 (delete-selection-self-insert-hooks): Remove.
6392
6393 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6394
6395 * delsel.el (delete-selection-helper): New function, extracted from
6396 delete-selection-pre-hook.
6397 (delete-selection-pre-hook): Use it.
6398 (delete-selection-self-insert-function): New function.
6399 (delete-selection-self-insert-hooks): New hook.
6400 (self-insert-command, self-insert-iso): Use it.
6401 * electric.el (electric-pair-syntax): New function, extracted from
6402 electric-pair-post-self-insert-function.
6403 (electric-pair-post-self-insert-function): Use it.
6404 (electric-pair-delete-selection-self-insert-function): New function.
6405 (electric-pair-mode): Require delsel and setup
6406 delete-selection-self-insert-hooks (bug#11520).
6407
6408 2012-10-20 Chong Yidong <cyd@gnu.org>
6409
6410 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6411 no changes to show (Bug#12586).
6412
6413 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6414 list explicitly (Bug#12571).
6415
6416 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6417
6418 * progmodes/flymake.el (flymake-create-temp-inplace):
6419 Use file-truename.
6420
6421 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6422
6423 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6424
6425 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6426
6427 * calc/calc-units.el (math-extract-units): Properly extract powers
6428 of units.
6429
6430 2012-10-20 Daniel Colascione <dancol@dancol.org>
6431
6432 * frame.el (make-frame): Set x-display-name as we used to in order
6433 to unbreak creating an X11 frame from an Emacs daemon started
6434 without a display.
6435
6436 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6437
6438 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6439 the same completion-field (bug#12221).
6440
6441 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6442
6443 * emacs-lisp/debug.el (debug): Record height of debugger window
6444 also when debugger will be back (Bug#8789).
6445
6446 2012-10-18 Chong Yidong <cyd@gnu.org>
6447
6448 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6449 Convert to defcustom.
6450 (gdb-get-source-file): Don't bind pop-up-windows.
6451
6452 * progmodes/gud.el (gud-display-line): Don't specially re-use
6453 other frames for the gdb-mi case (Bug#12648).
6454
6455 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/advice.el: Clean up commentary a bit.
6458 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6459 (byte-code-function-p): Never redefine.
6460
6461 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6462
6463 2012-10-18 Glenn Morris <rgm@gnu.org>
6464
6465 * dired.el (dired-sort-toggle): Some ls implementations only allow
6466 a single option string. (Bug#12666)
6467
6468 * minibuffer.el (completion-cycle-threshold): Doc fix.
6469
6470 2012-10-17 Kenichi Handa <handa@gnu.org>
6471
6472 * international/mule.el (set-keyboard-coding-system):
6473 Recover input meta mode when the new coding system doesn not use 8-bit.
6474 Supply TERMINAL arg to set-input-meta-mode.
6475
6476 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6477
6478 * wdired.el (wdired-old-marks): New variable.
6479 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6480 (wdired-do-renames): Move point with renamed file and don't lose
6481 mark status (Bug#11795).
6482
6483 2012-10-16 Juri Linkov <juri@jurta.org>
6484
6485 * replace.el (query-replace-help): Mention multi-buffer replacement
6486 keys in the Help message. (Bug#12655)
6487
6488 2012-10-15 Chong Yidong <cyd@gnu.org>
6489
6490 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6491
6492 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6493
6494 * window.el (display-buffer): Doc fix.
6495
6496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6497 Adjust the msft regexp to the output of Studio 2010, and move msft
6498 before edg-1. See the discussion on emacs-devel,
6499 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6500 for the details.
6501
6502 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6503
6504 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6505 (oset): Move uses of object-class-fast macro after its definition.
6506
6507 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6508
6509 2012-10-13 Chong Yidong <cyd@gnu.org>
6510
6511 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6512 enabled, re-enable it (Bug#11963).
6513
6514 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6515
6516 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6517 non-nil, restore window configuration (Bug#12623).
6518
6519 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * help-fns.el (describe-variable, describe-function-1):
6522 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6523
6524 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6525
6526 2012-10-12 Glenn Morris <rgm@gnu.org>
6527
6528 * mail/rmailsum.el (rmail-header-summary):
6529 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6530
6531 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6532
6533 * progmodes/python.el (python-mode-map):
6534 Replace subtitute-key-definition with proper command remapping.
6535 (python-nav--up-list): Fix behavior for blocks on the same level.
6536
6537 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6540
6541 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6542 changes to the format of load-history.
6543
6544 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6545 completion-ignore-case in case that var is buffer-local (bug#12615).
6546
6547 2012-10-11 Kenichi Handa <handa@gnu.org>
6548
6549 * international/eucjp-ms.el: Re-generated.
6550
6551 2012-10-10 Kenichi Handa <handa@gnu.org>
6552
6553 * select.el (xselect--encode-string): If a coding is specified for
6554 selection, and that is compatible with COMPOUND_TEXT, use it.
6555
6556 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6557
6558 * window.el (switch-to-buffer-preserve-window-point): New option.
6559 (switch-to-buffer):
6560 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6561
6562 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6565 Don't document nil as a useful value (bug#12583).
6566
6567 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6568
6569 * net/tramp.el (tramp-debug-message):
6570 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6571 (with-tramp-progress-reporter): Rename from
6572 `tramp-with-progress-reporter'.
6573 (with-tramp-file-property, with-tramp-connection-property):
6574 Move from tramp-cache.el, rename from `with-file-property' and
6575 `with-connection-property', respectively.
6576
6577 * net/tramp-cache.el: Remove `with-file-property' and
6578 `with-connection-property'.
6579
6580 * net/tramp.el:
6581 * net/tramp-gvfs.el:
6582 * net/tramp-sh.el:
6583 * net/tramp-smb.el: Adapt callees.
6584
6585 * net/trampver.el: Update release number.
6586
6587 2012-10-09 Glenn Morris <rgm@gnu.org>
6588
6589 * w32-fns.el (set-message-beep):
6590 * term/w32-win.el (set-message-beep): Update declarations.
6591
6592 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6595 (mode-line-widen, mode-line-input-method-map)
6596 (mode-line-coding-system-map, mode-line-remote)
6597 (mode-line-unbury-buffer, mode-line-bury-buffer)
6598 (mode-line-next-buffer, mode-line-previous-buffer):
6599 Replace save-selected-window+select-window => with-selected-window.
6600
6601 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6602 * progmodes/cc-vars.el (bq-process): Remove, unused.
6603
6604 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6605
6606 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6607
6608 Implemented `backward-up-list'-like navigation.
6609 * progmodes/python.el (python-nav-up-list)
6610 (python-nav-backward-up-list): New functions.
6611 (python-mode-map): Define substitute key for backward-up-list to
6612 python-nav-backward-up-list.
6613
6614 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6615
6616 * progmodes/python.el (python-fill-paragraph): Rename from
6617 python-fill-paragraph-function. Fixed fill-paragraph for
6618 decorators (Bug#12605).
6619
6620 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6621
6622 * progmodes/python.el (python-shell-output-filter): Handle extra
6623 carriage return in OSX (Bug#12409).
6624
6625 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6626
6627 Fix shell handling of unbalanced quotes and parens in output.
6628 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6629 (python-syntax-propertize-function): Use it.
6630 (python-shell-output-syntax-table): New var.
6631 (inferior-python-mode): Prevent unbalanced parens/quotes from
6632 previous output mess with current input context.
6633
6634 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6635
6636 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6637 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6638
6639 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6640
6641 * ffap.el (ffap-replace-file-component): Support Tramp file name
6642 syntax, not only ange-ftp's one.
6643
6644 2012-10-08 Glenn Morris <rgm@gnu.org>
6645
6646 * cus-start.el (message-log-max): Set :version.
6647
6648 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6649
6650 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6651
6652 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6653 the minibuffer window (Bug#10851).
6654
6655 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6656
6657 Enhancements on forward-sexp movement.
6658 * progmodes/python.el (python-nav-beginning-of-statement)
6659 (python-nav-end-of-statement): Return point-marker.
6660 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6661 (python-info-current-symbol)
6662 (python-info-statement-starts-block-p): Rename from
6663 python-info-beginning-of-block-p.
6664 (python-info-statement-ends-block-p): Rename from
6665 python-info-end-of-block-p.
6666 (python-info-beginning-of-statement-p)
6667 (python-info-end-of-statement-p)
6668 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6669 New functions.
6670
6671 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6674 frame-selected-windows.
6675
6676 2012-10-08 Daniel Colascione <dancol@dancol.org>
6677
6678 * battery.el (battery-status-function): Check for
6679 w32-battery-status itself, not system-time windows-nt.
6680
6681 * frame.el: Require cl-lib.
6682 (display-format-alist): New variable mapping frame types to
6683 functions that initialize them.
6684 (window-system-for-display): New function: interprets
6685 display-format-alist.
6686 (make-frame-on-display): Remove existing display-selection logic
6687 and just forward to make-frame, which will now DTRT.
6688 (make-frame): Restructure to use window-system-for-display to
6689 figure out how to create a frame on a given display.
6690 (display-mouse-p): Look for frame-type w32, not a particular
6691 system-type.
6692
6693 * loadup.el: Load w32 lisp code when we have the w32 feature.
6694
6695 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6696 system-type windows-nt.
6697
6698 * server.el (server-create-window-system-frame): Look for window
6699 type.
6700 (server-proces-filter): Only force a window system when windows-nt
6701 _and_ w32. Explain why.
6702
6703 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6704 of window systems we configure for the mode.
6705
6706 * startup.el (command-line): Mark window system is initialized
6707 after we've done it.
6708
6709 * common-win.el (x-select-text): Look for w32, not windows-nt.
6710
6711 * ns-win.el: Require cl-lib. Add ourselves to
6712 display-format-alist.
6713 (ns-initialize-window-system): Assert we're not initialized twice.
6714
6715 * w32-win.el: Enable lexical binding; require cl-lib; add
6716 ourselves to display-format-alist.
6717 (w32-handle-dropped-file): Convert incoming dropped files from
6718 Windows paths to Cygwin ones before passing them on to the rest of
6719 Emacs.
6720 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6721 (w32-initialize-window-system): Assert we're not initialized twice.
6722
6723 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6724 (x-initialize-window-system): Assert we're not initialized twice.
6725
6726 * w32-common-fns.el: New File.
6727 (w32-version, w32-using-nt, w32-get-clipboard-data)
6728 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6729 (w32-charset-info-alist, x-last-selected, text)
6730 (x-get-selection-value, x-selection-value): Move here.
6731
6732 * w32-fns.el: Require w32-common-fns.
6733 (w32-version, w32-using-nt, w32-get-clipboard-data)
6734 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6735 (w32-charset-info-alist, x-last-selected, text)
6736 (x-get-selection-value, x-selection-value): Move to
6737 w32-common-fns.
6738
6739 * w32-vars.el:
6740 (w32-allow-system-shell, w32-system-shells): Define only in
6741 non-cygwin case.
6742
6743 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6744
6745 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6746 (read-passwd): Remove a few more potential sources of leaks.
6747
6748 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6749
6750 * progmodes/python.el (inferior-python-mode)
6751 (python-shell-make-comint): Fix initialization of local
6752 variables copied from parent buffer.
6753
6754 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6755
6756 * term/ns-win.el (ns-read-file-name): Update declaration to match
6757 nsfns.m.
6758 (ns-respond-to-change-font): Change fontsize separately so we are sure
6759 it is set when font is acted upon.
6760
6761 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6762
6763 Enhancements to indentation.
6764 * progmodes/python.el (python-indent-context): Give priority to
6765 inside-string context. Make comments indentation markers.
6766 (python-indent-region): Do not mess with strings, unless it's the
6767 enclosing set of quotes.
6768
6769 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * window.el (internal--before-save-selected-window)
6772 (internal--after-save-selected-window): New functions extracted from
6773 save-selected-window. Make sure we return the `alist' we construct.
6774 (save-selected-window): Use them.
6775
6776 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6777 Use with-selected-window.
6778
6779 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6780 forms that define macros (bug#12593).
6781
6782 2012-10-07 Kenichi Handa <handa@gnu.org>
6783
6784 * international/mule-conf.el (compound-text-with-extensions):
6785 Add :mime-charset property as x-ctext.
6786
6787 2012-10-07 Stefan Merten <smerten@oekonux.de>
6788
6789 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6790 (rst-indent-literal-normal, rst-indent-literal-minimized)
6791 (rst-indent-comment): Correct :version tag.
6792 (rst-official-cvs-rev): Correct version string.
6793
6794 2012-10-07 Glenn Morris <rgm@gnu.org>
6795
6796 * mail/rmailmm.el (rmail-mime-process-multipart):
6797 Do not confuse a multipart message with an epilogue
6798 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6799
6800 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6801
6802 Fix shell output retrieval and comint-prompt-regexp init.
6803 * progmodes/python.el (inferior-python-mode):
6804 (python-shell-make-comint): Fix initialization of
6805 comint-prompt-regexp from copied file local variables.
6806 (python-shell-fetched-lines): Remove var.
6807 (python-shell-output-filter-in-progress): Rename from
6808 python-shell-fetch-lines-in-progress.
6809 (python-shell-output-filter-buffer): Rename from
6810 python-shell-fetch-lines-string.
6811 (python-shell-fetch-lines-filter): Delete function.
6812 (python-shell-output-filter): New function.
6813 (python-shell-send-string-no-output): Use them.
6814
6815 2012-10-07 Glenn Morris <rgm@gnu.org>
6816
6817 * hi-lock.el (hi-lock-process-phrase):
6818 Try to make it less fragile. (Bug#7161)
6819
6820 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6821
6822 2012-10-06 Glenn Morris <rgm@gnu.org>
6823
6824 * ehelp.el (electric-help-mode): Use help-mode rather than
6825 non-existent mode `help'.
6826 (electric-help-map): Use button-buffer-map. (Bug#10917)
6827
6828 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6829 (reftex-create-bibtex-footer): Fix custom types.
6830
6831 * progmodes/sh-script.el (sh-indent-after-continuation):
6832 Add explicit :group.
6833
6834 * textmodes/rst.el (rst-preferred-decorations)
6835 (rst-shift-basic-offset): Clarify obsolescence versions.
6836
6837 * profiler.el (profiler): Add missing group :version tag.
6838 * avoid.el (mouse-avoidance-banish-position):
6839 * proced.el (proced-renice-command):
6840 * calc/calc.el (calc-ensure-consistent-units):
6841 * calendar/icalendar.el (icalendar-import-format-uid):
6842 * net/tramp.el (tramp-save-ad-hoc-proxies):
6843 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6844 * progmodes/flymake.el (flymake-error-bitmap)
6845 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6846 * progmodes/sh-script.el (sh-indent-after-continuation):
6847 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6848 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6849 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6850 (vhdl-array-index-record-field-in-sensitivity-list)
6851 (vhdl-indent-comment-like-next-code-line):
6852 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6853 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6854 (reftex-cite-key-separator, reftex-create-bibtex-header)
6855 (reftex-create-bibtex-footer):
6856 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6857 (rst-indent-literal-normal, rst-indent-literal-minimized)
6858 (rst-indent-comment): Add missing custom :version tags.
6859
6860 * calendar/timeclock.el (timeclock-modeline-display):
6861 Add missing obsolete alias for renamed user option.
6862
6863 * strokes.el (strokes-modeline-string):
6864 * emulation/crisp.el (crisp-mode-modeline-string):
6865 * eshell/esh-mode.el (eshell-status-in-modeline):
6866 Aliases to defcustoms must come before the defcustom.
6867
6868 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6869 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6870 (cal-tex-cursor-week-monday): Doc fixes.
6871 (cal-tex-cursor-week2-summary): Doc fix.
6872 Rename from cal-tex-cursor-week-at-a-glance.
6873
6874 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6875 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6876
6877 * calendar/calendar.el (calendar-mode-map):
6878 Add cal-tex-cursor-week2-summary.
6879
6880 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6883
6884 * subr.el (read-passwd-map): New var.
6885 (read-passwd): Use `read-string' again.
6886 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6887
6888 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6889
6890 * register.el (append-to-register, prepend-to-register):
6891 Deactivate mark, as does `copy-to-register' (bug#12389).
6892
6893 2012-10-06 Chong Yidong <cyd@gnu.org>
6894
6895 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6896
6897 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6898
6899 * international/characters.el: Fix simple mistake ((car chars) ->
6900 elt), delete duplicated code.
6901
6902 2012-10-06 Glenn Morris <rgm@gnu.org>
6903
6904 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6905
6906 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6907
6908 * color.el (color-hsl-to-rgb): Fix incorrect results for
6909 small and large hue values. (Bug#12559)
6910
6911 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6912
6913 Enhancements to docstring formatting when filling paragraphs.
6914 * progmodes/python.el (python-fill-docstring-style): Rename from
6915 python-fill-string-style. Added new style.
6916 (python-fill-string): Use new style. Better checks for
6917 docstrings.
6918
6919 2012-10-05 Glenn Morris <rgm@gnu.org>
6920
6921 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6922
6923 * color.el (color-name-to-rgb, color-rgb-to-hex)
6924 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6925 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6926 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6927 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6928
6929 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6930
6931 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6932
6933 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6934 to get the correct size across symlinks.
6935
6936 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6937
6938 2012-10-04 Juri Linkov <juri@jurta.org>
6939
6940 * replace.el (query-replace-interactive): Declare obsolete.
6941 (query-replace-read-from): Add the last incremental search string
6942 to the list of default values accessible via M-n.
6943 (map-query-replace-regexp): Use `read-regexp'.
6944 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6945 (map-query-replace-regexp, replace-string, replace-regexp):
6946 Fix docstrings to replace mentions of `query-replace-interactive'
6947 with alternatives. (Bug#12526)
6948
6949 2012-10-04 Juri Linkov <juri@jurta.org>
6950
6951 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6952 (dired-pop-to-buffer): Declare obsolete.
6953 (dired-mark-pop-up): Doc fix.
6954
6955 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6956
6957 Allow user to set docstring style for fill-paragraph.
6958 * progmodes/python.el
6959 (python-fill-comment-function, python-fill-string-function)
6960 (python-fill-decorator-function, python-fill-paren-function):
6961 Remove :safe for defcustoms.
6962 (python-fill-string-style): New defcustom
6963 (python-fill-paragraph-function): Enhance context detection.
6964 (python-fill-string): Honor python-fill-string-style settings.
6965
6966 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6967
6968 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6969 after setting its buffer (Bug#10805).
6970
6971 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6972
6973 Fix cornercase for string syntax.
6974 * progmodes/python.el (python-syntax-propertize-function):
6975 Simplify and enhance the regexp for unescaped quotes. Now it also
6976 matches quotes in weird situations like the single quote in
6977 "something\"'".
6978 (python-syntax-stringify): Simplify num-quotes detecting code.
6979
6980 2012-10-03 Glenn Morris <rgm@gnu.org>
6981
6982 * help-macro.el (three-step-help):
6983 Revert 2012-09-29 change. (Bug#12567)
6984
6985 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6986
6987 * menu-bar.el (kill-this-buffer): Don't do anything when
6988 `menu-frame' is not alive or visible (Bug#8184).
6989
6990 * emacs-lisp/debug.el (debug): When quitting the debugger window
6991 restore current buffer (Bug#12502).
6992
6993 2012-10-02 Chong Yidong <cyd@gnu.org>
6994
6995 * progmodes/hideif.el (hif-lookup, hif-defined):
6996 Handle semantic-c-takeover-hideif.
6997
6998 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6999
7000 Change sampling interval units from ms to ns.
7001 * profiler.el (profiler-sampling-interval): Change units
7002 from ms to ns, multiplying the default by 1000000 so that
7003 it remains 1 ms.
7004 (profiler-report-cpu-line-format): Give enough room for
7005 the maximum counters on 64-bit hosts.
7006 (profiler-report-render-calltree-1): Call them "CPU samples",
7007 not "Time (ms)", since they are not milliseconds now (and
7008 never really were).
7009
7010 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7011
7012 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7013 Fix querying BBDB for entries without a last name (Bug#11580).
7014
7015 2012-10-02 Chong Yidong <cyd@gnu.org>
7016
7017 * emacs-lisp/eieio.el: Restore Version header.
7018
7019 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * vc/diff-mode.el (diff--auto-refine-data): New var.
7022 (diff-hunk): Use it to delay refinement.
7023 (diff-mode): Remove overlays when we turn off font-lock.
7024
7025 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7026 (table-initialize-table-fixed-width-mode)
7027 (table-set-table-fixed-width-mode): Remove functions.
7028 (table-command-list): Move initialization into declaration.
7029 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7030 (table-with-cache-buffer): Use `declare'.
7031 (table-span-cell): Simplify via CSE.
7032 (table-fixed-width-mode): Use define-minor-mode.
7033 (table-call-interactively, table-funcall, table-apply): Remove.
7034 (table-function): New function, to replace them.
7035
7036 * bookmark.el (bookmark-search-pattern): Remove var.
7037 (bookmark-read-search-input): Remove function.
7038 (bookmark-bmenu-search): Reimplement using a minibuffer.
7039
7040 * faces.el (modeline): Remove obsolete face name.
7041
7042 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7043 and give a non-nil default value.
7044 (add-change-log-entry): Simplify accordingly.
7045
7046 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7047
7048 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7049 (vc-git-log-edit-toggle-amend): New function.
7050 (vc-git-log-edit-toggle-signoff): New function.
7051 (vc-git-log-edit-mode): New major mode.
7052 (vc-git-log-edit-mode-map): Keymap for it.
7053 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7054
7055 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7056 header names.
7057 (log-edit-toggle-header): New function.
7058 (log-edit-extract-headers): Accept function values in HEADERS alist.
7059
7060 2012-10-01 David Engster <deng@randomsample.de>
7061
7062 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7063 from symbol property and change message to be more consistent with
7064 Emacs proper.
7065 (eieio-describe-generic): Add filename for each implementation.
7066 Fix indices for generic and normal methods.
7067 (eieio-method-def, eieio-class-def): New buttons.
7068 (eieio-help-find-method-definition)
7069 (eieio-help-find-class-definition): New functions.
7070 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7071 class, constructor and method definitions.
7072
7073 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7074 information in symbol property.
7075 (scoped-class): Remove.
7076 (eieio-slot-name-index, call-next-method): Check if it is bound.
7077
7078 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7079
7080 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7081 (eieio-custom-mode): New major mode.
7082 (eieio-customize-object): Use it.
7083
7084 2012-10-01 Eric Ludlam <zappo@gnu.org>
7085
7086 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7087 specifying the expected class, and whether subclassing is allowed.
7088 (eieio-persistent-convert-list-to-object):
7089 (eieio-persistent-validate/fix-slot-value)
7090 (eieio-persistent-slot-type-is-class-p): New functions.
7091 (eieio-named::slot-missing): Doc fix.
7092
7093 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7094 Stop using unused publd variable.
7095
7096 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7097 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7098 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7099 (eieio-speedbar-handle-click): Do not specify a class for the
7100 method. Fixes method invocation order problems with EDE.
7101
7102 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7105 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7106
7107 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7108
7109 * bookmark.el (bookmark-version-control): Give tags in the
7110 :type choices (Bug#12309), and improve doc string.
7111 (bookmark-write-file): Bind `print-circle' to `t' to allow
7112 circular custom bookmark types. (Bug#12503)
7113
7114 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7115
7116 Revert the FOLLOW-SYMLINKS change for file-attributes.
7117 * files.el (remote-file-name-inhibit-cache, after-find-file):
7118 * time.el (display-time-file-nonempty-p): Undo last change.
7119
7120 * profiler.el (profiler-sampling-interval): Change default back to 1.
7121 See Stefan Monnier in
7122 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7123
7124 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7125
7126 Shell output catching a la gud-gdb.
7127 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7128 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7129 New Vars.
7130 (python-shell-fetch-lines-filter): New function.
7131 (python-shell-send-string-no-output): Use them.
7132
7133 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7134
7135 * profiler.el (profiler-sampling-interval): Rename from
7136 profiler-sample-interval.
7137 (profiler-sampling-interval): Default to 10.
7138 (profiler-find-profile): New command (was profiler-find-log).
7139 (profiler-find-profile-other-window): New command.
7140 (profiler-find-profile-other-frame): New command.
7141 (profiler-profile): Introduce API-level data structure.
7142
7143 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7144
7145 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7146 * files.el (remote-file-name-inhibit-cache):
7147 * time.el (display-time-file-nonempty-p): Use it.
7148 * files.el (after-find-file): Don't chase links before calling
7149 file-exists-p, as file-exists-p already does the right thing.
7150
7151 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7152
7153 Merge from standalone RefTeX repository.
7154
7155 The following ChangeLog entries are shortened versions of the
7156 original ones with file paths adapted. A not so strongly edited
7157 version of the original ChangeLog can be found in the commit log.
7158
7159 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7160 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7161 Correctly handle new value type returned by `reftex-citation'.
7162
7163 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7164 that entries with whitespace at various places are found.
7165 Doc fix. Include entries that are cross-referenced from cited entries.
7166 Include @String definitions in the resulting bib file. Add header
7167 and footer defined in `reftex-create-bibtex-header' and
7168 `reftex-create-bibtex-footer'.
7169 (reftex-do-citation): Make it possible again to insert
7170 non-existent entries. Save match data when asking for optional
7171 arguments. Return all keys, not just the first one.
7172 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7173 all citations in the same line.
7174 (reftex-parse-bibtex-entry): Accept additional optional argument
7175 `raw' and keep quotes or braces if it is non-nil. Match fields
7176 containing hyphens besides word constituents.
7177 (reftex-get-string-refs): New function.
7178 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7179 and ask if it should be reread in case it did.
7180 (reftex-pop-to-bibtex-entry)
7181 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7182 entries with spaces or tabs in front of arguments.
7183 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7184 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7185 Match entries containing numbers and symbol constituents.
7186 (reftex-do-citation, reftex-figure-out-cite-format):
7187 Use `reftex-cite-key-separator'.
7188
7189 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7190 (reftex-mouse-view-crossref): Explain why point is set.
7191
7192 * textmodes/reftex-global.el: Whitespace changes.
7193
7194 * textmodes/reftex-index.el: Move provide statement to end of
7195 file.
7196 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7197 (reftex-index-visit-phrases-buffer): Set marker when visiting
7198 buffer. This allows for returning from the phrases file to the
7199 file one was just editing instead of the file where the last
7200 phrases was added from.
7201 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7202 punctuation syntax as it usually is not used as string quote in
7203 TeX-related modes and may occur unmatched. The change also
7204 prevents fontification of quoted content.
7205 (reftex-index-phrases-mode): Use it.
7206
7207 * textmodes/reftex-parse.el (reftex-parse-from-file):
7208 Move backward one char if a `\' was matched after a section macro.
7209 (reftex-parse-from-file): Use beginning of match instead of end as
7210 bound.
7211
7212 * textmodes/reftex-ref.el: Adapt creation of
7213 `reftex-<package>-<macro>' functions to new structure of
7214 `reftex-ref-style-alist'.
7215 (reftex-reference): Use `reftex-ref-style-list' function.
7216 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7217 reference macro if `reftex-ref-macro-prompt' is non-nil.
7218 (reftex-reference): Pass refstyle to `reftex-format-special'.
7219 Determine reference macro by looking at
7220 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7221 Use only one special format function.
7222 (reftex-varioref-vref, reftex-fancyref-fref)
7223 (reftex-fancyref-Fref): Remove definitions. The functions are now
7224 generated from `reftex-ref-style-alist'.
7225 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7226 Remove.
7227 (reftex-format-special): New function.
7228
7229 * textmodes/reftex-sel.el
7230 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7231 of `reftex-ref-style-alist'. Remove code for testing macro type.
7232 (reftex-select-toggle-varioref)
7233 (reftex-select-toggle-fancyref): Remove.
7234 (reftex-select-cycle-ref-style-internal)
7235 (reftex-select-cycle-ref-style-forward)
7236 (reftex-select-cycle-ref-style-backward): New functions.
7237 (reftex-select-label-map): Use `v' and `V' for general cycling
7238 through reference styles. Add `p' for switching between number
7239 and page reference types.
7240
7241 * textmodes/reftex-toc.el (reftex-re-enlarge):
7242 Call `enlarge-window' only if there is something to do because in Emacs
7243 the horizontal version throws an error even if the parameter is 0.
7244
7245 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7246 (reftex-plug-into-AUCTeX): Doc fix.
7247 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7248 string. Adapt to new name.
7249 (reftex-ref-style-alist): Change structure so that it is not
7250 possible to use multiple different package names within a style.
7251 Remove the symbols for symbols for macro type distinction.
7252 Add characters for macro selection.
7253 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7254 (reftex-create-bibtex-footer): New variables.
7255 (reftex-format-ref-function): Mention third argument of special
7256 format function.
7257 (reftex-ref-style-alist, reftex-ref-style-default-list):
7258 New variables.
7259 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7260 to new implementation. Mark as obsolete. Add compatibility code
7261 for honoring the variable values in case they are set.
7262 (reftex-cite-format-builtin, reftex-bibliography-commands):
7263 Add support for ConTeXt.
7264 (reftex-format-ref-function, reftex-format-cite-function):
7265 Fix custom type.
7266 (reftex-cite-key-separator): New variable.
7267
7268 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7269 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7270 `reftex-syntax-table' because parens have to retain their paren
7271 syntax in order for parsing of BibTeX entries like @book(...) to
7272 work.
7273 (reftex-in-comment): Do not error out if `comment-start-skip' is
7274 not set. Deal correctly with escaped comment characters.
7275 (reftex-tie-multifile-symbols): Add doc string.
7276 Initialize `reftex-ref-style-list'.
7277 (reftex-untie-multifile-symbols): Add doc string.
7278 (reftex-add-index-macros): Doc fix.
7279 (reftex-ref-style-activate, reftex-ref-style-toggle)
7280 (reftex-ref-style-list): New functions.
7281 (reftex-mode-menu): Use them. Adapt to new structure of
7282 `reftex-ref-style-alist'.
7283 (reftex-select-with-char): Kill the RefTeX Select buffer when
7284 done.
7285 (reftex-remove-if): New function.
7286 (reftex-erase-all-selection-and-index-buffers)
7287 (reftex-mode-menu): Reference styles are now computed from
7288 `reftex-ref-style-alist'. Fix typo.
7289 (reftex-report-bug): New function.
7290 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7291 algorithms with O(n log n). Introduce optional argument SORT (not
7292 yet used).
7293
7294 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7295
7296 Enhancements for triple-quote string syntax.
7297 * progmodes/python.el (python-syntax-propertize-function):
7298 Match both quote cases in one regexp.
7299 (python-syntax-stringify): Handle matches properly.
7300
7301 2012-09-30 Juri Linkov <juri@jurta.org>
7302
7303 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7304 to nil around the call to `insert' to prevent
7305 directory time modification by lock_file. (Bug#2295)
7306 * tar-mode.el (tar-summarize-buffer): Idem.
7307
7308 2012-09-30 Juri Linkov <juri@jurta.org>
7309
7310 * facemenu.el (list-colors-sort): Add option "Luminance".
7311 (list-colors-sort-key): Implement it.
7312
7313 * vc/diff-mode.el (diff-refine-removed):
7314 * vc/ediff-init.el (ediff-fine-diff-A):
7315 * vc/smerge-mode.el (smerge-refined-removed):
7316 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7317
7318 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7319
7320 * term/ns-win.el (x-file-dialog): New function.
7321
7322 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7323
7324 * ido.el (ido-max-directory-size): Default to nil; the current
7325 default is small for POSIX systems, and impractical on Windows 7
7326 now that lstat returns directory sizes for NTFS.
7327
7328 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7329
7330 In buffer display functions handle window-height/window-width
7331 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7332 * window.el (window--display-buffer): New argument ALIST.
7333 Obey window-height and window-width alist entries.
7334 (window--try-to-split-window): New argument ALIST.
7335 Bind window-combination-limit to t when the window's size shall be
7336 changed and window-combination-limit equals `window-size'.
7337 (display-buffer-in-atom-window)
7338 (display-buffer-in-major-side-window)
7339 (display-buffer-in-side-window, display-buffer-same-window)
7340 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7341 (display-buffer-pop-up-window, display-buffer-below-selected)
7342 (display-buffer-at-bottom, display-buffer-in-previous-window)
7343 (display-buffer-use-some-window): Adjust all callers of
7344 window--display-buffer and window--try-to-split-window.
7345 (fit-frame-to-buffer): New option.
7346 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7347 is non-nil.
7348 (display-buffer-in-major-side-window): Evaluate window-height /
7349 window-width alist entries.
7350
7351 * help.el (temp-buffer-resize-frames)
7352 (temp-buffer-resize-regexps): Remove options.
7353 (temp-buffer-resize-mode): Adjust doc-string.
7354 (resize-temp-buffer-window): Don't consult
7355 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7356 temp-buffer-resize-frames.
7357
7358 * dired.el (dired-mark-pop-up):
7359 Call display-buffer-below-selected with a fit-window-to-buffer alist
7360 entry.
7361
7362 2012-09-30 Chong Yidong <cyd@gnu.org>
7363
7364 * server.el (server-host): Document the security implications.
7365 (server-auth-key): Doc fix.
7366
7367 * startup.el (initial-buffer-choice): Doc fix.
7368
7369 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7370
7371 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7372 restriction change.
7373
7374 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7375
7376 * help-fns.el (help-fns--obsolete): Fix last change.
7377
7378 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7381 (minor-mode-map-alist): Remove redundant code.
7382
7383 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7384 visited in a buffer.
7385 (cvs-insert-visited-file): New function.
7386 (find-file-hook): Use it.
7387
7388 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7389
7390 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7391 chose face.
7392 (log-edit-empty-buffer-p): Don't require a space after a header.
7393
7394 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7395
7396 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7397
7398 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7399 a proper minor-mode.
7400
7401 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7402
7403 2012-09-29 Glenn Morris <rgm@gnu.org>
7404
7405 * winner.el (winner-mode): Remove variable (let define-minor-mode
7406 handle it).
7407 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7408 Doc fixes.
7409 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7410 (winner-mode): Use define-minor-mode.
7411
7412 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7413 the full definition in loaddefs, rather than duplicating it.
7414
7415 * help-macro.el (three-step-help): No need to autoload defcustom.
7416
7417 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7418 (inferior-lisp-program, inferior-lisp-load-command)
7419 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7420 No need to autoload defcustoms.
7421
7422 * hippie-exp.el (hippie-expand-try-functions-list)
7423 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7424 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7425 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7426 (hippie-expand-only-buffers): No need to autoload defcustoms.
7427 * progmodes/vhdl-mode.el (vhdl-line-expand):
7428 Explicitly load hippie-exp, so it does not get autoloaded
7429 while hippie-expand-try-functions-list is let-bound.
7430
7431 2012-09-28 Glenn Morris <rgm@gnu.org>
7432
7433 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7434
7435 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7436 Only "cl.el" counts as cl these days.
7437
7438 2012-09-28 Juri Linkov <juri@jurta.org>
7439
7440 Display archive errors in the echo area instead of inserting
7441 to the file buffer.
7442
7443 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7444 to STDERR-TEST that can be a regexp matching a successful output.
7445 Create a temporary file and redirect stderr to it. Search for
7446 STDERR-TEST in the stderr output and display it in the echo area
7447 if no match is found.
7448 (archive-extract-by-file): New function like
7449 `archive-extract-by-stdout' but extracting archives to files
7450 and looking for successful matches in stdout. Function body is
7451 mostly copied from `archive-rar-extract'.
7452 (archive-rar-extract): Use `archive-extract-by-file'.
7453 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7454
7455 2012-09-28 Leo Liu <sdl.web@gmail.com>
7456
7457 * pcomplete.el (pcomplete-show-completions):
7458 Use minibuffer-message to make pcomplete usable in minibuffer.
7459
7460 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7461
7462 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * type-break.el: Use lexical-binding.
7465 (type-break-mode): Use define-minor-mode.
7466
7467 * emacs-lisp/pcase.el (pcase--mark-used): New.
7468 (pcase--u1): Use it (bug#12512).
7469
7470 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7471 in load-history with the right file name.
7472
7473 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7474
7475 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7476 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7477 (doc-view-get-bounding-box): Make bounding box slicing work for
7478 ODF and DVI documents.
7479
7480 2012-09-28 Glenn Morris <rgm@gnu.org>
7481
7482 * type-break.el (type-break-mode, type-break-interval)
7483 (type-break-good-rest-interval, type-break-keystroke-threshold):
7484 No need to autoload.
7485 (type-break-good-rest-interval, type-break-keystroke-threshold):
7486 Add :set-after.
7487
7488 2012-09-28 Chong Yidong <cyd@gnu.org>
7489
7490 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7491 Add :version tag.
7492
7493 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7494
7495 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7496
7497 2012-09-27 Glenn Morris <rgm@gnu.org>
7498
7499 * faces.el (x-display-name): Declare (for without-x builds).
7500
7501 * linum.el (linum-format): Don't autoload it. Improve :type.
7502
7503 * progmodes/tcl.el: Don't require outline when compiling.
7504 (outline-regexp, outline-level): Declare.
7505 * textmodes/sgml-mode.el: Don't require outline when compiling.
7506 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7507
7508 * term.el (term-ansi-reset):
7509 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7510
7511 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7512 files for RCS and SCCS. (Bug#9781)
7513
7514 2012-09-27 Chong Yidong <cyd@gnu.org>
7515
7516 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7517 change; value should be t.
7518
7519 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7520
7521 * image-mode.el: Use lexical-binding.
7522 (image-mode-winprops): Use t to stand for the window of
7523 a buffer that's not displayed.
7524 * doc-view.el (doc-view-new-window-function): Handle the new
7525 t in winprops.
7526 (doc-view-enlarge): Make it a real nop if the size is not changed.
7527 (doc-view-display): Handle the case where the buffer is not (yet?)
7528 displayed in any window.
7529 (doc-view-saved-settings): New var.
7530 (doc-view-mode): Use it.
7531 (doc-view-fallback-mode): Set it.
7532
7533 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7534 Set lexical-binding.
7535 (minibuffer-eldef-shorten-default): New var.
7536 (minibuffer-default-in-prompt-regexps): Use it for new default.
7537 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7538
7539 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7540
7541 * international/uni-bidi.el:
7542 * international/uni-category.el:
7543 * international/uni-name.el:
7544 * international/uni-numeric.el: Regenerate.
7545
7546 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7547 Stefan Monnier <monnier@iro.umontreal.ca>
7548
7549 * profiler.el: New file.
7550
7551 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7552
7553 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7554 (testcover-reinstrument): Simplify with CSE.
7555
7556 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7557
7558 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7559
7560 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7561
7562 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7563 (verilog-auto-input, verilog-auto-insert-lisp)
7564 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7565 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7566 (verilog-auto-unused, verilog-auto-wire)
7567 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7568 newline. Reported by Andrew Jones.
7569 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7570 Reported by Brad Dobbie.
7571 (verilog-batch-delete-trailing-whitespace):
7572 Create verilog-batch-delete-trailing-whitespace.
7573 Reported by Brad Dobbie.
7574 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7575 parameters from another module. Reported by Dan Katz.
7576 (verilog-auto, verilog-auto-assign-modport)
7577 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7578 AUTOINOUTMODPORT for UVM interface module shell generation.
7579 Reported by Brad Dobbie.
7580 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7581 standard behavior.
7582 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7583 Reported by Matt Martin.
7584
7585 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7586
7587 * window.el (window--resize-child-windows): When resizing child
7588 windows proportionally, process them in reverse order to
7589 preserve the "when splitting a window the new one gets the odd
7590 line" behavior.
7591 (window--resize-root-window-vertically): When resizing the
7592 minibuffer window try to affect only windows at the bottom of the
7593 frame. (Bug#12419)
7594
7595 2012-09-25 Chong Yidong <cyd@gnu.org>
7596
7597 * subr.el (declare): Doc fix.
7598
7599 * help-fns.el (help-fns--obsolete): Handle macros properly.
7600
7601 2012-09-25 Chong Yidong <cyd@gnu.org>
7602
7603 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7604 this function obsolete.
7605
7606 * calendar/cal-x.el (calendar-two-frame-setup)
7607 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7608 * calendar/calendar.el (american-calendar, european-calendar)
7609 (calendar-for-loop):
7610 * comint.el (comint-dynamic-simple-complete)
7611 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7612 * desktop.el (desktop-load-default):
7613 * dired-x.el (dired-omit-here-always)
7614 (dired-hack-local-variables, dired-default-directory):
7615 * emacs-lisp/derived.el (derived-mode-class):
7616 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7617 * emacs-lock.el (toggle-emacs-lock):
7618 * epa.el (epa-display-verify-result):
7619 * epg.el (epg-sign-keys, epg-start-sign-keys)
7620 (epg-passphrase-callback-function):
7621 * eshell/esh-util.el (eshell-for):
7622 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7623 (eshell-add-to-window-buffer-names):
7624 * files.el (locate-file-completion):
7625 * imenu.el (imenu-example--create-c-index)
7626 (imenu-example--create-lisp-index)
7627 (imenu-example--lisp-extract-index-name)
7628 (imenu-example--name-and-position):
7629 * international/mule-cmds.el (princ-list):
7630 * international/mule-diag.el (decode-codepage-char):
7631 * international/mule-util.el (detect-coding-with-priority):
7632 * iswitchb.el (iswitchb-read-buffer):
7633 * mail/mailalias.el (mail-complete):
7634 * mail/sendmail.el (mail-sent-via):
7635 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7636 (mouse-major-mode-menu):
7637 * password-cache.el (password-read-and-add):
7638 * pcomplete.el (pcomplete-parse-comint-arguments):
7639 * progmodes/sh-script.el (sh-maybe-here-document):
7640 * replace.el (query-replace-regexp-eval):
7641 * savehist.el (savehist-load):
7642 * simple.el (choose-completion-delete-max-match):
7643 * term.el (term-dynamic-simple-complete):
7644 * vc/ediff-init.el (ediff-check-version):
7645 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7646 * vc/vc.el (vc-diff-switches-list):
7647 * view.el (view-return-to-alist-update): Likewise.
7648
7649 * subr.el (eval-next-after-load, makehash, insert-string)
7650 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7651 mark obsolete.
7652 (mode-line-inverse-video): Variable deleted.
7653
7654 * international/mule-util.el (string-to-sequence): Remove.
7655
7656 * calendar/calendar.el (calendar-version):
7657 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7658 (icalendar-convert-diary-to-ical):
7659 * cus-edit.el (custom-mode):
7660 * ansi-color.el (ansi-color-unfontify-region):
7661 * international/latin1-disp.el (latin1-char-displayable-p):
7662 * progmodes/cwarn.el (turn-on-cwarn-mode):
7663 * progmodes/which-func.el (which-func-update-1):
7664 Use define-obsolete-function-alias.
7665
7666 * net/newst-backend.el (newsticker-cache-filename):
7667 * net/newst-treeview.el (newsticker-groups-filename):
7668 Fix incorrect obsolescence declaration.
7669
7670 * allout.el (allout-passphrase-hint-string): Likewise.
7671 (allout-init): Use a declare form to mark obsolete.
7672
7673 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7674 this applies to functions.
7675
7676 * iswitchb.el (iswitchb-read-buffer): Move code of
7677 iswitchb-define-mode-map here, and delete that obsolete function.
7678
7679 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7680 font-lock-reference-face.
7681
7682 2012-09-25 Glenn Morris <rgm@gnu.org>
7683
7684 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7685 Doc fixes.
7686
7687 * eshell/em-term.el (eshell-term-name):
7688 Default to term-term-name. (Bug#12485)
7689
7690 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7691
7692 * progmodes/python.el (python-shell-send-buffer): Better handling
7693 of "if __name__ == '__main__':" conditionals when sending the buffer.
7694
7695 2012-09-24 Glenn Morris <rgm@gnu.org>
7696
7697 * eshell/esh-cmd.el (eshell-find-alias-function):
7698 Tighten up file-name regexp. (Bug#12499)
7699
7700 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7701
7702 Enhancements for triple-quote string syntax.
7703 * progmodes/python.el (python-quote-syntax): Remove.
7704 (python-syntax-propertize-function): New value.
7705 (python-syntax-count-quotes, python-syntax-stringify):
7706 New functions.
7707
7708 2012-09-24 Chong Yidong <cyd@gnu.org>
7709
7710 * mail/supercite.el (sc-version): Remove obsolete function.
7711 (sc-describe): Don't mark as obsolete, since it is bound.
7712 (sc-submit-bug-report): Remove.
7713
7714 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7715 (cvs-commit-buffer-require-final-newline): Remove.
7716 (log-edit-require-final-newline)
7717 (log-edit-changelog-full-paragraphs): Default to t.
7718
7719 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7720 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7721 * vc/vc.el (vc-checkout-carefully): Likewise.
7722
7723 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7724 (emerge-version): Remove.
7725
7726 * progmodes/compile.el (compile-internal): Remove.
7727 (compilation-parse-errors-function): Fix typo.
7728
7729 * international/mule.el (set-char-table-default): Remove.
7730 (set-coding-priority, make-coding-system, generic-char-p)
7731 (charset-list, charset-bytes, charset-id): Use declare to mark
7732 functions as obsolete.
7733
7734 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7735 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7736 * vc/vc-hooks.el (vc-default-registered): Don't use
7737 vc-master-templates.
7738
7739 * font-lock.el (font-lock-reference-face):
7740 Use define-obsolete-variable-alias.
7741
7742 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7743 * calendar/calendar.el (calendar-font-lock-keywords):
7744 * calendar/diary-lib.el (diary-font-lock-keywords)
7745 (diary-fancy-font-lock-keywords):
7746 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7747 * textmodes/reftex-index.el (reftex-insert-index):
7748 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7750 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7751 * progmodes/prolog.el (prolog-font-lock-keywords):
7752 * progmodes/idlwave.el (idlwave-idl-keywords):
7753 * progmodes/ada-mode.el (ada-font-lock-keywords):
7754 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7755
7756 2012-09-24 Glenn Morris <rgm@gnu.org>
7757
7758 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7759
7760 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7761
7762 * progmodes/python.el (python-indent-line): More consistent cursor
7763 movement behavior.
7764
7765 2012-09-23 Stefan Merten <smerten@oekonux.de>
7766
7767 * textmodes/rst.el: Fix compiler warning.
7768
7769 2012-09-23 Roland Winkler <winkler@gnu.org>
7770
7771 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7772 Transcribe also LaTeX hyphenation.
7773 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7774 bibtex-reformat-previous-options.
7775
7776 2012-09-23 Roland Winkler <winkler@gnu.org>
7777
7778 * proced.el (proced-renice-command): New variable.
7779 (proced-marked-processes): New function.
7780 (proced-with-processes-buffer): New macro.
7781 (proced-send-signal): Use them.
7782 (proced-renice): New command bound to r.
7783
7784 2012-09-23 Roland Winkler <winkler@gnu.org>
7785
7786 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7787 ibuffer-saved-filter-groups has one element, shortcut the call of
7788 completing-read. (Bug#12331)
7789
7790 2012-09-23 Chong Yidong <cyd@gnu.org>
7791
7792 * bindings.el (mode-line-toggle-read-only):
7793 * bs.el (bs-toggle-readonly):
7794 * buff-menu.el (Buffer-menu-toggle-read-only):
7795 * dired.el (dired-toggle-read-only):
7796 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7797
7798 2012-09-23 Chong Yidong <cyd@gnu.org>
7799
7800 * image.el (image-type-available-p): Adapt to init-image-library
7801 argument changes.
7802
7803 2012-09-22 Juri Linkov <juri@jurta.org>
7804
7805 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7806 `dired-toggle-read-only'. (Bug#12462)
7807
7808 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7809
7810 * subr.el (temp-output-buffer-show): New function.
7811 (with-output-to-temp-buffer): Call temp-output-buffer-show
7812 instead of internal-temp-output-buffer-show.
7813
7814 2012-09-22 Chong Yidong <cyd@gnu.org>
7815
7816 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7817 (Bug#12462).
7818
7819 * repeat.el (repeat): Doc fix (Bug#12348).
7820
7821 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7822 (Bug#10909).
7823
7824 * simple.el (shell-command-on-region): Doc fix.
7825 (read-only-mode): Doc fix.
7826
7827 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7828
7829 * emacs-lisp/timer.el (run-with-idle-timer)
7830 (timer-activate-when-idle): Warn against reinvoking an idle timer
7831 from within its own timer action. (Bug#12447)
7832
7833 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7834
7835 * cus-start.el (window-combination-limit): Add new optional
7836 values.
7837 * window.el (temp-buffer-window-show)
7838 (window--try-to-split-window): Handle new values of
7839 window-combination-limit (Bug#1806).
7840 (split-window): Test window-combination-limit for t instead of
7841 non-nil.
7842 (display-buffer-at-bottom): New buffer display action function.
7843 * help.el (temp-buffer-resize-regexps): New option.
7844 (temp-buffer-resize-mode): Rewrite doc-string.
7845 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7846 Don't resize reused window. Suggested by Glenn Morris.
7847
7848 2012-09-22 Stefan Merten <smerten@oekonux.de>
7849
7850 * textmodes/rst.el: Revamp section title faces.
7851 (rst-official-version)
7852 (rst-package-emacs-version-alist): Sync with official version
7853 V1.4.0.
7854 (rst-faces-defaults, rst-set-level-default)
7855 (rst-level-face-max, rst-level-face-base-color)
7856 (rst-level-face-base-light, rst-level-face-format-light)
7857 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7858 (rst-adornment-faces-alist): Match new setup.
7859 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7860 (rst-level-5, rst-level-6): New faces.
7861
7862 2012-09-22 Chong Yidong <cyd@gnu.org>
7863
7864 * simple.el (undo): Handle indirect buffers (Bug#8207).
7865
7866 2012-09-21 Leo Liu <sdl.web@gmail.com>
7867
7868 IDO: Disable match re-ordering for buffer switching.
7869 * ido.el (ido-buffer-disable-smart-matches): New variable.
7870 (ido-set-matches-1): Use it. (Bug#2042)
7871
7872 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7873
7874 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7875 Fix 2011-05-17 change. (Bug#12418)
7876
7877 2012-09-21 Leo Liu <sdl.web@gmail.com>
7878
7879 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7880
7881 2012-09-21 Glenn Morris <rgm@gnu.org>
7882
7883 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7884 Be more robust about locating simple.el.
7885
7886 2012-09-21 Glenn Morris <rgm@gnu.org>
7887
7888 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7889
7890 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7891
7892 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7893
7894 2012-09-20 Juri Linkov <juri@jurta.org>
7895
7896 * replace.el (query-replace-read-from): Use `read-regexp' instead
7897 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7898 (occur-read-primary-args): Use `read-regexp' instead of
7899 `read-string'.
7900 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7901 `read-from-minibuffer'.
7902 * isearch.el (isearch-occur): Use `read-regexp' instead of
7903 `read-string'.
7904 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7905 `read-from-minibuffer'.
7906 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7907 of `read-string'. (Bug#7567)
7908
7909 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7910 and allow accepting a list of strings prepended to a list of
7911 standard default values. Doc fix. (Bug#12321)
7912
7913 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7914
7915 * replace.el (read-regexp): Don't add ": " when PROMPT already
7916 ends with a colon and space. (Bug#12321)
7917
7918 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7919
7920 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7921 error.
7922
7923 2012-09-20 Stefan Merten <smerten@oekonux.de>
7924
7925 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7926 Fixes feature request bug#11711.
7927 (rst-mode): Create `imenu-create-index-function'.
7928 (rst-get-stripped-line): Delete after refactoring.
7929 (rst-section-tree, rst-section-tree-rec)
7930 (rst-section-tree-point): Refactor and document properly.
7931 (rst-imenu-find-adornments-for-position)
7932 (rst-imenu-convert-cell, rst-imenu-create-index):
7933 New function.
7934
7935 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7938 (macroexp--expand-all): Use it.
7939 (macroexp--funcall-and-return): Remove by folding it into its sole
7940 caller (macroexp--warn-and-return).
7941 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7942 Use macroexp--obsolete-warning.
7943
7944 * calc/calc.el: Fix last change by removing the whole chunk, since it
7945 was only needed back when Calc was not bundled.
7946
7947 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7948
7949 * emacs-lisp/debug.el (debug): Restore assignment to
7950 debugger-old-buffer removed on 2012-09-08.
7951
7952 2012-09-20 Juri Linkov <juri@jurta.org>
7953
7954 * dired-aux.el (dired-diff): Remove (require 'diff) since
7955 `diff-latest-backup-file' is now autoloaded.
7956
7957 2012-09-20 Chong Yidong <cyd@gnu.org>
7958
7959 * vc/diff.el (diff-latest-backup-file): Autoload.
7960
7961 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * calc/calc.el: Remove redundant autoload shape check.
7964 (sel-mode): Don't defvar.
7965 (calc-get-stack-element): Add `sel-mode' arg instead.
7966 (calc-top, calc-top-list): Pass it this additional argument.
7967 * calc/calc-store.el (calc-store-map):
7968 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7969 (calc-map-equation, calc-outer-product, calc-inner-product):
7970 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7971
7972 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7973
7974 2012-09-19 Juri Linkov <juri@jurta.org>
7975
7976 * dired-aux.el (dired-diff): Add (require 'diff) because
7977 `diff-latest-backup-file' is not autoloaded.
7978 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7979 of `dired-get-filename' to t to not report error when there is
7980 no default file on the current line.
7981
7982 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7983
7984 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7985 macroexp--eval-if-compile.
7986 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7987 (macroexp--expand-all): Use them (bug#12371).
7988
7989 * doc-view.el (doc-view-guess-paper-size)
7990 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7991
7992 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7993
7994 New feature: set optimal slice from BoundingBox information.
7995 * doc-view.el (doc-view-mode-map): Add keybinding.
7996 (doc-view-menu): Add menu entry.
7997 (doc-view-set-slice): Adapt docstring.
7998 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7999 (doc-view-scale-bounding-box)
8000 (doc-view-set-slice-from-bounding-box): New functions.
8001 (doc-view-paper-sizes): New defvar.
8002
8003 2012-09-19 Glenn Morris <rgm@gnu.org>
8004
8005 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8006 (byte-compile-log-warning): Autoload. (Bug#12371)
8007
8008 * calendar/calendar.el (calendar-american-month-header)
8009 (calendar-european-month-header, calendar-iso-month-header)
8010 (calendar-month-header): New options.
8011 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8012 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8013
8014 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8015
8016 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8017
8018 2012-09-18 Juri Linkov <juri@jurta.org>
8019
8020 * dired-aux.el (dired-diff): Restore original functionality of
8021 getting the default value, but keep new feature of using the
8022 latest existing backup file (`diff-latest-backup-file').
8023
8024 2012-09-18 Juri Linkov <juri@jurta.org>
8025
8026 * dired.el (dired-mark): If the region is active in Transient Mark
8027 mode, mark all files in the active region. Doc fix.
8028 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8029 Doc fix. (Bug#10624)
8030
8031 2012-09-18 Juri Linkov <juri@jurta.org>
8032
8033 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8034 attributes for M-n are pulled from the file at point.
8035 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8036 Suggested by Drew Adams. (Bug#10624)
8037
8038 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8039
8040 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8041 whitespace after "end".
8042 (ruby-do-end-to-brace): Collapse block to one line if it fits
8043 within fill-column.
8044
8045 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8046
8047 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8048 value.
8049 (debug): Don't remove debugger window when debugger is expected
8050 to be back.
8051
8052 2012-09-18 Chong Yidong <cyd@gnu.org>
8053
8054 * custom.el (defface): Doc fix.
8055
8056 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8057
8058 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8059
8060 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8061 to initialize query-on-exit; then test that instead (bug#12288).
8062
8063 2012-09-17 Stefan Merten <smerten@oekonux.de>
8064
8065 * textmodes/rst.el: Add support for `testcover'.
8066 (rst-defcustom-testcover, rst-testcover-add-compose)
8067 (rst-testcover-add-1value): New functions.
8068 (rst-portable-mark-active-p): Replace by `use-region-p'.
8069 (rst-update-section, rst-classify-adornment)
8070 (rst-find-title-line): Mark `1value' forms.
8071 (rst-classify-adornment): Remove superfluous form.
8072 (rst-update-section, rst-get-adornments-around)
8073 (rst-adornment-complete-p, rst-get-next-adornment)
8074 (rst-adjust, rst-promote-region)
8075 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8076 (rst-find-pfx-in-region, rst-section-tree-rec)
8077 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8078 (rst-toc-node, rst-toc, rst-forward-section)
8079 (rst-iterate-leftmost-paragraphs)
8080 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8081 (rst-bullet-list-region)
8082 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8083 (rst-compile-find-conf, rst-compile)
8084 (rst-repeat-last-character): Fix style.
8085
8086 2012-09-17 Chong Yidong <cyd@gnu.org>
8087
8088 * comint.el (comint--complete-file-name-data): Don't add a space
8089 if the status is `sole'; that adds a gratuitous space in the
8090 completion-cycling case (Bug#12092).
8091
8092 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8093
8094 2012-09-17 Richard Stallman <rms@gnu.org>
8095
8096 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8097 only in the mime-shown mode, not in raw mode.
8098 (rmail-mime): Toggle off mime by displaying the message without
8099 mime processing. (Bug#12305)
8100
8101 * mail/rmail.el (rmail-retry-failure):
8102 Turn off mime processing first. (Bug#12037)
8103
8104 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8105
8106 2012-09-17 Chong Yidong <cyd@gnu.org>
8107
8108 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8109 (shell-dynamic-complete-functions): Convert to defcustom.
8110 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8111
8112 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8113 * comint.el (comint-prompt-read-only):
8114 * custom.el (defcustom):
8115 * hi-lock.el (hi-lock-mode):
8116 * ibuffer.el (ibuffer-formats):
8117 * ielm.el (ielm-prompt-read-only):
8118 * novice.el (disable-command):
8119 * saveplace.el (toggle-save-place):
8120 * speedbar.el (speedbar-supported-extension-expressions):
8121 * startup.el (auto-save-list-file-prefix, init-file-user)
8122 (after-init-hook, inhibit-startup-echo-area-message):
8123 * strokes.el (strokes-help):
8124 * time-stamp.el (time-stamp):
8125 * calendar/calendar.el (calendar, diary-file):
8126 * calendar/diary-lib.el (diary-mail-entries, diary)
8127 (diary-list-entries-hook):
8128 * calendar/holidays.el (holidays, calendar-holidays):
8129 * calendar/lunar.el (lunar-phases):
8130 * calendar/solar.el (sunrise-sunset):
8131 * emulation/edt.el (edt-load-keys):
8132 * emulation/viper.el (viper-mode):
8133 * eshell/em-alias.el (eshell-command-aliases-list):
8134 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8135 * international/ogonek.el (ogonek-information):
8136 * net/tramp-cmds.el (tramp-bug):
8137 * net/quickurl.el (quickurl-reread-hook-postfix):
8138 * play/decipher.el (decipher-font-lock-keywords):
8139 * progmodes/cc-styles.el (c-set-style):
8140 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8141 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8142 * progmodes/octave-mod.el (octave-mode):
8143 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8144 * progmodes/verilog-mode.el (verilog-read-defines):
8145 * textmodes/two-column.el (2C-mode): Likewise.
8146
8147 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8148
8149 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8150 that holds many addresses.
8151
8152 2012-09-16 Chong Yidong <cyd@gnu.org>
8153
8154 * align.el (align-areas): Call the indication function with
8155 positions instead of markers for arguments (Bug#12343).
8156
8157 * files.el (parse-colon-path): Use split-string (Bug#12351).
8158
8159 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8160 (display-buffer-function): Mark as obsolete.
8161
8162 * progmodes/compile.el (compilation-parse-errors): Accept list
8163 values similar to font-lock-keywords (Bug#12136).
8164 Suggested by Oleksandr Manzyuk.
8165 (compilation-error-regexp-alist): Doc fix.
8166
8167 2012-09-15 Glenn Morris <rgm@gnu.org>
8168
8169 * version.el (emacs-bzr-version-bzr): New function.
8170 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8171
8172 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8173 checkouts, check the parent dirstate matches the branch.
8174 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8175 empty string.
8176
8177 * version.el (emacs-bzr-version): Doc fix.
8178 (emacs-bzr-version-dirstate): New function.
8179 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8180 is local try and check that it matches the branch. If not, just
8181 use dirstate information. (Bug#12441)
8182
8183 2012-09-14 Juri Linkov <juri@jurta.org>
8184
8185 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8186 (Bug#12399)
8187
8188 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8191
8192 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8193 Remove obsolete byte-compiler hack that tried to silence some warnings.
8194 (edebug-submit-bug-report): Remove.
8195 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8196 Remove aliases, use the un-prefixed name instead.
8197 (edebug-pop-to-buffer): Consider other frames.
8198 (edebug-original-read):: Make it more obvious that it's always defined.
8199 (edebug--make-form-data-entry, edebug--form-data-name)
8200 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8201 single-dashed name, and implement with cl-defstruct.
8202 (edebug-set-form-data-entry): Use the standard accessors.
8203 (edebug-make-top-form-data-entry): Use push.
8204 (edebug-no-match): Drop useless `funcall'.
8205 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8206 to functions.
8207 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8208 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8209 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8210 (easy-menu-define, with-custom-print): Remove redundant specs.
8211 (edebug-outside-overriding-local-map)
8212 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8213 (edebug--display): Bind unread-command-events directly to nil rather
8214 than binding it to unread-command-events and later setting it to nil.
8215 (edebug--display): Kill edebug-eval-buffer here...
8216 (edebug--recursive-edit): ...rather than here.
8217 Bind standard-output and standard-input.
8218 (edebug-eval): Check cl-macroexpand-all is fboundp.
8219 (edebug-temp-display-freq-count): Fix last change.
8220
8221 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8222 * subr.el (noreturn, 1value): Add `debug' spec.
8223 * emacs-lisp/advice.el: Require cl-lib.
8224 (ad-copy-tree): Remove, use copy-tree instead.
8225 (ad-dolist): Remove use dolist or cl-dolist instead.
8226 (ad-do-return): Remove, use cl-return instead.
8227 (defadvice): Add `debug' spec.
8228
8229 2012-09-13 Juri Linkov <juri@jurta.org>
8230
8231 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8232 (Bug#12399)
8233
8234 2012-09-13 Glenn Morris <rgm@gnu.org>
8235
8236 * calc/calc.el (math-compose-expr):
8237 * calc/calc-ext.el (math-compose-expr):
8238 * progmodes/cc-defs.el (cl-macroexpand-all):
8239 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8240 (cl-macroexpand-all): Update declarations.
8241
8242 * vc/vc.el: No need to require ediff.
8243 (ediff-load-version-control): Declare.
8244 (ediff-vc-internal): Fix declaration.
8245 (vc-version-ediff): Require ediff.
8246
8247 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8248
8249 Use a more backwards-compatible timer format (Bug#12430).
8250 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8251 being right after USECS, as that better supports old code that
8252 inadvisedly looked directly at the timer vector.
8253
8254 2012-09-13 Kenichi Handa <handa@gnu.org>
8255
8256 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8257 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8258 `coding-priority' property of these language environment.
8259
8260 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8261
8262 Fix glitches caused by addition of psec to timers (Bug#12430).
8263 * image.el (image-animate-timer):
8264 * time.el (display-time-world-timer):
8265 Use timer--function and timer--args rather than raw access to
8266 timer vector.
8267
8268 2012-09-13 Glenn Morris <rgm@gnu.org>
8269
8270 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8271 If not compiling a file, try using load-file-name.
8272
8273 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8276 Fix last change.
8277 (edebug-update-eval-list): Use `push'.
8278
8279 * emacs-lisp/edebug.el: Use lexical-binding.
8280 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8281 Mark unused args with underscore.
8282 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8283 (edebug-form-data): Use defvar-local.
8284 (edebug-make-before-and-after-form, edebug-make-after-form):
8285 Use backquote.
8286 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8287 Not dynamically scoped any more.
8288 (edebug--enter-trace): Add arguments `function' and `args'.
8289 Rename from edebug-enter-trace.
8290 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8291 (edebug--update-coverage): Add `after-index' and `value' args.
8292 Rename from edebug-update-coverage.
8293 (edebug-slow-after): Call it accordingly.
8294 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8295 edebug-recursive-edit.
8296 (edebug--display): Call it accordingly. Add args `value',
8297 `offset-index', and `arg-mode'. Rename from edebug-display.
8298 (edebug-debugger, edebug): Call it accordingly.
8299 (edebug-eval-display-list): Use dolist.
8300
8301 2012-09-12 Juri Linkov <juri@jurta.org>
8302
8303 * info.el (Info-search): Don't check for isearch-mode and
8304 isearch-regexp before let-binding search-spaces-regexp to
8305 Info-search-whitespace-regexp.
8306 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8307 search-whitespace-regexp if isearch-lax-whitespace or
8308 isearch-regexp-lax-whitespace is non-nil.
8309 (Info-mode): Don't set local variable search-whitespace-regexp.
8310 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8311
8312 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8315 (debugger-env-macro): Remove support for unread-command-char.
8316
8317 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8318 the temporary map re-appearing on emulation-mode-map-alists.
8319
8320 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8321 since 22.1.
8322
8323 * ehelp.el (with-electric-help): Accept functions in
8324 electric-help-form-to-execute.
8325 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8326 And replace unread-command-char -> unread-command-events.
8327
8328 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8329
8330 Sync with Tramp 2.2.6.
8331
8332 * net/tramp.el (tramp-accept-process-output): Don't use
8333 JUST-THIS-ONE in the XEmacs case.
8334
8335 * net/trampver.el: Update release number.
8336
8337 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8338
8339 * emacs-lisp/debug.el (debugger-previous-window-height):
8340 New variable.
8341 (debug): When debugger-jumping-flag is non-nil try to restore
8342 height of debugger window. (Bug#8789)
8343
8344 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8347 overriding-local-map and pre/post-command-hook here.
8348 (edebug-recursive-edit): Do it here instead (bug#12345).
8349 (edebug-outside-unread-command-char): Remove all uses of
8350 unread-command-char.
8351
8352 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8353 inhibit-debugger is bound instead.
8354
8355 2012-09-11 Bastien Guerry <bzg@gnu.org>
8356
8357 * subr.el (set-temporary-overlay-map): Add a docstring.
8358 (Bug#12346)
8359
8360 2012-09-11 Bastien Guerry <bzg@gnu.org>
8361
8362 * minibuffer.el (completion-table-subvert): Fix docstring.
8363 (Bug#12347)
8364
8365 2012-09-11 Bastien Guerry <bzg@gnu.org>
8366
8367 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8368
8369 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8370
8371 * progmodes/sql.el: Version 3.1
8372 (sql-db2-escape-newlines): New variable.
8373 (sql-escape-newlines-filter): Use it.
8374
8375 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8376
8377 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8378
8379 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8380
8381 * vc/diff-mode.el (diff-mode-menu):
8382 Bind diff-remove-trailing-whitespace.
8383
8384 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8387 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8388 (emacs-lisp-byte-code-mode): New functions.
8389 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8390 (eval-defun-2): Remove bogus interactive spec.
8391 (lisp-indent-line): Remove redundant whole-exp code, now done in
8392 indent-according-to-mode.
8393 (save-match-data): Remove redundant indent data.
8394
8395 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8396 Use `declare'.
8397
8398 2012-09-09 Juri Linkov <juri@jurta.org>
8399
8400 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8401 (replace-lax-whitespace, query-replace-regexp)
8402 (query-replace-regexp-eval, replace-regexp): Doc fix.
8403 (perform-replace, replace-highlight): Let-bind
8404 isearch-lax-whitespace to replace-lax-whitespace and
8405 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8406
8407 * isearch.el (isearch-query-replace): Let-bind
8408 replace-lax-whitespace to isearch-lax-whitespace and
8409 replace-regexp-lax-whitespace to
8410 isearch-regexp-lax-whitespace. (Bug#10885)
8411
8412 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8415
8416 2012-09-09 Alan Mackenzie <acm@muc.de>
8417
8418 * progmodes/cc-engine.el (c-state-cache-init):
8419 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8420 (c-record-parse-state-state):
8421 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8422
8423 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8424
8425 * register.el (register-separator): Rename from
8426 separator-register. All uses changed. Doc fix.
8427 (register): Fix version.
8428
8429 2012-09-09 Chong Yidong <cyd@gnu.org>
8430
8431 * replace.el (query-replace-map): Bind four new symbols for
8432 requesting window scrolling.
8433
8434 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8435 query-replace-map (Bug#8948).
8436
8437 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8438
8439 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8440 since they are now in query-replace-map.
8441
8442 * window.el (scroll-other-window-down): Make the arg optional.
8443
8444 2012-09-09 Chong Yidong <cyd@gnu.org>
8445
8446 * files.el (hack-local-variables-confirm): Use quit-window to kill
8447 the *Local Variables* buffer.
8448
8449 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8450
8451 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8452 not just expect to be at its beginning. Adjust callees.
8453 Succeed when do-end block has no space before the pipe character.
8454 (ruby-brace-to-do-end): When the original block is one-liner,
8455 convert to multiline. Reindent the result.
8456
8457 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8458
8459 * register.el (register): New group.
8460 (separator-register): New user option.
8461 (increment-register): Route it to `append-to-register', if
8462 register contains text. Implication is that `C-x r +' can now be
8463 used for appending to a text register (bug#12217).
8464 (append-to-register, prepend-to-register): Add separator based on
8465 `separator-register'.
8466
8467 2012-09-08 Alan Mackenzie <acm@muc.de>
8468
8469 AWK Mode: make auto-newline work when there's "==" in the pattern.
8470 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8471 correctly.
8472 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8473 Test more rigorously for "=" token.
8474
8475 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8476
8477 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8478 Only fail when reached LIMIT.
8479
8480 2012-09-08 Chong Yidong <cyd@gnu.org>
8481
8482 * dired.el (dired-mode-map): Don't bind M-=.
8483
8484 * dired-aux.el (dired-diff): Use backup file as default.
8485
8486 2012-09-08 Drew Adams <drew.adams@oracle.com>
8487
8488 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8489
8490 2012-09-08 Chong Yidong <cyd@gnu.org>
8491
8492 * subr.el (syntax-after, syntax-class): Doc fix.
8493
8494 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8495
8496 * window.el (display-buffer-in-previous-window): New buffer
8497 display action function.
8498
8499 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8500 (debugger-previous-window): New variable.
8501 (debug): Rewrite using display-buffer-in-previous-window,
8502 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8503
8504 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8507
8508 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8509
8510 * progmodes/python.el (python-shell-send-string):
8511 When default-directory is remote, create temp file on remote
8512 filesystem.
8513 (python-shell-send-file): When file is remote, pass local view of
8514 file paths to remote Python interpreter. (Bug#12340)
8515
8516 2012-09-07 Chong Yidong <cyd@gnu.org>
8517
8518 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8519
8520 * files.el (after-find-file): Don't fail on a read-only buffer if
8521 require-final-newline is `visit' or `visit-save' (Bug#11156).
8522
8523 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8524
8525 * userlock.el (ask-user-about-supersession-threat):
8526 Use read-char-choice (Bug#12093).
8527
8528 2012-09-07 Chong Yidong <cyd@gnu.org>
8529
8530 * subr.el (buffer-narrowed-p): New function.
8531
8532 * ses.el (ses-widen):
8533 * simple.el (count-words--buffer-message):
8534 * net/browse-url.el (browse-url-of-buffer): Use it.
8535
8536 * simple.el (count-words-region): Don't signal an error if there
8537 is a non-nil prefix arg and the mark is not set.
8538
8539 * help.el (describe-key-briefly): Allow the message to be seen
8540 when invoked from the minibuffer (Bug#7014).
8541
8542 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8543
8544 * progmodes/ruby-mode.el (ruby-end-of-defun)
8545 (ruby-beginning-of-defun): Simplify, allow indentation before
8546 block beginning and end keywords.
8547 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8548 (ruby-end-of-defun): Expect that the point is at the beginning of
8549 the defun.
8550
8551 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8554 (bug#12367).
8555 (cl--make-usage-args): Strip _ from argument names.
8556
8557 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8558
8559 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8560 obsolete alias speedbar-key-map.
8561 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8562 (vhdl-index-menu-init): Don't use obsolete variable
8563 font-lock-maximum-size.
8564
8565 2012-09-06 Chong Yidong <cyd@gnu.org>
8566
8567 * frame.el (window-system-version): Mark as obsolete.
8568
8569 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8570 of obsolete variable speedbar-key-map.
8571
8572 2012-09-06 Juri Linkov <juri@jurta.org>
8573
8574 * replace.el (replace-lax-whitespace): New defcustom.
8575 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8576 (replace-string, replace-regexp): Mention it in docstrings.
8577 (perform-replace, replace-highlight): Let-bind
8578 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8579 to the values of replace-lax-whitespace and regexp-flag.
8580 Don't let-bind search-whitespace-regexp. (Bug#10885)
8581
8582 * isearch.el (isearch-query-replace): Let-bind
8583 replace-lax-whitespace instead of let-binding
8584 replace-search-function and replace-re-search-function.
8585 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8586 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8587 (isearch-toggle-symbol): Set isearch-regexp to nil
8588 in isearch-word mode (like in isearch-toggle-word).
8589
8590 2012-09-06 Juri Linkov <juri@jurta.org>
8591
8592 * replace.el (replace-search-function)
8593 (replace-re-search-function): Set default values to nil.
8594 (perform-replace): Let-bind isearch-related variables based on
8595 replace-related values, call `isearch-search-fun' and let-bind
8596 the result to `search-function'. Remove code that sets
8597 `search-function' and `search-string' separately for
8598 `delimited-flag'.
8599 (replace-highlight): Add new argument `delimited-flag' and
8600 rename other arguments to the names used in `perform-replace'.
8601 Let-bind `isearch-word' to the argument `delimited-flag'.
8602 (Bug#10885, bug#10887)
8603
8604 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8605
8606 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8607 ruby-beginning-of-indent, simplify, allow all keywords to have
8608 indentation before them.
8609 (ruby-beginning-of-indent): Adjust for above. Search until the
8610 found point is not inside a string or comment.
8611 (ruby-font-lock-keywords): Allow symbols to start with "@"
8612 character, give them higher priority than variables.
8613 (ruby-syntax-propertize-function)
8614 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8615 matchers. Expression expansions are not comments when inside a
8616 string, and there comment syntax status is irrelevant.
8617 (ruby-match-expression-expansion): New function. Check that
8618 expression expansion is inside a string, and it's not escaped.
8619 (ruby-font-lock-keywords): Use it.
8620
8621 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8622
8623 * help.el (temp-buffer-max-height): New default value.
8624 (temp-buffer-resize-frames): New option.
8625 (resize-temp-buffer-window): Optionally resize frame.
8626
8627 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8628 (fit-frame-to-buffer): New function.
8629
8630 2012-09-05 Glenn Morris <rgm@gnu.org>
8631
8632 * emulation/cua-rect.el (cua--init-rectangles):
8633 * textmodes/picture.el (picture-mode-map):
8634 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8635 like forward-char and backward-char. (Bug#12317)
8636
8637 2012-09-05 Leo Liu <sdl.web@gmail.com>
8638
8639 * progmodes/flymake.el (flymake-warning-re): New variable.
8640 (flymake-parse-line): Use it.
8641
8642 2012-09-05 Glenn Morris <rgm@gnu.org>
8643
8644 * calendar/holidays.el (holiday-christian-holidays):
8645 Rename an entry. (Bug#12289)
8646
8647 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8648
8649 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8650 (bug#12222).
8651
8652 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * loadup.el: Load macroexp. Remove hack.
8655 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8656 (macroexp--expand-all): Use it to get better warnings.
8657 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8658 (internal-macroexpand-for-load): New functions.
8659 (macroexp--pending-eager-loads): New var.
8660 (emacs-startup-hook): New hack to replace one in loadup.el.
8661 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8662 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8663 (cl-psetf): Simplify.
8664 (cl-defstruct): Add indent rule.
8665
8666 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8667
8668 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8669 over `user-mail-address' for the SMTP MAIL FROM envelope.
8670 (smtpmail-via-smtp): Ditto.
8671
8672 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8673
8674 * progmodes/ruby-mode.el: Clean up keybindings.
8675 (ruby-mode-map): Don't bind ruby-electric-brace,
8676 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8677 backward-kill-word, reindent-then-newline-and-indent.
8678 (ruby-mark-defun): Remove.
8679 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8680 (ruby-mode): Set local beginning-of-defun-function and
8681 end-of-defun-function values.
8682
8683 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8684
8685 * window.el (temp-buffer-window-setup-hook)
8686 (temp-buffer-window-show-hook): New hooks.
8687 (temp-buffer-window-setup, temp-buffer-window-show)
8688 (with-temp-buffer-window): New functions.
8689 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8690 (special-display-popup-frame): Make sure the window used shows BUFFER.
8691
8692 * help.el (temp-buffer-resize-mode): Fix doc-string.
8693 (resize-temp-buffer-window): New optional argument WINDOW.
8694
8695 * files.el (recover-file, save-buffers-kill-emacs):
8696 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8697
8698 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8699
8700 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8701 remote definition of `default-directory', ensure we can connect.
8702
8703 2012-09-02 Juri Linkov <juri@jurta.org>
8704
8705 Toggle whitespace matching mode with M-s SPC.
8706 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8707
8708 * isearch.el (search-whitespace-regexp): Doc fix.
8709 Remove cons cell customization.
8710 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8711 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8712 New variables.
8713 (isearch-forward, isearch-forward-regexp): Doc fix.
8714 (isearch-toggle-lax-whitespace): New command.
8715 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8716 (re-search-forward-lax-whitespace)
8717 (re-search-backward-lax-whitespace): New functions.
8718 (isearch-whitespace-regexp): Remove function.
8719 (isearch-query-replace): Let-bind replace-search-function and
8720 replace-re-search-function.
8721 (isearch-occur): Let-bind search-spaces-regexp according to the
8722 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8723 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8724 condition for C-q SPC.
8725 (isearch-search-fun-default): Use new functions mentioned above.
8726 (isearch-search-forward, isearch-search-backward): Remove functions.
8727 (isearch-search): Don't let-bind search-spaces-regexp.
8728 (isearch-lazy-highlight-space-regexp): Remove variable.
8729 (isearch-lazy-highlight-lax-whitespace)
8730 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8731 (isearch-lazy-highlight-new-loop): Use them.
8732 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8733
8734 2012-09-02 Chong Yidong <cyd@gnu.org>
8735
8736 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8737
8738 2012-09-02 Glenn Morris <rgm@gnu.org>
8739
8740 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8741
8742 2012-09-01 Glenn Morris <rgm@gnu.org>
8743
8744 * term.el: Tidy up menu definitions.
8745 (term-mode-map): Use easymenu for In/Out, Complete menus.
8746 (term-pager-break-map): Initialize in the defvar.
8747 (term-terminal-menu, term-signals-menu): Define with easymenu.
8748 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8749 (term-pager-menu): New, extracted from term-process-pager.
8750 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8751 (term-update-mode-line): Propertize line/char and page items.
8752 (term-process-pager): Move keymap initialization elsewhere.
8753
8754 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8755
8756 * window.el (switch-to-prev-buffer): Handle additional values of
8757 BURY-OR-KILL argument. Don't switch in minibuffer window.
8758 (switch-to-next-buffer): Don't switch in minibuffer window.
8759 (quit-restore-window): New function based on quit-window.
8760 Handle additional values of former KILL argument.
8761 (quit-window): Call quit-restore-window with appropriate
8762 interpretation of KILL argument.
8763 (display-buffer-below-selected): New buffer display action
8764 function.
8765
8766 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8767
8768 * minibuffer.el (completion-at-point-functions): Complete docstring
8769 (bug#12254).
8770
8771 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8772
8773 Better seed support for (random).
8774 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8775 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8776 * play/mpuz.el, play/tetris.el, play/zone.el:
8777 * calc/calc-comb.el (math-init-random-base):
8778 * play/blackbox.el (bb-init-board):
8779 * play/life.el (life):
8780 * server.el (server-use-tcp):
8781 * type-break.el (type-break):
8782 Remove unnecessary call to (random t).
8783 * net/sasl.el (sasl-unique-id-function):
8784 Change (random t) to (random), now that the latter is more random.
8785 * play/life.el (life-initialized): Remove no-longer-needed var.
8786
8787 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8788
8789 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8790 Consider frame's buffer predicate when choosing the buffer.
8791 (Bug#12081)
8792
8793 2012-08-30 Richard Stallman <rms@gnu.org>
8794
8795 * simple.el (special-mode-map): Delete binding for `z'.
8796
8797 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8798
8799 * progmodes/compile.el (compilation-always-kill): Doc fix.
8800
8801 2012-08-30 Chong Yidong <cyd@gnu.org>
8802
8803 * window.el (display-buffer-reuse-frames): Make the obsolescence
8804 message more informative.
8805
8806 2012-08-30 Glenn Morris <rgm@gnu.org>
8807
8808 * paren.el (show-paren-delay):
8809 Add a :set function. Doc fix. (Bug#12297)
8810
8811 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8812
8813 * progmodes/compile.el (compilation-always-kill): New var.
8814 (compilation-start): Use it.
8815
8816 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8817
8818 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8819 * files.el (read-only-mode): Move to simple.el.
8820
8821 * files.el (read-only-mode): New minor mode.
8822 (toggle-read-only): Use it and mark obsolete.
8823 (find-file--read-only):
8824 * vc/vc.el (vc-next-action, vc-checkout):
8825 * vc/vc-cvs.el (vc-cvs-checkout):
8826 * obsolete/vc-mcvs.el (vc-mcvs-update):
8827 * ffap.el (ffap--toggle-read-only): Update callers.
8828
8829 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8830
8831 * eshell/esh-ext.el (eshell-external-command): Do not examine
8832 remote shell scripts.
8833 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8834
8835 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8836 "/usr/local/sbin".
8837
8838 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8841
8842 2012-08-28 Leo Liu <sdl.web@gmail.com>
8843
8844 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8845 completion-at-point. (Bug#12220)
8846
8847 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8848
8849 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8850
8851 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8854 be buffer-local; add delete-trailing-whitespace (bug#12259).
8855
8856 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8857
8858 * progmodes/hideif.el (hif-compress-define-list):
8859 Fix typo. (Bug#11951)
8860
8861 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8862
8863 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8864 buffer local setting.
8865
8866 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8867 rcirc-encode-coding-system.
8868
8869 2012-08-28 Leo Liu <sdl.web@gmail.com>
8870
8871 * net/rcirc.el (rcirc-split-message): New function.
8872 (rcirc-send-message): Use it. (Bug#12051)
8873
8874 2012-08-28 Juri Linkov <juri@jurta.org>
8875
8876 * info.el (Info-fontify-node): Hide empty lines at the end of
8877 the node. (Bug#12272)
8878
8879 2012-08-27 Drew Adams <drew.adams@oracle.com>
8880
8881 * dired.el (dired-pop-to-buffer): Make window start at beginning
8882 of buffer (Bug#12281).
8883
8884 2012-08-26 Chong Yidong <cyd@gnu.org>
8885
8886 * window.el (special-display-regexps, special-display-frame-alist)
8887 (special-display-buffer-names, special-display-function)
8888 (display-buffer-reuse-frames): Mark as obsolete.
8889
8890 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8891
8892 * help.el (help-print-return-message): Don't treat
8893 display-buffer-reuse-frames specially.
8894
8895 2012-08-26 Chong Yidong <cyd@gnu.org>
8896
8897 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8898 New variable, replacing gdb-frame-parameters.
8899 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8900 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8901 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8902 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8903 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8904 the functions directly with gdb-display-buffer-other-frame-action.
8905 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8906 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8907 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8908 (gdb-display-registers-buffer): Define directly.
8909 (def-gdb-display-buffer): Macro deleted.
8910 (gdb-display-buffer): Remove second and third args, callers don't
8911 use them. Defer to the default display-buffer behavior, apart
8912 from making windows dedicated.
8913 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8914
8915 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8916
8917 * window.el (display-buffer-pop-up-frame): Handle a
8918 pop-up-frame-parameters alist entry.
8919 (display-buffer): Document it.
8920
8921 2012-08-26 Chong Yidong <cyd@gnu.org>
8922
8923 * isearch.el (search-whitespace-regexp): Make string and nil
8924 values apply to both ordinary and regexp search. Allow a cons
8925 cell value to distinguish between the two.
8926 (isearch-whitespace-regexp, isearch-search-forward)
8927 (isearch-search-backward): New functions.
8928 (isearch-occur, isearch-search-fun-default, isearch-search)
8929 (isearch-lazy-highlight-new-loop): Use them.
8930 (isearch-forward, isearch-forward-regexp): Doc fix.
8931
8932 2012-08-26 Chong Yidong <cyd@gnu.org>
8933
8934 * faces.el (help-argument-name): Always inherit from italic
8935 (Bug#12213).
8936
8937 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8938
8939 * window.el (window--even-window-heights): Even heights when
8940 WINDOW and the selected window form a vertical combination.
8941 (display-buffer-use-some-window): Provide that window used gets
8942 sized back by quit-window. (Bug#11880) and (Bug#12091)
8943
8944 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8945
8946 Fix file time stamp problem with bzr and CVS (Bug#12001).
8947 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8948 in the file's time stamp, since the version control system loses
8949 that information.
8950
8951 2012-08-22 Juri Linkov <juri@jurta.org>
8952
8953 * info.el (Info-fontify-node): Hide the suffix of the
8954 Info file name in the header line. (Bug#12187)
8955
8956 2012-08-22 Glenn Morris <rgm@gnu.org>
8957
8958 * calendar/cal-tex.el (cal-tex-weekly-common):
8959 Restore leading blank page.
8960
8961 2012-08-22 Le Wang <l26wang@gmail.com>
8962
8963 * misc.el (forward-to-word, backward-to-word): Activate or extend
8964 the region under `shift-select-mode'. (Bug#12231)
8965
8966 2012-08-22 Bastien Guerry <bzg@gnu.org>
8967
8968 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8969 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8970 gives details on why the space is never needed.
8971
8972 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8973
8974 * window.el (walk-window-tree, window-with-parameter):
8975 New optional argument MINIBUF to control whether these functions
8976 should run on the minibuffer window.
8977 (window-at-side-list): Don't operate on minibuffer window.
8978 (window-in-direction): Simplify and rewrite doc-string.
8979 (window--size-ignore): Rename to window--size-ignore-p.
8980 Update callers.
8981 (display-buffer-in-atom-window, window--major-non-side-window)
8982 (window--major-side-window, display-buffer-in-major-side-window)
8983 (delete-side-window, display-buffer-in-side-window):
8984 New functions.
8985 (window--side-check, window-deletable-p, delete-window)
8986 (delete-other-windows, split-window): Handle side windows and
8987 atomic windows appropriately.
8988 (window--display-buffer): Call display-buffer-record-window also
8989 when the window buffer did not change.
8990
8991 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8992
8993 * help-fns.el (help-fns--key-bindings):
8994 Abbreviate non-symbol remap targets. (Bug#12174)
8995
8996 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8997
8998 * dired.el (dired-mark-remembered): Don't clobber point.
8999 (Bug#11795)
9000
9001 2012-08-22 Glenn Morris <rgm@gnu.org>
9002
9003 * progmodes/bug-reference.el (bug-reference): New custom group.
9004 (bug-reference-bug-regexp): Make it a defcustom.
9005
9006 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9007
9008 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9009 (js-paren-indent-offset, js-square-indent-offset)
9010 (js-curly-indent-offset): Add :safe (Bug#12257).
9011
9012 2012-08-22 Edward O'Connor <hober0@gmail.com>
9013
9014 * json.el (json-key-format): Add error properties.
9015 (json-encode-key): New function.
9016 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9017 Use json-encode-key.
9018
9019 2012-08-22 Glenn Morris <rgm@gnu.org>
9020
9021 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9022 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9023 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9024 Update for above change.
9025
9026 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9027
9028 * cus-face.el (custom-face-attributes): Fix customize type for the
9029 :underline attribute. (Bug#11805)
9030
9031 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9032
9033 * window.el (window-point-1, set-window-point-1): Remove.
9034 (window-in-direction, record-window-buffer)
9035 (set-window-buffer-start-and-point, split-window-below)
9036 (window--state-get-1, display-buffer-record-window):
9037 Replace calls to window-point-1 and set-window-point-1 by calls to
9038 window-point and set-window-point respectively.
9039
9040 2012-08-21 Glenn Morris <rgm@gnu.org>
9041
9042 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9043 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9044 Use it.
9045
9046 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9047 (cal-tex-shortday): New function.
9048 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9049 (cal-tex-cursor-filofax-daily): Use the above.
9050
9051 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9052 New functions.
9053 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9054 (cal-tex-cursor-filofax-week): Use them.
9055
9056 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9057 New constants.
9058 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9059 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9060
9061 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9062 (cal-tex-end-document): Don't rely on buffer name.
9063
9064 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9065 Use cal-tex-vspace.
9066 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9067 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9068 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9069 Use cal-tex-arg.
9070
9071 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9072 (cal-tex-cursor-week, cal-tex-cursor-week2)
9073 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9074 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9075 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9076 (cal-tex-insert-preamble, cal-tex-b-document)
9077 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9078 Improve cal-tex-cmd usage.
9079
9080 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9081 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9082 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9083 (cal-tex-weekly-paper): New function.
9084 (cal-tex-cursor-week, cal-tex-cursor-week2)
9085 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9086 (cal-tex-cursor-day): Use it.
9087
9088 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9089 (cal-tex-cursor-filofax-week): Remove leading blank page.
9090
9091 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9092 Add autoload cookie. For now at least, don't use color, since
9093 no other cal-tex function does.
9094
9095 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9096 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9097 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9098
9099 2012-08-21 Juri Linkov <juri@jurta.org>
9100
9101 * info.el (Info-file-attributes): New variable.
9102 (info-insert-file-contents): Add file attributes to
9103 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9104 `Info-toc-nodes' when previous modtime of the Info file is less
9105 than new modtime.
9106 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9107 of info.el. (Bug#12230)
9108
9109 2012-08-20 Glenn Morris <rgm@gnu.org>
9110
9111 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9112 * calendar/holidays.el (calendar-holiday-list):
9113 Report errors with display-warning rather than beep'n'sleep.
9114
9115 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9116
9117 * net/tramp.el (tramp-accept-process-output): Accept only output
9118 from PROC. Otherwise, process filters and sentinels might be
9119 confused. (Bug#12145)
9120
9121 2012-08-20 Chong Yidong <cyd@gnu.org>
9122
9123 * descr-text.el (describe-text-properties-1): Use overlays-in to
9124 report on empty overlays (Bug#3322).
9125
9126 2012-08-20 Glenn Morris <rgm@gnu.org>
9127
9128 * mail/rmailout.el (rmail-output-read-file-name):
9129 Trap and report errors in rmail-output-file-alist elements.
9130
9131 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9132 since most non-font-lock faces are not also variables).
9133
9134 2012-08-20 Edward Reingold <reingold@iit.edu>
9135
9136 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9137 New function. (Bug12160)
9138
9139 2012-08-19 Glenn Morris <rgm@gnu.org>
9140
9141 * mail/rmailout.el (rmail-output-read-file-name):
9142 Fix previous change (when the alist is nil or does not match).
9143
9144 2012-08-19 Chong Yidong <cyd@gnu.org>
9145
9146 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9147 (Bug#12228).
9148
9149 2012-08-18 Chong Yidong <cyd@gnu.org>
9150
9151 * simple.el (yank-handled-properties): New defcustom.
9152 (yank-excluded-properties): Add font-lock-face and category.
9153 (yank): Doc fix.
9154
9155 * subr.el (remove-yank-excluded-properties):
9156 Obey yank-handled-properties. The special handling of font-lock-face
9157 and category is now done this way, instead of being hard-coded.
9158 (insert-for-yank-1): Remove font-lock-face handling.
9159 (yank-handle-font-lock-face-property)
9160 (yank-handle-category-property): New function.
9161
9162 2012-08-17 Glenn Morris <rgm@gnu.org>
9163
9164 * mail/rmailout.el (rmail-output-read-file-name):
9165 Check rmail-output-file-alist against the full message body
9166 in the correct rmail buffer. (Bug#12214)
9167
9168 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9169
9170 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9171 Eliminate superfluous prompt. (Bug#12203)
9172
9173 2012-08-17 Chong Yidong <cyd@gnu.org>
9174
9175 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9176 font spec, set the font directly (Bug#3228).
9177
9178 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9179
9180 * window.el (delete-window): Fix last fix.
9181
9182 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9183
9184 * window.el (window-valid-p): Move to window.c.
9185 (window-child, window-child-count, window-last-child)
9186 (window-normalize-window, window-combined-p)
9187 (window-combinations, window-atom-root, window-min-size)
9188 (window-sizable, window-sizable-p, window-size-fixed-p)
9189 (window-min-delta, window-max-delta, window--resizable)
9190 (window--resizable-p, window-resizable, window-total-size)
9191 (window-full-height-p, window-full-width-p, window-body-size)
9192 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9193 (minimize-window, window-deletable-p, delete-window)
9194 (delete-other-windows, set-window-buffer-start-and-point)
9195 (next-buffer, previous-buffer, split-window, balance-windows-2)
9196 (set-window-text-height, window-buffer-height)
9197 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9198 (truncated-partial-width-window-p): Minor code adjustments.
9199 In doc-strings state whether the argument window has to denote a
9200 live, valid or any window.
9201
9202 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9203
9204 * progmodes/subword.el (subword-forward-function)
9205 (subword-backward-function, subword-forward-regexp)
9206 (subword-backward-regexp): New variables.
9207 (subword-forward, subword-forward-internal, subword-backward-internal):
9208 Use new variables, eg so that different "word" definitions
9209 can be easily used. (Bug#11411)
9210
9211 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9212
9213 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9214 for composite selectors.
9215 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9216 operation just because we can't find a previous revision.
9217
9218 2012-08-15 Chong Yidong <cyd@gnu.org>
9219
9220 * frame.el (set-frame-font): Accept font objects.
9221
9222 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9225
9226 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9227
9228 * man.el (Man-overstrike-face, Man-underline-face)
9229 (Man-reverse-face): Remove variables.
9230 (Man-overstrike, Man-underline, Man-reverse): New faces.
9231 (Man-fontify-manpage): Use them instead of the variables.
9232 (Man-cleanup-manpage): Comment change.
9233 (Man-ansi-color-map): New variable.
9234 (Man-fontify-manpage): Use it.
9235 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9236
9237 Implement ANSI SGR parameters 22-27 (bug#12146).
9238 * ansi-color.el (ansi-colors): Doc fix.
9239 (ansi-color-context, ansi-color-context-region): Doc fix.
9240 (ansi-color--find-face): New function.
9241 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9242 Rename the local variable `face' to `codes' since it is now a list of
9243 ansi codes. Doc fix.
9244 (ansi-color-get-face): Remove.
9245 (ansi-color-parse-sequence): New function, derived from
9246 ansi-color-get-face.
9247 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9248 codes 22-27.
9249
9250 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9251
9252 * subr.el (read-passwd): Allow use from a minibuffer.
9253
9254 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9255
9256 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9257 inside comments and strings as identifiers.
9258
9259 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9260 expression to evaluate. This allows to evaluate expressions with
9261 embedded whitespace.
9262 (gud-tooltip-tips): Add a blank before the newline in the
9263 message-box text, for the benefit of message-box emulation on
9264 MS-Windows.
9265
9266 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9267 messages from GDB, pop them up in a tooltip to give feedback to
9268 user.
9269 (gdb-tooltip-print-1): Quote the expression to evaluate.
9270 This allows to evaluate expressions with embedded whitespace.
9271 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9272 if the TTY name is nil or empty (which happens when communicating
9273 with the inferior via pipes, e.g. on MS-Windows).
9274 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9275 don't send that to the GUD buffer.
9276
9277 2012-08-14 Glenn Morris <rgm@gnu.org>
9278
9279 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9280 Optimize away setq-default with no args, as for setq. (Bug#12195)
9281
9282 2012-08-14 Chong Yidong <cyd@gnu.org>
9283
9284 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9285
9286 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9287 (Bug#12085).
9288
9289 2012-08-14 Glenn Morris <rgm@gnu.org>
9290
9291 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9292
9293 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9294
9295 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9296 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9297 Use cached shell name.
9298
9299 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9300
9301 * progmodes/python.el (python-shell-send-string):
9302 (python-shell-send-setup-code): Do not use `format' with `message'.
9303
9304 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9305
9306 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9307 (ruby-percent-literal-beg-re): New constant.
9308 (ruby-syntax-general-delimiters-goto-beg): Rename to
9309 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9310 (ruby-syntax-propertize-general-delimiters): Rename to
9311 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9312 popular term. Adjust comments everywhere.
9313 (ruby-syntax-propertize-percent-literal): Only propertize when not
9314 inside a simple string or comment. When the literal is unclosed,
9315 leave the text after it unpropertized.
9316 (ruby-syntax-methods-before-regexp): New constant.
9317 (ruby-syntax-propertize-function): Use it to recognize regexps.
9318 Don't look at the text after regexp, just use the whitelist.
9319
9320 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9321
9322 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9323 non-nil always load the compiled file if it exists. (Bug#12197)
9324
9325 2012-08-14 Chong Yidong <cyd@gnu.org>
9326
9327 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9328 (hi-lock-set-pattern): When deciding whether to use font lock or
9329 overlays, look at font-lock-mode instead of font-lock-fontified
9330 (Bug#12168).
9331 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9332 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9333
9334 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9335
9336 * subr.el (internal--after-with-selected-window): Fix typo
9337 (Bug#12193).
9338
9339 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9340
9341 Use `completion-table-dynamic' for completion functions.
9342 * progmodes/python.el
9343 (python-shell-completion--do-completion-at-point)
9344 (python-shell-completion--get-completions):
9345 Remove functions.
9346 (python-shell-completion-complete-at-point): New function.
9347 (python-completion-complete-at-point): Use it.
9348
9349 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9350
9351 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9352 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9353
9354 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9355
9356 * subr.el (function-get): Refine `autoload' arg so it can also
9357 autoload functions for gv.el (bug#12191).
9358 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9359 autoloads macros.
9360
9361 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9362 Prefer pcase-let over destructuring-bind.
9363 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9364 Also, remove whitespace as we go, rather than after accumulating the
9365 various places.
9366
9367 * subr.el (internal--before-with-selected-window)
9368 (internal--after-with-selected-window): Fix typo seleted->selected.
9369 (with-selected-window): Adjust callers.
9370 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9371
9372 2012-08-13 Bastien Guerry <bzg@gnu.org>
9373
9374 * window.el (special-display-popup-frame): Minor docstring
9375 enhancement. (Bug#12172)
9376
9377 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9378
9379 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9380 type 1-6.
9381 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9382 extended headers.
9383
9384 * files.el (hack-local-variables-filter): Remove useless eval.
9385
9386 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9387
9388 * subr.el (with-selected-window): Fix last change.
9389
9390 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9391
9392 * subr.el (internal--before-with-seleted-window)
9393 (internal--after-with-seleted-window): New functions.
9394 (with-selected-window): Use them, to replace dependency on
9395 tty-top-frame.
9396
9397 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9398
9399 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9400 binding for `newline'.
9401 (ruby-move-to-block): When moving backward, stop at block opening,
9402 not indentation.
9403 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9404 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9405 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9406 `ruby-toggle-block'.
9407
9408 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9409
9410 * ibuffer.el (ibuffer-do-toggle-read-only):
9411 * dired.el (dired-toggle-read-only):
9412 * buff-menu.el (Buffer-menu-toggle-read-only):
9413 * bindings.el (mode-line-toggle-read-only):
9414 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9415
9416 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9417
9418 * descr-text.el (describe-char): Put the overlays over the
9419 "displayed as" character.
9420
9421 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9422
9423 * calc/calc-units.el (math-default-units-table): Give an
9424 initial value.
9425 (math-put-default-units): Add options to put composite units and
9426 unit systems in the default units table.
9427 (calc-convert-units): Send composite units to
9428 `math-put-default-units' when appropriate.
9429
9430 2012-08-11 Glenn Morris <rgm@gnu.org>
9431
9432 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9433
9434 * tutorial.el (help-with-tutorial):
9435 * emacs-lisp/copyright.el (copyright-update-directory):
9436 * emacs-lisp/autoload.el (autoload-find-generated-file)
9437 (autoload-find-file): Disable local eval: (for insurance).
9438
9439 * files.el (hack-local-variables-filter): If an eval: form is not
9440 known to be safe, and enable-local-variables is :safe, then ignore
9441 the form totally, as is done for non-eval forms. (Bug#12155)
9442 This is CVE-2012-3479.
9443
9444 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9445
9446 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9447 (rx-form): Simplify.
9448
9449 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9450
9451 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9452 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9453 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9454 (ruby-syntax-propertize-function): Adjust for changes in
9455 `ruby-syntax-propertize-heredoc'.
9456
9457 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9458
9459 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9460 binding (use `M-;' instead).
9461 (ruby-singleton-class-p): New function.
9462 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9463
9464 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9467
9468 2012-08-10 Chong Yidong <cyd@gnu.org>
9469
9470 * progmodes/python.el (python-shell-get-process-name): Don't mess
9471 with same-window-buffer-names.
9472
9473 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9474 (eshell-remove-from-window-buffer-names): Make obsolete.
9475 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9476 (eshell): Just use pop-to-buffer-same-window instead.
9477
9478 2012-08-10 Chong Yidong <cyd@gnu.org>
9479
9480 * bindings.el: Bind M-= back to count-words-region.
9481
9482 * simple.el (count-words-region): Accept a prefix arg for acting
9483 on the entire buffer.
9484 (count-words--buffer-message): New helper function.
9485
9486 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9489 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9490 (event-start, event-end): Use posn-at-point to return a more
9491 informative posn.
9492 (posnp): New function.
9493 * mouse.el (popup-menu-normalize-position): Use it.
9494
9495 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9496
9497 * mouse.el (popup-menu-normalize-position): New function.
9498 (popup-menu): Use `popup-menu-normalize-position' to normalize
9499 the form for POSITION argument.
9500
9501 * term/x-win.el (x-menu-bar-open):
9502 Use the value returend from (posn-at-point) as position
9503 passed to `popup-menu'.
9504
9505 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9506
9507 * calc/calccomp.el (math-compose-expr): Add extra argument
9508 indicating that parentheses should be put around products in
9509 denominators. Give multiplication precedence over division during
9510 composition.
9511
9512 2012-08-09 Chong Yidong <cyd@gnu.org>
9513
9514 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9515 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9516 (Man-untabify-command, manual-program): Convert to defcustom
9517 (Bug#10429).
9518
9519 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9520
9521 * descr-text.el (describe-char): Don't insert extra newlines
9522 (Bug#10127).
9523
9524 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9525 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9526
9527 * align.el (align-region): Delete temporary markers (Bug#10047).
9528 Plus some code cleanups.
9529
9530 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9531
9532 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9533 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9534 (python-shell-internal-last-output): Use make-local-variable
9535 instead of make-variable-buffer-local.
9536
9537 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9538
9539 * progmodes/python.el: Enhancements to forward-sexp.
9540 (python-nav-forward-sexp): Rename from
9541 python-nav-forward-sexp-function.
9542 (python-nav--forward-sexp, python-nav--backward-sexp):
9543 New functions.
9544
9545 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9546
9547 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9548 modes and simplification modes.
9549
9550 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9551
9552 * delsel.el (delete-selection-pre-hook): Don't propagate the
9553 file-supersession signals (bug#12161).
9554
9555 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9556
9557 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9558 (cl-map-extents): Add compatibility aliases (bug#12135).
9559
9560 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9561
9562 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9563 tests by `ignore-error'.
9564 (tramp-find-shell): Open also a new shell, when cache is already
9565 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9566
9567 2012-08-08 Juri Linkov <juri@jurta.org>
9568
9569 * bookmark.el: Add `defaults' property to the bookmark record.
9570 (bookmark-current-buffer): Doc fix.
9571 (bookmark-make-record): Add `defaults' property with default values
9572 to the bookmark record.
9573 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9574 with `bookmark-insert-current-bookmark'.
9575 (bookmark-set): Get `defaults' property from the bookmark record
9576 and use it in `read-from-minibuffer'.
9577 (bookmark-insert-current-bookmark): Remove function.
9578
9579 * info.el (Info-bookmark-make-record): Add `defaults' property
9580 with values of canonical Info node name, the current Info file
9581 name and the current Info node name. (Bug#12107)
9582
9583 2012-08-08 Juri Linkov <juri@jurta.org>
9584
9585 * files.el (basic-save-buffer): Use `buffer-name' as the default
9586 of `read-file-name' when buffer is not visiting a file (bug#12128).
9587
9588 2012-08-08 Juri Linkov <juri@jurta.org>
9589
9590 * info.el (Info-isearch-search): Doc fix.
9591 (Info-search): Change search-failed message from "initial node" to
9592 "end of node" (bug#12078).
9593 (Info-isearch-search): Change `isearch-string-state' to
9594 `isearch--state-string'.
9595
9596 2012-08-08 Glenn Morris <rgm@gnu.org>
9597
9598 * language/persian.el: Remove file.
9599 * language/misc-lang.el: Move unique part of persian.el here.
9600 * loadup.el: Remove language/persian.
9601
9602 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9603
9604 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9605
9606 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9607
9608 * progmodes/python.el: Fix defsubst warning.
9609 (python-syntax-context) Rename from python-info-ppss-context.
9610 (python-syntax-context-type): Rename from
9611 python-info-ppss-context-type.
9612 (python-syntax-comment-or-string-p): Rename from
9613 python-info-ppss-comment-or-string-p.
9614
9615 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9616
9617 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9618
9619 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9620
9621 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9622 a defcustom that is quoted with backquote.
9623
9624 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9625 Fix handling of interactive spec when the body uses return.
9626 (math-do-arg-check, math-define-function-body): Use backquote forms.
9627 * calc/calc-ext.el (math-defcache): Likewise.
9628 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9629 * allout.el (allout-new-exposure): Likewise.
9630 * calc/calcalg2.el (math-tracing-integral): Likewise.
9631 * info.el (Info-last-menu-item): Likewise.
9632 * emulation/vip.el (vip-loop): Likewise.
9633 * textmodes/artist.el (artist-funcall): Likewise.
9634 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9635 Construct menu-item directly.
9636
9637 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9638 Don't declare.
9639
9640 2012-08-07 Chong Yidong <cyd@gnu.org>
9641
9642 * simple.el (deactivate-mark): Preserve text properties when
9643 saving the primary selection (Bug#8384).
9644
9645 2012-08-07 Kevin Ryde <user42@zip.com.au>
9646
9647 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9648 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9649 and continue processing (Bug#12110).
9650
9651 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9654 syntax-propertize-function (bug#10095).
9655
9656 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9657
9658 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9659 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9660 describe-function-1.
9661 (describe-function-1): Use them. Move compiler macro after sig.
9662 (help-fns--compiler-macro): Use function-get. Assume we're already in
9663 standard-output. Adjust layout to new call order.
9664
9665 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9666 re-binding a symbol that has a symbol-macro (bug#12119).
9667
9668 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9669
9670 * language/persian.el: New file. (Bug#11812)
9671 * loadup.el: Add language/persian.el.
9672
9673 2012-08-06 Chong Yidong <cyd@gnu.org>
9674
9675 * window.el (window--maybe-raise-frame): New function.
9676 (window--display-buffer): Split off from here.
9677 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9678 (display-buffer-pop-up-window, display-buffer-use-some-window):
9679 Obey an inhibit-switch-frame action alist entry.
9680 (display-buffer): Update doc.
9681
9682 * replace.el (occur-after-change-function): Avoid losing focus by
9683 using the inhibit-switch-frame display parameter (Bug#12139).
9684
9685 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9686
9687 Make internal shell process buffer names start with space.
9688 * progmodes/python.el (python-shell-make-comint): Add optional
9689 argument INTERNAL.
9690 (run-python-internal): Use it.
9691 (python-shell-internal-get-or-create-process): Check for new
9692 internal buffer names.
9693
9694 2012-08-06 Glenn Morris <rgm@gnu.org>
9695
9696 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9697 Do less getting and setting of environment variables.
9698
9699 2012-08-05 Chong Yidong <cyd@gnu.org>
9700
9701 * proced.el (proced): Add substitution string to docstring to
9702 trigger autoloading of the proced library on C-h f (Bug#1768).
9703
9704 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9705 Don't show defvars which have no second argument (Bug#8638).
9706
9707 * imenu.el (imenu-generic-expression): Move documentation here
9708 from imenu--generic-function.
9709 (imenu--generic-function): Refer to imenu-generic-expression.
9710
9711 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9712
9713 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9714 indentation declaration.
9715 (viper-loop): Add indentation declaration (Bug#7025).
9716
9717 2012-08-05 Chong Yidong <cyd@gnu.org>
9718
9719 * help-fns.el (describe-variable): Add hyperlink for
9720 directory-local variables files. Improve buffer-local and
9721 permanent-local reporting; suggested by MON KEY (Bug#6644).
9722
9723 * help-mode.el (help-dir-local-var-def): New button type.
9724
9725 * files.el (kill-buffer-hook): Provide a defvar.
9726
9727 2012-08-05 Glenn Morris <rgm@gnu.org>
9728
9729 * eshell/esh-ext.el (eshell/addpath):
9730 Also update eshell-path-env. (Bug#12013)
9731
9732 2012-08-05 Chong Yidong <cyd@gnu.org>
9733
9734 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9735
9736 * fringe.el (fringe-styles): Add docstring.
9737 (fringe--check-mode): New function.
9738 (set-fringe-mode, set-fringe-style): Use it.
9739 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9740
9741 * files.el (set-auto-mode): Fix invalid setq call.
9742
9743 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * isearch.el: Misc simplification; use defstruct.
9746 (isearch-mode-map): Dense maps now work like sparse ones.
9747 (isearch--state): New defstruct.
9748 (isearch-string-state, isearch-message-state, isearch-point-state)
9749 (isearch-success-state, isearch-forward-state)
9750 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9751 (isearch-wrapped-state, isearch-barrier-state)
9752 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9753 replaced by defstruct's accessors.
9754 (isearch--set-state): Rename from isearch-top-state and change
9755 calling convention.
9756 (isearch-push-state): Use new isearch--get-state.
9757 (isearch-toggle-word): Disable regexp when enabling word.
9758 (isearch-message-prefix): Remove unused arg _c-q-hack.
9759 (isearch-message-suffix): Remove unused arg _ellipsis.
9760
9761 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9762
9763 * simple.el (list-processes--refresh): For a server use :host or
9764 :local as the address.
9765 (list-processes): Doc fix.
9766
9767 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9768
9769 * lisp/mpc.el: Support password in host argument.
9770 (mpc--proc-connect): Parse and use new password element.
9771 Set mpc-proc variable instead of returning process.
9772 (mpc-proc): Adjust accordingly.
9773
9774 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9775
9776 * whitespace.el (whitespace-display-mappings): Use Unicode
9777 codepoints, instead of emacs-mule codepoints. See
9778 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9779 for the details.
9780
9781 * files.el (file-truename): Don't skip symlink-chasing part on
9782 windows-nt. Incorporate the resolution of 8+3 short aliases on
9783 Windows into the loop that recursively chases symlinks.
9784 Compare directory and its parent case-insensitively on MS-Windows and
9785 MS-DOS.
9786
9787 2012-08-03 Chong Yidong <cyd@gnu.org>
9788
9789 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9790
9791 * sort.el (sort-regexp-fields): Doc fix.
9792
9793 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9794
9795 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9796 labels regex position point at the expected place.
9797
9798 2012-08-03 MON KEY <monkey@sandpframing.com>
9799
9800 * net/imap.el (imap-interactive-login, imap-authenticate)
9801 (imap-mailbox-lsub, imap-mailbox-list)
9802 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9803 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9804 (imap-parse-response): Doc fix.
9805
9806 2012-08-03 João Távora <joaotavora@gmail.com>
9807
9808 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9809 if sexp scanning does not move point (Bug#5734).
9810
9811 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9812
9813 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9814 Add listings, minted, and ctable packages.
9815 (reftex-label-alist-builtin): Move listings, minted, and ctable
9816 entries before LaTeX.
9817 (reftex-label-alist): Docfix.
9818
9819 2012-08-02 Bastien Guerry <bzg@gnu.org>
9820
9821 * replace.el (occur): Fix docstring (bug#12122).
9822
9823 2012-08-02 Glenn Morris <rgm@gnu.org>
9824
9825 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9826
9827 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9828
9829 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9830 * international/mule-cmds.el: Create
9831 inactivate-current-input-method-function as an obsolete alias for
9832 deactivate-current-input-method-function. See Katsumi Yamaoka in
9833 <http://bugs.gnu.org/10150#46>.
9834
9835 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9836
9837 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9838 of nested `if's.
9839
9840 2012-08-01 Glenn Morris <rgm@gnu.org>
9841
9842 * progmodes/autoconf.el (autoconf-definition-regexp):
9843 Add AH_TEMPLATE, adjust submatch numbering.
9844 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9845 (autoconf-current-defun-function): Update for above change.
9846 (autoconf-current-defun-function): First skip to end of current word.
9847
9848 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9849
9850 * calendar/cal-html.el (cal-html-insert-agenda-days):
9851 Fix typo. (Bug#12018)
9852
9853 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9854
9855 Shell processes: enhancements to startup and CEDET compatibility.
9856 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9857 (python-shell-make-comint): accept-process-output at startup.
9858 (run-python-internal): Set inferior-python-mode-hook to nil.
9859 (python-shell-internal-get-or-create-process): call sit-for.
9860 (python-preoutput-result): Add obsolete alias.
9861 (python-shell-internal-send-string): Use it.
9862 (python-shell-send-setup-code): Remove call to
9863 accept-process-output.
9864
9865 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9866
9867 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9868 (Bug#12108)
9869
9870 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9871
9872 * calc-mode.el (calc-basic-simplification-mode): Rename from
9873 `calc-limited-simplification-mode'.
9874 (calc-alg-simplification-mode): New function.
9875 (calc-set-simplify-mode): Adjust message.
9876
9877 * calc.el (calc-set-mode-line): Adjust mode line display for
9878 basic simplification mode.
9879
9880 * calc-help.el (calc-m-prefix-help): Update help message.
9881
9882 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9883 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9884
9885 2012-07-31 Bastien Guerry <bzg@gnu.org>
9886
9887 * man.el (man): Fix comment. (bug#12101)
9888
9889 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9890
9891 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9892 Don't return a non-nil value when no suitable buffer was found.
9893
9894 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9895
9896 * progmodes/python.el (run-python-internal): Disable font lock for
9897 internal shells.
9898
9899 2012-07-30 Stefan Merten <smerten@oekonux.de>
9900
9901 * textmodes/rst.el: Silence `checkdoc-ispell'.
9902 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9903 (rst-official-version, rst-official-cvs-rev)
9904 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9905 (rst-mode-map): New key binding.
9906
9907 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9908
9909 Update .PHONY listings in makefiles.
9910 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9911 autoloads, update-subdirs, updates, bzr-update, update-authors,
9912 compile-onefile, compile-calc, backup-compiled-files,
9913 compile-after-backup, compile-one-process, mh-autoloads,
9914 bootstrap-clean, distclean, maintainer-clean.
9915
9916 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9917
9918 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9919 (calc-set-mode-line): Don't display "AlgSimp ".
9920
9921 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9922 (calc-lim-simplify-mode): New function.
9923 (calc-set-simplify-mode): Default to 'alg.
9924 (calc-default-simplify-mode): Make algebraic simplifications
9925 the default.
9926
9927 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9928 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9929
9930 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9931 indicate new simplification modes.
9932
9933 * calc/README: Mention new default simplification mode.
9934
9935 * calc/calc.el (math-normalize-error): New variable.
9936 (math-normalize): Set `math-normalize-error' to t
9937 when there's an error.
9938
9939 * calc/calc-alg.el (math-simplify): Don't simplify when
9940 `math-normalize' returns an error.
9941
9942 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9943
9944 * international/mule-cmds.el (set-locale-environment): Revert last
9945 change, since display-graphic-p returns nil when this function is
9946 called during startup. Instead...
9947
9948 * term/w32console.el (terminal-init-w32console): ...setup the
9949 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9950
9951 2012-07-29 Juri Linkov <juri@jurta.org>
9952
9953 * simple.el (goto-line): Don't display default line number in the
9954 prompt because it should be displayed by `read-number' (bug#9952).
9955 Add the current line number to the defaults of `goto-line' to
9956 allow its easier modification by users with `M-n' (bug#9201).
9957
9958 * subr.el (read-number): Support multiple default values like in
9959 other minibuffer reading functions. Replace `read' with
9960 `string-to-number' for consistency with `number-to-string'.
9961
9962 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9963
9964 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9965 * emulation/viper-init.el (viper-deactivate-input-method-action):
9966 Rename from viper-inactivate-input-method-action.
9967 (viper-deactivate-input-method):
9968 Rename from viper-inactivate-input-method.
9969 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9970 * international/mule-cmds.el (deactivate-input-method):
9971 Rename from inactivate-input-method.
9972 Also run input-method-deactivate-hook.
9973 (deactivate-current-input-method-function):
9974 Rename from inactivate-current-input-method-function.
9975 (input-method-deactivate-hook): New hook.
9976 (input-method-inactivate-hook): Mark obsolete.
9977 (inactivate-input-method): Mark obsolete.
9978
9979 * international/quail.el (quail-activate):
9980 Also run quail-deactivate-hook.
9981 (quail-deactivate): Rename from quail-inactivate.
9982 * international/robin.el (robin-activate):
9983 Also run robin-deactivate-hook.
9984 (robin-deactivate): Rename from robin-inactivate.
9985
9986 2012-07-29 Chong Yidong <cyd@gnu.org>
9987
9988 * simple.el (indicate-copied-region): New function.
9989 (kill-ring-save): Split off from here.
9990
9991 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9992 (kill-rectangle): Set deactivate-mark to t on read-only error.
9993
9994 * register.el (copy-to-register, copy-rectangle-to-register):
9995 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9996 (append-to-register, prepend-to-register): Call indicate-copied-region.
9997
9998 2012-07-29 Juri Linkov <juri@jurta.org>
9999
10000 * simple.el (async-shell-command-buffer): New defcustom.
10001 (shell-command): Use it. (Bug#4719)
10002
10003 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10004
10005 * international/mule-cmds.el (set-locale-environment): In a
10006 console session on MS-Windows, set up keyboard and terminal
10007 encoding from the OEM codepage, not the ANSI codepage.
10008 (Bug#12055)
10009
10010 2012-07-28 Chong Yidong <cyd@gnu.org>
10011
10012 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10013 gdb-get-location.
10014
10015 2012-07-28 Leo Liu <sdl.web@gmail.com>
10016
10017 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10018 the alist (bug#12029).
10019
10020 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10021
10022 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10023 (compile-always, compile-first)
10024 ($(lisp)/calendar/cal-loaddefs.el)
10025 ($(lisp)/calendar/diary-loaddefs.el)
10026 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10027 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10028 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10029 instead of on update-subdirs.
10030 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10031
10032 2012-07-28 Chong Yidong <cyd@gnu.org>
10033
10034 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10035 directory if vc-deduce-backend returns nil (Bug#7350).
10036
10037 * simple.el (delete-trailing-lines): New option.
10038 (delete-trailing-whitespace): Obey it (Bug#11879).
10039
10040 2012-07-28 David Engster <deng@randomsample.de>
10041
10042 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10043 Explanation of new 'symbol-qnames feature in doc-strings.
10044 (xml-maybe-do-ns): Return expanded names as plain symbols if
10045 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10046 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10047
10048 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10049
10050 Consistent completion in inferior python with emacs -nw.
10051 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10052 binding in inferior-python-mode-map with "\t".
10053 (python-shell-completion-complete-at-point)
10054 (python-completion-complete-at-point): Remove interactive spec.
10055
10056 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10057
10058 * calc/calccomp.el (math-compose-expr): Undo previous change.
10059
10060 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10061
10062 * progmodes/python.el (python-mode-map): Add keybinding for
10063 run-python.
10064 (python-shell-make-comint): Fix pop-to-buffer call.
10065 (run-python): Autoload. New arg SHOW.
10066 (python-shell-get-or-create-process): Do not pop python process
10067 buffer.
10068
10069 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10070
10071 * notifications.el (notifications-on-action-signal)
10072 (notifications-on-closed-signal): Use also the bus address for the map.
10073 (notifications-notify, notifications-close-notification)
10074 (notifications-get-capabilities): Add optional argument BUS.
10075
10076 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10077
10078 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10079 Add support for the lstlisting and minted environments, and for the
10080 ctable macro.
10081 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10082 labels written in keyvals syntax.
10083
10084 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10085
10086 * calc/calccomp.el (math-compose-expr): Use parentheses when
10087 there is a product in the denominator of a fraction.
10088
10089 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10090
10091 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10092 ($(lisp)/calendar/diary-loaddefs.el)
10093 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10094 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10095 Fixes failures in parallel bootstrap because subdirs.el is being
10096 rewritten while the autoload files are built at the same time,
10097 which needs to load subdirs.el.
10098
10099 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10100
10101 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10102 (mouse-drag-line): Don't exit tracking when a switch-frame or
10103 switch-window event occurs (Bug#12006).
10104
10105 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * mouse.el (popup-menu): Fix last change.
10108
10109 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10110
10111 Autoload from Lisp with more care. Follow aliases when looking for
10112 function properties.
10113 * subr.el (autoloadp): New function.
10114 (symbol-file): Use it.
10115 (function-get): New function.
10116 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10117 autoload-do-load.
10118 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10119 (lisp-indent-function):
10120 * emacs-lisp/gv.el (gv-get):
10121 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10122 * emacs-lisp/byte-opt.el (byte-optimize-form):
10123 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10124 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10125 Use function-get.
10126 * emacs-lisp/cl.el: Don't propagate function properties any more.
10127
10128 * speedbar.el (speedbar-add-localized-speedbar-support):
10129 * emacs-lisp/disass.el (disassemble-internal):
10130 * desktop.el (desktop-load-file):
10131 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10132 (describe-function-1):
10133 * emacs-lisp/find-func.el (find-function-noselect):
10134 * emacs-lisp/elp.el (elp-instrument-function):
10135 * emacs-lisp/advice.el (ad-has-proper-definition):
10136 * apropos.el (apropos-safe-documentation, apropos-macrop):
10137 * emacs-lisp/debug.el (debug-on-entry):
10138 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10139 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10140 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10141
10142 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10143
10144 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10145 function, not an obsolete variable (Bug#12046).
10146
10147 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10148
10149 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10150
10151 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10152
10153 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10154 window only if it is still live (Bug#12034).
10155
10156 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10157
10158 * subr.el (redirect-frame-focus): Add advertised calling
10159 convention (Bug#12030).
10160
10161 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10162
10163 Prefer typical American spelling for "acknowledgment".
10164 * vc/add-log.el (change-log-acknowledgment): Rename from
10165 change-log-acknowledgement, with an alias for the old name.
10166
10167 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10168
10169 * calc-alg.el (math-simplify-divide): Don't cross multiply
10170 in an equation when the lhs is a variable.
10171
10172 2012-07-24 Julien Danjou <julien@danjou.info>
10173
10174 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10175 Remove, unused.
10176
10177 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10178
10179 * startup.el (command-line): Don't display an empty user name in
10180 the error message about non-existent home directory, when
10181 init-file-user was set to an empty string. See
10182 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10183 for the details and context.
10184
10185 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10186
10187 * ses.el (ses-cell-formula-aset): New macro.
10188 (ses-cell-references-aset): New macro.
10189 (ses-cell-p): New function.
10190 (ses-rename-cell): Do no longer rely on complex operations like
10191 ses-cell-set-formula or ses-set-cell to change the cell and handle
10192 the undo at the same time, but rather use lower level new macros
10193 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10194 the undo directly. Refresh the mode line.
10195
10196 2012-07-21 Leo Liu <sdl.web@gmail.com>
10197
10198 * progmodes/cc-cmds.el (c-defun-name):
10199 Use match-string-no-properties instead for consistency.
10200
10201 2012-07-20 Leo Liu <sdl.web@gmail.com>
10202
10203 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10204 (Bug#7879)
10205
10206 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10207
10208 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10209
10210 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10211 * progmodes/bug-reference.el, misearch.el: Provide themselves
10212 (bug#11915).
10213
10214 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10215 of narrowed buffer (bug#11966).
10216
10217 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10218
10219 * ses.el (ses-rename-cell): Set new name also in reference list of
10220 cells of which the renamed cell depends.
10221
10222 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10223
10224 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10225 to check whether menu-bar is shown or not. If not shown,
10226 show the menu-bar as a popup menu instead of using tmm.
10227 * mouse.el (popup-menu): Accept `point' as `position' argument.
10228
10229 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10230
10231 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10232 up inside string symbol literal (bug#11923).
10233
10234 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10235
10236 * startup.el (fancy-startup-text): Read the whole tutorial, not
10237 just its first 256 bytes. Prevents gibberish in display of the
10238 tutorial title.
10239
10240 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10241
10242 Drop idle buffer compaction due to an absence of the
10243 proved efficiency.
10244 * compact.el: Remove.
10245
10246 2012-07-19 Sam Steingold <sds@gnu.org>
10247
10248 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10249 vc-bzr-pull & vc-bzr-merge-branch.
10250 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10251 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10252 for consistency with compilation-error-regexp-alist.
10253 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10254 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10255 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10256 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10257
10258 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * emacs-lisp/chart.el: Use lexical-binding.
10261 (chart-emacs-storage): Don't hardcode the list of entries.
10262
10263 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10264
10265 Next round of tweaks caused by Fgarbage_collect changes.
10266 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10267
10268 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10269
10270 Compact buffers when idle.
10271 * compact.el: New file.
10272
10273 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10274
10275 * subr.el (eventp): Presume that if it looks vaguely like an event,
10276 it's an event (bug#10190).
10277
10278 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10279
10280 Enhancements to ppss related code (thanks Stefan).
10281 * progmodes/python.el (python-indent-context)
10282 (python-indent-calculate-indentation, python-indent-dedent-line)
10283 (python-indent-electric-colon, python-nav-forward-block)
10284 (python-mode-abbrev-table)
10285 (python-info-assignment-continuation-line-p): Simplify checks
10286 for ppss context.
10287 (python-info-continuation-line-p): Cleanup.
10288 (python-info-ppss-context): Do not catch 'quote.
10289 (python-info-ppss-context-type)
10290 (python-info-ppss-comment-or-string-p): Simplify.
10291
10292 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10293
10294 * progmodes/python.el: Enhancements to eldoc support.
10295 (python-info-current-symbol): New function.
10296 (python-eldoc-at-point): Use python-info-current-symbol.
10297 (python-info-current-defun): Fix cornercase on first defun scan.
10298 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10299 and signal error when no inferior python process is available.
10300
10301 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10302
10303 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10304 assume it's always t.
10305 (vc-git-registered): Remove caching, the function is only called
10306 once.
10307 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10308
10309 2012-07-18 Chong Yidong <cyd@gnu.org>
10310
10311 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10312
10313 * simple.el (count-words): Report on narrowing (Bug#9959).
10314
10315 * bindings.el: Bind M-= to count-words.
10316
10317 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10318
10319 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10320
10321 * progmodes/sh-script.el (sh-imenu-generic-expression):
10322 Capture a function with `function' keyword and without parentheses
10323 like "function FOO" (bug#11856).
10324
10325 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10326
10327 * window.el (split-window-sensibly): Make WINDOW argument
10328 optional.
10329
10330 2012-07-18 Chong Yidong <cyd@gnu.org>
10331
10332 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10333
10334 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10335 and make C-x 8 RET exit isearch (Bug#11439).
10336
10337 * international/iso-transl.el: Move isearch-mode-map key
10338 definitions to isearch.el.
10339
10340 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10343 (eieio-defclass): Use gv-define-setter when possible.
10344
10345 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10346
10347 Reflect recent changes in Fgarbage_collect.
10348 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10349 reflect new format of data returned by Fgarbage_collect.
10350
10351 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10352
10353 New utility functions + python-info-ppss-context fix (Bug#11910).
10354 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10355 (python-info-ppss-comment-or-string-p): New functions.
10356 (python-info-ppss-context): Small fix for string check.
10357
10358 2012-07-17 Juri Linkov <juri@jurta.org>
10359
10360 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10361 (dired-do-async-shell-command): Don't add `*' at the end of the
10362 command (Bug#11815).
10363 (dired-do-shell-command): Doc fix.
10364 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10365 Join the individual commands using either "&" or ";" as the
10366 separator depending on the values of these trailing characters.
10367 At the end re-add the trailing "&". (Bug#10598)
10368
10369 * simple.el (async-shell-command): Sync the interactive spec with
10370 `shell-command'. Doc fix.
10371 (shell-command): Doc fix.
10372
10373 2012-07-17 Juri Linkov <juri@jurta.org>
10374
10375 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10376
10377 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10378
10379 Final renames and doc fixes for movement commands (bug#11899).
10380 * progmodes/python.el (python-nav-beginning-of-statement):
10381 Rename from python-nav-statement-start.
10382 (python-nav-end-of-statement): Rename from
10383 python-nav-statement-end.
10384 (python-nav-beginning-of-block): Rename from
10385 python-nav-block-start.
10386 (python-nav-end-of-block): Rename from python-nav-block-end.
10387
10388 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10389
10390 * progmodes/python.el (python-shell-send-string-no-output):
10391 Allow accept-process-output to quit, keeping shell process ready for
10392 future interactions (Bug#11868).
10393
10394 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10397
10398 * emacs-lisp/elint.el (elint-find-args-in-code):
10399 Use help-function-arglist, so as to handle lexical byte-code.
10400
10401 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10402 change (bug#11826).
10403
10404 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10407 Avoid spuriously marking the buffer as modified because of c-is-sws.
10408
10409 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10410 as not-a-comment (bug#11946).
10411
10412 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10413 for uninterned vars.
10414
10415 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10416 Use read-event since we don't really want to read chars but bytes.
10417
10418 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10419 $$..$$ but also $..$ using regexps (bug#11953).
10420 Use tex-verbatim for \url and \path.
10421 (tex-font-lock-keywords): Define as defconst like the others.
10422 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10423
10424 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10425
10426 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10427 alias for insert-char.
10428
10429 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10430
10431 * progmodes/python.el: Simplified imenu implementation.
10432 (python-nav-jump-to-defun): Remove command.
10433 (python-mode-map): Use `imenu' instead.
10434 (python-nav-list-defun-positions-cache)
10435 (python-imenu-include-defun-type, python-imenu-make-tree)
10436 (python-imenu-subtree-root-label, python-imenu-index-alist):
10437 Remove vars.
10438 (python-nav-list-defun-positions, python-nav-read-defun)
10439 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10440 (python-imenu-make-tree, python-imenu-create-index):
10441 Remove functions.
10442 (python-mode): Update to interact with imenu by setting
10443 `imenu-extract-index-name-function' only.
10444
10445 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10446
10447 * progmodes/python.el: Enhancements to navigation commands.
10448 (python-nav-backward-sentence)
10449 (python-nav-forward-sentence): Remove.
10450 (python-nav-backward-statement, python-nav-forward-statement)
10451 (python-nav-statement-start, python-nav-statement-end)
10452 (python-nav-backward-block, python-nav-forward-block)
10453 (python-nav-block-start, python-nav-block-end)
10454 (python-nav-forward-sexp-function)
10455 (python-info-current-line-comment-p)
10456 (python-info-current-line-empty-p): New functions.
10457 (python-indent-context): Use `python-nav-statement-start'.
10458
10459 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10460
10461 * eshell/em-ls.el (eshell/ls): Use `apply'.
10462
10463 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10464 multi-hops, instead of Tramp internals.
10465
10466 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10467
10468 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10469 when F1 and F2 are located on different hosts.
10470
10471 2012-07-14 Chong Yidong <cyd@gnu.org>
10472
10473 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10474 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10475 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10476 (xterm-mouse--read-event-sequence-1000)
10477 (xterm-mouse--read-event-sequence-1006): New functions. For old
10478 mouse protocol, handle M-mouse-X events correctly.
10479 (xterm-mouse-event): New arg specifying mouse protocol.
10480 (turn-on-xterm-mouse-tracking-on-terminal)
10481 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10482 sequence to toggle extended coordinates on newer XTerms.
10483 This appears to be harmless on terminals which do not support this.
10484
10485 2012-07-14 Leo Liu <sdl.web@gmail.com>
10486
10487 Add fringe bitmap indicators for flymake. (Bug#11253)
10488 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10489 (flymake-make-overlay): New arg BITMAP.
10490 (flymake-error-bitmap, flymake-warning-bitmap)
10491 (flymake-fringe-indicator-position): New user variables.
10492
10493 * fringe.el: New bitmap exclamation-mark.
10494
10495 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10496
10497 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10498 also (Bug#7879).
10499
10500 2012-07-14 Chong Yidong <cyd@gnu.org>
10501
10502 * electric.el (electric-pair-post-self-insert-function): Fix pair
10503 insertion in empty-region case (Bug#11520).
10504
10505 2012-07-14 Chong Yidong <cyd@gnu.org>
10506
10507 * bindings.el: Consolidate ctl-x-r-map bindings.
10508 Bind copy-rectangle-as-kill to C-x r w.
10509
10510 * rect.el, register.el: Move bindings to bindings.el.
10511
10512 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10513
10514 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10515
10516 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10517
10518 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10519
10520 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10521
10522 * bindings.el (top): Use `mapc' instead of `mapcar'.
10523
10524 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10525
10526 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10527
10528 * progmodes/sql.el (sql-comint): Suppress the check for program on
10529 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10530 (Bug#11908)
10531
10532 2012-07-13 Chong Yidong <cyd@gnu.org>
10533
10534 * bindings.el: Assign a non-nil permanent-local property to
10535 per-buffer variables which lack a default value (Bug#11930).
10536
10537 * help-fns.el (describe-variable): In the "automatically becomes
10538 local" notice, take note of permanent-local variables.
10539
10540 2012-07-13 Chong Yidong <cyd@gnu.org>
10541
10542 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10543 to allow printing the message when called from Lisp.
10544
10545 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10546 Remove toggle-read-only.
10547
10548 * bs.el (bs-toggle-readonly):
10549 * buff-menu.el (Buffer-menu-toggle-read-only):
10550 Remove with-no-warnings around toggle-read-only.
10551
10552 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10553 Remove with-no-warnings around toggle-read-only.
10554 (ffap-read-only, ffap-read-only-other-window)
10555 (ffap-read-only-other-frame): Callers changed.
10556
10557 * help-mode.el: Don't require view package.
10558 (help-mode-finish): Set buffer-read-only instead of calling
10559 toggle-read-only.
10560
10561 * bindings.el (mode-line-toggle-read-only):
10562 * dired.el (dired-toggle-read-only):
10563 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10564 with non-nil second arg.
10565
10566 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10567 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10568 directly.
10569
10570 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10571
10572 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10573 not incf.
10574
10575 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 More CL cleanups and reduction of use of cl.el.
10578 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10579 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10580 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10581 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10582 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10583 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10584 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10585 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10586 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10587 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10588 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10589 * eshell/em-cmpl.el, eshell/em-banner.el:
10590 * calendar/parse-time.el: Use cl-lib.
10591 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10592 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10593 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10594 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10595 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10596 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10597 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10598 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10599 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10600 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10601 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10602 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10603 `lambda' rather than with `quote'.
10604 (eshell-do-opt): Adjust accordingly.
10605 (eshell-process-option): Simplify.
10606 * eshell/esh-var.el:
10607 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10608 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10609 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10610 to `pcase--dontcare'.
10611 * emacs-lisp/cl.el (labels): Mark obsolete.
10612 (cl--letf, letf): Move to cl-lib.
10613 (cl--letf*, letf*): Remove.
10614 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10615 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10616 (cl-progv): Rewrite.
10617 (cl--letf, cl-letf): Move from cl.el.
10618 (cl-letf*): New macro.
10619 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10620
10621 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10622
10623 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10624
10625 2012-07-11 Chong Yidong <cyd@gnu.org>
10626
10627 * vc/log-edit.el (log-edit-vc-backend): New variable.
10628 (log-edit): Doc fix.
10629
10630 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10631 argument of log-edit to set up all local variables.
10632 (vc-start-logentry): New optional arg specifying VC backend.
10633
10634 * vc/vc.el (vc-checkin): Use it.
10635 (vc-deduce-fileset): Handle Log Edit buffers.
10636 (vc-diff): Make first argument optional too.
10637
10638 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10639
10640 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10641
10642 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10643 command, just in case. The function is not needed anymore.
10644 (eshell-external-command): Do not call `eshell-remote-command'.
10645
10646 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 Reduce use of (require 'cl).
10649 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10650 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10651 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10652 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10653 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10654 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10655 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10656 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10657 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10658 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10659 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10660 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10661 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10662 (byte-compile-unfold-bcf, byte-compile-check-variable):
10663 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10664 (byte-compile-nilconstp):
10665 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10666 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10667
10668 * emacs-lisp/gv.el (cond): Make it a valid place.
10669 (if): Simplify slightly.
10670
10671 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10672 (pcase--self-quoting-p): New function.
10673 (pcase--u1): Use it.
10674
10675 2012-07-10 Glenn Morris <rgm@gnu.org>
10676
10677 * emacs-lisp/authors.el (authors-fixed-entries):
10678 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10679
10680 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10681
10682 Rename configure.in to configure.ac (Bug#11603).
10683 * emacs-lisp/authors.el (authors-canonical-file-name):
10684 * progmodes/autoconf.el (autoconf-mode):
10685 Prefer configure.ac to configure.in.
10686
10687 2012-07-08 Chong Yidong <cyd@gnu.org>
10688
10689 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10690 Implement the mouse-1-click-follows-link handling properly.
10691
10692 * info.el (Info-link-keymap): Use follow-link mechanism for
10693 header-line links (Bug#374).
10694
10695 * simple.el (deactivate-mark): Do not set the primary selection
10696 if another program has acquired it (Bug#11772).
10697
10698 2012-07-07 Kevin Ryde <user42@zip.com.au>
10699
10700 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10701 (woman-decode-region): Replace escaped-escapes without destroying
10702 bold or underline (Bug#11552).
10703 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10704
10705 2012-07-07 Chong Yidong <cyd@gnu.org>
10706
10707 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10708 (interprogram-cut-function, interprogram-paste-function):
10709 Mention that we typically mean the clipboard.
10710
10711 2012-07-06 Glenn Morris <rgm@gnu.org>
10712
10713 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10714
10715 * files.el (toggle-read-only): Restrict message to interactive use.
10716
10717 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10720
10721 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10722
10723 2012-07-06 Glenn Morris <rgm@gnu.org>
10724
10725 * Makefile.in (compile-one-process): Rename from "recompile".
10726
10727 * Makefile.in (bzr-update): "compile" is the same as "recompile
10728 autoloads", but parallelizable, so use that instead.
10729
10730 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10731
10732 * window.el (quit-window): Always restore window height when
10733 it's saved in quit-restore parameter (Bug#11810).
10734
10735 2012-07-06 Glenn Morris <rgm@gnu.org>
10736
10737 * simple.el (kill-whole-line): Doc tweak.
10738
10739 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10740
10741 * files.el (file-relative-name): Compare file names
10742 case-insensitively if on MS-Windows or MS-DOS, or if
10743 read-file-name-completion-ignore-case is non-nil. Don't use
10744 case-fold-search for this purpose. (Bug#11827)
10745
10746 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10747
10748 * calendar/cal-dst.el (calendar-current-time-zone):
10749 Return calendar-current-time-zone-cache if non-nil.
10750
10751 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10752 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10753
10754 * calendar/cal-dst.el (calendar-current-time-zone):
10755 Return calendar-current-time-zone-cache if non-nil.
10756
10757 2012-07-06 Glenn Morris <rgm@gnu.org>
10758
10759 * Makefile.in (cvs-update): Remove old alias.
10760
10761 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10762
10763 Sync with Tramp 2.2.6-pre.
10764
10765 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10766 compatible declaration.
10767
10768 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10769 Protect `list-load-path-shadows' call.
10770
10771 * net/tramp-compat.el (top): Require packages, which aren't
10772 autoloaded anymore for XEmacs. Protect call of
10773 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10774 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10775 it hurts at least for SXEmacs.
10776 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10777 standard-value for `temporary-file-directory'.
10778
10779 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10780 Redirect stderr to /dev/null.
10781 (tramp-sh-handle-write-region): uid and gid can be floats.
10782 Reported by Russell Sim <russell.sim@gmail.com>.
10783 (tramp-sh-handle-vc-registered): Hide errors.
10784 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10785 and `start-file-process'.
10786 (tramp-maybe-open-connection): Check also whether `non-essential'
10787 is bound.
10788
10789 2012-07-04 Chong Yidong <cyd@gnu.org>
10790
10791 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10792 (xml-parse-tag): Likewise, and avoid changing entity tables.
10793 (xml-syntax-table): Define from scratch, making sure not to give
10794 x2000 and other Unicode spaces whitespace syntax, since those are
10795 not spaces in XML.
10796 (xml-parse-fragment): Delete unused function.
10797 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10798 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10799 (xml-entity-ref, xml-pe-reference-re)
10800 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10801 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10802 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10803 (xml-entity-value-re): Use syntax references in regexps where
10804 possible; no need to define inside a let-binding.
10805 (xml-parse-dtd): Use xml-pe-reference-re.
10806 (xml-entity-or-char-ref-re): New defconst.
10807 (xml-parse-string, xml-substitute-special): Use it.
10808
10809 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10810
10811 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10812 (find-file--read-only): New function.
10813 (find-file-read-only, find-file-read-only-other-window)
10814 (find-file-read-only-other-frame): Use it.
10815 (insert-file-contents-literally): Don't `fset'.
10816 (get-free-disk-space): Use locate-dominating-file.
10817
10818 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10819 function is already compiled.
10820
10821 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10822
10823 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10824
10825 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10826 files on the same host.
10827
10828 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10829
10830 * help-fns.el (describe-function-1): Only call
10831 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10832
10833 2012-07-03 Chong Yidong <cyd@gnu.org>
10834
10835 * xml.el: Protect parser against XML bombs.
10836 (xml-entity-expansion-limit): New variable.
10837 (xml-parse-string, xml-substitute-special): Use it.
10838 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10839
10840 2012-07-03 Glenn Morris <rgm@gnu.org>
10841
10842 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10843 Allow linking to specific messages in debbugs reports (eg 123#5).
10844
10845 2012-07-02 Chong Yidong <cyd@gnu.org>
10846
10847 * xml.el: Fix entity and character reference expansion, allowing
10848 them to expand into markup as per XML spec.
10849 (xml-default-ns): New variable.
10850 (xml-entity-alist): Use XML spec definitions for lt and amp.
10851 (xml-parse-region): Make first two arguments optional.
10852 Discard text properties.
10853 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10854 All callers changed.
10855 (xml-parse-tag): Call xml-parse-tag-1. For backward
10856 compatibility, this function should not modify buffer contents.
10857 (xml-parse-tag-1): Fix opening-tag regexp.
10858 (xml-parse-string): Rewrite, handling entity and character
10859 references properly.
10860 (xml--entity-replacement-text): Signal an error if a parameter
10861 entity is undefined.
10862
10863 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10864
10865 * comint.el (comint-output-filter): Filter out repeated prompts.
10866
10867 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10868 and file-name-absolute-p.
10869 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10870 internal calls.
10871
10872 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10873
10874 Spelling fixes.
10875 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10876 Rename from byte-compile--refiy-function. All uses changed.
10877
10878 2012-07-01 Chong Yidong <cyd@gnu.org>
10879
10880 * xml.el (xml--parse-buffer): New function. Move most of
10881 xml-parse-region here.
10882 (xml-parse-region): Copy region into a temporary buffer, since
10883 parameter entity substitution requires changing buffer contents.
10884 Use xml--parse-buffer.
10885 (xml-parse-file): Use xml--parse-buffer.
10886 (xml-parse-dtd): Make parameter entity substitution work right.
10887 Use proper regexps for ELEMENT declarations (Bug#7172).
10888
10889 2012-06-30 Glenn Morris <rgm@gnu.org>
10890
10891 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10892
10893 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10894 Remove outdated and unnecessary dbus declarations.
10895
10896 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10897
10898 * emacs-lisp/timer.el (timer-until): Subtract results of
10899 float-time, instead of taking float-time of the result of
10900 time-subtract, since float-time signals an error for negative time
10901 arguments.
10902
10903 2012-06-30 Chong Yidong <cyd@gnu.org>
10904
10905 * xml.el (xml-*-re): Convert defvars into defconsts, and
10906 eval-and-compile them so eval-and-compile works on derivatives.
10907 (xml--entity-replacement-text): Use eval-and-comple.
10908
10909 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10910
10911 * vc/vc-git.el (vc-git-registered): Use cache property
10912 `git-registered'.
10913 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10914 `vc-git-working-revision' in order to benefit from the cache.
10915 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10916
10917 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10918
10919 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10920 removed (likely outside Emacs). (Bug#11757)
10921
10922 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 * emacs-lisp/cl-lib.el: Require macroexp.
10925
10926 2012-06-30 Chong Yidong <cyd@gnu.org>
10927
10928 * xml.el: Implement XML parameter entities.
10929 (xml-parameter-entity-alist): New variable.
10930 (xml-parse-region, xml-parse-fragment): Preserve previous values
10931 of xml-entity-alist and xml-parameter-entity-alist, so that
10932 repeated calls on different documents do not change them.
10933 (xml-parse-tag): Fix doctype regexp.
10934 (xml--entity-replacement-text): New function.
10935 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10936 properly requires url retrieval which is unimplemented.
10937 (xml-escape-string): Doc fix.
10938
10939 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10940
10941 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10942
10943 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10944
10945 * fringe.el (fringe-mode): Doc fix.
10946
10947 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10950 is non-nil.
10951 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10952 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10953
10954 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10955
10956 * calendar/cal-dst.el (calendar-current-time-zone):
10957 Return calendar-current-time-zone-cache if non-nil.
10958
10959 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10960
10961 * progmodes/which-func.el (which-func-format):
10962 Add mouse-face. (Bug#11698)
10963
10964 2012-06-29 Leo Liu <sdl.web@gmail.com>
10965
10966 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10967
10968 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * minibuffer.el (minibuffer-confirm-exit-commands):
10971 Add completion-at-point (bug#11725).
10972
10973 2012-06-29 Glenn Morris <rgm@gnu.org>
10974
10975 * progmodes/f90.el (f90-font-lock-keywords-2):
10976 Add some preprocessor elements. (Bug#10499)
10977
10978 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10981 Use syntax-propertize (bug#11739).
10982
10983 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10984
10985 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10986
10987 2012-06-28 Julien Danjou <julien@danjou.info>
10988
10989 * term.el (term-handle-colors-array): Use a set of new faces to
10990 color the terminal. Also uses :inverse-video property.
10991 (term-default-fg-color): Set to nil by default, deprecate in favor
10992 of `term-face'.
10993 (term-default-bg-color): Set to nil by default, deprecate in favor
10994 of `term-face'.
10995 (term-current-face): Use `term-face' by default.
10996 (term-bold-attribute): Variable deleted.
10997
10998 2012-06-28 Glenn Morris <rgm@gnu.org>
10999
11000 * simple.el (completion-list-mode-finish):
11001 Don't use toggle-read-only. (Since completion-list-mode has
11002 a special mode-class, it wasn't doing anything extra anyway.)
11003
11004 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11005
11006 Make inlining of other-mode interpreted functions work (bug#11799).
11007 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11008 (byte-compile): Use it to fix compilation of lexical-binding closures.
11009 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11010 function, if needed.
11011
11012 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * help-mode.el (help-make-xrefs): Don't just withstand
11015 cyclic-variable-indirection but any error in documentation-property.
11016
11017 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11018 memory use.
11019 * bindings.el (bindings--define-key): New function.
11020 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11021 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11022 * bindings.el: Use it to purecopy define-key bindings.
11023
11024 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11025
11026 * emacs-lisp/cl.el (flet): Mark obsolete.
11027 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11028 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11029 * progmodes/js.el (js-c-fill-paragraph):
11030 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11031 (ebrowse-switch-member-buffer-to-derived-class):
11032 * play/5x5.el (5x5-solver): Use cl-flet.
11033
11034 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11035 (cl--symbol-function): New macro.
11036 (cl--letf, cl--letf*): Use it.
11037
11038 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11039 Strip "toggle-" if any.
11040
11041 2012-06-27 Glenn Morris <rgm@gnu.org>
11042
11043 * info.el (Info-default-directory-list): Move here from paths.el.
11044 * paths.el: Remove file, which is now empty.
11045 * loadup.el: No longer load "paths".
11046
11047 * custom.el (custom-initialize-delay): Doc fix.
11048
11049 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11050 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11051 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11052 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11053 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11054 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11055 * eshell/eshell.el (eshell-defgroup): Remove alias.
11056
11057 2012-06-27 Chong Yidong <cyd@gnu.org>
11058
11059 * help.el (help-enable-auto-load): New variable.
11060
11061 * help-fns.el (help-fns--autoloaded-p): New function.
11062 (describe-function-1): Refer to a function as "autoloaded" if it
11063 was autoloaded at any time in the past. Perform autoloading if
11064 help-enable-auto-load is non-nil.
11065
11066 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11067
11068 * makefile.w32-in (compile, compile-always): Depend on
11069 update-subdirs, not on subdirs.el. Otherwise, several different
11070 sub-targets of 'bootstrap' running in parallel could
11071 simultaneously write to subdirs.el, producing a garbled file.
11072
11073 2012-06-26 Sam Steingold <sds@gnu.org>
11074
11075 * files.el (file-name-base): New convenience function.
11076 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11077 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11078 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11079 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11080 * textmodes/ispell.el, textmodes/reftex-ref.el:
11081 * textmodes/tex-mode.el: Use it.
11082 Did not touch cedet and org because they are maintained elsewhere.
11083
11084 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11085
11086 * calendar/calendar.el (calendar-exit): Don't try to delete or
11087 iconify last frame. See:
11088 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11089
11090 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11091
11092 * server.el (server-process-filter): Remember dir in the
11093 process's `server-client-directory' properties.
11094
11095 2012-06-24 Chong Yidong <cyd@gnu.org>
11096
11097 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11098 non-tag text.
11099
11100 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11101
11102 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11103
11104 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11105
11106 * help-fns.el (describe-variable): Don't croak when doc is not found.
11107 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11108 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11109 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11110 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11111 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11112 ((lambda ..) ..).
11113 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11114
11115 2012-06-23 Chong Yidong <cyd@gnu.org>
11116
11117 * info.el (Info-mouse-follow-link): Accept symbol values of
11118 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11119 (Info-fontify-node): Use Info-link-keymap for all navigation
11120 buttons, with link-args property to perform the desired action.
11121 (Info-link-keymap): Doc fix.
11122 (Info-next-link-keymap, Info-prev-link-keymap)
11123 (Info-up-link-keymap): Delete now-unused keymaps.
11124
11125 2012-06-23 Chong Yidong <cyd@gnu.org>
11126
11127 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11128
11129 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11130 system abbrevs.
11131
11132 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11133
11134 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11137 (bug#11719).
11138
11139 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11140 the requote function doesn't work properly (bug#11714).
11141
11142 2012-06-23 Glenn Morris <rgm@gnu.org>
11143
11144 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11145
11146 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 Further GV/CL cleanups.
11149 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11150 gv-expander.
11151 (gv--defun-declaration): New function.
11152 (defun-declarations-alist): Use it.
11153 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11154 (gv-place): Autoload.
11155 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11156 original definition of dotimes and dolist.
11157 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11158 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11159 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11160 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11161 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11162 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11163 to the function's definition.
11164 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11165 * window.el:
11166 * files.el:
11167 * faces.el:
11168 * env.el: Don't use CL.
11169
11170 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11171
11172 Support higher-resolution time stamps (Bug#9000).
11173
11174 * calendar/time-date.el (with-decoded-time-value): New arg
11175 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11176 (encode-time-value): New optional arg PICO. New type 3.
11177 (time-to-seconds) [!float-time]: Support the new picoseconds
11178 component if it's used.
11179 (seconds-to-time, time-subtract, time-add):
11180 Support ps-resolution time stamps as well.
11181
11182 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11183 (timerp): Timer vectors now have length 9, not 8.
11184 (timer--time): Support new-style (4-part) time stamps.
11185 (timer-next-integral-multiple-of-time): Time stamps now have
11186 picosecond resolution, so take a bit more care about rounding.
11187 (timer-relative-time, timer-inc-time): New optional arg psecs.
11188 (timer-set-time-with-usecs): Set psecs to 0.
11189 (timer--activate): Check psecs component, too.
11190
11191 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11192
11193 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11194
11195 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11196 Move the non-essential binding to the post/pre-command-hook where it is
11197 more obviously correct.
11198
11199 * subr.el (read-passwd): Don't use a history at all.
11200 * savehist.el (savehist-save): Remove password saved accidentally
11201 because of the above bug.
11202
11203 2012-06-22 Bastien Guerry <bzg@gnu.org>
11204
11205 * files.el (toggle-read-only): Display a message telling whether
11206 the buffer is read-only or not (bug#11726).
11207
11208 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11209
11210 * emacs-lisp/gv.el: New file.
11211 * subr.el (push, pop): Extend to generalized variables.
11212 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11213 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11214 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11215 gv-define-simple-setter, and gv-define-expander.
11216 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11217 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11218 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11219 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11220 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11221 gv-letplace.
11222 (cl-defstruct): Don't define setf-method any more.
11223 * emacs-lisp/cl.el (flet): Don't autoload.
11224 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11225 (define-setf-expander, defsetf, define-modify-macro)
11226 (cl-struct-setf-expander): Move from cl-lib.el.
11227 * emacs-lisp/syntax.el:
11228 * emacs-lisp/ewoc.el:
11229 * emacs-lisp/smie.el:
11230 * emacs-lisp/cconv.el:
11231 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11232 (timer--time): Use gv-define-simple-setter.
11233 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11234 to avoid coding-system problems in subr.el. Adjust all users.
11235 (macroexp--maxsize, macroexp-small-p): New functions.
11236 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11237 * scroll-bar.el (scroll-bar-mode):
11238 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11239 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11240 * winner.el (winner-configuration, winner-make-point-alist)
11241 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11242 * files.el (locate-file-completion-table): Avoid list*.
11243
11244 2012-06-22 Chong Yidong <cyd@gnu.org>
11245
11246 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11247 (dired-create-files): Doc fix (Bug#11329).
11248 (dired-do-copy): Doc fix (Bug#11334).
11249 (dired-mark-read-string): Doc fix (Bug#11553).
11250
11251 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11252 Doc fix (Bug#11326).
11253 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11254 (dired-dwim-target): Doc fix.
11255
11256 * wdired.el (wdired-mode): Doc fix.
11257
11258 2012-06-22 Glenn Morris <rgm@gnu.org>
11259
11260 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11261 (pcmpl-rpm-cache-stamp-file): New constant.
11262 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11263 (pcmpl-rpm-packages): Optionally cache list of packages.
11264
11265 * pcmpl-rpm.el (pcmpl-rpm): New group.
11266 (pcmpl-rpm-query-options): New option.
11267 (pcmpl-rpm-packages): No need to inline it.
11268 Use pcmpl-rpm-query-options.
11269
11270 * calendar/calendar.el (calendar-in-read-only-buffer):
11271 Avoid some needless mode changes.
11272
11273 2012-06-21 Chong Yidong <cyd@gnu.org>
11274
11275 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11276 (desktop-path): Remove . from the default value (Bug#10977).
11277 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11278
11279 2012-06-20 Chong Yidong <cyd@gnu.org>
11280
11281 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11282
11283 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11284
11285 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11286 (bug#11201).
11287
11288 2012-06-20 Chong Yidong <cyd@gnu.org>
11289
11290 * term.el (term-window-width): Handle the case of a missing right
11291 fringe (Bug#8837).
11292 (term-check-size): Use window-text-height (Bug#5445).
11293 (term-mode): Use define-derived-mode. Minor cleanups.
11294 Set font-lock-defaults (Bug#7692).
11295 (term-move-columns, term-insert-char, term-emulate-terminal)
11296 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11297
11298 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11299
11300 * net/ange-ftp.el (ange-ftp-get-passwd):
11301 Bind `enable-recursive-minibuffers'.
11302 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11303
11304 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11305
11306 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11307
11308 2012-06-19 Glenn Morris <rgm@gnu.org>
11309
11310 * progmodes/python.el (python-mode): Derive from prog-mode.
11311
11312 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11313
11314 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11315 (edt-user-menu-bar-update-buffers): New functions.
11316 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11317
11318 2012-06-19 Chong Yidong <cyd@gnu.org>
11319
11320 * subr.el (with-selected-window): Preserve the selected window's
11321 terminal's top-frame (Bug#4702).
11322
11323 * window.el (save-selected-window): Likewise.
11324
11325 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11326
11327 * progmodes/python.el (python-rx-constituents): Move backquote.
11328 (python-skeleton-define, python-define-auxiliary-skeleton):
11329 Use `declare'.
11330
11331 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11332
11333 * minibuffer.el (read-file-name-default): Revert the patch from
11334 2012-06-17.
11335
11336 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11337
11338 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11339 (pcase--u1, pcase--q1): Don't use apply-partially.
11340
11341 2012-06-18 Glenn Morris <rgm@gnu.org>
11342
11343 * progmodes/python.el (python-proc, python-buffer)
11344 (python-send-receive, python-send-string): Fix obsolete versions.
11345
11346 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11347
11348 * window.el (special-display-p): Completely remove stringp
11349 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11350
11351 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11352
11353 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11354
11355 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11356
11357 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11358 * net/tramp-sh.el (tramp-maybe-open-connection):
11359 Throw if `non-essential' is non-nil.
11360
11361 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11362
11363 * window.el (special-display-p): Signal an error if BUFFER-NAME
11364 is not a string (Bug#11713).
11365
11366 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11367
11368 * progmodes/python.el (python-info-beginning-of-backslash):
11369 Rename from python-info-beginning-of-backlash, as a spelling fix.
11370
11371 2012-06-17 Chong Yidong <cyd@gnu.org>
11372
11373 * term.el (term-emulate-terminal): If term-check-size is called,
11374 move point to the process mark without resetting point (Bug#4635).
11375
11376 2012-06-17 Glenn Morris <rgm@gnu.org>
11377
11378 * international/mule-cmds.el (mule-menu-keymap)
11379 (set-language-environment, set-locale-environment): Doc tweaks.
11380
11381 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11382
11383 * cus-face.el (custom-face-attributes): Add wave-style underline
11384 attribute.
11385 * faces.el (set-face-attribute): Update docstring to describe
11386 wave-style underline attribute.
11387
11388 2012-06-16 Chong Yidong <cyd@gnu.org>
11389
11390 * term/xterm.el (terminal-init-xterm): Discard input before
11391 querying background mode (Bug#10959).
11392
11393 2012-06-16 Stefan Merten <smerten@oekonux.de>
11394
11395 * textmodes/rst.el: Added and corrected some comments.
11396 (rst-re-alist-def): Improve symbol syntax.
11397 (rst-mode-syntax-table): Correct syntax entries.
11398 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11399 (rst-official-version, rst-official-cvs-rev): Update version
11400 information.
11401
11402 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11403
11404 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11405 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11406
11407 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11408
11409 * progmodes/python.el: New python.el merge.
11410 (python-guess-indent): Obsolete var.
11411 (python-indent-guess-indent-offset): New defcustom.
11412 (python-indent): Obsolete var.
11413 (python-indent-offset): New defcustom.
11414 (python-python-command, python-jython-command): Delete var.
11415 (python-shell-interpreter): New defcustom.
11416 (python-pdbtrack-do-tracking-p): Delete var.
11417 (python-pdbtrack-activate): New defcustom.
11418 (python-use-skeletons): Obsolete var.
11419 (python-skeleton-autoinsert): New defcustom.
11420 (inferior-python-filter-regexp, python-continuation-offset)
11421 (python-honour-comment-indentation, python-indent-string-contents)
11422 (python-jython-packages, python-mode-hook)
11423 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11424 (python-shell-prompt-alist)
11425 (python-source-modes): Delete defcustoms.
11426 (python-check-buffer-name, python-eldoc-setup-code)
11427 (python-eldoc-string-code, python-ffap-setup-code)
11428 (python-ffap-string-code, python-fill-comment-function)
11429 (python-fill-decorator-function, python-fill-paren-function)
11430 (python-fill-string-function, python-imenu-include-defun-type)
11431 (python-imenu-make-tree, python-imenu-subtree-root-label)
11432 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11433 (python-shell-compilation-regexp-alist)
11434 (python-shell-completion-module-string-code)
11435 (python-shell-completion-pdb-string-code)
11436 (python-shell-completion-setup-code)
11437 (python-shell-completion-string-code)
11438 (python-shell-enable-font-lock, python-shell-exec-path)
11439 (python-shell-extra-pythonpaths)
11440 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11441 (python-shell-process-environment)
11442 (python-shell-prompt-block-regexp)
11443 (python-shell-prompt-output-regexp)
11444 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11445 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11446 (python-shell-virtualenv-path): New defcustoms.
11447 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11448 (inferior-python-mode-syntax-table, python--prompt-regexp)
11449 (python-buffer, python-command python-python-command)
11450 (python-default-template, python-imports, python-indent-index)
11451 (python-indent-list, python-indent-list-length)
11452 (python-mode-running, python-pdbtrack-is-tracking-p)
11453 (python-preoutput-continuation, python-preoutput-leftover)
11454 (python-preoutput-result, python-preoutput-skip-next-prompt)
11455 (python-prev-dir/file, python-recursing)
11456 (python-saved-check-command, python-version-checked)
11457 (python-which-func-length-limit)
11458 (view-return-to-alist): Delete vars.
11459 (python-check-custom-command, python-dotty-syntax-table)
11460 (python-imenu-index-alist, python-indent-current-level)
11461 (python-indent-dedenters, python-indent-levels)
11462 (python-nav-beginning-of-defun-regexp)
11463 (python-nav-list-defun-positions-cache)
11464 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11465 (python-shell-internal-buffer)
11466 (python-skeleton-available): New vars.
11467 (def-python-skeleton): Delete macro.
11468 (python-skeleton-define): New macro.
11469 (python-define-auxiliary-skeleton, python-rx): New macros.
11470 (python-insert-class): Delete command.
11471 (python-skeleton-class): New command.
11472 (python-insert-def): Delete command.
11473 (python-skeleton-def): New command.
11474 (python-insert-for): Delete command.
11475 (python-skeleton-for): New command.
11476 (python-insert-if): Delete command.
11477 (python-skeleton-if): New command.
11478 (python-insert-try/except, python-insert-try/finally): Delete commands.
11479 (python-skeleton-try): New command.
11480 (python-insert-while): Delete command.
11481 (python-skeleton-while): New command.
11482 (python-backspace): Delete command.
11483 (python-indent-dedent-line-backspace): New command.
11484 (python-electric-colon): Delete command.
11485 (python-indent-electric-colon): New command.
11486 (python-guess-indent): Delete command.
11487 (python-indent-guess-indent-offset): New command.
11488 (python-shift-left): Delete command.
11489 (python-indent-shift-left): New command.
11490 (python-shift-right): Delete command.
11491 (python-indent-shift-right): New command.
11492 (python-find-function): Delete command.
11493 (python-nav-jump-to-defun): New command.
11494 (python-next-statement): Delete command.
11495 (python-nav-forward-sentence): New command.
11496 (python-previous-statement): Delete command.
11497 (python-nav-backward-sentence): New command.
11498 (python-fill-paragraph): Delete command.
11499 (python-fill-paragraph-function): New command.
11500 (python-send-buffer): Delete command.
11501 (python-shell-send-buffer): New command.
11502 (python-send-defun): Delete command.
11503 (python-shell-send-defun): New command.
11504 (python-send-region, python-send-region-and-go): Delete commands.
11505 (python-shell-send-region)
11506 (python-shell-switch-to-shell): New commands.
11507 (python-send-string): Delete command.
11508 (python-shell-send-string): New command.
11509 (python-switch-to-python): Delete command.
11510 (python-shell-switch-to-shell): New command.
11511 (python-describe-symbol): Delete command.
11512 (python-eldoc-at-point): New command.
11513 (python--set-prompt-regexp, python-args-to-list)
11514 (python-after-info-look, python-check-version)
11515 (python-check-comint-prompt, python-find-imports)
11516 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11517 (python-unload-function, python-expand-template)
11518 (python-maybe-jython, python-preoutput-filter)
11519 (python-pdbtrack-get-source-buffer)
11520 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11521 (python-pdbtrack-toggle-stack-tracking)
11522 (python-pdbtrack-track-stack-file, python-initial-text)
11523 (python-first-word, python-comment-line-p, python-send-command)
11524 (python-setup-brm, python-sentinel, python-set-proc)
11525 (python-skip-out, python-input-filter, python-outdent-p)
11526 (python-outline-level, python-backslash-continuation-line-p)
11527 (python-end-of-block, python-end-of-statement, python-mark-block)
11528 (python-beginning-of-block, python-beginning-of-statement)
11529 (python-blank-line-p, python-beginning-of-string)
11530 (python-open-block-statement-p): Delete functions.
11531 (python-indent-line, python-indent-line-1): Delete functions.
11532 (python-indent-line): New function.
11533 (python-indentation-levels): Delete function.
11534 (python-indent-calculate-levels): New function.
11535 (python-proc): Delete function.
11536 (python-shell-get-process): New function.
11537 (python-send-receive): Delete function.
11538 (python-shell-send-string-no-output): New function.
11539 (python-module-path): Delete function.
11540 (python-ffap-module-path): New function.
11541 (python-completion-at-point)
11542 (python-symbol-completions): Delete functions.
11543 (python-completion-complete-at-point): New function.
11544 (python-load-file): Delete function.
11545 (python-shell-send-file): New function.
11546 (python-calculate-indentation): Delete function.
11547 (python-indent-calculate-indentation): New function.
11548 (python-skip-comments/blanks): Delete function.
11549 (python-util-forward-comment): New function.
11550 (python-continuation-line-p): Delete function.
11551 (python-info-continuation-line-p): New function.
11552 (python-which-func, python-current-defun): Delete function.
11553 (python-info-current-defun): New function.
11554 (python-beginning-of-defun): Delete function.
11555 (python-nav-beginning-of-defun): New function.
11556 (python-close-block-statement-p)
11557 (python-block-end-p): Delete function.
11558 (python-info-closing-block): New function.
11559 (python-comint-output-filter-function)
11560 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11561 (python-fill-comment, python-fill-decorator, python-fill-paren)
11562 (python-fill-string, python-imenu-make-element-tree)
11563 (python-imenu-make-tree, python-imenu-tree-assoc)
11564 (python-indent-context, python-indent-dedent-line)
11565 (python-indent-line-function)
11566 (python-indent-post-self-insert-function)
11567 (python-indent-toggle-levels)
11568 (python-info-assignment-continuation-line-p)
11569 (python-info-beginning-of-backlash)
11570 (python-info-block-continuation-line-p)
11571 (python-info-closing-block-message)
11572 (python-info-line-ends-backslash-p)
11573 (python-info-looking-at-beginning-of-defun)
11574 (python-info-ppss-context, python-info-ppss-context-type)
11575 (python-nav-list-defun-positions, python-nav-read-defun)
11576 (python-nav-sentence-end, python-nav-sentence-start)
11577 (python-pdbtrack-comint-output-filter-function)
11578 (python-pdbtrack-set-tracked-buffer)
11579 (python-shell-calculate-exec-path)
11580 (python-shell-calculate-process-environment)
11581 (python-shell-completion--do-completion-at-point)
11582 (python-shell-completion--get-completions)
11583 (python-shell-completion-complete-at-point)
11584 (python-shell-completion-complete-or-indent)
11585 (python-shell-get-or-create-process)
11586 (python-shell-get-process-name)
11587 (python-shell-internal-get-or-create-process)
11588 (python-shell-internal-get-process-name)
11589 (python-shell-internal-send-string, python-shell-make-comint)
11590 (python-shell-parse-command, python-shell-send-setup-code)
11591 (python-skeleton-add-menu-items)
11592 (python-util-clone-local-variables, python-util-position)
11593 (run-python-internal, python-indentation-levels)
11594 (python-nav-beginning-of-defun)
11595 (python-completion-complete-at-point): New functions.
11596 (run-python): Change arguments. New API requirements.
11597
11598 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11601 (bug#11649).
11602
11603 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11604 (macroexp--expand-all): Use it.
11605
11606 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11607 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11608 Use `cl-function' instead.
11609
11610 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11613 Suggested by Stefan Monnier while discussing bug#11657.
11614
11615 2012-06-14 Sam Steingold <sds@gnu.org>
11616
11617 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11618
11619 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11620
11621 * play/doctor.el (doctor-doc): Remove parameter and use
11622 doctor-sent instead of sent.
11623 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11624
11625 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * files.el: Require cl-lib.
11628 (file-name-non-special): Replace case -> cl-case.
11629
11630 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11631
11632 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11633 mapping from #' to function*.
11634
11635 2012-06-13 Chong Yidong <cyd@gnu.org>
11636
11637 * mouse.el (mouse-drag-track): Do not set the mark if the user
11638 releases the mouse without selecting anything (Bug#11588).
11639
11640 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11643 as well (bug#11646).
11644
11645 * loadup.el: Count byte-code functions as well.
11646
11647 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11648 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11649
11650 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11651 (bug#11649). Add cl-defun and cl-defmacro.
11652
11653 2012-06-13 Drew Adams <drew.adams@oracle.com>
11654
11655 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11656 Fix last change.
11657
11658 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11659
11660 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11661 Otherwise, it blocks in batch mode.
11662
11663 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11664
11665 * help-mode.el (bookmark-make-record-default): Declare.
11666
11667 2012-06-13 Chong Yidong <cyd@gnu.org>
11668
11669 * emacs-lisp/package.el (list-packages): Compute a list of
11670 packages that are newly-available since the last list-packages
11671 invocation.
11672 (package-menu--new-package-list): New var.
11673 (package-menu--generate, package-menu--print-info)
11674 (package-menu--status-predicate, package-menu-mark-install):
11675 Handle new status label "new".
11676
11677 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11678
11679 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11680 conversion to backquotes.
11681
11682 2012-06-12 Chong Yidong <cyd@gnu.org>
11683
11684 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11685 Rename from gud-inhibit-global-bindings.
11686
11687 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11688
11689 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11690 hook from nxml-glyph-set-hook.
11691
11692 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11693 declaration.
11694
11695 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11696
11697 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11698 Convert to defcustom.
11699
11700 2012-06-12 Drew Adams <drew.adams@oracle.com>
11701
11702 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11703 New functions.
11704 (help-mode): Use them.
11705
11706 2012-06-11 Glenn Morris <rgm@gnu.org>
11707
11708 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11709 Use preprocessor face for directives.
11710 (fortran-directive-re): Doc fix.
11711
11712 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11713
11714 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11715 conversion to backquotes (bug#11652).
11716
11717 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11718 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11719 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11720 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11721 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11722 (cl-ninth, cl-tenth): Mark them as inlinable.
11723 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11724 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11725 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11726 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11727 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11728 (cl-list*, cl-adjoin): Don't put an autoload manually.
11729 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11730 (cl--compiler-macro-list*): Add autoload cookie.
11731 (cl--compiler-macro-cXXr): New function.
11732
11733 * help-fns.el (help-fns--compiler-macro): New function extracted from
11734 describe-function-1; follow aliases and use `compiler-macro' property.
11735 (describe-function-1): Use it.
11736
11737 2012-06-11 Chong Yidong <cyd@gnu.org>
11738
11739 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11740 is uninstalled, if imagemagick is installed.
11741
11742 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11743
11744 * emacs-lisp/cl-lib.el: Use lexical-binding.
11745 (cl-map-extents, cl-maclisp-member): Remove.
11746 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11747 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11748 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11749 * emacs-lisp/cl-extra.el: Use lexical-binding.
11750 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11751 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11752 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11753 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11754 * emacs-lisp/cl-seq.el: Use lexical-binding.
11755 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11756 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11757 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11758 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11759 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11760 CL's internals.
11761
11762 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11763
11764 Sync with Tramp 2.2.6-pre.
11765
11766 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11767 `print-length' and `print-level' to nil, in order to avoid
11768 truncation. Reported by Christopher Schmidt
11769 <christopher@ristopher.com>.
11770
11771 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11772
11773 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11774 New defmacro.
11775 (tramp-compat-copy-directory): Add optional argument
11776 COPY-CONTENTS. It is not handled yet.
11777
11778 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11779 (tramp-ftp-file-name-p): Simplify.
11780
11781 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11782 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11783 connection vector.
11784
11785 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11786 (tramp-methods): Do not use `tramp-password-end-of-line'.
11787 (tramp-completion-function-alist-putty): Handle UNIX case.
11788 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11789 (tramp-do-file-attributes-with-stat)
11790 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11791 gid as real numbers. They could run out of integer range on cygwin.
11792 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11793 (tramp-sh-handle-expand-file-name): Handle hops.
11794 (tramp-open-connection-setup-interactive-shell):
11795 Use `tramp-cleanup'. Move check for busyboxes ...
11796 (tramp-find-shell): ... here. Simplify implementation.
11797 Set "remote-shell" property also for alternative shells.
11798 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11799 If failing, a regular file would be written otherwise.
11800 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11801 (tramp-find-inline-encoding): Cache the coding commands in the
11802 process cache. Apply test command on the remote side, if defined.
11803 (tramp-find-inline-compress): Cache the compress commands in the
11804 process cache.
11805 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11806 when requested. Handle hops.
11807 (tramp-current-connection): New defvar.
11808 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11809 Throw `suppress', if there was a failed connection shortly before.
11810 Handle user interrupt. (Bug#10187)
11811 (tramp-get-inline-compress, tramp-get-inline-coding):
11812 Read connection properties from the process cache.
11813
11814 * net/tramp-smb.el (tramp-smb-server-version)
11815 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11816 New defconsts.
11817 (tramp-smb-prompt): Extend for powershell prompt.
11818 (tramp-smb-file-name-handler-alist): Add handlers for
11819 `process-file', `shell-command' and `start-file-process'.
11820 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11821 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11822 (tramp-smb-file-name-p): Simplify.
11823 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11824 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11825 (tramp-smb-shell-quote-argument): New defuns.
11826 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11827 Implement using "tar". By this, time-stamps are preserved.
11828 (tramp-smb-handle-copy-file): Handle also the case of directories.
11829 (tramp-smb-do-file-attributes-with-stat)
11830 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11831 Use `tramp-get-connection-buffer').
11832 (tramp-smb-handle-rename-file): Use "rename", when source and
11833 target are on the same share.
11834 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11835 Use `tramp-smb-server-version'.
11836 (tramp-smb-wait-for-output): Remove prompt.
11837
11838 * net/tramp.el (top): Require 'cl.
11839 (tramp-methods, tramp-rsh-end-of-line):
11840 Remove `tramp-password-end-of-line' from docstring.
11841 (tramp-save-ad-hoc-proxies): New defcustom.
11842 (tramp-completion-function-alist): Adapt docstring.
11843 (tramp-default-password-end-of-line): Remove defcustom.
11844 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11845 (tramp-user-regexp, tramp-file-name-regexp-unified)
11846 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11847 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11848 (tramp-remote-file-name-spec-regexp): New defconst.
11849 (tramp-file-name-structure): Extend structure for hops.
11850 (tramp-get-method-parameter): Move up.
11851 (tramp-file-name-p, tramp-dissect-file-name)
11852 (with-parsed-tramp-file-name): Handle hops.
11853 (tramp-file-name-hop): New defun.
11854 (tramp-make-tramp-file-name): New optional arg HOP.
11855 (tramp-message-show-progress-reporter-message): New defvar.
11856 (tramp-with-progress-reporter): Use it. We cannot use
11857 `tramp-message-show-message' here, because this suppresses also
11858 error buffers.
11859 (tramp-error-with-buffer): Suppress buffer view, if
11860 `tramp-message-show-message' is nil.
11861 Use `tramp-get-connection-buffer'.
11862 (tramp-cleanup): New defun.
11863 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11864 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11865 an error unchanged.
11866 (tramp-completion-handle-file-name-all-completions): Handle hops.
11867 Fix an error when called from ido.
11868 (tramp-completion-dissect-file-name): Use better local variable
11869 name. Add hop to the vector.
11870 (tramp-handle-insert-file-contents): Use progress-reporter for the
11871 whole scenario.
11872 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11873 to `t'.
11874 (tramp-check-for-regexp): Simplify search.
11875 (tramp-enter-password): Remove it. Move implementation ...
11876 (tramp-action-password): ... here.
11877 (tramp-mode-string-to-int, tramp-local-host-p)
11878 (tramp-make-tramp-temp-file, tramp-read-passwd)
11879 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11880 Set tramp-autoload cookie.
11881
11882 * net/trampver.el: Update release number.
11883
11884 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11885 Michael Albinus <michael.albinus@gmx.de>
11886
11887 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11888 (tramp-parse-group, tramp-parse-file)
11889 (tramp-parse-shostkeys-sknownhosts): New defuns.
11890 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11891 (tramp-parse-shosts-group, tramp-parse-sconfig)
11892 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11893 (tramp-parse-sknownhosts, tramp-parse-hosts)
11894 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11895 Use them.
11896 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11897 (tramp-parse-putty-group): Don't narrow.
11898 (tramp-parse-putty): Make a loop.
11899 (tramp-file-name-handler): Catch the `suppress' signal.
11900
11901 2012-06-11 Chong Yidong <cyd@gnu.org>
11902
11903 * image.el (imagemagick-register-types): Put the ImageMagick entry
11904 at the end of image-type-file-name-regexps.
11905
11906 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11907
11908 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11909 (pcase, pcase-let*, pcase-dolist): Use them.
11910
11911 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11912
11913 * emacs-lisp/pcase.el (pcase--let*): New function.
11914 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11915 (pcase--expand): Use macroexp-let².
11916
11917 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11920 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11921 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11922 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11923 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11924 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11925
11926 2012-06-10 Glenn Morris <rgm@gnu.org>
11927
11928 * mail/rmail.el (rmail-yank-current-message): Leave point at
11929 correct position. (Bug#11660)
11930
11931 2012-06-10 Chong Yidong <cyd@gnu.org>
11932
11933 * allout-widgets.el: Fix code header.
11934
11935 2012-06-10 Chong Yidong <cyd@gnu.org>
11936
11937 * cus-edit.el (customize-changed-options-previous-release):
11938 Bump to 24.1.
11939
11940 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11941
11942 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11943
11944 2012-06-09 Chong Yidong <cyd@gnu.org>
11945
11946 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11947
11948 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11949
11950 * window.el (special-display-popup-frame): Don't use
11951 window--display-buffer (Bug#11651).
11952
11953 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11954
11955 Fix parallel builds: make sure loaddefs.el is not being written
11956 while Lisp files are compiled.
11957 (compile): Don't depend on 'mh-autoloads'.
11958 (compile-CMD, compile-SH): Depend on 'autoloads'.
11959 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11960
11961 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11962
11963 2012-06-09 Chong Yidong <cyd@gnu.org>
11964
11965 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11966 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11967 Doc fixes (Bug#11225).
11968
11969 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11972 a function if there's a clear indication that it has a compiler-macro.
11973 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11974 (macro-declarations-alist): Add arglist to declaration functions.
11975 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11976 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11977 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11978 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11979 Also add autoload to find the compiler macro.
11980 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11981 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11982 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11983 (cl--compiler-macro-get): New functions, replacing calls to
11984 cl-define-compiler-macro.
11985 (cl-typep) [compiler-macro]: Use macroexp-let².
11986
11987 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11988
11989 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11990 string properly, fixes Bug#11473.
11991
11992 2012-06-08 Chong Yidong <cyd@gnu.org>
11993
11994 * faces.el (set-face-attribute): Doc fix.
11995 (modify-face): Don't use :bold and :italic.
11996 (error, warning, success): Tweak definitions.
11997
11998 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11999 (custom-modified, custom-set, custom-changed, custom-themed)
12000 (custom-saved, custom-button, custom-button-mouse)
12001 (custom-button-pressed, custom-state, custom-comment-tag)
12002 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12003 (custom-group-subtitle): Use new-style face specs.
12004 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12005 (custom-set-face, custom-changed-face, custom-saved-face)
12006 (custom-button-face, custom-button-pressed-face)
12007 (custom-documentation-face, custom-state-face)
12008 (custom-comment-face, custom-comment-tag-face)
12009 (custom-variable-tag-face, custom-variable-button-face)
12010 (custom-face-tag-face, custom-group-tag-face-1)
12011 (custom-group-tag-face): Remove obsolete face alias.
12012
12013 * epa.el (epa-validity-high, epa-validity-medium)
12014 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12015 (epa-field-name, epa-field-body):
12016 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12017 (font-lock-keyword-face, font-lock-builtin-face)
12018 (font-lock-function-name-face, font-lock-variable-name-face)
12019 (font-lock-type-face, font-lock-constant-face):
12020 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12021 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12022 * speedbar.el (speedbar-button-face, speedbar-file-face)
12023 (speedbar-directory-face, speedbar-tag-face)
12024 (speedbar-selected-face, speedbar-highlight-face)
12025 (speedbar-separator-face):
12026 * whitespace.el (whitespace-newline, whitespace-space)
12027 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12028 (whitespace-line, whitespace-space-before-tab)
12029 (whitespace-space-after-tab, whitespace-indentation)
12030 (whitespace-empty):
12031 * emulation/cua-base.el (cua-global-mark):
12032 * eshell/em-prompt.el (eshell-prompt):
12033 * net/newst-plainview.el (newsticker-new-item-face)
12034 (newsticker-old-item-face, newsticker-immortal-item-face)
12035 (newsticker-obsolete-item-face, newsticker-date-face)
12036 (newsticker-statistics-face, newsticker-default-face):
12037 * net/newst-reader.el (newsticker-feed-face)
12038 (newsticker-extra-face, newsticker-enclosure-face):
12039 * net/newst-treeview.el (newsticker-treeview-face)
12040 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12041 (newsticker-treeview-immortal-face)
12042 (newsticker-treeview-obsolete-face)
12043 (newsticker-treeview-selection-face):
12044 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12045 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12046 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12047 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12048 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12049 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12050 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12051 (mpuz-text):
12052 * progmodes/vera-mode.el (vera-font-lock-number)
12053 (vera-font-lock-function, vera-font-lock-interface):
12054 * textmodes/table.el (table-cell): Use new-style face specs, and
12055 don't use the old :bold and :italic attributes.
12056
12057 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12058 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12059 (ebrowse-member-class, ebrowse-progress): Likewise.
12060 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12061 (ebrowse-file-name-face, ebrowse-default-face)
12062 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12063 (ebrowse-progress-face): Remove obsolete faces.
12064
12065 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12066 Inherit from error and warning faces respectively.
12067
12068 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12069 Likewise.
12070 (flyspell-incorrect-face, flyspell-duplicate-face):
12071 Remove obsolete aliases.
12072
12073 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12074
12075 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12076 Avoid infloop.
12077
12078 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * startup.el (argv, argi): Make lexically scoped.
12081 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12082 * emacs-lisp/cl-macs.el: Use lexical-binding.
12083 Rename cl-bind-* to cl--bind-*.
12084 * files.el: Don't require `cl' since it doesn't use it.
12085 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12086
12087 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12090 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12091 instead of calling external sort utility.
12092 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12093
12094 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12095
12096 * descr-text.el (describe-char): Mention how to insert the
12097 character, if the current input method doesn't support it.
12098 See the discussion in this thread for the details:
12099 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12100
12101 2012-06-08 Sam Steingold <sds@gnu.org>
12102
12103 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12104 XF86Back to previous-buffer.
12105 (minibuffer-local-map): Bind them to next-history-element and
12106 previous-history-element respectively.
12107 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12108 help-go-back respectively.
12109 * info.el (Info-mode-map): Bind them to Info-history-forward and
12110 Info-history-back respectively.
12111 These are the keys next to Up on the ThinkPad keyboard.
12112
12113 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12114
12115 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12116 * emacs-lisp/cl-macs.el: Provide itself.
12117 (cl--labels-convert-cache): New var.
12118 (cl--labels-convert): New function.
12119 (cl-flet, cl-labels): New implementation with new semantics, relying on
12120 lexical-binding.
12121 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12122 (cl-closure-vars, cl--function-convert-cache)
12123 (cl--function-convert): Move from cl-macs.el.
12124 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12125 rename by removing the "cl-" prefix.
12126 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12127
12128 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12129
12130 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12131 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12132 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12133 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12134 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12135 (cl-hash-table-count): Add old compatibility aliases.
12136
12137 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12138 Use macroexpand-all-environment instead.
12139 (cl--old-macroexpand): New var.
12140 (cl--sm-macroexpand): New function.
12141 (cl-symbol-macrolet): Use it during macro expansion.
12142 (cl--function-convert-cache): New var.
12143 (cl--function-convert): New function, extracted from
12144 cl-macroexpand-all.
12145 (cl-lexical-let): Use it.
12146
12147 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12148 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12149 (cl-member): Remove old alias.
12150
12151 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12152 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12153 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12154 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12155 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12156 (cl-macroexpand-cmacs): Remove var.
12157 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12158 Use macroexpand-all instead.
12159
12160 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12163 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12164 (macroexp-copyable-p): New functions and macros.
12165 * emacs-lisp/edebug.el (edebug-unwrap):
12166 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12167 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12168 (pcase--let*): Remove.
12169 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12170 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12171 macroexp-const-p instead.
12172 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12173
12174 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12175 instead of "cl-" for internal definitions. Use macroexp-const-p.
12176 (cl-old-bc-file-form): Remove var.
12177 (cl-const-exprs-p): Remove fun.
12178 (cl-labels, cl-macrolet): Use backquote.
12179 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12180 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12181 (cl-define-setf-expander): Rename from cl-define-setf-method.
12182 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12183
12184 * international/mule-cmds.el: Don't require CL.
12185 (view-hello-file): Don't use `letf'.
12186
12187 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12188
12189 * tmm.el (tmm-prompt): Use string-prefix-p.
12190 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12191 (tmm-add-prompt): Use minibuffer-completion-help.
12192 (tmm-delete-map): Remove.
12193
12194 * subr.el (kbd): Make it its own function.
12195
12196 2012-06-07 Stefan Merten <smerten@oekonux.de>
12197
12198 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12199 Silence compiler warnings. Fix versions.
12200 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12201 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12202 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12203 (rst-package-emacs-version-alist): Correct Emacs version to
12204 represent major merge with upstream.
12205 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12206
12207 2012-06-06 Glenn Morris <rgm@gnu.org>
12208
12209 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12210 Only print environment variables if set.
12211
12212 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12215 (macroexp--cons): Rename from maybe-cons.
12216 (macroexp--accumulate): Rename from macroexp-accumulate.
12217 (macroexp--all-forms): Rename from macroexpand-all-forms.
12218 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12219 (macroexp--expand-all): Rename from macroexpand-all-1.
12220
12221 2012-06-06 Sam Steingold <sds@gnu.org>
12222
12223 * calendar/calendar.el (calendar-in-read-only-buffer):
12224 Call `special-mode' to enable the standard read-only keybindings.
12225
12226 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12227
12228 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12229 with "loading" messages (bug#11635).
12230
12231 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12232
12233 * files.el (enable-remote-dir-locals): New option.
12234 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12235
12236 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12237 Ensure, that the temp directory is local.
12238
12239 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12240 `temporary-file-directory'.
12241
12242 * progmodes/python.el (python-send-region): Ensure, that the
12243 temporary file is created also in the remote case.
12244
12245 2012-06-06 Glenn Morris <rgm@gnu.org>
12246
12247 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12248 (vc-rcs-update-changelog): Use it.
12249
12250 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12251
12252 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12253 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12254 (vc-sccs-diff): Replace use of the external vcdiff script.
12255
12256 2012-06-05 Glenn Morris <rgm@gnu.org>
12257
12258 * ledit.el: Move to obsolete/.
12259
12260 2012-06-05 Sam Steingold <sds@gnu.org>
12261
12262 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12263 patch (Bug#11140).
12264
12265 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * emacs-lisp/cust-print.el: Move to obsolete.
12268
12269 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12270 compiler-macro expansion.
12271
12272 Add native compiler-macro support.
12273 * emacs-lisp/macroexp.el (macroexpand-all-1):
12274 Support compiler-macros directly. Properly follow aliases and apply
12275 the compiler macros more thoroughly.
12276 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12277 macroexpand now properly follows aliases.
12278 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12279 (cl-compiler-macroexpand): Use new prop.
12280 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12281
12282 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12283
12284 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12285
12286 * window.el (get-lru-window, get-mru-window, get-largest-window):
12287 New argument NOT-SELECTED to avoid picking the selected window.
12288 (window--display-buffer-1, window--display-buffer-2): Replace by
12289 new function window--display-buffer
12290 (display-buffer-same-window, display-buffer-reuse-window)
12291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12292 Use window--display-buffer.
12293 (display-buffer-use-some-window): Remove temporary dedication
12294 hack by calling get-lru-window and get-largest-window with
12295 NOT-SELECTED argument non-nil. Call window--display-buffer.
12296
12297 2012-06-05 Glenn Morris <rgm@gnu.org>
12298
12299 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12300 Replace external vcdiff script.
12301
12302 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12305
12306 2012-06-04 Chong Yidong <cyd@gnu.org>
12307
12308 * image.el (imagemagick-types-inhibit): Revert last change.
12309 Add INFO and M.
12310 (imagemagick-enabled-types): Remove CIN and EPS*.
12311
12312 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12313
12314 * emacs-lisp/cl-lib.el: Rename from cl.el.
12315 * emacs-lisp/cl.el: New compatibility file.
12316 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12317 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12318 to obey the "cl-" prefix.
12319 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12320
12321 2012-06-03 Glenn Morris <rgm@gnu.org>
12322
12323 * emacs-lisp/authors.el (authors-aliases): Addition.
12324
12325 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12326 Fix :version.
12327
12328 2012-06-03 Stefan Merten <smerten@oekonux.de>
12329
12330 * textmodes/rst.el: Add comments.
12331 (rst-transition, rst-adornment): New faces.
12332 (rst-adornment-faces-alist): Make default safe to reevaluate.
12333 Fixes
12334 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12335 Improve customization tags.
12336 (rst-define-level-faces): Clarify meaning.
12337
12338 2012-06-03 Chong Yidong <cyd@gnu.org>
12339
12340 * progmodes/compile.el (compilation-mode-line-fail)
12341 (compilation-mode-line-run, compilation-mode-line-exit):
12342 New faces.
12343 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12344
12345 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12346
12347 * progmodes/which-func.el (which-func-update-ediff-windows):
12348 New function. Use it in ediff-select-hook (Bug#11478).
12349
12350 2012-06-03 Chong Yidong <cyd@gnu.org>
12351
12352 * bindings.el: Remove explicit help text from format-mode-line.
12353 It is now supplied by mode-line-default-help-echo.
12354 (mode-line-front-space, mode-line-end-spaces)
12355 (mode-line-misc-info): New variables.
12356 (mode-line-modes, mode-line-position): Move the default value to
12357 the variable definition.
12358 (mode-line-default-help-echo): New defcustom.
12359 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12360 (mode-line-modified-help-echo): New functions.
12361 (mode-line-mule-info, mode-line-modified): Use them.
12362 (mode-line-eol-desc, propertized-buffer-identification):
12363 Consistency fixes for help text.
12364 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12365 set-buffer-file-coding-system (Bug#289).
12366 (mode-line-mule-info-help-echo): Update help text.
12367
12368 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * simple.el (execute-extended-command): Set real-this-command
12371 (bug#11506).
12372
12373 2012-06-02 Chong Yidong <cyd@gnu.org>
12374
12375 Remove incorrect uses of "modeline" in comments, docstrings, and
12376 function/variable names (Bug#10329).
12377
12378 * cus-edit.el (mode-line):
12379 * dframe.el (dframe-mouse-hscroll):
12380 * emacs-lisp/re-builder.el:
12381 * emacs-lisp/easy-mmode.el (define-minor-mode):
12382 * frame.el (set-frame-name):
12383 * help.el (lookup-minor-mode-from-indicator):
12384 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12385 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12386 (c-toggle-hungry-state):
12387 * progmodes/antlr-mode.el (antlr-language-alist):
12388 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12389 * progmodes/vhdl-mode.el (vhdl-mode):
12390 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12391 * term/ns-win.el (ns-face-at-pos):
12392 * term/sup-mouse.el (sup-mouse-report):
12393 * textmodes/flyspell.el (flyspell-mode-line-string):
12394 * textmodes/ispell.el (ispell-highlight-face):
12395 * textmodes/reftex-global.el:
12396 * vc/vc-arch.el (vc-arch-mode-line-string):
12397 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12398 * vc/vc-git.el (vc-git-mode-line-string):
12399 * vc/vc-hooks.el (vc-display-status)
12400 (vc-default-mode-line-string):
12401 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12402
12403 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12404
12405 * dired.el (dired-sort-set-mode-line): Rename from
12406 dired-sort-set-modeline. All callers changed.
12407
12408 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12409 eshell-status-in-modeline.
12410
12411 * foldout.el (foldout-mode-line-string): Rename from
12412 foldout-modeline-string. All callers changed.
12413 (foldout-update-mode-line): Rename from foldout-update-modeline.
12414
12415 * subr.el (redraw-modeline): Make into obsolete alias.
12416
12417 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12418 timeclock-modeline-display. Make old name an alias.
12419 (timeclock-update-mode-line): Likewise. All callers changed.
12420 (timeclock-mode-line-display): No need to check before using
12421 add-hook.
12422 (timeclock-relative, timeclock-day-over-hook)
12423 (timeclock-use-elapsed, timeclock-mode-string)
12424 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12425
12426 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12427 crisp-mode-modeline-string.
12428
12429 * play/solitaire.el (solitaire-build-mode-line): Rename from
12430 solitaire-build-modeline. All callers changed.
12431
12432 * play/zone.el (zone-hiding-mode-line): Rename from
12433 zone-hiding-modeline. All callers changed.
12434 (zone): Remove unusued `modeline-hidden-level' property.
12435
12436 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12437 xscheme-modeline-initialize. All callers changed.
12438
12439 * strokes.el (strokes-lighter): Rename from
12440 strokes-modeline-string.
12441
12442 * textmodes/sgml-mode.el (html-face-tag-alist)
12443 (html-tag-face-alist): Use mode-line face instead of obsolete
12444 alias modeline.
12445
12446 2012-06-02 Stefan Merten <smerten@oekonux.de>
12447
12448 * textmodes/rst.el: Always require `cl'.
12449 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12450
12451 2012-06-02 Chong Yidong <cyd@gnu.org>
12452
12453 * image.el (imagemagick-enabled-types): Rename from
12454 imagemagick-types-enable. Add many more types.
12455 (imagemagick-types-inhibit): Change default to nil.
12456 (imagemagick-filter-types): Caller changed.
12457
12458 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12459
12460 * emacs-lisp/cl-macs.el: Use backquotes.
12461 (cl-transform-function-property): Use eval-and-compile rather than
12462 abusing `require'.
12463 (defstruct): Use declare-function instead of with-no-warnings.
12464
12465 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12466 (byte-compile-output-docform): Re-add the print-circle bindings.
12467 (byte-compile-fix-header): Use #$ just because it's shorter.
12468 (byte-compile-output-file-form): Remove defun/defmacro.
12469
12470 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12471
12472 * simple.el (choose-completion): Remove now obsolete binding for
12473 owindow.
12474
12475 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12476
12477 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12478 in order to avoid "Stack overflow in regexp matcher".
12479
12480 2012-05-31 Glenn Morris <rgm@gnu.org>
12481
12482 * image.el: For clarity, call imagemagick-register-types at
12483 top-level, rather than relying on a custom :initialize.
12484 (imagemagick-types-enable): New option. (Bug#11557)
12485 (imagemagick-filter-types): New function. (Bug#7406)
12486 (imagemagick-register-types): Use imagemagick-filter-types.
12487 If disabling support, remove elements altogether rather
12488 than using an impossible regexp.
12489 (imagemagick-types-inhibit): Give it the default init function.
12490
12491 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12492
12493 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12494 Handle arbitrary file name lengths (Bug#11585).
12495
12496 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12497
12498 * desktop.el (desktop-read): Clear previous and next buffers for
12499 all windows and bury *Messages* buffer (bug#11556).
12500
12501 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12502
12503 Add `declare' for `defun'. Align `defmacro's with it.
12504 * emacs-lisp/easy-mmode.el (define-minor-mode)
12505 (define-globalized-minor-mode): Don't autoload the var definitions.
12506 * emacs-lisp/byte-run.el: Use lexical-binding.
12507 (defun-declarations-alist, macro-declarations-alist): New vars.
12508 (defmacro, defun): Use them.
12509 (make-obsolete, define-obsolete-function-alias)
12510 (make-obsolete-variable, define-obsolete-variable-alias):
12511 Use `declare'.
12512 (macro-declaration-function): Mark obsolete.
12513 * emacs-lisp/autoload.el: Use lexical-binding.
12514 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12515
12516 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12517
12518 * textmodes/ispell.el (ispell-with-no-warnings):
12519 Define as a macro.
12520 (ispell-kill-ispell, ispell-change-dictionary):
12521 Use `called-interactively-p' for Emacs instead of obsolete
12522 `interactive-p'.
12523
12524 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12527 (macro-declaration-function): Move var from C code.
12528 (macro-declaration-function): Define function with defalias.
12529 * emacs-lisp/macroexp.el (macroexpand-all-1):
12530 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12531 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12532 defun/defmacro any more.
12533 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12534 Provide fallback for unknown arglist.
12535 (byte-compile-arglist-warn): Change calling convention.
12536 (byte-compile-output-file-form): Move print-vars binding.
12537 (byte-compile-output-docform): Simplify accordingly.
12538 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12539 (byte-compile-defmacro-declaration): Remove.
12540 (byte-compile-file-form-defmumble): Generalize to defalias.
12541 (byte-compile-output-as-comment): Return byte-positions.
12542 Simplify callers accordingly.
12543 (byte-compile-lambda): Use `assert'.
12544 (byte-compile-defun, byte-compile-defmacro): Remove.
12545 (byte-compile-file-form-defalias):
12546 Use byte-compile-file-form-defmumble.
12547 (byte-compile-defalias-warn): Remove.
12548
12549 2012-05-29 Stefan Merten <smerten@oekonux.de>
12550
12551 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12552 possible. Fix authors. Improve comments. Improve loading of `cl'.
12553
12554 (rst-mode-abbrev-table): Merge definition.
12555 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12556 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12557
12558 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12559
12560 * calendar/icalendar.el
12561 (icalendar-export-region): Export UID properly.
12562
12563 2012-05-29 Leo Liu <sdl.web@gmail.com>
12564 * calendar/icalendar.el (icalendar-import-format):
12565 Add `icalendar-import-format-uid' (Bug#11525).
12566 (icalendar-import-format-uid): New.
12567 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12568 Export UID.
12569
12570 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12573 different alternative patterns.
12574 (pcase-codegen): Be more careful to preserve identity.
12575 (pcase--u1): Don't forget to mark vars as used.
12576
12577 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12578 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12579 (byte-compile-from-buffer): ...rather than here.
12580
12581 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12582 functions from byte-compile-function-environment.
12583
12584 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12585
12586 * window.el (window-deletable-p): Avoid deleting the root window
12587 of a frame with an active minibuffer.
12588
12589 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12590
12591 * simple.el (choose-completion): Use quit-window (Bug#11567).
12592
12593 2012-05-29 Chong Yidong <cyd@gnu.org>
12594
12595 * whitespace.el (whitespace-cleanup): Fix usage of
12596 whitespace-empty-at-bob-regexp (Bug#11492).
12597
12598 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12599
12600 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12601 revert (Bug#11488).
12602
12603 2012-05-29 Juri Linkov <juri@jurta.org>
12604
12605 * isearch.el (isearch-mode-map): Bind `M-s _' to
12606 `isearch-toggle-symbol'. Bind `M-s c' to
12607 `isearch-toggle-case-fold'.
12608 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12609 (isearch-forward): Add `M-s _' to the docstring.
12610 (isearch-forward-symbol, isearch-toggle-case-fold)
12611 (isearch-symbol-regexp): New functions. (Bug#11381)
12612
12613 2012-05-29 Juri Linkov <juri@jurta.org>
12614
12615 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12616 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12617 a function, call it to get the regexp.
12618 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12619 property `isearch-message-prefix' instead of the string "word ".
12620 (isearch-search-fun-default): For the case of `isearch-word',
12621 return a lambda that calls re-search-forward/re-search-backward
12622 with a regexp returned by `word-search-regexp' or by the function
12623 in `isearch-word'.
12624
12625 2012-05-29 Juri Linkov <juri@jurta.org>
12626
12627 * isearch.el (isearch-search-fun-default): New function.
12628 (isearch-search-fun): Move default part to the new function
12629 `isearch-search-fun-default'.
12630 (isearch-search-fun-function): Set the default value to
12631 `isearch-search-fun-default'. (Bug#11381)
12632
12633 * comint.el (comint-history-isearch-end):
12634 Use `isearch-search-fun-default'.
12635 (comint-history-isearch-search): Use `isearch-search-fun-default'
12636 and remove spacial case for `isearch-word'.
12637 (comint-history-isearch-wrap): Remove spacial case for
12638 `isearch-word'.
12639
12640 * hexl.el (hexl-isearch-search-function):
12641 Use `isearch-search-fun-default'.
12642
12643 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12644 Use `word-search-regexp' for `isearch-word'.
12645
12646 * misearch.el (multi-isearch-search-fun):
12647 Use `isearch-search-fun-default'.
12648
12649 * simple.el (minibuffer-history-isearch-search):
12650 Use `isearch-search-fun-default' and remove spacial case for
12651 `isearch-word'.
12652 (minibuffer-history-isearch-wrap): Remove spacial case for
12653 `isearch-word'.
12654
12655 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12656 Remove spacial case for `isearch-word'.
12657 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12658
12659 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12660
12661 Decrease XEmacs incompatibilities.
12662 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12663 Use `string-match'.
12664 (flyspell-delete-region-overlays): Use alternative definition for
12665 XEmacs.
12666 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12667 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12668 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12669 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12670 `define-obsolete-face-alias' under XEmacs, but old method.
12671
12672 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12673 `with-no-warnings' definition or Emacs alias.
12674 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12675 (ispell-word): Do not use `region-p' if XEmacs.
12676
12677 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12678
12679 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12680 Check for `ispell-dictionary-base-alist' instead of full
12681 `ispell-dictionary-alist'.
12682 (ispell-init-process): Show spellchecker when starting new Ispell
12683 process.
12684
12685 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12688 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12689
12690 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12691
12692 * version.el (motif-version-string, gtk-version-string)
12693 (ns-version-string): Declare.
12694
12695 2012-05-27 Juri Linkov <juri@jurta.org>
12696
12697 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12698 after the `eval-defun-1' specialcaseing
12699 like in `edebug-eval-defun' (bug#10181).
12700
12701 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12702 like in `eval-defun-1'.
12703
12704 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12705
12706 * mail/sendmail.el (mail-yank-region):
12707 Recognize rmail-yank-current-message in addition to insert-buffer.
12708 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12709 a *mail* buffer created through rmail-start-mail with sendmail as
12710 mail-user-agent.
12711
12712 2012-05-27 Chong Yidong <cyd@gnu.org>
12713
12714 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12715 Default to 256 (Bug#11267).
12716
12717 * help.el (describe-mode): Doc fix.
12718
12719 2012-05-26 Glenn Morris <rgm@gnu.org>
12720
12721 * w32-fns.el (w32-init-info): Remove.
12722 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12723
12724 * info.el (info-initialize): For self-contained NS builds, put the
12725 included info/ directory at the front. (Bug#2791)
12726
12727 * paths.el (Info-default-directory-list): Make it a defcustom,
12728 mainly so that we can use custom-initialize-delay.
12729
12730 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12731
12732 * subr.el (buffer-has-markers-at): Mark obsolete.
12733
12734 * subr.el (lambda): Use declare.
12735
12736 * emacs-lisp/lisp-mode.el (lambda):
12737 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12738
12739 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12740
12741 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12742
12743 2012-05-26 Glenn Morris <rgm@gnu.org>
12744
12745 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12746
12747 2012-05-25 Glenn Morris <rgm@gnu.org>
12748
12749 * paths.el: Remove no-byte-compile.
12750 * loadup.el: No need to load paths.el uncompiled.
12751
12752 * image.el (imagemagick-types-inhibit): Doc fix.
12753
12754 * version.el: Remove no-byte-compile and associated formatting.
12755 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12756 is ancient code from when there was an "inc-vers.el".
12757
12758 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12759
12760 * progmodes/gdb-mi.el: Minor style changes.
12761 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12762 Turn into minor modes.
12763 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12764 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12765 (gdb-shell): Remove unneeded let-binding.
12766 (gdb-get-many-fields): Eliminate O(n²) behavior.
12767
12768 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12769
12770 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12771 platforms that don't link in fontset.c.
12772
12773 2012-05-25 Juri Linkov <juri@jurta.org>
12774
12775 Use the same diff color scheme as in modern VCSes (bug#10181).
12776
12777 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12778 to avoid confusion with `diff-added' that now uses green colors.
12779 (diff-removed): Use shades of red.
12780 (diff-added): Use shades of green.
12781 (diff-changed): Leave just the yellow color.
12782 (diff-use-changed-face): New variable.
12783 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12784 how to highlight context diff changes.
12785 (diff-refine-change): Use shades of yellow.
12786 (diff-refine-removed): New face that uses shades of red.
12787 (diff-refine-added): New face that uses shades of green.
12788 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12789 `diff-refine-removed' in the call to `smerge-refine-subst'
12790 depending on the value of `diff-use-changed-face'.
12791
12792 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12793 (smerge-other): Use shades of green.
12794 (smerge-base): Use shades of yellow.
12795 (smerge-refined-change): Empty face.
12796 (smerge-refined-removed): New face that uses shades of red.
12797 (smerge-refined-added): New face that uses shades of green.
12798 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12799 args `props-r' and `props-a', and use them. Doc fix.
12800 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12801 on its value use different faces `smerge-refined-change',
12802 `smerge-refined-removed', `smerge-refined-added' in the call to
12803 `smerge-refine-subst'.
12804
12805 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12806 Add face condition `min-colors 88' with shades of red.
12807 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12808 `min-colors 88' with shades of green.
12809 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12810 `min-colors 88' with shades of yellow.
12811
12812 2012-05-24 Glenn Morris <rgm@gnu.org>
12813
12814 * paths.el (prune-directory-list, remote-shell-program): Move to...
12815 * files.el (prune-directory-list, remote-shell-program): ...here.
12816 For the latter, delay initialization, prefer ssh, just search PATH.
12817
12818 * paths.el (term-file-prefix): Move to faces.el (the only user).
12819 * faces.el (term-file-prefix): Move here, make it a defcustom.
12820
12821 * paths.el (news-directory, news-path, news-inews-program):
12822 Move to gnus/nnspool.el.
12823
12824 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12825
12826 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12827 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12828 Make the latter a defcustom, with a delayed initialization.
12829
12830 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12831 These were deleted from Gnus itself late 2010.
12832
12833 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12834
12835 * progmodes/which-func.el (which-func-ff-hook):
12836 Check against user-error, not error.
12837
12838 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12839 cl-specs.el, which no longer exists.
12840
12841 2012-05-22 Glenn Morris <rgm@gnu.org>
12842
12843 * info.el (info-emacs-bug): New command.
12844 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12845 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12846
12847 2012-05-21 Glenn Morris <rgm@gnu.org>
12848
12849 * makefile.w32-in (update-subdirs-SH):
12850 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12851
12852 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12853
12854 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12855
12856 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12857 Simplify Maven regexp, and make sure the file can't start with a space
12858 (bug#11517).
12859
12860 2012-05-21 Glenn Morris <rgm@gnu.org>
12861
12862 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12863 Scrap superfluous subshells.
12864
12865 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12868 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12869
12870 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12871
12872 * calc/calc.el (calc-ensure-consistent-units): New variable.
12873
12874 * calc/calc-units.el (math-consistent-units-p)
12875 (math-check-unit-consistency): New functions.
12876 (calc-quick-units, calc-convert-units):
12877 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12878 is non-nil.
12879 (calc-extract-units): Fix typo.
12880
12881 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12882
12883 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12884
12885 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12886 (flyspell-default-deplacement-commands): Don't spell check after
12887 repeated window/frame switches (e.g. triggered by mouse-movement).
12888 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12889 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12890 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12891 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12892 Remove unused vars.
12893 (flyspell-get-casechars, flyspell-get-not-casechars):
12894 Simplify; Don't bother removing a ] just to add it back.
12895 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12896
12897 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12898
12899 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12900 New functions.
12901 (math-function-table): Add support for more C functions.
12902
12903 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12904
12905 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12906 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12907 Protect delay handling for otherchars against empty otherchars.
12908
12909 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12910
12911 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12912 their respective macro declarations.
12913 * skeleton.el (define-skeleton):
12914 * progmodes/compile.el (define-compilation-mode):
12915 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12916 (define-ibuffer-filter):
12917 * emacs-lisp/generic.el (define-generic-mode):
12918 * emacs-lisp/easy-mmode.el (define-minor-mode)
12919 (define-globalized-minor-mode):
12920 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12921 * emacs-lisp/byte-run.el (defsubst):
12922 * custom.el (deftheme): Add doc-string metadata.
12923
12924 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12925
12926 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12927
12928 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12929
12930 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12931
12932 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12933 * emacs-lisp/cl-macs.el: Idem.
12934 * emacs-lisp/cl-specs.el: Remove.
12935
12936 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12937
12938 Minor renaming of internal CL functions and variables.
12939 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12940 (cl--position): Rename from cl-position.
12941 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12942 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12943 (cl--random-state): Rename from *random-state*.
12944
12945 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12948 parens around the arg list (bug#11499).
12949
12950 2012-05-17 Juri Linkov <juri@jurta.org>
12951
12952 * isearch.el (word-search-regexp, word-search-backward)
12953 (word-search-forward, word-search-backward-lax)
12954 (word-search-forward-lax): Move functions from search.c
12955 (bug#10145, bug#11381).
12956
12957 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12958
12959 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12960 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12961 Delay for otherchars as for normal word components.
12962
12963 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * minibuffer.el (completion--sifn-requote): Fix last change.
12966 (minibuffer-local-must-match-filename-map):
12967 Move define-obsolete-variable-alias before its var.
12968
12969 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12972
12973 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12974 behavior.
12975 (completion--string-equal-p): New function.
12976 (completion--twq-all): Use it to get better assertion failure data.
12977
12978 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12979 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12980 (shell--requote-argument): New functions.
12981 (shell-completion-vars): Use them.
12982 (shell--parse-pcomplete-arguments): Rename from
12983 shell-parse-pcomplete-arguments.
12984 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12985 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12986 Obey comint-file-name-quote-list.
12987
12988 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12989 (smie-indent-keyword): Use it.
12990
12991 2012-05-14 Stefan Merten <smerten@oekonux.de>
12992
12993 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12994
12995 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12996
12997 * net/rlogin.el (rlogin-mode-map): Fix last change.
12998
12999 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13000
13001 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13002 the following \r\n using a single `process-send-string', since the
13003 Lotus SMTP server refuses to accept any commands if they are sent
13004 with two `process-send-string's (Bug#11444).
13005
13006 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13007
13008 * shell.el (shell-parse-pcomplete-arguments):
13009 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13010
13011 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13012
13013 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13014 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13015 (image-transform-width, image-transform-fit-width): New functions.
13016 (image-transform-properties): Use them.
13017 (image-transform-check-size): New function.
13018 (image-toggle-display-image): Use it (for testing).
13019 (image-transform-set-rotation): Reduce angle mod 360.
13020 Delete obsolete comment.
13021
13022 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13023
13024 * image-mode.el: Fix scaling (bug#11399).
13025 (image-transform-resize): Doc fix.
13026 (image-transform-properties): Default scale is 1 and height should
13027 be an integer.
13028
13029 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13030
13031 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13032 than hard-coding `car', to fix misbehavior when moving forward.
13033
13034 2012-05-13 Chong Yidong <cyd@gnu.org>
13035
13036 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13037 (tabulated-list-entries, tabulated-list-padding)
13038 (tabulated-list-sort-key): Make permanent-local.
13039
13040 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13041 (electric-buffer-list): Put electric buffer menu
13042 command descriptions in this docstring, instead of the docstring
13043 of electric-buffer-menu-mode. Code cleanups.
13044 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13045 Electric-buffer-menu-mode.
13046 (electric-buffer-update-highlight): Minor code cleanup.
13047
13048 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13049
13050 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13051 (Bug#11447)
13052
13053 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13054
13055 Move define-obsolete-variable-alias before the var's definition.
13056 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13057 * tooltip.el (tooltip-hook):
13058 * textmodes/reftex-toc.el (reftex-toc-map):
13059 * textmodes/reftex-sel.el (reftex-select-label-map)
13060 (reftex-select-bib-map):
13061 * textmodes/reftex-index.el (reftex-index-map)
13062 (reftex-index-phrases-map):
13063 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13064 * progmodes/meta-mode.el (meta-mode-map):
13065 * novice.el (disabled-command-hook):
13066 * loadhist.el (unload-hook-features-list):
13067 * frame.el (blink-cursor):
13068 * files.el (find-file-not-found-hooks, write-file-hooks)
13069 (write-contents-hooks):
13070 * emulation/tpu-edt.el (GOLD-map):
13071 * emacs-lock.el (emacs-lock-from-exiting):
13072 * emacs-lisp/generic.el (generic-font-lock-defaults):
13073 * emacs-lisp/chart.el (chart-map):
13074 * dos-fns.el (register-name-alist):
13075 * dired-x.el (dired-omit-files-p):
13076 * desktop.el (desktop-enable):
13077 * cus-edit.el (custom-mode-hook):
13078 * buff-menu.el (buffer-menu-mode-hook):
13079 * bookmark.el (bookmark-read-annotation-text-func)
13080 (bookmark-exit-hooks):
13081 * allout.el (allout-mode-deactivate-hook)
13082 (allout-exposure-change-hook, allout-structure-added-hook)
13083 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13084 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13085 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13086 comes before the corresponding variable's definition.
13087
13088 2012-05-12 Chong Yidong <cyd@gnu.org>
13089
13090 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13091 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13092 (Buffer-menu-mode-map): Bind it.
13093 (Buffer-menu--pretty-name): Add a mouse-face property.
13094
13095 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13098 (prolog-upper-case-string, prolog-lower-case-string)
13099 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13100 (prolog-use-smie, prolog-smie-grammar): New vars.
13101 (prolog-smie-forward-token, prolog-smie-backward-token)
13102 (prolog-smie-rules): New funs.
13103 (prolog-comment-indent): Remove.
13104 (prolog-mode-variables): Use default comment indentation instead.
13105 Setup SMIE.
13106 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13107 (prolog-mode): Don't call them any more.
13108 (prolog-electric-colon, prolog-electric-dash)
13109 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13110
13111 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13112
13113 * minibuffer.el (completion--twq-all): Again, allow case differences.
13114
13115 * term.el: Move keymap initialization code to be more idiomatic.
13116 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13117 (term-terminal-menu): Move initialization into declaration.
13118 (term-escape-char): Let the user set it in her .emacs.
13119
13120 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13121 Provide SMIE-based indentation (not enabled by default yet).
13122 (sh-mode-map): Don't bind electric keys.
13123 Use electric-pair-mode instead of skeleton-pair.
13124 (sh-assignment-regexp): Fit within 80 columns.
13125 (sh-indent-supported): Specify actual shell name instead of boolean.
13126 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13127 (sh-maybe-here-document): Use it. Make obsolete.
13128 (sh-electric-here-document-mode) New minor mode.
13129 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13130 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13131 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13132 (sh-smie-rc-grammar, sh-use-smie): New vars.
13133 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13134 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13135 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13136 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13137 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13138 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13139 (sh-set-shell): Use smie-setup if requested.
13140
13141 * term.el (term-set-escape-char): Properly set term-escape-char.
13142 See http://stackoverflow.com/questions/10524656.
13143
13144 2012-05-10 Chong Yidong <cyd@gnu.org>
13145
13146 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13147 Use url-generic-parse-url, and handle host names and Windows
13148 filenames properly.
13149 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13150 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13151 URL schemes to work on.
13152 (ffap--toggle-read-only): New function.
13153 (ffap-read-only, ffap-read-only-other-window)
13154 (ffap-read-only-other-frame): Use it.
13155 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13156 necessary for ffap-url-unwrap-remote.
13157
13158 2012-05-10 Dave Abrahams <dave@boostpro.com>
13159
13160 * cus-start.el (create-lockfiles): Add it.
13161
13162 2012-05-09 Chong Yidong <cyd@gnu.org>
13163
13164 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13165 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13166
13167 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13168
13169 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13170
13171 2012-05-09 Chong Yidong <cyd@gnu.org>
13172
13173 * ansi-color.el (ansi-color-process-output): Check for validity of
13174 comint-last-output-start before using it. This avoids a bad
13175 interaction with gdb-mi's input/output buffer.
13176
13177 2012-05-09 Glenn Morris <rgm@gnu.org>
13178
13179 * files.el (dir-locals-read-from-file):
13180 Mention dir-locals in any error message.
13181
13182 2012-05-09 Chong Yidong <cyd@gnu.org>
13183
13184 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13185 package (Bug#11410).
13186
13187 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13188 variables into description.
13189
13190 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13191
13192 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13193 shell-delimiter-argument-list (bug#11348).
13194 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13195
13196 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13197
13198 * textmodes/rst.el: Silence byte-compiler warnings.
13199 (rst-re-alist, rst-reset-section-caches): Move around.
13200 (rst-re): Use `characterp', not `char-valid-p'.
13201 (font-lock-beg, font-lock-end): Declare.
13202
13203 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13204 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13205
13206 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13207
13208 2012-05-08 Glenn Morris <rgm@gnu.org>
13209
13210 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13211
13212 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 * vc/log-edit.el: Add GNU coding standards highlighting.
13215 (log-edit-font-lock-gnu-style)
13216 (log-edit-font-lock-gnu-keywords): New vars.
13217 (log-edit-font-lock-keywords): New fun.
13218 (log-edit-mode): Don't fold case in font-lock.
13219 (log-edit-font-lock-keywords): Do not assume case-folding.
13220
13221 * imenu.el: Misc cleanup. Make docstrings out of comments.
13222 Use lexical-binding.
13223 (imenu--index-alist, imenu--last-menubar-index-alist)
13224 (imenu-menubar-modified-tick): Use defvar-local.
13225 (imenu--split-menu): Remove unused var.
13226 (imenu--cleanup-seen): Declare as global.
13227 (imenu--cleanup): Use dolist.
13228
13229 * subr.el (defvar-local): Add debug spec and doc-string position.
13230
13231 2012-05-08 Glenn Morris <rgm@gnu.org>
13232
13233 * language/burmese.el, language/cham.el, language/czech.el:
13234 * language/english.el, language/georgian.el, language/greek.el:
13235 * language/japanese.el, language/khmer.el, language/korean.el:
13236 * language/lao.el, language/misc-lang.el, language/romanian.el:
13237 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13238 * language/thai.el, language/utf-8-lang.el:
13239 Remove no-byte-compile setting.
13240
13241 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13242
13243 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13244
13245 * progmodes/make-mode.el (makefile-browse):
13246 Remove unnecessary interactive. (Bug#11324)
13247
13248 2012-05-07 Glenn Morris <rgm@gnu.org>
13249
13250 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13251
13252 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13253
13254 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13255
13256 * loadup.el: Preload newcomment.el.
13257 * newcomment.el: Move autoload-only code to toplevel.
13258
13259 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13260 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13261 Handle new :right-align column property.
13262 (tabulated-list-print-col): Idem, plus use `display' text-property to
13263 try and preserve alignment for variable pitch fonts.
13264
13265 2012-05-07 Chong Yidong <cyd@gnu.org>
13266
13267 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13268 (tabulated-list-use-header-line): New var.
13269 (tabulated-list-init-header): Use it.
13270 (tabulated-list-print-fake-header): New function.
13271 (tabulated-list-print): Use it.
13272 (tabulated-list-sort-button-map): Add non-header-line commands.
13273 (tabulated-list-init-header): Add column name property to basic
13274 labels as well.
13275 (tabulated-list-col-sort): Handle non-header-line button case.
13276 (tabulated-list--sort-by-column-name): Fix a corner case.
13277
13278 * buff-menu.el (list-buffers--refresh):
13279 Handle Buffer-menu-use-header-line.
13280
13281 2012-05-06 Chong Yidong <cyd@gnu.org>
13282
13283 * buff-menu.el: Convert to Tabulated List mode.
13284 (Buffer-menu-buffer+size-width): Make obsolete.
13285 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13286 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13287 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13288 documentation into docstring of buffer-menu.
13289 (Buffer-menu-toggle-files-only): Add an informative message.
13290 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13291 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13292 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13293 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13294 (Buffer-menu-execute, Buffer-menu-select)
13295 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13296 (Buffer-menu-bury): Use Tabulated List machinery.
13297 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13298 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13299 Delete.
13300 (list-buffers--refresh): New function.
13301 (list-buffers-noselect): Use it.
13302 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13303 (Buffer-menu--pretty-file-name): New helper functions.
13304
13305 * loadup.el: Preload tabulated-list.
13306
13307 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13308 tabulated-list-sort-column.
13309 (tabulated-list-init-header): Add the initial aligning space even
13310 if tabulated-list-padding is zero.
13311
13312 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13313
13314 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13315 whose cdr is not a cons cell correctly (bug#11038).
13316
13317 2012-05-06 Chong Yidong <cyd@gnu.org>
13318
13319 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13320 Accept additional plist in column descriptors.
13321 (tabulated-list-init-header): Obey it.
13322 (tabulated-list-get-entry): New function.
13323 (tabulated-list-put-tag): Use it. Use string-width instead of
13324 length.
13325 (tabulated-list--column-number): New function.
13326 (tabulated-list-print): Use it.
13327 (tabulated-list-print-col): New function.
13328 Set `tabulated-list-column-name' property on each column's text.
13329 (tabulated-list-print-entry): Use it.
13330 (tabulated-list-delete-entry, tabulated-list-set-col):
13331 New functions.
13332 (tabulated-list-sort-column): New command (Bug#11337).
13333
13334 * buff-menu.el (list-buffers): Move C-x C-b binding from
13335 buff-menu.el to bindings.el.
13336
13337 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13338 :advertised-binding feature.
13339
13340 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13341
13342 * progmodes/compile.el (compilation-internal-error-properties):
13343 Calculate start position correctly when end-col is set but
13344 end-line is not (Bug#11382).
13345
13346 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13347
13348 * man.el (Man-unindent): Use text-property-default-nonsticky to
13349 prevent untabify from inheriting face properties (Bug#11408).
13350
13351 2012-05-05 Stefan Merten <smerten@oekonux.de>
13352
13353 * textmodes/rst.el: Major merge with upstream development up to
13354 Docutils SVN r7399 / rst.el V1.2.1.
13355
13356 Clarify maintainership and authors.
13357
13358 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13359 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13360 (rst-official-version, rst-official-cvs-rev, rst-version)
13361 (rst-package-emacs-version-alist): New functions and variables
13362 for version information.
13363
13364 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13365 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13366 (rst-mode-syntax-table, rst-mode): New and corrected functions
13367 and variables representing reStructuredText features.
13368
13369 (rst-re): New function for reStructuredText regexes. Use in
13370 many places.
13371
13372 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13373 (rst-mode-map): Rebind keys.
13374
13375 (rst-mode-lazy, rst-font-lock-keywords)
13376 (rst-font-lock-extend-region)
13377 (rst-font-lock-extend-region-internal)
13378 (rst-font-lock-extend-region-extend)
13379 (rst-font-lock-find-unindented-line-limit)
13380 (rst-font-lock-find-unindented-line-match)
13381 (rst-adornment-level, rst-font-lock-adornment-level)
13382 (rst-font-lock-adornment-match)
13383 (rst-font-lock-handle-adornment-pre-match-form)
13384 (rst-font-lock-handle-adornment-matcher): Major revision of
13385 font-locking. Integrate with other code. Use `jit-lock-mode'.
13386
13387 (rst-preferred-adornments, rst-adjust-hook)
13388 (rst-new-adornment-down, rst-preferred-bullets)
13389 (rst-preferred-bullets, rst-indent, rst-indent-width)
13390 (rst-indent-field, rst-indent-literal-normal)
13391 (rst-indent-literal-minimized, rst-indent-comment): Change,
13392 extend and improve customization.
13393
13394 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13395 (rst-normalize-cursor-position, rst-get-decoration)
13396 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13397 (rst-rstrip, rst-toc-insert-find-delete-contents)
13398 (rst-shift-fill-region, rst-compute-bullet-tabs)
13399 (rst-debug-print-tabs, rst-debug-mark-found)
13400 (rst-shift-region-guts, rst-shift-region-right)
13401 (rst-shift-region-left, rst-use-char-classes)
13402 (rst-font-lock-keywords-function)
13403 (rst-font-lock-indentation-point)
13404 (rst-font-lock-find-unindented-line-begin)
13405 (rst-font-lock-find-unindented-line-end)
13406 (rst-font-lock-find-unindented-line)
13407 (rst-font-lock-adornment-point, rst-font-lock-level)
13408 (rst-adornment-level-alist): Remove functions and variables.
13409
13410 (rst-compare-adornments, rst-get-adornment-match)
13411 (rst-suggest-new-adornment, rst-get-adornments-around)
13412 (rst-adornment-complete-p, rst-get-next-adornment)
13413 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13414 (rst-straighten-adornments): Standardize function names to
13415 use "adornment" instead of "decoration". Correct callers.
13416 Similar standardizing in many places.
13417
13418 (rst-update-section, rst-adjust, rst-promote-region)
13419 (rst-enumerate-region, rst-bullet-list-region)
13420 (rst-repeat-last-character): Correct use of `interactive'.
13421
13422 (rst-classify-adornment, rst-find-all-adornments)
13423 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13424 (rst-find-leftmost-column, rst-repeat-last-character):
13425 Refactor functions.
13426
13427 (rst-find-title-line, rst-reset-section-caches)
13428 (rst-get-adornments-around, rst-adjust-adornment-work)
13429 (rst-arabic-to-roman, rst-roman-to-arabic)
13430 (rst-insert-list-pos, rst-insert-list-new-item)
13431 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13432 New functions.
13433
13434 (rst-all-sections, rst-section-hierarchy)
13435 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13436 New variables.
13437
13438 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13439 configuration instead of only buffer. Change where necessary.
13440
13441 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13442 (rst-shift-region, rst-adaptive-fill): New functions for
13443 indentation and filling.
13444
13445 (rst-comment-line-break, rst-comment-indent)
13446 (rst-comment-insert-comment, rst-comment-region)
13447 (rst-uncomment-region): New functions for handling comments.
13448
13449 (rst-compile): Quote shell arguments.
13450
13451 (rst-compile-pdf-preview, rst-compile-slides-preview):
13452 Delete temporary files after use.
13453
13454 2012-05-05 Glenn Morris <rgm@gnu.org>
13455
13456 * calendar/cal-html.el: Optionally include holidays in the output.
13457 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13458 (cal-html-holidays): New option.
13459 (cal-html-css-default): Add holiday entry.
13460 (holiday-in-range): Autoload it.
13461 (cal-html-htmlify-entry): Add optional class argument.
13462 (cal-html-htmlify-list): Add optional holidays argument.
13463 (cal-html-insert-agenda-days): Include holidays in the output.
13464 (cal-html-one-month): Maybe include holidays.
13465
13466 * calendar/holidays.el (holiday-in-range):
13467 Move here from cal-tex-list-holidays.
13468 * calendar/cal-tex.el (cal-tex-list-holidays):
13469 Make it an obsolete alias for holiday-in-range. Update all callers.
13470
13471 2012-05-05 Chong Yidong <cyd@gnu.org>
13472
13473 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13474 Nextstep.
13475
13476 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13477
13478 * files.el (file-auto-mode-skip): New var.
13479 (set-auto-mode-1): Use it.
13480
13481 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * repeat.el: Use lexical-binding.
13484 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13485 (repeat-undo-count): Remove.
13486 (repeat):
13487 * progmodes/octave-mod.el (octave-abbrev-start):
13488 * progmodes/f90.el (f90-abbrev-start):
13489 * face-remap.el (text-scale-adjust):
13490 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13491
13492 * emacs-lisp/pcase.el (pcase--let*): New function.
13493 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13494 a bit more.
13495 (pcase--split-pred): Be more clever about ruling out overlap between
13496 a predicate and some constant pattern.
13497 (pcase--q1): Use `null' instead of (eq foo nil).
13498
13499 * subr.el (setq-local, defvar-local): New macros.
13500 (kbd): Redefine as an alias.
13501 (with-selected-window): Leave unrelated frames alone.
13502 (set-temporary-overlay-map): New function.
13503
13504 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13505
13506 * subr.el (user-error): New function.
13507 * window.el (switch-to-buffer):
13508 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13509 (smerge-match-conflict):
13510 * simple.el (previous-matching-history-element)
13511 (next-matching-history-element, goto-history-element, undo-more)
13512 (undo-start):
13513 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13514 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13515 (next-file, tags-loop-scan, list-tags, complete-tag):
13516 * progmodes/compile.el (compilation-loop):
13517 * mouse.el (mouse-minibuffer-check):
13518 * man.el (Man-bgproc-sentinel, Man-goto-page):
13519 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13520 (Info-history-forward, Info-follow-reference, Info-menu)
13521 (Info-extract-menu-item, Info-extract-menu-counting)
13522 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13523 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13524 (Info-next-reference, Info-prev-reference, Info-index)
13525 (Info-index-next, Info-follow-nearest-node)
13526 (Info-copy-current-node-name):
13527 * imenu.el (imenu--make-index-alist)
13528 (imenu-default-create-index-function, imenu-add-to-menubar):
13529 * files.el (basic-save-buffer, recover-file):
13530 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13531 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13532 (checkdoc-message-text, checkdoc-defun):
13533 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13534 * cus-edit.el (customize-changed-options, customize-rogue)
13535 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13536 (custom-variable-mark-to-reset-standard)
13537 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13538 (custom-file):
13539 * completion.el (check-completion-length):
13540 * comint.el (comint-search-arg)
13541 (comint-previous-matching-input-string-position)
13542 (comint-previous-matching-input)
13543 (comint-replace-by-expanded-history-before-point, comint-send-input)
13544 (comint-copy-old-input, comint-backward-matching-input)
13545 (comint-goto-process-mark, comint-set-process-mark):
13546 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13547 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13548
13549 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * dabbrev.el (dabbrev--ignore-case-p): New function.
13552 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13553 Use it.
13554
13555 * files.el (automount-dir-prefix): Mark as obsolete.
13556
13557 2012-05-04 Glenn Morris <rgm@gnu.org>
13558
13559 * patcomp.el, play/bruce.el: Move to obsolete/.
13560
13561 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13562
13563 Fix minor Y10k bugs.
13564 * arc-mode.el (archive-unixdate):
13565 * autoinsert.el (auto-insert-alist):
13566 * calc/calc-forms.el (math-this-year):
13567 * emacs-lisp/copyright.el (copyright-current-year)
13568 (copyright-update-year, copyright):
13569 * tar-mode.el (tar-clip-time-string):
13570 * time.el (display-time-update):
13571 Don't assume years have 4 digits.
13572
13573 2012-05-04 Chong Yidong <cyd@gnu.org>
13574
13575 * dos-w32.el (file-name-buffer-file-type-alist)
13576 (direct-print-region-use-command-dot-com):
13577 * ffap.el (ffap-menu-regexp):
13578 * find-file.el (ff-special-constructs):
13579 * follow.el (follow-debug):
13580 * forms.el (forms--debug):
13581 * iswitchb.el (iswitchb-all-frames):
13582 * ido.el (ido-all-frames):
13583 * emacs-lisp/timer.el (timer-max-repeats):
13584 * mail/feedmail.el (feedmail-mail-send-hook)
13585 (feedmail-mail-send-hook-queued):
13586 * mail/footnote.el (footnote-signature-separator):
13587 * mail/mailabbrev.el (mail-alias-separator-string)
13588 (mail-abbrev-mode-regexp):
13589 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13590 * progmodes/idlwave.el (idlwave-libinfo-file)
13591 (idlwave-default-completion-case-is-down)
13592 (idlwave-library-routines): Convert defvars to defcustoms.
13593
13594 * mail/rmail.el (rmail-decode-mime-charset):
13595 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13596 (idlwave-shell-fix-inserted-breaks)
13597 (idlwave-shell-activate-alt-keybindings)
13598 (idlwave-shell-use-breakpoint-glyph):
13599 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13600
13601 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13602
13603 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13604
13605 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13606
13607 * progmodes/verilog-mode.el (font-lock-keywords):
13608 Fix mis-highligting auto. Reported by Craig Barner.
13609 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13610 defines from global name space. Reported by Dan Dever.
13611 (verilog-auto-reset, verilog-auto-reset-widths)
13612 (verilog-auto-tieoff): Support using unbased numbers for
13613 AUTORESET and AUTOTIEOFF.
13614 (verilog-submit-bug-report): Update variable list.
13615 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13616 parenthesis from not matching. Reported by Michael Rytting.
13617 (verilog-auto-template-lint): Fix hash error when linting modules
13618 with no used templates.
13619 (verilog-warn, verilog-warn-error)
13620 (verilog-warn-fatal): When non-interactive report multiple
13621 warnings before exiting. Suggested by Brad Dobbie.
13622 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13623 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13624 to report unused template errors. Reported by Brad Dobbie.
13625 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13626 nets, bug438. Reported by Vns Blore.
13627 (verilog-auto-inout-module, verilog-auto-reg)
13628 (verilog-read-decls, verilog-read-sub-decls-sig)
13629 (verilog-signals-edit-wire-reg, verilog-signals-with):
13630 Fix passing of Verilog data types in ANSI input/output ports
13631 such as "output logic" into the AUTOs. Special case "wire" and
13632 "reg" for backwards compatibility presuming Verilog 2001.
13633 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13634 (verilog-preprocess): Fix replication of preprocess output.
13635 Reported by Brad Dobbie.
13636 (verilog-auto-inst-interfaced-ports):
13637 Create verilog-auto-inst-interfaced-ports, bug429.
13638 Reported by Julian Gorfajn.
13639 (verilog-after-save-font-hook)
13640 (verilog-before-save-font-hook): New variable.
13641 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13642 (verilog-save-font-mods): Wrap disabling fontification, reported
13643 by David Rogoff.
13644 (verilog-do-indent, verilog-pretty-declarations-auto)
13645 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13646 Reported by Pierre-David Pfister.
13647 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13648 of class declarations, bug292. Reported by Kevin Heilman.
13649 (verilog-read-decls): Fix 'parameter type' not appearing in
13650 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13651 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13652 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13653 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13654 Reported by David Kravitz.
13655
13656 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13657
13658 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13659 assignment with tests in ifs and for loops.
13660 (verilog-extended-complete-re, verilog-complete-reg): Change so
13661 that DPI inport functions don't look like fuction declarations.
13662 (verilog-pretty-expr): Don't line up assignment
13663 operations to the test and increment in if and for loops
13664 (verilog-extended-complete-re, verilog-complete-reg): Change so
13665 that DPI inport functions don't look like fuction declarations.
13666
13667 2012-05-03 Kenichi Handa <handa@m17n.org>
13668
13669 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13670 decoding, and show a warning message without signaling an error
13671 (Bug#11282).
13672
13673 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13674
13675 * emacs-lisp/bytecomp.el
13676 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13677 since cconv.el might have introduced :fun-body, internal-make-closure,
13678 and friends for bytecomp to handle (bug#11391).
13679 * custom.el (defcustom): Avoid ((λ ..) ..).
13680
13681 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13682
13683 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13684
13685 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13686
13687 * notifications.el (dbus-debug):
13688 * term/linux.el (gpm-mouse-enable):
13689 * term/screen.el (xterm-register-default-colors): Declare.
13690
13691 2012-05-02 Chong Yidong <cyd@gnu.org>
13692
13693 * cus-start.el (gc-cons-percentage, exec-suffixes)
13694 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13695 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13696 (make-cursor-line-fully-visible, void-text-area-pointer)
13697 (font-list-limit): Add customization data.
13698
13699 * allout.el (allout-exposure-change-functions)
13700 (allout-structure-added-functions)
13701 (allout-structure-deleted-functions)
13702 (allout-structure-shifted-functions): Rename abnormal hooks from
13703 *-hook, and convert to defcustoms.
13704 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13705 Convert to defcustoms.
13706 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13707
13708 * allout-widgets.el: Hook callers changed.
13709
13710 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13711
13712 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13713 the yanked message in preference to the default value of
13714 buffer-file-coding-system.
13715
13716 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13717
13718 * window.el (display-buffer--action-function-custom-type):
13719 Fix entry.
13720
13721 2012-05-02 Alan Mackenzie <acm@muc.de>
13722
13723 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13724
13725 2012-05-01 Glenn Morris <rgm@gnu.org>
13726
13727 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13728
13729 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13730
13731 * cus-edit.el (custom-variable-documentation): Simplify with format.
13732
13733 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13734 Stefan Monnier <monnier@iro.umontreal.ca>
13735
13736 * simple.el (suggest-key-bindings, execute-extended-command):
13737 Move from keyboard.c.
13738
13739 2012-05-01 Chong Yidong <cyd@gnu.org>
13740
13741 * follow.el: Eliminate advice.
13742 (set-process-filter, process-filter, sit-for): Advice deleted.
13743 (follow-mode-off-hook): Obsolete hook removed.
13744 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13745 Vars deleted.
13746 (follow-auto): Use a :set function.
13747 (follow-mode): Rewritten. Don't advise process filters.
13748 (follow-switch-to-current-buffer-all, follow-scroll-up)
13749 (follow-scroll-down): Assume follow-mode is bound.
13750 (follow-comint-scroll-to-bottom)
13751 (follow-align-compilation-windows): New functions.
13752 (follow--window-sorter): New function.
13753 (follow-all-followers): Use it to explicitly sort windows by their
13754 positions; don't make assumptions about next-window order.
13755 (follow-windows-start-end, follow-delete-other-windows-and-split)
13756 (follow-calc-win-start): Doc fix.
13757 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13758 vertical-motion unnecessarily.
13759 (follow-adjust-window): New function.
13760 (follow-post-command-hook): Use it.
13761 (follow-call-set-process-filter, follow-call-process-filter)
13762 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13763 (follow-stop-intercept-process-output, follow-generic-filter):
13764 Functions deleted.
13765 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13766 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13767 New functions, replacing advice on scroll-bar-* commands.
13768 (follow-mwheel-scroll): New function (Bug#4112).
13769
13770 * comint.el (comint-adjust-point): New function.
13771 (comint-postoutput-scroll-to-bottom): Use it.
13772 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13773
13774 2012-05-01 Glenn Morris <rgm@gnu.org>
13775
13776 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13777 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13778 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13779 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13780 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13781 Remove no-byte-compile setting.
13782
13783 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13786 all-completions code to not return a number in the last cdr.
13787
13788 2012-04-30 Leo Liu <sdl.web@gmail.com>
13789
13790 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13791 read-only error.
13792
13793 2012-04-29 Chong Yidong <cyd@gnu.org>
13794
13795 * follow.el (follow-calc-win-end): Rewrite to handle partial
13796 screen lines correctly (Bug#8390).
13797 (follow-avoid-tail-recenter): Minor cleanup.
13798
13799 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13800
13801 Avoid the obsolete `assoc' package.
13802 * speedbar.el (speedbar-refresh): Avoid adelete.
13803 (speedbar-file-lists): Simplify and avoid aput.
13804 * man.el (Man--sections, Man--refpages): New vars, replacing
13805 Man-sections-alist and Man-refpages-alist.
13806 (Man-build-section-alist, Man-build-references-alist):
13807 Use them; avoid aput.
13808 (Man--last-section, Man--last-refpage): New vars.
13809 (Man-follow-manual-reference): Use them.
13810 Use the `default' arg of completing-read.
13811 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13812
13813 2012-04-27 Chong Yidong <cyd@gnu.org>
13814
13815 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13816
13817 * startup.el (x-apply-session-resources): New function.
13818
13819 * term/ns-win.el (ns-initialize-window-system):
13820 * term/w32-win.el (w32-initialize-window-system):
13821 * term/x-win.el (x-initialize-window-system): Use it to properly
13822 set menu-bar-mode and other vars from X resources, even if the
13823 initial frame is not a window-system frame (Bug#2299).
13824
13825 * subr.el (read-key): Avoid running filter function when setting
13826 up temporary tool bar entries (Bug#9922).
13827
13828 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13829
13830 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13831 (Bug#11344)
13832
13833 2012-04-27 Chong Yidong <cyd@gnu.org>
13834
13835 * select.el (xselect--encode-string): New function, split from
13836 xselect-convert-to-string.
13837 (xselect-convert-to-string): Use it.
13838 (xselect-convert-to-filename, xselect-convert-to-os)
13839 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13840 returned strings are properly encoded (Bug#11315).
13841
13842 2012-04-27 Chong Yidong <cyd@gnu.org>
13843
13844 * simple.el (delete-active-region): Move to killing custom group.
13845
13846 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13847
13848 * progmodes/which-func.el (which-func-current): Quote %
13849 characters for mode-line processing.
13850
13851 2012-04-27 Chong Yidong <cyd@gnu.org>
13852
13853 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13854 reaching eob (Bug#11286).
13855
13856 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13857
13858 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13859 (gdb): Make it buffer-local and init to zero.
13860 (gdb-control-commands-regexp): New variable.
13861 (gdb-send): Don't wrap in "-interpreter-exec console" if
13862 gdb-control-level is positive. Increment gdb-control-level
13863 whenever the command matches gdb-control-commands-regexp, and
13864 decrement it each time the command is "end". (Bug#11279)
13865
13866 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13867
13868 * window.el (adjust-window-trailing-edge, enlarge-window)
13869 (shrink-window, window-resize):
13870 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13871 windows (Bug#11276).
13872
13873 2012-04-27 Chong Yidong <cyd@gnu.org>
13874
13875 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13876 fix "missing prefix" warning. All callers changed.
13877
13878 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * emacs-lisp/assoc.el: Move to obsolete/.
13881
13882 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13885
13886 * term/ns-win.el (ns-define-service):
13887 * progmodes/pascal.el (pascal-goto-defun):
13888 * progmodes/js.el (js--read-tab):
13889 * progmodes/etags.el (tags-lazy-completion-table):
13890 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13891 * emacs-lisp/ewoc.el (ewoc--wrap):
13892 * emacs-lisp/assoc.el (aput, adelete, amake):
13893 * doc-view.el (doc-view-convert-current-doc):
13894 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13895
13896 2012-04-26 Chong Yidong <cyd@gnu.org>
13897
13898 * image.el (image-type-from-buffer): Only return supported image
13899 type (Bug#9045).
13900
13901 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13902 value, for symmetry with diff-end-of-hunk.
13903 (diff-split-hunk, diff-find-source-location)
13904 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13905 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13906 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13907 compute the relevant hunk or file properly (Bug#6005).
13908 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13909
13910 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13911
13912 * vc/vc-mtn.el:
13913 * vc/vc-hg.el:
13914 * vc/vc-git.el:
13915 * vc/vc-dir.el:
13916 * vc/vc-cvs.el:
13917 * vc/vc-bzr.el:
13918 * vc/vc-arch.el:
13919 * vc/vc.el: Replace lexical-let by lexical-binding.
13920 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13921 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13922 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13923
13924 2012-04-26 Chong Yidong <cyd@gnu.org>
13925
13926 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13927 (diff-mode-shared-map): Bind it to / and [remap undo].
13928
13929 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13930 (ediff-window-setup-function): Use it as the default, to set up
13931 windows based on whether the current frame is graphical (Bug#2138).
13932 (ediff-choose-window-setup-function-automatically): Make obsolete.
13933
13934 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13935
13936 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13937
13938 * ffap.el: Remove old code for obsolete package.
13939 (ffap-complete-as-file-p): Remove.
13940
13941 Use completion-table-with-quoting for comint and pcomplete.
13942 * comint.el (comint--unquote&requote-argument)
13943 (comint--unquote-argument, comint--requote-argument): New functions.
13944 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13945 (comint-quote-filename): Use regexp-opt-charset.
13946 (comint--common-suffix, comint--common-quoted-suffix)
13947 (comint--table-subvert): Remove.
13948 (comint-unquote-function, comint-requote-function): New vars.
13949 (comint--complete-file-name-data): Use them with
13950 completion-table-with-quoting.
13951 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13952 * pcomplete.el (pcomplete-arg-quote-list)
13953 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13954 (pcomplete-unquote-argument-function): Default to non-nil.
13955 (pcomplete-unquote-argument): Simplify.
13956 (pcomplete--common-quoted-suffix): Remove.
13957 (pcomplete-requote-argument-function): New var.
13958 (pcomplete--common-suffix): New function.
13959 (pcomplete-completions-at-point): Use completion-table-with-quoting
13960 and completion-table-subvert.
13961
13962 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13963 (minibuffer--double-dollars): Preserve properties.
13964 (completion--sifn-requote): New function.
13965 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13966
13967 * minibuffer.el: Add support for completion of quoted/escaped data.
13968 (completion-table-with-quoting, completion-table-subvert): New funs.
13969 (completion--twq-try, completion--twq-all): New functions.
13970 (completion--nth-completion): New function.
13971 (completion-try-completion, completion-all-completions): Use it.
13972
13973 2012-04-25 Leo Liu <sdl.web@gmail.com>
13974
13975 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13976 Use compilation-message if available to find real filename.
13977
13978 2012-04-25 Chong Yidong <cyd@gnu.org>
13979
13980 * vc/diff-mode.el (diff-setup-whitespace): New function.
13981 (diff-mode): Use it.
13982
13983 * vc/diff.el (diff-sentinel):
13984 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13985 Whitespace mode variables based on diff style (Bug#8612).
13986
13987 2012-04-25 Leo Liu <sdl.web@gmail.com>
13988
13989 * progmodes/python.el (python-send-region): Add suffix .py to the
13990 temp file.
13991
13992 * files.el (auto-mode-alist): Use javascript-mode instead.
13993
13994 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13995
13996 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13997
13998 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13999 (soap-resolve-references-for-array-type): Hack to prevent self
14000 references, see Bug#9.
14001 (soap-parse-envelope): Report the contents of the 'detail' node
14002 when receiving a fault reply.
14003 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14004
14005 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14006 (soap-inspect-simple-type): New function.
14007
14008 * net/soap-client.el (soap-simple-type): New struct.
14009 (soap-default-xsd-types, soap-default-soapenc-types)
14010 (soap-decode-basic-type, soap-encode-basic-type):
14011 support unsignedInt and double basic types.
14012 (soap-resolve-references-for-simple-type)
14013 (soap-parse-simple-type, soap-encode-simple-type): New function.
14014 (soap-parse-schema): Parse xsd:simpleType declarations.
14015
14016 * net/soap-client.el (soap-default-xsd-types)
14017 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14018 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14019 the local name of "soapenc:Array".
14020 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14021 decoding integer, byte and anyURI xsd types.
14022
14023 2012-04-25 Chong Yidong <cyd@gnu.org>
14024
14025 * cus-edit.el (custom-buffer-create-internal): Update header text.
14026
14027 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14028
14029 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14030 settings on 'system-type', not on 'window-system'. On MS-Windows,
14031 set interactive-mode on in GDB.
14032
14033 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14036 (ruby-syntax-propertize-regexp): Remove.
14037 (ruby-syntax-propertize-function): Split regexp into chunks.
14038 Match following code directly.
14039
14040 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14041
14042 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14043 (ruby-syntax-propertize-regexp): New function.
14044 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14045 by a special keyword.
14046
14047 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14048 (ruby-syntax-general-delimiters-goto-beg)
14049 (ruby-syntax-propertize-general-delimiters): New functions.
14050 (ruby-syntax-propertize-function): Use them to handle GDL.
14051 (ruby-font-lock-keywords): Move old handling of GDL...
14052 (ruby-font-lock-syntactic-keywords): .. to here.
14053 (ruby-calculate-indent): Adjust indentation for GDL.
14054
14055 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14056
14057 * notifications.el (top): Remove unneeded declarations.
14058 (notifications-specification-version): Change to "1.2".
14059 (notifications-interface, notifications-notify-method)
14060 (notifications-close-notification-method): Fix docstring.
14061 (notifications-get-capabilities-method): New defconst.
14062 (notifications-notify): Add :action-items, :resident and
14063 :transient hints. Change "image_data" to "image-data" and
14064 "image_path" to "image-path".
14065 (notifications-get-capabilities): New defun.
14066
14067 2012-04-24 Leo Liu <sdl.web@gmail.com>
14068
14069 * progmodes/python.el: Move hideshow setup to the end.
14070
14071 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14072
14073 * window.el (handle-select-window): Clear echo area since this is
14074 no more done by read_char (Bug#11304).
14075
14076 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14077
14078 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14079 and `/ M' to filter-derived-mode.
14080 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14081 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14082 (ibuffer-mark-by-mode): Use default rather than initial-input.
14083 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14084
14085 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14086
14087 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14088 (ibuffer-filter-by-derived-mode): New filter.
14089 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14090
14091 2012-04-23 Andreas Politz <politza@fh-trier.de>
14092
14093 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14094
14095 2012-04-23 Chong Yidong <cyd@gnu.org>
14096
14097 * cus-edit.el (customize-apropos, customize-apropos-options):
14098 Disable matching of non-option variables (Bug#11176).
14099 (customize-option, customize-option-other-window)
14100 (customize-changed-options): Doc fix.
14101 (customize-apropos-options, customize-apropos-faces)
14102 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14103
14104 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14105 Fix word list splitting (Bug#11132).
14106 (apropos-symbol, apropos-keybinding, apropos-label)
14107 (apropos-property, apropos-function-button)
14108 (apropos-variable-button, apropos-misc-button): New faces.
14109 (apropos-symbol-face, apropos-keybinding-face)
14110 (apropos-label-face, apropos-property-face, apropos-match-face):
14111 Variables removed (Bug#8396).
14112 (apropos-library-button, apropos-format-plist, apropos-print)
14113 (apropos-print-doc, apropos-describe-plist): Callers changed.
14114
14115 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14116
14117 * net/xesam.el (xesam-mode-map): Use let-bound map in
14118 initialization. (Bug#11292)
14119
14120 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14121
14122 Preserve ispell session localwords when switching back to
14123 original buffer.
14124
14125 * textmodes/ispell.el (ispell-buffer-session-localwords):
14126 New buffer-local variable to hold buffer session localwords.
14127 (ispell-kill-ispell): Add option 'clear to delete session
14128 localwords.
14129 (ispell-command-loop, ispell-change-dictionary)
14130 (ispell-buffer-local-words): Preserve session localwords when
14131 needed.
14132
14133 * textmodes/flyspell.el (flyspell-process-localwords)
14134 (flyspell-do-correct): Preserve session localwords when needed.
14135
14136 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14137
14138 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14139 using obsolete `translation-table-for-input'.
14140 (ispell-word, ispell-process-line, ispell-complete-word):
14141 Use plain `insert' instead of removed `ispell-insert-word'.
14142
14143 2012-04-22 Chong Yidong <cyd@gnu.org>
14144
14145 * cus-edit.el (custom-variable-menu)
14146 (custom-variable-reset-saved, custom-face-menu)
14147 (custom-face-reset-saved): If there is no saved value, make the
14148 "reset-saved" operation bring back the default (Bug#9509).
14149 (custom-face-state): Properly detect themed faces.
14150
14151 * faces.el (face-spec-set): Stop supporting deprecated form of
14152 third arg.
14153
14154 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14155
14156 Move functions from C to Lisp. Make non-blocking method calls
14157 the default. Implement further D-Bus standard interfaces.
14158
14159 * net/dbus.el (dbus-message-internal): Declare function.
14160 Remove unneeded function declarations.
14161 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14162 (dbus-message-type-method-return, dbus-message-type-error)
14163 (dbus-message-type-signal): Declare variables. Remove local
14164 definitions.
14165 (dbus-interface-dbus, dbus-interface-peer)
14166 (dbus-interface-introspectable, dbus-interface-properties)
14167 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14168 Adapt docstring.
14169 (dbus-interface-objectmanager): New defconst.
14170 (dbus-call-method, dbus-call-method-asynchronously)
14171 (dbus-send-signal, dbus-method-return-internal)
14172 (dbus-method-error-internal, dbus-register-service)
14173 (dbus-register-signal, dbus-register-method): New defuns, moved
14174 from dbusbind.c
14175 (dbus-call-method-handler, dbus-setenv)
14176 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14177 New defuns.
14178 (dbus-call-method-non-blocking): Make it an obsolete function.
14179 (dbus-unregister-object, dbus-unregister-service)
14180 (dbus-handle-event, dbus-register-property)
14181 (dbus-property-handler): Obey the new structure of
14182 `bus-registered-objects'.
14183 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14184 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14185 Use `dbus-call-method'.
14186
14187 2012-04-22 Chong Yidong <cyd@gnu.org>
14188
14189 * cus-edit.el (custom-commands, custom-reset-menu)
14190 (Custom-reset-standard): Tweak labels.
14191 (custom-reset-button-menu): Change default to t.
14192 (custom-buffer-create-internal): For the custom-reset-button-menu
14193 case, put the revert button first.
14194 (custom-group-subtitle): New face.
14195 (custom-group-value-create): Align docstring to a specific column.
14196
14197 * wid-edit.el (widget-documentation-link-add): Don't handle
14198 indentation in this function.
14199 (widget-documentation-string-indent-to): New function.
14200 (widget-documentation-string-value-create): Use it.
14201
14202 * autorevert.el (auto-revert):
14203 * epg-config.el (epg):
14204 * ibuffer.el (ibuffer):
14205 * mpc.el (mpc):
14206 * ses.el (ses):
14207 * eshell/eshell.el (eshell):
14208 * net/ange-ftp.el (ange-ftp):
14209 * progmodes/ebnf2ps.el (postscript):
14210 * progmodes/flymake.el (flymake):
14211 * progmodes/prolog.el (prolog):
14212 * progmodes/verilog-mode.el (verilog-mode):
14213 * progmodes/which-func.el (which-func):
14214 * term/xterm.el (xterm):
14215 * textmodes/picture.el (picture):
14216 * textmodes/tildify.el (tildify):
14217 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14218 customization buffers.
14219
14220 2012-04-22 Alan Mackenzie <acm@muc.de>
14221
14222 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14223 Adding a ) can hide the resulting (..) from searches. Fix it.
14224 Bound the backward search to the position of the existing (.
14225
14226 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14227
14228 * progmodes/verilog-mode.el (verilog-mode): Check whether
14229 which-func-modes is t before adding verilog-mode.
14230 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14231
14232 2012-04-21 Leo Liu <sdl.web@gmail.com>
14233
14234 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14235
14236 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14237
14238 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14239 filling of the last column of a table (Bug#5635).
14240 (woman-find-next-control-line): New arg, specifying an additional
14241 regexp component for the control line.
14242 (woman2-roff-buffer): Use it.
14243 (woman-break-table): New function.
14244 (woman2-TS): Use it.
14245
14246 2012-04-21 Chong Yidong <cyd@gnu.org>
14247
14248 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14249 (woman-horizontal-escapes, woman-negative-vertical-space)
14250 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14251 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14252
14253 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14254
14255 * minibuffer.el (completion-file-name-table): Complete user names.
14256
14257 2012-04-20 Leo Liu <sdl.web@gmail.com>
14258
14259 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14260 and pcase-let*.
14261
14262 2012-04-20 Chong Yidong <cyd@gnu.org>
14263
14264 * server.el (server-execute): Respect initial-buffer-choice if it
14265 is a string and there are no files to open (Bug#2825).
14266 (server-create-window-system-frame, server-create-tty-frame):
14267 Don't switch buffers here.
14268 (server-process-filter): Only try to open a window system frame if
14269 compiled with graphical support (Bug#8314).
14270
14271 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14272
14273 * battery.el (battery-echo-area-format): Display remaining time
14274 for sysfs backend too (Bug#11269).
14275 (battery-linux-sysfs): Fix conditional for the charge.
14276
14277 2012-04-20 Chong Yidong <cyd@gnu.org>
14278
14279 * progmodes/gdb-mi.el (gdb): Revert previous change.
14280 (gdb-inferior-io--init-proc): New function.
14281 (gdb-init-1): Use it.
14282 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14283 responsible for allocating a new pty and hooking it to gdb when
14284 the old pty gets an EIO due to process exit.
14285 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14286 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14287 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14288
14289 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14290
14291 * window.el (window-min-size, window-sizable, window-min-delta)
14292 (window-max-delta, window--resizable, window-resizable)
14293 (window-total-size, window-full-height-p, window-full-width-p)
14294 (window-in-direction, window--resize-mini-window, window-resize)
14295 (window--resize-child-windows-normal)
14296 (window--resize-child-windows, window--resize-siblings)
14297 (window--resize-this-window, adjust-window-trailing-edge)
14298 (enlarge-window, shrink-window): Doc fixes.
14299
14300 2012-04-20 Chong Yidong <cyd@gnu.org>
14301
14302 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14303 New function to call delete-process on the gdb-inferior buffer's pty.
14304 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14305 pty process (Bug#11273).
14306 (gdb-update): New arg to suppress talking to the gdb process.
14307 (gdb-done-or-error): Use it.
14308 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14309 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14310 sentinel not being called.
14311
14312 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14313
14314 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14315
14316 2012-04-20 Glenn Morris <rgm@gnu.org>
14317
14318 * net/network-stream.el (open-network-stream): Doc fix.
14319
14320 2012-04-20 Chong Yidong <cyd@gnu.org>
14321
14322 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14323
14324 2012-04-20 Alan Mackenzie <acm@muc.de>
14325
14326 Ensure searching for keywords is case sensitive.
14327
14328 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14329 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14330 (c-defun-name, c-mark-function, c-cpp-define-name)
14331 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14332 (c-context-line-break): Bind case-fold-search to nil.
14333
14334 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14335 Bind case-fold-search to nil.
14336
14337 2012-04-20 Chong Yidong <cyd@gnu.org>
14338
14339 * mail/sendmail.el (mail-bury): Call return action with the right
14340 Rmail buffer (Bug#11242).
14341
14342 * server.el (server-process-filter): Handle corner case where both
14343 tty and nowait options are present (Bug#11102).
14344
14345 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14346
14347 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14348 (top level): Put into the executable the ident-style '$Id:' tag on
14349 windows-nt as well.
14350
14351 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * electric.el (electric-indent-post-self-insert-function): Check that
14354 electric-indent-mode is enabled in current buffer.
14355
14356 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14357
14358 * imenu.el (imenu-progress-message): Restore; it is "used" in
14359 erc/erc-imenu.el and net/snmp-mode.el.
14360
14361 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14362
14363 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14364 (mouse-avoidance-nudge-mouse): Remove unused binding.
14365
14366 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14367
14368 * descr-text.el (describe-char):
14369 * progmodes/python.el (python-describe-symbol):
14370 Don't call `toggle-read-only', set `buffer-read-only'.
14371
14372 * imenu.el (imenu-default-goto-function): Mark unused args.
14373 (imenu-progress-message): Remove obsolete macro; all callers changed.
14374
14375 * subr.el (keymap-canonicalize): Remove unused binding.
14376 (read-passwd): Mark unused arg.
14377
14378 * tutorial.el (tutorial--display-changes): Remove unused binding.
14379 (tutorial--save-tutorial-to): Remove unused variable.
14380
14381 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14382 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14383 (package-generate-autoloads, package-menu--generate)
14384 (package-menu--find-upgrades): Remove unused bindings.
14385
14386 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14387 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14388 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14389 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14390 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14391 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14392 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14393 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14394 (cua-delete-char-rectangle): Mark unused args.
14395 (cua-align-rectangle): Remove unused binding.
14396
14397 * mail/rmail.el (compilation--message->loc)
14398 (epa--find-coding-system-for-mime-charset): Declare.
14399
14400 * net/dbus.el (dbus-register-service): Declare.
14401 (dbus-name-owner-changed-handler): Remove unused binding.
14402
14403 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14404 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14405 (nxml-scan-backward-within): Mark unused arg.
14406 (nxml-dynamic-markup-word): Remove unused binding.
14407
14408 * mouse.el (mouse-menu-major-mode-map):
14409 * emacs-lisp/authors.el (authors-scan-change-log)
14410 (authors-add-to-author-list):
14411 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14412 * emacs-lisp/smie.el (smie-auto-fill):
14413 * mail/sendmail.el (mail-bury):
14414 * mail/unrmail.el (unrmail):
14415 * net/tls.el (open-tls-stream):
14416 * textmodes/picture.el (picture-mouse-set-point):
14417 Remove unused bindings.
14418
14419 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14420
14421 * net/tramp.el (tramp-action-password): Let-bind
14422 `enable-recursive-minibuffers' to t.
14423
14424 2012-04-18 Sam Steingold <sds@gnu.org>
14425
14426 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14427 instead of 'string to accommodate values like [f11].
14428 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14429 * progmodes/gdb-mi.el: Likewise.
14430
14431 2012-04-18 Leo Liu <sdl.web@gmail.com>
14432
14433 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14434 current buffer.
14435 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14436 LOCAL is nil.
14437
14438 2012-04-18 Chong Yidong <cyd@gnu.org>
14439
14440 * simple.el (line-move): Use forward-line if in batch mode
14441 (Bug#11053).
14442
14443 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14444
14445 * files.el (after-find-file): Do not try to add a final newline if
14446 the buffer is read-only (Bug#11156).
14447
14448 2012-04-17 Richard Stallman <rms@gnu.org>
14449
14450 * mail/rmail.el (rmail-start-mail):
14451 Pass (rmail-mail-return...) for the return-action.
14452 Pass (rmail-yank-current-message...) for the yank-action.
14453 (rmail-yank-current-message): New function.
14454 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14455 (rmail-reply): Likewise.
14456 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14457
14458 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14459 buffer, not the last. Reject temp buffers. Use the rmail-mode
14460 buffer, not newbuf.
14461
14462 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14463
14464 * server.el (server-ensure-safe-dir): Simplify.
14465
14466 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14467
14468 * emacs-lisp/smie.el: Provide smarter auto-filling.
14469 (smie-auto-fill): New function.
14470 (smie-setup): Use it.
14471
14472 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14473
14474 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14475
14476 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14477 (comment-indent): Use it.
14478
14479 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
14480
14481 * ses.el: The overall change is to add cell renaming, that is
14482 setting fancy names for cell symbols other than name matching
14483 "\\`[A-Z]+[0-9]+\\'" regexp .
14484 (ses-localvars): Add ses--renamed-cell-symb-list.
14485 (ses-create-cell-variable): New defun.
14486 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14487 (ses-relocate-formula): Relocate formulas only for cells the
14488 symbols of which are not renamed, i.e. symbols whose names do not
14489 match regexp "\\`[A-Z]+[0-9]+\\'".
14490 (ses-relocate-all): Relocate values only for cells the symbols of
14491 which are not renamed.
14492 (ses-load): Create cells variables as the (ses-cell ...) are read,
14493 in order to check row col consistency with cell symbol name only
14494 for cells that are not renamed.
14495 (ses-replace-name-in-formula): New defun.
14496 (ses-rename-cell): New defun.
14497
14498 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14499
14500 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14501 New option (bug#11118).
14502 (perl-calculate-indent): Respect it.
14503
14504 2012-04-17 Glenn Morris <rgm@gnu.org>
14505
14506 * dired-aux.el (dired-mark-read-string): Doc fix.
14507
14508 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14509
14510 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14511 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14512
14513 2012-04-17 Glenn Morris <rgm@gnu.org>
14514
14515 * mouse.el (mouse-drag-track):
14516 * speedbar.el (speedbar-frame-mode):
14517 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14518
14519 2012-04-16 Leo Liu <sdl.web@gmail.com>
14520
14521 * progmodes/python.el: Trivial cleanup.
14522
14523 2012-04-16 Glenn Morris <rgm@gnu.org>
14524
14525 * vc/vc.el (vc-string-prefix-p):
14526 * vc/pcvs-util.el (cvs-string-prefix-p):
14527 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14528 * mpc.el (mpc-string-prefix-p):
14529 Make all of these into obsolete aliases for string-prefix-p.
14530 Update callers.
14531 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14532
14533 * textmodes/two-column.el: Move custom options to the start.
14534 (frame-width): Remove compat definition.
14535 (2C-associate-buffer, 2C-dissociate):
14536 Use with-current-buffer rather than save-excursion.
14537 (2C-dissociate): Force a mode-line update.
14538 (2C-autoscroll): Use ignore-errors.
14539
14540 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14541 Autoload trivia.
14542
14543 * emacs-lisp/cl-extra.el (*random-state*):
14544 Remove unnecessary declaration.
14545
14546 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14547
14548 * play/cookie1.el (cookie-snarf):
14549 Give an explicit error if input file cannot be read.
14550
14551 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14552
14553 * progmodes/perl-mode.el (c-macro-expand):
14554 Remove unnecessary autoload (it is in loaddefs.el).
14555
14556 * textmodes/picture.el (picture-desired-column)
14557 (picture-update-desired-column): Convert comments to doc-strings.
14558 (picture-substitute): Remove function.
14559 (picture-mode-map): Initialize in the defvar.
14560
14561 * woman.el: Remove eval-after-load for tar-mode.
14562 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14563 (woman-tar-extract-file): Autoload it.
14564
14565 * frame.el (automatic-hscrolling): Make this alias obsolete.
14566
14567 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14568
14569 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14570 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14571 (ispell-dictionary-base-alist): Revert to original XEmacs
14572 friendly version for default. [:alpha:] will be added in
14573 `ispell-set-spellchecker-params' if needed.
14574
14575 2012-04-16 Chong Yidong <cyd@gnu.org>
14576
14577 * image.el (imagemagick--file-regexp): New variable.
14578 (imagemagick-register-types): Use it.
14579 (imagemagick-types-inhibit): Add :set function. Allow new value
14580 of t to inhibit all types.
14581
14582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14583 so we can preload it.
14584
14585 * loadup.el (fboundp): Preload regexp-opt, needed by
14586 imagemagick-register-types.
14587
14588 2012-04-15 Chong Yidong <cyd@gnu.org>
14589
14590 * frame.el (scrolling): Remove nearly unused customization group.
14591
14592 * scroll-all.el (scroll-all-mode): Move to windows group.
14593
14594 2012-04-15 Chong Yidong <cyd@gnu.org>
14595
14596 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14597
14598 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14601 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14602
14603 2012-04-15 Glenn Morris <rgm@gnu.org>
14604
14605 * simple.el (process-file-side-effects): Doc fix.
14606
14607 2012-04-15 Glenn Morris <rgm@gnu.org>
14608
14609 * international/mule-cmds.el (set-language-environment): Doc fix.
14610
14611 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14612
14613 * server.el (server-auth-key, server-generate-key): Doc fixes.
14614 (server-get-auth-key): Doc fix. Use `string-match-p'.
14615 (server-start): Reflow docstring.
14616
14617 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14618
14619 * server.el (server-generate-key): `called-interactively-p'
14620 requires a parameter.
14621
14622 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14623
14624 * server.el (server-auth-key): New variable.
14625 (server-generate-key, server-get-auth-key): New function.
14626 (server-start): Use the new variable and functions to allow
14627 setting a permanent server key (bug#9423).
14628
14629 2012-04-14 Leo Liu <sdl.web@gmail.com>
14630
14631 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14632
14633 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14634
14635 Spelling fixes.
14636 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14637 Emacs uses American spelling.
14638
14639 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14640
14641 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14642 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14643 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14644 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14645
14646 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * progmodes/which-func.el (which-func-modes): Change default.
14649
14650 2012-04-14 Kim F. Storm <storm@cua.dk>
14651
14652 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14653 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14654
14655 2012-04-14 Chong Yidong <cyd@gnu.org>
14656
14657 * custom.el (custom-theme-set-variables): Doc fix.
14658
14659 2012-04-14 Glenn Morris <rgm@gnu.org>
14660
14661 * international/mule.el (set-auto-coding-for-load): Doc fix.
14662
14663 2012-04-14 Alan Mackenzie <acm@muc.de>
14664
14665 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14666 imenu work again for Objective C Mode. Correct the *-index values,
14667 these having been disturbed by a previous change in 2011-08.
14668
14669 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14670 Correct two search limits.
14671
14672 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14673
14674 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14675
14676 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14677
14678 * international/characters.el: Fix sorting.
14679
14680 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14681
14682 * international/characters.el: Add more missing Latin case pairs.
14683
14684 2012-04-14 Glenn Morris <rgm@gnu.org>
14685
14686 * files.el (dir-locals-set-class-variables): Doc fix.
14687
14688 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14689
14690 * international/characters.el: Add set-case-syntax-pair call for
14691 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14692 counterpart. (Bug#11209)
14693
14694 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14695
14696 2012-04-14 Glenn Morris <rgm@gnu.org>
14697
14698 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14699
14700 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14701
14702 * textmodes/ispell.el (ispell-dictionary-base-alist):
14703 Add data for Hebrew.
14704
14705 2012-04-14 Chong Yidong <cyd@gnu.org>
14706
14707 * net/rcirc.el (rcirc-cmd-quit):
14708 Revert 2012-03-18 change (Bug#11192).
14709
14710 2012-04-14 Glenn Morris <rgm@gnu.org>
14711
14712 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14713
14714 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14715
14716 * minibuffer.el (completion-in-region-mode-map):
14717 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14718
14719 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14720
14721 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14722
14723 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14724
14725 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14726 to allow `C-M-f' and `C-M-b' to move to the nearest path
14727 separator (bug#9511).
14728
14729 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14730
14731 * avoid.el: Require cl when compiling. And also move the
14732 `provide' to the end.
14733
14734 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14735
14736 * avoid.el (mouse-avoidance-banish-position): New variable.
14737 (mouse-avoidance-banish-destination): Use it (bug#10165).
14738
14739 2012-04-13 Leo Liu <sdl.web@gmail.com>
14740
14741 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14742
14743 2012-04-13 Ken Brown <kbrown@cornell.edu>
14744
14745 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14746 this is no longer needed now that cygstart understands file:// URLs.
14747 (browse-url-filename-alist): For the same reason, don't modify
14748 file:// URLs on Cygwin.
14749
14750 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14753 the region on shift if the binding is already shifted (bug#11221).
14754
14755 2012-04-12 Glenn Morris <rgm@gnu.org>
14756
14757 * mail/mailpost.el: Move to obsolete/.
14758
14759 2012-04-12 Drew Adams <drew.adams@oracle.com>
14760
14761 * imenu.el (imenu--generic-function): Ignore invisible definitions
14762 (bug#10123).
14763
14764 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14765
14766 * hexl.el (hexl-bits): New variable.
14767 (hexl-options): Mention the variable in the doc string.
14768 (hexl-rulerise, hexl-line-displen): New functions.
14769 (hexl-mode): Mention the new variable.
14770 (hexl-mode, hexl-current-address, hexl-current-address):
14771 Use the displen.
14772 (hexl-ascii-start-column): New function.
14773 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14774 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14775
14776 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14777
14778 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14779 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14780 the encoding, as expected by hunspell.
14781
14782 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14783
14784 * battery.el (battery--linux-sysfs-regexp): New const.
14785 (battery-status-function): Use it. Remove yeeloong special case.
14786 (battery-yeeloong-sysfs): Remove.
14787 (battery-echo-area-format): Remove yeeloong special case.
14788
14789 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14790
14791 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14792 Reported by Noah Friedman.
14793
14794 * subr.el (read-passwd): Use read-string.
14795
14796 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14797
14798 * vcursor.el (vcursor-move): Increase the priority of the overlay
14799 (bug#9663).
14800
14801 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14802
14803 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14804 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14805
14806 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14807
14808 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14809 define-minor-mode (bug#10760).
14810
14811 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14812
14813 * progmodes/grep.el (rgrep): Tweak the find command line so
14814 that directories matching `grep-find-ignored-files' won't be
14815 pruned (bug#10351).
14816
14817 2012-04-11 Chong Yidong <cyd@gnu.org>
14818
14819 * startup.el (command-line): Remove support for long-obsolete
14820 variable font-lock-face-attributes.
14821
14822 2012-04-11 Glenn Morris <rgm@gnu.org>
14823
14824 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14825
14826 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14827
14828 * window.el (window--state-get-1): Obey window-point-insertion-type.
14829
14830 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14831
14832 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14833 to previous function when point is on the first character of a
14834 function. Take care of that in `narrow-to-defun' (bug#6157).
14835
14836 2012-04-11 Glenn Morris <rgm@gnu.org>
14837
14838 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14839 not just file-errors.
14840
14841 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14842 (vc-bzr-sha1): Use internal sha1.
14843
14844 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14845
14846 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14847
14848 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14849
14850 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14851 that start in the middle of the line (bug#10496).
14852
14853 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14854
14855 * battery.el (battery-linux-proc-acpi): Only one battery is
14856 discharged at a time, but that seems to confuse battery.el when
14857 computing `rate-type' for the battery not being discharged
14858 (bug#10332).
14859
14860 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14863
14864 * international/quail.el: Use dolist and simplify.
14865 (quail-define-package, quail-update-keyboard-layout)
14866 (quail-define-rules): Use dolist.
14867 (quail-insert-kbd-layout, quail-get-translation): CSE.
14868
14869 * tmm.el: Use dolist, remove left over hook.
14870 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14871 Use dolist.
14872 (calendar-load-hook): Don't mess with it.
14873
14874 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14875 Use derived-mode-p. Run the diff asynchronously.
14876
14877 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14878
14879 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14880
14881 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14882
14883 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14884 (list-dynamic-libraries--loaded): New function.
14885 (list-dynamic-libraries--refresh): Use it.
14886
14887 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14888
14889 * progmodes/python.el (python-fill-paragraph):
14890 Make python-fill-region in a multiline string work when font-lock is
14891 disabled (bug#7018).
14892
14893 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14894
14895 * language/european.el (cp775): Add oem/legacy (en)coding on
14896 DOS/MS Windows for the Baltic languages. There are still plenty
14897 of texts written in this encoding/codepage (bug#6519).
14898
14899 2012-04-10 Glenn Morris <rgm@gnu.org>
14900
14901 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14902 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14903
14904 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14905
14906 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14907 next-line "n" and previous-line "p" in order to make recentf more
14908 consistent with ibuffer, dired or org-mode (bug#9387).
14909
14910 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14911
14912 * image.el (put-image): Return the overlay created instead of the
14913 optional input string (bug#7834). Note that this may break code
14914 that is (for some reason or other) depending on `put-image'
14915 returning the string.
14916
14917 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14918
14919 * simple.el (zap-to-char): Allow zapping using input methods
14920 (bug#1580).
14921
14922 * textmodes/fill.el (fill-region): Leave point and mark where they
14923 were before filling (bug#5399).
14924
14925 2012-04-09 Glenn Morris <rgm@gnu.org>
14926
14927 * version.el (emacs-bzr-get-version):
14928 Handle lightweight checkouts of local branches.
14929
14930 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14931
14932 * international/characters.el: Recover lost case pairs. (Bug#11209)
14933
14934 2012-04-09 Chong Yidong <cyd@gnu.org>
14935
14936 * custom.el (custom-variable-p): Return nil for non-symbol
14937 arguments instead of signaling an error.
14938 (user-variable-p): Obsolete alias for custom-variable-p.
14939
14940 * apropos.el (apropos-variable):
14941 * files-x.el (read-file-local-variable):
14942 * simple.el (set-variable):
14943 * woman.el (woman-mini-help):
14944 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14945
14946 2012-04-09 Glenn Morris <rgm@gnu.org>
14947
14948 * startup.el (normal-top-level): Don't look for leim-list.el
14949 in places where it will not be found. (Bug#910)
14950
14951 * international/mule-cmds.el (set-default-coding-systems):
14952 * files.el (normal-mode):
14953 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14954 This function was removed with ucs-tables.el in 2008.
14955
14956 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14957
14958 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14959 ispell-encoding8-command to "-i", without a trailing space.
14960 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14961 separate command-line arguments, to specify the encoding, since
14962 that's how hunspell expects it.
14963
14964 2012-04-08 Glenn Morris <rgm@gnu.org>
14965
14966 * loadup.el: Load bindings before cus-start.
14967 This reduces somewhat the number of "rogue" settings in emacs -Q.
14968
14969 2012-04-07 Glenn Morris <rgm@gnu.org>
14970
14971 * version.el (emacs-bzr-get-version): New function.
14972 (emacs-bzr-version): New variable.
14973 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14974 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14975
14976 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14977
14978 * international/uni-bidi.el, international/uni-category.el:
14979 * international/uni-combining.el, international/uni-decimal.el:
14980 * international/uni-decomposition.el, international/uni-digit.el:
14981 * international/uni-lowercase.el, international/uni-mirrored.el:
14982 * international/uni-name.el, international/uni-numeric.el:
14983 * international/uni-titlecase.el, international/uni-uppercase.el:
14984 Update for Unicode 6.1.
14985
14986 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14987
14988 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14989
14990 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14991
14992 * window.el (shrink-window): Mention the `window-min-height'
14993 variable in the doc string.
14994
14995 2012-04-05 Bastien Guerry <bzg@altern.org>
14996
14997 * color.el (color-lighten-name): Fix typo.
14998
14999 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15000
15001 * server.el (server--on-display-p): New function.
15002 (server--on-display-p): Use it.
15003
15004 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15005
15006 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15007 (bug#11145).
15008
15009 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * comint.el (comint--common-quoted-suffix): Check string boundary
15012 before comparing (bug#11158).
15013 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15014
15015 2012-04-04 Chong Yidong <cyd@gnu.org>
15016
15017 * minibuffer.el (completion-extra-properties): Doc fix.
15018
15019 * subr.el (delayed-warnings-hook): Doc fix.
15020
15021 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15022
15023 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15024 selection (Bug#11159).
15025 (epa-insert-keys): Inform that the default public key will be
15026 exported if no key is selected.
15027
15028 2012-04-04 Richard Stallman <rms@gnu.org>
15029
15030 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15031
15032 2012-04-03 Chong Yidong <cyd@gnu.org>
15033
15034 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15035 mail-insert-file, not its obsolete alias mail-attach-file.
15036
15037 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15038
15039 * notifications.el (notifications-notify): Fix docstring.
15040
15041 2012-04-02 Glenn Morris <rgm@gnu.org>
15042
15043 * emacs-lisp/authors.el (authors-aliases): Another addition.
15044
15045 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15046
15047 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15048 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15049 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15050
15051 2012-04-01 Chong Yidong <cyd@gnu.org>
15052
15053 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15054 Handle root directory properly.
15055 (copy-directory): Caller changed.
15056
15057 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15058 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15059
15060 2012-03-31 Glenn Morris <rgm@gnu.org>
15061
15062 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15063
15064 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15065
15066 * calendar/calendar.el (calendar-window-list)
15067 (calendar-hide-window): Restore. (Bug#11140)
15068 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15069
15070 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15071
15072 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15073
15074 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15075 Check if file is a symlink (Bug#10489).
15076
15077 * files.el (copy-directory): Likewise.
15078
15079 2012-03-30 Chong Yidong <cyd@gnu.org>
15080
15081 * image.el (imagemagick-types-inhibit)
15082 (imagemagick-register-types): Doc fix.
15083
15084 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15085
15086 * textmodes/ispell.el (ispell-get-extended-character-mode):
15087 Disable extended-char-mode for hunspell. hunspell does not support it
15088 and treats ~word as ordinary words in pipe mode.
15089
15090 2012-03-30 Glenn Morris <rgm@gnu.org>
15091
15092 * tutorial.el (help-with-tutorial): Ensure local variables don't
15093 happen to make the buffer read-only. (Bug#11127)
15094
15095 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15096
15097 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15098 (perl-calculate-indent): Return `noindent' in strings.
15099
15100 2012-03-28 Sam Steingold <sds@gnu.org>
15101
15102 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15103 instead of the broken adhockery which does not prevent calendar
15104 buffers from being displayed at random after exit.
15105 (calendar-window-list, calendar-hide-window): Remove the broken
15106 adhockery.
15107
15108 2012-03-28 Glenn Morris <rgm@gnu.org>
15109
15110 * replace.el (query-replace-map): Doc fix.
15111
15112 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15113
15114 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15115 contents. (Bug#11109)
15116
15117 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15120 (bug#11077).
15121 (avl-tree--check, avl-tree--check-node): New funs.
15122
15123 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15124
15125 * window.el (switch-to-visible-buffer): New option.
15126 (switch-to-prev-buffer, switch-to-next-buffer):
15127 Observe switch-to-visible-buffer. Make sure that checking for a window
15128 showing a buffer already is done on the same frame.
15129
15130 2012-03-27 Glenn Morris <rgm@gnu.org>
15131
15132 * startup.el (mail-host-address): Doc fix.
15133
15134 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15135
15136 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15137 than 197 variables.
15138
15139 2012-03-26 Ami Fischman <ami@fischman.org>
15140
15141 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15142
15143 2012-03-26 Glenn Morris <rgm@gnu.org>
15144
15145 * files.el (save-buffers-kill-emacs): Doc fix.
15146
15147 * startup.el (normal-top-level, command-line, command-line-1):
15148 Give them doc strings.
15149
15150 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15151
15152 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15153 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15154
15155 2012-03-25 Chong Yidong <cyd@gnu.org>
15156
15157 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15158 theme if it was previously enabled before (Bug#11031).
15159
15160 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15161 spec with custom-face-get-current-spec if its :shown-value is not
15162 determined yet (Bug#9337).
15163 (customize-create-theme, custom-theme-revert): Doc fixes.
15164
15165 * button.el (button-at): Minor addition to docstring.
15166
15167 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15168
15169 * vc/vc.el (vc-merge): Fix a prompt.
15170
15171 2012-03-24 Chong Yidong <cyd@gnu.org>
15172
15173 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15174 point (Bug#9623).
15175
15176 * button.el (button-at): Minor addition to docstring.
15177
15178 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15179
15180 * newcomment.el (comment-choose-indent): No space after BOL.
15181
15182 2012-03-22 Sam Steingold <sds@gnu.org>
15183
15184 * window.el (switch-to-prev-buffer): Revert last patch because the
15185 bug turned out to be an advertised feature (Elisp manual 28.14).
15186
15187 2012-03-22 Glenn Morris <rgm@gnu.org>
15188
15189 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15190 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15191
15192 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15193
15194 * net/network-stream.el (network-stream-open-starttls): Make error
15195 message under Windows be less misleading.
15196
15197 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15198
15199 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15200 understands (bug#9942).
15201
15202 2012-03-22 Chong Yidong <cyd@gnu.org>
15203
15204 * simple.el (end-of-visible-line): Handle return value of
15205 next-single-property-change properly (Bug#9371).
15206
15207 2012-03-22 Kenichi Handa <handa@m17n.org>
15208
15209 * international/quail.el (quail-insert-kbd-layout): Fix previous
15210 change. To avoid unwanted bidi reordering, use
15211 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15212
15213 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15214
15215 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15216 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15217 (ruby-beginning-of-indent): Be more careful with the difference
15218 between word-boundary and symbol boundary.
15219 (ruby-mode-syntax-table): Make : a symbol constituent.
15220
15221 2012-03-21 Andreas Politz <politza@fh-trier.de>
15222
15223 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15224
15225 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15226
15227 * progmodes/etags.el (tags-completion-at-point-function):
15228 Improve last fix.
15229
15230 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15231
15232 2012-03-21 Sam Steingold <sds@gnu.org>
15233
15234 * progmodes/etags.el (tags-completion-at-point-function):
15235 Avoid the error when point is inside the pattern.
15236
15237 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15238
15239 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15240 line (Bug#10855).
15241
15242 2012-03-21 Drew Adams <drew.adams@oracle.com>
15243
15244 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15245
15246 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15247
15248 * ido.el (ido-set-current-directory, ido-read-internal)
15249 (ido-choose-completion-string, ido-completion-help): Handle nil
15250 value of ido-completion-buffer (Bug#11008).
15251
15252 2012-03-21 Sam Steingold <sds@gnu.org>
15253
15254 * window.el (switch-to-prev-buffer): Do not switch to a visible
15255 window previous buffer, just like with the frame previous buffers.
15256
15257 2012-03-21 Chong Yidong <cyd@gnu.org>
15258
15259 * faces.el (make-face, make-empty-face, copy-face):
15260 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15261 Doc fixes.
15262
15263 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15266 (widget-complete): Remove broken use of it.
15267
15268 2012-03-20 Chong Yidong <cyd@gnu.org>
15269
15270 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15271 Use string-width and truncate-string-width to handle arbitrary
15272 characters.
15273
15274 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15275
15276 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15277 to draw rectangles, not squares. (Regression introduced by revno
15278 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15279
15280 2012-03-18 Chong Yidong <cyd@gnu.org>
15281
15282 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15283 it is not yet defined (for temacs).
15284
15285 2012-03-18 Leo Liu <sdl.web@gmail.com>
15286
15287 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15288 prefix.
15289
15290 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15291
15292 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15293 (ispell-choices-win-default-height, ispell-silently-savep)
15294 (ispell-dictionary-alist, ispell-encoding8-command)
15295 (ispell-check-version, ispell-aspell-find-dictionary)
15296 (ispell-valid-dictionary-list, ispell-words-keyword)
15297 (ispell-get-word, ispell-internal-change-dictionary)
15298 (ispell-region, ispell-skip-region-list)
15299 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15300 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15301 (ispell-message-text-end, ispell-message)
15302 (ispell-buffer-local-parsing): Doc fix.
15303
15304 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15305
15306 * htmlfontify.el: Add support for code block fontification for ODT
15307 export (Bug #9914).
15308 (hfy-optimisations): Define new option
15309 `body-text-only'
15310 (hfy-fontify-buffer): Honor above setting.
15311 (hfy-begin-span, hfy-end-span): New routines factored out form
15312 `hfy-fontify-buffer'.
15313 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15314 that permit insertion of custom tags.
15315 (hfy-fontify-buffer): Use above handlers.
15316 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15317 (hfy-face-to-css): Re-defined to be a variable.
15318 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15319 over multiple runs. This is made possible by having the caller let
15320 bind a special variable `hfy-user-sheet-assoc'.
15321 (htmlfontify-string): New defun.
15322 (hfy-compile-face-map): Make sure that the last char in the
15323 buffer is correctly fontified.
15324 (hfy-face-resolve-face): Whitespace only change.
15325
15326 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15327
15328 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15329 message more clear.
15330
15331 2012-03-16 Leo Liu <sdl.web@gmail.com>
15332
15333 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15334
15335 2012-03-16 Alan Mackenzie <acm@muc.de>
15336
15337 Further optimize the handling of large macros.
15338
15339 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15340 limit to a call of `c-literal-limits'.
15341 (c-determine-+ve-limit): New function.
15342 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15343 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15344 In CASE 5B, restrict a search limit to 500.
15345 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15346
15347 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15348 Restrict macro bounds to +-500 from after-change's BEG END.
15349
15350 2012-03-16 Leo Liu <sdl.web@gmail.com>
15351
15352 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15353
15354 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15355
15356 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15357 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15358
15359 2012-03-16 Glenn Morris <rgm@gnu.org>
15360
15361 * view.el (view-buffer, view-buffer-other-window)
15362 (view-buffer-other-frame): Doc fixes re special mode-class.
15363
15364 * subr.el (eval-after-load): If named feature is provided not from
15365 a file, run after-load forms. (Bug#10946)
15366
15367 * calendar/calendar.el (calendar-insert-at-column):
15368 Handle non-unit-width characters a bit better. (Bug#10978)
15369
15370 2012-03-15 Chong Yidong <cyd@gnu.org>
15371
15372 * emacs-lisp/ring.el (ring-extend): New function.
15373 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15374
15375 * comint.el (comint-read-input-ring)
15376 (comint-add-to-input-history): Grow comint-input-ring lazily.
15377
15378 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15381 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15382
15383 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15384 (imenu-add-to-menubar): Don't add a redundant index.
15385 (imenu-update-menubar): Handle a dynamically composed keymap.
15386
15387 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15388
15389 * mail/sendmail.el (mail-encode-header):
15390 Bind rfc2047-encode-encoded-words to nil.
15391
15392 2012-03-13 Glenn Morris <rgm@gnu.org>
15393
15394 * calendar/calendar.el (calendar-string-spread):
15395 Handle non-unit-width characters a bit better. (Bug#10978)
15396
15397 2012-03-13 Leo Liu <sdl.web@gmail.com>
15398
15399 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15400 directory and file as argument (Bug#10822).
15401
15402 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15403
15404 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15405 For dynamically generated code, follow $PC.
15406 (gdb-disassembly-handler-custom): Handle no function name case.
15407
15408 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15409
15410 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15411 * emulation/ws-mode.el (ws-query-replace):
15412 * sort.el (sort-regexp-fields):
15413 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15414
15415 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * dabbrev.el: Fix cycle completion order (bug#10963).
15418 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15419 (dabbrev-completion): Don't use an obarray; provide
15420 a cycle-sort-function.
15421
15422 2012-03-12 Leo Liu <sdl.web@gmail.com>
15423
15424 * simple.el (kill-new): Use equal-including-properties for comparison.
15425 (kill-do-not-save-duplicates): Doc fix.
15426
15427 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15428
15429 * dabbrev.el: Fix cycle completion (bug#10963).
15430 Use lexical binding and wrap to 80 columns.
15431 (dabbrev-completion): Delay computing the list of completions.
15432
15433 2012-03-12 Kenichi Handa <handa@m17n.org>
15434
15435 * international/quail.el (quail-insert-kbd-layout): Surround each
15436 row by LRO and PDF instead of inserting many LRMs. Pad the left
15437 and right of each non-spacing marks. Insert invisible space
15438 between lower and upper characters to prevent composition.
15439
15440 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15441
15442 * minibuffer.el (minibuffer-complete): Don't get confused when the
15443 function is run twice via different commands (bug#10958).
15444 (complete-with-action): Fix docstring.
15445
15446 2012-03-12 Chong Yidong <cyd@gnu.org>
15447
15448 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15449 (nxml-completion-at-point-function): New function.
15450 (nxml-mode): Use it.
15451 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15452
15453 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15454 Load generated autoloads file before byte compiling (Bug#10970).
15455 (package--make-autoloads-and-compile): New helper fun.
15456
15457 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15458
15459 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15460
15461 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15462
15463 * autorevert.el (auto-revert-handler): Ensure, that
15464 file-readable-p is applied only for local files or in
15465 auto-revert-tail-mode.
15466
15467 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15468
15469 * server.el (server-eval-at): Handle non-tcp connections.
15470 Decode result string.
15471
15472 * server.el (server-msg-size): New constant.
15473 (server-reply-print): New function.
15474 (server-eval-and-print): Use it.
15475 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15476 Handle -print-nonl.
15477
15478 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15479
15480 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15481 (Bug#10987).
15482
15483 2012-03-11 Chong Yidong <cyd@gnu.org>
15484
15485 * simple.el (goto-line): Doc fix (Bug#9938).
15486
15487 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15488
15489 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15490 when finished (Bug#10963).
15491
15492 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15493
15494 * window.el (split-window-below): Fix bug in case where
15495 split-window-keep-point is nil (Bug#10971).
15496
15497 2012-03-11 Juri Linkov <juri@jurta.org>
15498
15499 * replace.el (replace-highlight): Set isearch-word to nil
15500 unconditionally. (Bug#10887)
15501
15502 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15503
15504 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15505 mairix-replace-illegal-chars; all callers changed. Don't remove
15506 ^, ~, and = characters: they are meaningful in mairix search specs.
15507 (mairix-widget-create-query): Add usage information about mairix
15508 search forms: negating words, searching for substrings, etc.
15509
15510 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15511
15512 * international/fontset.el (font-encoding-alist): Add an entry for
15513 ksx1001 (Bug#5667).
15514
15515 2012-03-10 Richard Stallman <rms@gnu.org>
15516
15517 * mail/sendmail.el (mail-encode-header):
15518 Set rfc2047-encode-encoded-words.
15519
15520 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15521
15522 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15523 view buffer means not swapped.
15524 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15525 (rmail-write-region-annotate): Error if real text has disappeared.
15526
15527 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15528
15529 2012-03-10 Chong Yidong <cyd@gnu.org>
15530
15531 * emulation/cua-rect.el (cua--init-rectangles):
15532 * emulation/cua-base.el (cua--init-keymaps):
15533 Add delete-forward-char to remappings (Bug#9666).
15534
15535 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15536
15537 * speedbar.el (speedbar-unhighlight-one-tag-line):
15538 Avoid unhighlighting due to frame switching (Bug#10275).
15539
15540 2012-03-10 Chong Yidong <cyd@gnu.org>
15541
15542 * minibuffer.el (completion-in-region, completion-help-at-point):
15543 Give the completion field overlay a high priority (Bug#6830).
15544
15545 * dired.el (dired-goto-file): Recognize absolute file name
15546 listings (Bug#7126).
15547 (dired-goto-file-1): New helper function.
15548 (dired-toggle-read-only): Inhibit warnings.
15549
15550 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15551
15552 * net/dbus.el (dbus-property-handler): Return empty array if
15553 there are no properties.
15554
15555 2012-03-09 Leo Liu <sdl.web@gmail.com>
15556
15557 * savehist.el (savehist-printable): Stricter check for string
15558 value (Bug#10937).
15559
15560 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15561
15562 * mail/smtpmail.el (smtpmail-send-it):
15563 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15564 valid mbox format.
15565
15566 2012-03-09 Glenn Morris <rgm@gnu.org>
15567
15568 * files.el (dir-locals-find-file):
15569 Don't check result is regular, readable.
15570 (dir-locals-read-from-file): Demote errors.
15571
15572 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15573
15574 * international/quail.el (quail-insert-kbd-layout):
15575 Insert invisible LRM characters before each character in a keyboard
15576 layout cell, to prevent their reordering by bidi display engine.
15577 For details, see the discussion in
15578 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15579
15580 2012-03-08 Alan Mackenzie <acm@muc.de>
15581
15582 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15583 the starting position; make it extend the marked region when
15584 invoked repeatedly - all under appropriate circumstances.
15585 Fixes bugs #5525, #10906.
15586
15587 2012-03-08 Glenn Morris <rgm@gnu.org>
15588
15589 * files.el (locate-dominating-file, dir-locals-find-file):
15590 Undo 2012-03-06 change.
15591
15592 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15593
15594 * international/quail.el (quail-help):
15595 Force bidi-paragraph-direction be left-to-right. See discussion in
15596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15597 for the reason.
15598
15599 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15600
15601 Avoid superfluous registering of signals. (Bug#10807)
15602
15603 * notifications.el (notifications-on-action-object)
15604 (notifications-on-close-object): New defvars.
15605 (notifications-on-action-signal, notifications-on-closed-signal):
15606 Unregister the signal if not needed any longer.
15607 (notifications-notify): Register `notifications-action-signal' or
15608 `notifications-closed-signal', if :on-action or :on-close has been
15609 passed as argument.
15610
15611 2012-03-07 Chong Yidong <cyd@gnu.org>
15612
15613 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15614 non-X platforms.
15615
15616 2012-03-06 Glenn Morris <rgm@gnu.org>
15617
15618 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15619 (x-disown-selection-internal, x-get-selection-internal):
15620 Doc fix (add arglist signatures). (Bug#10783)
15621
15622 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15623
15624 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15625 Handle breakpoints with no "type".
15626
15627 2012-03-06 Glenn Morris <rgm@gnu.org>
15628
15629 * files.el (locate-dominating-file): Add optional predicate argument.
15630 (dir-locals-find-file): Make use of above change.
15631
15632 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15633
15634 * info.el (Info-insert-dir): Also try "dir.gz".
15635
15636 2012-03-06 Glenn Morris <rgm@gnu.org>
15637
15638 * files.el (dir-locals-find-file):
15639 Ignore non-readable or non-regular files. (Bug#10928)
15640
15641 * files.el (locate-dominating-file): Doc fix.
15642
15643 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15644
15645 * calendar/calendar.el (calendar-set-mode-line):
15646 `getenv' returns a string. (Bug#10951)
15647
15648 2012-03-05 Leo Liu <sdl.web@gmail.com>
15649
15650 * simple.el (backward-delete-char-untabify): Constrain point to
15651 field (Bug#10939).
15652
15653 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15654
15655 2012-03-05 Chong Yidong <cyd@gnu.org>
15656
15657 * simple.el (count-words): If called from Lisp, return the word
15658 count, for symmetry with `count-lines'. Arglist changed.
15659 (count-words--message): Args changed. Consolidate counting code
15660 from count-words and count-words-region.
15661 (count-words-region): Caller changed.
15662 (count-lines-region): Make it an obsolete alias.
15663
15664 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15665
15666 * saveplace.el (save-place-to-alist)
15667 (save-place-ignore-files-regexp): Allow value nil to disable this
15668 feature.
15669
15670 2012-03-04 Chong Yidong <cyd@gnu.org>
15671
15672 * faces.el (face-spec-reset-face): For the default face, reset the
15673 attributes to default values (Bug#10748).
15674
15675 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15676
15677 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15678 previous patch: Check `message-send-mail-function', and not the
15679 default function (bug#10897).
15680
15681 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15682
15683 * notifications.el (notifications-on-action-signal)
15684 (notifications-on-closed-signal): Check for unique service name of
15685 incoming event. Fix error in removing entry.
15686 (top): Register for signals with wildcard service name.
15687 (notifications-notify): Use daemon unique service name for map entries.
15688
15689 2012-03-04 Chong Yidong <cyd@gnu.org>
15690
15691 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15692
15693 2012-03-04 Glenn Morris <rgm@gnu.org>
15694
15695 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15696 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15697 (expand-abbrev, define-abbrev-table): Doc fixes.
15698
15699 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15700
15701 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15702 `message-default-send-mail-function' and not `send-mail-function'
15703 when doing the prompting for `sendmail-query-once' before sending
15704 in Message buffers (bug#10897).
15705
15706 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15707 This is inconsistent with all the other stream functions, which leave
15708 the setting up to the higher levels (if so wanted) (bug#10931).
15709
15710 2012-03-02 Alan Mackenzie <acm@muc.de>
15711
15712 Depessimize the handling of very large macros.
15713
15714 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15715 (c-macro-cache-syntactic): New variables to implement a one
15716 element macro cache.
15717 (c-invalidate-macro-cache): New function.
15718 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15719 Adapt to use the new cache.
15720 (c-state-safe-place): Use better the cache of safe positions.
15721 (c-state-semi-nonlit-pos-cache)
15722 (c-state-semi-nonlit-pos-cache-limit):
15723 New variables for...
15724 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15725 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15726 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15727 Use c-state-semi-safe-place.
15728
15729 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15730 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15731
15732 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15733
15734 * jka-compr.el (jka-compr-call-process):
15735 Apply `file-accessible-directory-p' only when the default directory is
15736 not remote.
15737
15738 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15739
15740 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15741 access of FILE2, if FILE1 does not exist.
15742
15743 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15744 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15745
15746 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15747 Add "PAGER=" to `process-environment'.
15748
15749 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15750
15751 * progmodes/sql.el: Bug fix
15752 (sql-get-login-ext): Save login values in globals.
15753 (sql-get-login): Use new version of `sql-get-login-ext'.
15754 (sql-interactive-mode): Set global `sql-connection' to nil.
15755 (sql-connect): Set global values for connection.
15756 (sql-product-interactive): Save global values as buffer local.
15757
15758 2012-02-29 Leo Liu <sdl.web@gmail.com>
15759
15760 * abbrev.el (define-abbrevs): Reset sys to nil.
15761
15762 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15763
15764 * files.el (file-equal-p): Rename from `files-equal-p'.
15765 Return nil when one or both files don't exist.
15766 (file-subdir-of-p): Now only top directory must exists,
15767 return nil if it doesn't.
15768 (copy-directory): No need to test with `file-subdir-of-p' after
15769 creating dir.
15770 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15771 to `file-equal-p'.
15772
15773 2012-02-28 Glenn Morris <rgm@gnu.org>
15774
15775 * shell.el (shell-mode):
15776 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15777 * play/landmark.el (landmark-font-lock-face-O):
15778 * play/handwrite.el (handwrite):
15779 * play/gomoku.el (gomoku-O):
15780 * net/browse-url.el (browse-url-browser-display):
15781 * international/mule.el (define-charset):
15782 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15783 * filesets.el (filesets-find-file-delay):
15784 * eshell/em-xtra.el (eshell-xtra):
15785 * eshell/em-unix.el (eshell-grep):
15786 * emulation/viper.el (viper-mode):
15787 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15788 * emacs-lisp/easymenu.el (easy-menu-define):
15789 * calendar/timeclock.el (timeclock-use-display-time):
15790 * bs.el (bs-mode):
15791 * bookmark.el (bookmark-save-flag):
15792 Doc fix (standardize possessive apostrophe usage).
15793
15794 2012-02-27 Chong Yidong <cyd@gnu.org>
15795
15796 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15797 Fix key-binding lookup for ESC key (Bug#9146).
15798
15799 * font-lock.el (font-lock-specified-p): Rename from
15800 font-lock-spec-present. Callers changed.
15801
15802 2012-02-27 Daniel Hackney <dan@haxney.org>
15803
15804 * emacs-lisp/package.el (package-compute-transaction):
15805 Handle holding a package version to t in package-load-list.
15806
15807 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15808
15809 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15810 (tramp-get-inode, tramp-get-device): Use cached values.
15811
15812 2012-02-26 Alan Mackenzie <acm@muc.de>
15813
15814 Check there is a font-lock specification before doing initial
15815 fontification.
15816
15817 * font-core.el (font-lock-mode): Move the conditional from
15818 :after-hook to font-lock-initial-fontify.
15819 (font-lock-default-function): Move the check for a specification
15820 to font-lock-spec-present.
15821
15822 * font-lock.el (font-lock-initial-fontify): Call ...
15823 (font-lock-spec-present): New function.
15824
15825 2012-02-26 Jim Blandy <jimb@red-bean.com>
15826
15827 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15828 (gdb-send): Apply it to the operand of the '-interpreter-exec
15829 console' command, so that we can pass arguments with (say) quotes
15830 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15831
15832 2012-02-26 Chong Yidong <cyd@gnu.org>
15833
15834 * help-fns.el (describe-function-1): Clarify description of
15835 remapping (Bug#10844).
15836
15837 * files.el (files-equal-p): Doc fix.
15838 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15839 and quit the loop once a mismatch is found.
15840
15841 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15842
15843 * bs.el (bs--show-with-configuration): Don't throw an error
15844 if the window cannot be split; otherwise, subsequent calls to
15845 bs-show fail, restoring a stale window config. (Bug#10882)
15846
15847 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15848
15849 * term/ns-win.el (global-map): Bind ns-drag-file to
15850 ns-find-file (Bug#5855, Bug#10050).
15851
15852 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15853
15854 * calendar/parse-time.el (parse-time-string): Allow extractor to
15855 return nil.
15856
15857 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15858
15859 * net/tramp.el (tramp-file-name-for-operation):
15860 Add `files-equal-p' and `file-subdir-of-p'.
15861
15862 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15863 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15864 Add COPY-CONTENTS argument.
15865
15866 2012-02-25 Chong Yidong <cyd@gnu.org>
15867
15868 Add custom groups for VC backends, for consistency with vc-bzr.
15869
15870 * vc/vc-arch.el (vc-arch):
15871 * vc/vc-cvs.el (vc-cvs):
15872 * vc/vc-git.el (vc-git):
15873 * vc/vc-hg.el (vc-hg):
15874 * vc/vc-mtn.el (vc-mtn):
15875 * vc/vc-rcs.el (vc-rcs):
15876 * vc/vc-sccs.el (vc-sccs):
15877 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15878 All relevant defcustoms reassigned.
15879
15880 2012-02-25 Chong Yidong <cyd@gnu.org>
15881
15882 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15883
15884 * term/x-win.el (x-initialize-window-system): Reduce default for
15885 x-selection-timeout to 5 seconds (Bug#8869).
15886
15887 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15888
15889 * files.el (files-equal-p, file-subdir-of-p): New functions.
15890 (copy-directory): Error when trying to copy a directory on itself.
15891 Add missing copy-contents arg to tramp handler.
15892 * dired-aux.el (dired-copy-file-recursive): Same.
15893 (dired-create-files): Modify destination when source is equal to
15894 dest when copying files.
15895 Return also when dest is a subdir of source. (Bug#10489)
15896
15897 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15898
15899 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15900 (Bug#10874)
15901
15902 2012-02-23 Alan Mackenzie <acm@muc.de>
15903
15904 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15905 parameter "after-hook:" to allow the expansion to run code after
15906 the execution of the mode hooks.
15907
15908 * font-lock.el (font-lock-initial-fontify): New function extracted
15909 from font-lock-mode-internal.
15910
15911 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15912 :after-hook.
15913
15914 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15917 (completion--cache-all-sorted-completions): New function.
15918 (completion-all-sorted-completions): Use it.
15919 (completion--do-completion, minibuffer-force-complete):
15920 Use it to re-instate the flush hook.
15921
15922 * icomplete.el (icomplete-completions): Replace last fix with a better
15923 one (bug#10850).
15924
15925 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15926
15927 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15928 when it might call us back infinitely (bug#10797).
15929
15930 2012-02-23 Glenn Morris <rgm@gnu.org>
15931
15932 * minibuffer.el (completion-category-overrides): Doc fix.
15933
15934 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15935
15936 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15937 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15938
15939 2012-02-23 Glenn Morris <rgm@gnu.org>
15940
15941 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15942 (authors-obsolete-files-regexps, authors-ignored-files)
15943 (authors-ambiguous-files, authors-renamed-files-alist):
15944 Add more entries.
15945
15946 2012-02-23 Juri Linkov <juri@jurta.org>
15947
15948 * isearch.el (isearch-occur): Sync interactive spec with occur's
15949 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15950
15951 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15952
15953 2012-02-22 Juri Linkov <juri@jurta.org>
15954
15955 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15956 (ucs-insert): Doc fix. Check for hex digits in the string.
15957 Don't display `nil' in the error message. (Bug#10857)
15958
15959 2012-02-22 Alan Mackenzie <acm@muc.de>
15960
15961 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15962
15963 2012-02-22 Glenn Morris <rgm@gnu.org>
15964
15965 * ffap.el (ffap-c-path):
15966 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15967
15968 2012-02-22 Chong Yidong <cyd@gnu.org>
15969
15970 * custom.el (load-theme): Doc fix.
15971
15972 2012-02-22 Glenn Morris <rgm@gnu.org>
15973
15974 * dired-x.el (dired-guess-shell-alist-default):
15975 Remove escape sequences from nroff output. (Bug#172)
15976
15977 2012-02-21 Glenn Morris <rgm@gnu.org>
15978
15979 * vc/emerge.el (emerge-defvar-local):
15980 Set `permanent-local' property rather than unused `preserved'.
15981
15982 * textmodes/picture.el (picture-delete-char): New alias.
15983 (picture-mode-map): Use it. (Bug#10860)
15984 (picture-mode): Doc fix.
15985
15986 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15987
15988 * newcomment.el (uncomment-region-default): Remove unused binding.
15989
15990 2012-02-21 Glenn Morris <rgm@gnu.org>
15991
15992 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15993 (picture-self-insert, picture-tab-chars): Doc fix.
15994 (picture-mode-map): Fix C-a, C-e.
15995
15996 2012-02-20 Glenn Morris <rgm@gnu.org>
15997
15998 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15999
16000 2012-02-20 Leo Liu <sdl.web@gmail.com>
16001
16002 * icomplete.el (icomplete-completions): Check FROM arg before
16003 passing to substring (Bug#10850).
16004
16005 2012-02-19 Chong Yidong <cyd@gnu.org>
16006
16007 * comint.el: Require ansi-color.
16008 (comint-output-filter-functions): Add ansi-color-process-output.
16009
16010 * ansi-color.el: Don't set comint-output-filter-functions; it is
16011 now in the initial value defined in comint.el.
16012 (ansi-color-apply-face-function): New variable.
16013 (ansi-color-apply-on-region): Use it.
16014 (ansi-color-apply-overlay-face): New function.
16015
16016 * shell.el (shell): No need to require ansi-color.
16017 (shell-mode): Use ansi-color-apply-face-function to highlight
16018 color escapes using font-lock-face property (Bug#10835).
16019
16020 2012-02-19 Chong Yidong <cyd@gnu.org>
16021
16022 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16023 mode-line formats (Bug#10839).
16024
16025 2012-02-18 Glenn Morris <rgm@gnu.org>
16026
16027 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16028
16029 * mail/undigest.el (unforward-rmail-message): Doc fix.
16030
16031 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16032
16033 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16034
16035 * international/characters.el (script-list): Sync with the latest
16036 Unicode Character Database.
16037
16038 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16039
16040 * international/titdic-cnv.el: Remove duplicate coding tag.
16041 * language/cham.el: Likewise.
16042 * language/tai-viet.el: Likewise.
16043
16044 2012-02-18 Glenn Morris <rgm@gnu.org>
16045
16046 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16047 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16048 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16049 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16050 * calendar/holidays.el (holiday-bahai-holidays)
16051 (calendar-holidays, list-holidays):
16052 Use utf-8 Bahá'í in doc-strings, menus, etc.
16053
16054 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16055
16056 * saveplace.el (save-place-ignore-files-regexp): New variable
16057 allowing for excluding files from saving their location of point.
16058 The default value matches the temporary commit message editing
16059 files from Git, SVN, Bazaar, and Mercurial.
16060 (save-place-to-alist): Use it.
16061
16062 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16063 Stefan Monnier <monnier@iro.umontreal.ca>
16064
16065 * newcomment.el (uncomment-region-default): Don't leave extra space
16066 when an arg is provided (bug#8150).
16067
16068 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16069
16070 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16071
16072 2012-02-17 Glenn Morris <rgm@gnu.org>
16073
16074 * net/socks.el: Require network-stream. (Bug#10599)
16075
16076 2012-02-17 Kenichi Handa <handa@m17n.org>
16077
16078 * international/charprop.el:
16079 * international/uni-name.el:
16080 * international/uni-old-name.el:
16081 * international/uni-comment.el: Regenerate.
16082
16083 2012-02-16 Glenn Morris <rgm@gnu.org>
16084
16085 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16086 Interactively in calendar buffer, give an error if not on a date.
16087
16088 2012-02-15 Glenn Morris <rgm@gnu.org>
16089
16090 * shell.el (shell-delimiter-argument-list):
16091 Revert 2011-02-17 change. (Bug#8027)
16092
16093 2012-02-15 Chong Yidong <cyd@gnu.org>
16094
16095 * minibuffer.el (completion-at-point-functions): Doc fix.
16096
16097 * custom.el (defcustom): Doc fix; note use of defvar.
16098
16099 2012-02-15 Glenn Morris <rgm@gnu.org>
16100
16101 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16102 Doc fixes.
16103
16104 2012-02-14 Glenn Morris <rgm@gnu.org>
16105
16106 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16107
16108 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16109
16110 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16111 way the ports list is computed.
16112 (smtpmail-query-smtp-server): Prompt the user for a port number if
16113 we can't connect to any of the standard ports (bug#10810).
16114
16115 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16116
16117 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16118
16119 2012-02-13 Glenn Morris <rgm@gnu.org>
16120
16121 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16122
16123 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16124
16125 * net/gnutls.el (gnutls-trustfiles): New variable.
16126 (gnutls-negotiate): Use it.
16127
16128 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16129
16130 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16131 does its stuff if Gnus is running.
16132
16133 2012-02-13 Alan Mackenzie <acm@muc.de>
16134
16135 Fix a loop in c-set-fl-decl-start.
16136
16137 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16138 c-backward-syntactic-ws actually moves backwards.
16139
16140 2012-02-13 Leo Liu <sdl.web@gmail.com>
16141
16142 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16143 beginning so that all \C-o chars are removed.
16144
16145 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16146
16147 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16148
16149 2012-02-12 Alan Mackenzie <acm@muc.de>
16150
16151 Fix infinite loop with long macros.
16152 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16153
16154 2012-02-12 Chong Yidong <cyd@gnu.org>
16155
16156 * window.el (display-buffer): Doc fix (Bug#10785).
16157
16158 2012-02-12 Glenn Morris <rgm@gnu.org>
16159
16160 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16161 (x-disown-selection-internal, x-get-selection-internal):
16162 Sync docs with the xselect.c versions.
16163
16164 * allout-widgets.el: Add missing license notice.
16165
16166 2012-02-11 Glenn Morris <rgm@gnu.org>
16167
16168 * select.el (x-get-selection-internal, x-own-selection-internal)
16169 (x-disown-selection-internal):
16170 * x-dnd.el (x-get-selection-internal): Update declarations.
16171
16172 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16173
16174 * window.el (window-sides-slots):
16175 * tool-bar.el (tool-bar-position):
16176 * term/xterm.el (xterm-extra-capabilities):
16177 * ses.el (ses-self-reference-early-detection):
16178 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16179 (verilog-auto-wire-type)
16180 (verilog-auto-delete-trailing-whitespace)
16181 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16182 (verilog-auto-tieoff-declaration):
16183 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16184 (sql-oracle-statement-starters, sql-oracle-scan-on):
16185 * progmodes/prolog.el (prolog-align-comments-flag)
16186 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16187 (prolog-left-indent-regexp, prolog-paren-indent-p)
16188 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16189 (prolog-types, prolog-mode-specificators)
16190 (prolog-determinism-specificators, prolog-directives)
16191 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16192 (prolog-electric-dot-flag)
16193 (prolog-electric-dot-full-predicate-template)
16194 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16195 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16196 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16197 (prolog-program-switches, prolog-prompt-regexp)
16198 (prolog-debug-on-string, prolog-debug-off-string)
16199 (prolog-trace-on-string, prolog-trace-off-string)
16200 (prolog-zip-on-string, prolog-zip-off-string)
16201 (prolog-use-standard-consult-compile-method-flag)
16202 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16203 (prolog-imenu-max-lines, prolog-info-predicate-index)
16204 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16205 (prolog-char-quote-workaround):
16206 * progmodes/cc-vars.el (c-defun-tactic):
16207 * net/tramp.el (tramp-encoding-command-interactive)
16208 (tramp-local-end-of-line):
16209 * net/soap-client.el (soap-client):
16210 * net/netrc.el (netrc-file):
16211 * net/gnutls.el (gnutls):
16212 * minibuffer.el (completion-category-overrides)
16213 (completion-cycle-threshold)
16214 (completion-pcm-complete-word-inserts-delimiters):
16215 * man.el (Man-name-local-regexp):
16216 * mail/feedmail.el (feedmail-display-full-frame):
16217 * international/characters.el (glyphless-char-display-control):
16218 * eshell/em-ls.el (eshell-ls-date-format):
16219 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16220 (lisp-lambda-list-keyword-parameter-indentation)
16221 (lisp-lambda-list-keyword-parameter-alignment):
16222 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16223 * dired-x.el (dired-omit-verbose):
16224 * cus-theme.el (custom-theme-allow-multiple-selections):
16225 * calc/calc.el (calc-highlight-selections-with-faces)
16226 (calc-lu-field-reference, calc-lu-power-reference)
16227 (calc-note-threshold):
16228 * battery.el (battery-mode-line-limit):
16229 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16230 (archive-7z-update):
16231 * allout.el (allout-prefixed-keybindings)
16232 (allout-unprefixed-keybindings)
16233 (allout-inhibit-auto-fill-on-headline)
16234 (allout-flattened-numbering-abbreviation):
16235 * allout-widgets.el (allout-widgets-auto-activation)
16236 (allout-widgets-icons-dark-subdir)
16237 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16238 (allout-widgets-theme-dark-background)
16239 (allout-widgets-theme-light-background)
16240 (allout-widgets-item-image-properties-emacs)
16241 (allout-widgets-item-image-properties-xemacs)
16242 (allout-widgets-run-unit-tests-on-load)
16243 (allout-widgets-time-decoration-activity)
16244 (allout-widgets-hook-error-post-time)
16245 (allout-widgets-track-decoration):
16246 Add missing :version tags to new defcustoms and defgroups.
16247
16248 * progmodes/sql.el (sql-ansi-statement-starters)
16249 (sql-oracle-statement-starters): Add custom type.
16250
16251 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16252 (prolog-system-version): Give it a type.
16253
16254 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16255
16256 * term/pc-win.el (x-select-text, x-selection-owner-p)
16257 (x-own-selection-internal, x-disown-selection-internal)
16258 (x-get-selection-internal): Sync doc strings and argument lists
16259 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16260
16261 2012-02-11 Leo Liu <sdl.web@gmail.com>
16262
16263 * progmodes/python.el (python-end-of-statement): Fix infinite
16264 loop. (Bug#10788)
16265
16266 2012-02-10 Glenn Morris <rgm@gnu.org>
16267
16268 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16269 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16270
16271 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16272
16273 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16274 about SMTP before checking the From header.
16275
16276 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16277 into own function for reuse by emacsbug.el.
16278
16279 2012-02-10 Leo Liu <sdl.web@gmail.com>
16280
16281 * subr.el (condition-case-unless-debug): Rename from
16282 condition-case-no-debug. All callers changed.
16283 (with-demoted-errors): Fix caller.
16284
16285 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16286 * nxml/rng-valid.el (rng-do-some-validation):
16287 * emacs-lisp/package.el (package-refresh-contents)
16288 (package-menu-execute):
16289 * desktop.el (desktop-create-buffer):
16290 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16291
16292 2012-02-10 Glenn Morris <rgm@gnu.org>
16293
16294 * textmodes/bibtex.el:
16295 Add missing :version tags for new/changed defcustoms.
16296
16297 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16298
16299 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16300
16301 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16302 (smtpmail-via-smtp): Use it, or fall back on the From address.
16303 (smtpmail-send-it): Ditto.
16304
16305 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16308 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16309 (byte-compile-tmp-var): New const.
16310 (byte-compile-defvar): Use it to minimize .elc size.
16311 Just use `defvar' rather than simulate it (bug#10761).
16312
16313 2012-02-09 Glenn Morris <rgm@gnu.org>
16314
16315 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16316
16317 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16318 Add :version tags.
16319
16320 * progmodes/compile.el (compilation-error-screen-columns)
16321 (compilation-first-column, compilation-filter-start): Doc fixes.
16322
16323 * vc/log-view.el (log-view-toggle-entry-display):
16324 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16325
16326 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16327 (report-emacs-bug-can-use-xdg-email):
16328 (report-emacs-bug-insert-to-mailer): Doc fixes.
16329 (report-emacs-bug): Message fix.
16330
16331 * net/browse-url.el (browse-url-can-use-xdg-open)
16332 (browse-url-xdg-open): Doc fixes.
16333
16334 * electric.el (electric-indent-mode, electric-pair-mode)
16335 (electric-layout-rules, electric-layout-mode): Doc fixes.
16336 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16337
16338 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16339
16340 * server.el (server-unselect-display): Don't inadvertently kill
16341 the current buffer. (Bug#10729)
16342
16343 2012-02-08 Glenn Morris <rgm@gnu.org>
16344
16345 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16346 (sql-list-table): Doc fixes.
16347
16348 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16349 Comment out (does nothing).
16350
16351 * completion.el (dynamic-completion-mode):
16352 * dirtrack.el (dirtrack-debug-mode):
16353 * electric.el (electric-layout-mode):
16354 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16355 * face-remap.el (text-scale-mode, buffer-face-mode):
16356 * iimage.el (iimage-mode):
16357 * image-mode.el (image-transform-mode):
16358 * minibuffer.el (completion-in-region-mode):
16359 * scroll-lock.el (scroll-lock-mode):
16360 * simple.el (next-error-follow-minor-mode):
16361 * tar-mode.el (tar-subfile-mode):
16362 * tooltip.el (tooltip-mode):
16363 * vcursor.el (vcursor-use-vcursor-map):
16364 * wid-browse.el (widget-minor-mode):
16365 * emulation/tpu-edt.el (tpu-edt-mode):
16366 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16367 * international/iso-ascii.el (iso-ascii-mode):
16368 * language/thai-util.el (thai-word-mode):
16369 * mail/supercite.el (sc-minor-mode):
16370 * net/goto-addr.el (goto-address-mode):
16371 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16372 * progmodes/cwarn.el (cwarn-mode):
16373 * progmodes/flymake.el (flymake-mode):
16374 * progmodes/glasses.el (glasses-mode):
16375 * progmodes/hideshow.el (hs-minor-mode):
16376 * progmodes/pascal.el (pascal-outline-mode):
16377 * textmodes/enriched.el (enriched-mode):
16378 * vc/smerge-mode.el (smerge-mode):
16379 Doc fixes (minor mode argument).
16380
16381 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16382
16383 * ls-lisp.el (ls-lisp-sanitize): New function.
16384 (ls-lisp-insert-directory): Use it to fix or remove any elements
16385 in file-alist with missing attributes. (Bug#4673)
16386
16387 2012-02-07 Alan Mackenzie <acm@muc.de>
16388
16389 Fix spurious recognition of c-in-knr-argdecl.
16390
16391 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16392 putative K&R region.
16393
16394 2012-02-07 Alan Mackenzie <acm@muc.de>
16395
16396 * progmodes/cc-engine.el (c-forward-objc-directive):
16397 Prevent looping in "#pragma mark @implementation".
16398
16399 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16400
16401 * notifications.el (notifications-on-closed-signal): Make `reason'
16402 optional. (Bug#10744)
16403
16404 2012-02-07 Glenn Morris <rgm@gnu.org>
16405
16406 * emacs-lisp/easy-mmode.el (define-minor-mode):
16407 Doc fixes for the macro and the mode it defines.
16408
16409 * image.el (imagemagick-types-inhibit): Doc fix.
16410
16411 * cus-start.el (imagemagick-render-type): Add it.
16412
16413 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16414
16415 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16416 Set the default at load time, too, so that `font-lock-fontify-buffer'
16417 can be called without setting up the entire mode first. This fixes
16418 a bug in `mm-inline-text' with C MIME parts.
16419
16420 2012-02-06 Chong Yidong <cyd@gnu.org>
16421
16422 * simple.el (list-processes--refresh): Delete exited processes
16423 (Bug#8094).
16424
16425 * comint.el (comint-next-prompt): next-single-char-property-change
16426 and prev-single-char-property-change never return nil (Bug#8657).
16427
16428 * custom.el (defcustom): Doc fix (Bug#9711).
16429
16430 2012-02-05 Chong Yidong <cyd@gnu.org>
16431
16432 * cus-edit.el (custom-variable-reset-backup): Quote the value
16433 before storing it in the customized-value property (Bug#6712).
16434 (custom-display): Add a customization type tag.
16435 (custom-buffer-create-internal): Improve tooltip message.
16436
16437 * wid-edit.el (widget-field-value-get): New optional arg to
16438 suppress trailing whitespace truncation.
16439 (character): Use it (Bug#2689).
16440
16441 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16442
16443 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16444 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16445
16446 2012-02-05 Chong Yidong <cyd@gnu.org>
16447
16448 * cus-edit.el (custom-variable-value-create): For mismatched
16449 types, show the current value (Bug#7600).
16450
16451 * custom.el (defcustom): Doc fix.
16452
16453 2012-02-05 Glenn Morris <rgm@gnu.org>
16454
16455 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16456
16457 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16458
16459 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16460 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16461 (pp-last-sexp): Use `looking-at-p'.
16462
16463 2012-02-04 Glenn Morris <rgm@gnu.org>
16464
16465 * files.el (revert-buffer):
16466 Doc fix (mention revert-buffer-in-progress-p).
16467
16468 * emacs-lisp/ert-x.el (ert-simulate-command):
16469 Check deferred-action-list (which is obsolete) is bound.
16470
16471 * subr.el (with-wrapper-hook): Doc fixes.
16472
16473 * simple.el (filter-buffer-substring-functions)
16474 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16475
16476 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16477
16478 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16479 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16480
16481 2012-02-04 Leo Liu <sdl.web@gmail.com>
16482
16483 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16484
16485 2012-02-04 Glenn Morris <rgm@gnu.org>
16486
16487 * image.el (image-extension-data): Add obsolete alias.
16488
16489 * isearch.el (isearch-update): Doc fix.
16490
16491 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16492
16493 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16494
16495 2012-02-03 Glenn Morris <rgm@gnu.org>
16496
16497 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16498 (image-animate-timeout): Doc fix.
16499
16500 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16501
16502 2012-02-02 Glenn Morris <rgm@gnu.org>
16503
16504 * server.el (server-auth-dir): Doc fix.
16505 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16506
16507 * subr.el (run-mode-hooks): Doc fix.
16508
16509 2012-02-02 Juri Linkov <juri@jurta.org>
16510
16511 * image-mode.el (image-toggle-display-image): Remove tautological
16512 `major-mode' from the `derived-mode-p' test.
16513
16514 2012-02-02 Kenichi Handa <handa@m17n.org>
16515
16516 * composite.el (compose-region): Cancel previous change.
16517
16518 2012-02-02 Kenichi Handa <handa@m17n.org>
16519
16520 * composite.el (compose-region, compose-string): Signal error for
16521 a null string component (Bug#6988).
16522
16523 2012-02-01 Chong Yidong <cyd@gnu.org>
16524
16525 * view.el (view-buffer-other-window, view-buffer-other-frame):
16526 Handle special modes like view-buffer (Bug#10650).
16527 (view-buffer): Simplify.
16528
16529 * frame.el (set-frame-font): Tweak meaning of third argument.
16530
16531 * dynamic-setting.el (font-setting-change-default-font):
16532 Use set-frame-font (Bug#9982).
16533
16534 2012-02-01 Glenn Morris <rgm@gnu.org>
16535
16536 * progmodes/compile.el (compilation-internal-error-properties):
16537 Respect compilation-first-column in the "*compilation*" buffer.
16538
16539 * emacs-lisp/easy-mmode.el (define-minor-mode):
16540 Relax :variable's test for a named function.
16541
16542 2012-01-31 Alan Mackenzie <acm@muc.de>
16543
16544 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16545 off by one error.
16546
16547 2012-01-31 Chong Yidong <cyd@gnu.org>
16548
16549 * frame.el (set-frame-font): New arg ALL-FRAMES.
16550
16551 * menu-bar.el (menu-set-font): Use set-frame-font.
16552
16553 * faces.el (face-spec-reset-face): Don't apply unspecified
16554 attribute values to the default face.
16555
16556 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16557
16558 * progmodes/cwarn.el (cwarn): Remove dead link.
16559 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16560 Remove * from defcustom docstrings.
16561 (turn-on-cwarn-mode): Make obsolete.
16562 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16563 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16564
16565 2012-01-31 Glenn Morris <rgm@gnu.org>
16566
16567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16568 Fix :variable handling of mode a symbol not equal to modefun.
16569 Allow named functions to be used as the cdr of :variable.
16570
16571 2012-01-30 Glenn Morris <rgm@gnu.org>
16572
16573 * emacs-lisp/authors.el (authors-fixed-entries):
16574 Remove reference to deleted file rnewspost.el.
16575
16576 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16577
16578 * window.el (window-with-parameter): Remove unused variable `windows'.
16579 (window--side-check): Remove unused variable `code'.
16580 (window--resize-siblings): Remove unused variable `first'.
16581 (adjust-window-trailing-edge): Remove unused variable `failed'.
16582 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16583 Use `let', not `let*'.
16584 (balance-windows-2): Remove unused variable `found'.
16585 (window--state-put-2): Remove unused variable `splits'.
16586 (window-state-put): Remove unused variable `selected'.
16587 (same-window-p): Use `string-match-p'.
16588 (display-buffer-assq-regexp): Remove unused variable `value'.
16589 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16590 Mark argument ALIST as ignored.
16591 (pop-to-buffer): Remove unused variable `old-window'.
16592
16593 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16594
16595 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16596 and .lzma compressed files.
16597
16598 2012-01-29 Chong Yidong <cyd@gnu.org>
16599
16600 * frame.el (window-system-default-frame-alist): Doc fix.
16601
16602 * dynamic-setting.el (font-setting-change-default-font): Don't
16603 change the default face if SET-FONT argument is non-nil (Bug#9982).
16604
16605 2012-01-29 Samuel Bronson <naesten@gmail.com>
16606
16607 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16608
16609 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16610
16611 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16612 breakpoints in files outside current directory (Bug#6098).
16613
16614 2012-01-29 Chong Yidong <cyd@gnu.org>
16615
16616 * progmodes/python.el: Require ansi-color at top-level.
16617
16618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16619 Define and use in Emacs Lisp mode (Bug#9360).
16620 (lisp-mode-abbrev-table): Add doc.
16621 (lisp-mode-variables): Don't set local-abbrev-table.
16622 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16623
16624 2012-01-28 Roland Winkler <winkler@gnu.org>
16625
16626 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16627
16628 2012-01-28 Roland Winkler <winkler@gnu.org>
16629
16630 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16631 (bibtex-set-dialect): Use it. Either set global values of
16632 dialect-dependent variables or bind these variables buffer-locally
16633 (Bug#10254).
16634 (bibtex-mode): Call bibtex-set-dialect via
16635 hack-local-variables-hook.
16636 (bibtex-dialect): Update docstring.
16637 Add safe-local-variable predicate.
16638 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16639 bibtex-set-dialect.
16640 (bibtex-mode-map): Define menu for each dialect.
16641 (bibtex-entry): Fix docstring.
16642
16643 2012-01-28 Chong Yidong <cyd@gnu.org>
16644
16645 * eshell/esh-arg.el (eshell-quote-argument): New function.
16646
16647 * eshell/esh-ext.el (eshell-invoke-batch-file):
16648 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16649 first arg to eshell-parse-command (Bug#10523).
16650
16651 2012-01-28 Drew Adams <drew.adams@oracle.com>
16652
16653 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16654 `default-directory' is non-nil.
16655
16656 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16657
16658 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16659 line that displays system-configuration-options. (Bug#9924)
16660
16661 2012-01-28 Drew Adams <drew.adams@oracle.com>
16662
16663 * descr-text.el (describe-char): Show information about POS, in
16664 addition to information about the character at POS. Improve and
16665 update the doc string. Change "code point" to "code point in
16666 charset", to avoid confusion with the character's Unicode code
16667 point shown above that. (Bug#10129)
16668
16669 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16670
16671 * descr-text.el (describe-char): Show the raw character, not only
16672 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16673 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16674 for the reasons.
16675
16676 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16677
16678 * emacs-lisp/package.el (package-install):
16679 Run package-refresh-contents if there is no archive yet (Bug#9798).
16680
16681 2012-01-28 Chong Yidong <cyd@gnu.org>
16682
16683 * emacs-lisp/package.el (package-maybe-load-descriptor):
16684 New function, split from package-maybe-load-descriptor.
16685 (package-maybe-load-descriptor): Use it.
16686 (package-download-transaction): Fully load required packages
16687 inside the loop, so that `require' calls work (Bug#10593).
16688 (package-install): No need to call package-initialize now.
16689
16690 2012-01-28 Chong Yidong <cyd@gnu.org>
16691
16692 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16693
16694 * tooltip.el (tooltip-mode): Doc fix.
16695 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16696
16697 * frame.el (set-cursor-color): Doc fix (Bug#352).
16698
16699 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16700 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16701
16702 * cus-edit.el (custom-buffer-create-internal): Fix search button
16703 action (Bug#10542).
16704 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16705
16706 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16707
16708 * dired.el (dired-mark-files-regexp):
16709 Include any subdirectory components. (Bug#10445)
16710
16711 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16712
16713 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16714 Handle [host]:port syntax. (Bug#10533)
16715
16716 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16717
16718 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16719
16720 2012-01-26 Glenn Morris <rgm@gnu.org>
16721
16722 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16723 * term.el (term-raw-escape-map): Use Control-X-prefix.
16724 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16725
16726 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16727
16728 * window.el (window-state-get, window--state-get-1): Don't deal
16729 with fixed-sizeness of windows. Simplify code.
16730
16731 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16732
16733 * window.el (window--state-get-1, window--state-put-2):
16734 Don't save and restore the mark.
16735
16736 2012-01-25 Chong Yidong <cyd@gnu.org>
16737
16738 * custom.el (custom-variable-p): Doc fix.
16739
16740 2012-01-25 Glenn Morris <rgm@gnu.org>
16741
16742 * dired.el (dired-goto-file): Handle some of the more common
16743 characters that `ls -b' escapes. (Bug#10596)
16744
16745 * progmodes/compile.el (compilation-next-error-function):
16746 Respect compilation-first-column in the "*compilation*" buffer.
16747 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16748
16749 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16750
16751 2012-01-24 Glenn Morris <rgm@gnu.org>
16752
16753 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16754
16755 2012-01-24 Julien Danjou <julien@danjou.info>
16756
16757 * color.el (color-rgb-to-hsl): Fix value computing.
16758 (color-hue-to-rgb): New function.
16759 (color-hsl-to-rgb): New function.
16760 (color-clamp, color-saturate-hsl, color-saturate-name)
16761 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16762 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16763
16764 2012-01-24 Glenn Morris <rgm@gnu.org>
16765
16766 * vc/vc-rcs.el (vc-rcs-create-tag):
16767 * vc/vc-sccs.el (vc-sccs-create-tag):
16768 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16769
16770 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16771
16772 * eshell/esh-util.el (eshell-read-hosts-file):
16773 Skip comment lines. (Bug#10549)
16774
16775 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16776
16777 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16778
16779 * subr.el (display-delayed-warnings): Doc fix.
16780 (collapse-delayed-warnings): New function to collapse identical
16781 adjacent warnings.
16782 (delayed-warnings-hook): Add it.
16783
16784 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16785
16786 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16787
16788 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16789 (tramp-default-user-alist): Don't add "pscp".
16790 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16791 property "login-as", if set. (Bug#10530)
16792
16793 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16794
16795 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16796 "plink1" and "psftp". (Bug#10530)
16797
16798 2012-01-21 Kenichi Handa <handa@m17n.org>
16799
16800 * international/mule-cmds.el (prefer-coding-system): Show a
16801 warning message if the default value of file-name-coding-system
16802 was not changed.
16803
16804 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16805
16806 * windmove.el (windmove-reference-loc):
16807 Fix windmove-reference-loc miscalculation.
16808
16809 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16810
16811 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16812 default unit.
16813
16814 2012-01-21 Glenn Morris <rgm@gnu.org>
16815
16816 * international/mule.el (auto-coding-alist): Add .tbz.
16817
16818 * files.el (local-enable-local-variables): Doc fix.
16819 (inhibit-local-variables-regexps): Rename from
16820 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16821 Doc fix. Add some extensions from auto-coding-alist.
16822 (inhibit-local-variables-suffixes):
16823 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16824 (inhibit-local-variables-p):
16825 New function, extracted from set-auto-mode-1.
16826 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16827 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16828 (hack-local-variables): Doc fix. Make the mode-only case
16829 respect enable-local-variables and friends.
16830 Respect inhibit-local-variables-regexps for file-locals, but
16831 not for directory-locals.
16832 (set-visited-file-name):
16833 Take account of inhibit-local-variables-regexps.
16834 Whether it applies may change as the file name is changed.
16835 * jka-cmpr-hook.el (jka-compr-install):
16836 * jka-compr.el (jka-compr-uninstall):
16837 Update for inhibit-first-line-modes-suffixes name change.
16838
16839 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16840
16841 * help-macro.el (make-help-screen): Temporarily restore original
16842 binding for minor-mode-map-alist (Bug#10454).
16843
16844 2012-01-19 Julien Danjou <julien@danjou.info>
16845
16846 * color.el (color-name-to-rgb): Use the white color to find the max
16847 color component value and return correctly computed values.
16848 (color-name-to-rgb): Add missing float conversion for max value.
16849
16850 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16851
16852 * window.el (window--state-get-1, window-state-get): Do not use
16853 special state value for window-persistent-parameters.
16854 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16855 (window--state-put-2): Reset all window parameters to nil before
16856 assigning values of persistent parameters.
16857
16858 2012-01-18 Alan Mackenzie <acm@muc.de>
16859
16860 Eliminate sluggishness and hangs in fontification of "semicolon
16861 deserts".
16862
16863 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16864 Change value 10000 -> 3000.
16865 (c-state-safe-place): Reformulate so it doesn't stack up an
16866 infinite number of wrong entries in c-state-nonlit-pos-cache.
16867 (c-determine-limit-get-base, c-determine-limit): New functions to
16868 determine backward search limits disregarding literals.
16869 (c-find-decl-spots): Amend commenting.
16870 (c-cheap-inside-bracelist-p): New function which detects "={".
16871
16872 * progmodes/cc-fonts.el
16873 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16874 backward search.
16875 (c-font-lock-declarations): Fix an occurrence of point being
16876 undefined. Check additionally for point being in a bracelist or
16877 near a macro invocation without a semicolon so as to avoid a
16878 fruitless time consuming search for a declarator. Give a more
16879 precise search limit for declarators using the new
16880 c-determine-limit.
16881
16882 2012-01-18 Glenn Morris <rgm@gnu.org>
16883
16884 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16885 (set-auto-mode): Doc fixes.
16886
16887 2012-01-17 Glenn Morris <rgm@gnu.org>
16888
16889 * isearch.el (search-nonincremental-instead): Fix doc typo.
16890
16891 * dired.el (dired-insert-directory): Handle newlines in directory name.
16892 (dired-build-subdir-alist): Unescape newlines in directory name.
16893
16894 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16895
16896 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16897 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16898 (tramp-action-terminal): Use it. (Bug#10530)
16899
16900 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16901
16902 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16903
16904 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16905
16906 * window.el (window-state-ignored-parameters): Remove variable.
16907 (window--state-get-1): Rename argument MARKERS to IGNORE.
16908 Handle persistent window parameters. Make copy of clone-of
16909 parameter only if requested. (Bug#10348)
16910 (window--state-put-2): Install a window parameter only if it has
16911 a non-nil value or an existing parameter shall be overwritten.
16912
16913 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16914
16915 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16916
16917 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16918
16919 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16920 don't pass the (nil) value of `upnode' to string-match.
16921
16922 2012-01-14 Chong Yidong <cyd@gnu.org>
16923
16924 * startup.el (command-line): Fix X resource class for cursorColor.
16925 Fix values recognized by the cursorBlink resource.
16926
16927 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16928
16929 * epg.el (epg--make-temp-file): Avoid permission race condition
16930 when running on old Emacs versions (bug#10403).
16931
16932 2012-01-14 Glenn Morris <rgm@gnu.org>
16933
16934 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16935
16936 2012-01-13 Alan Mackenzie <acm@muc.de>
16937
16938 Fix filling for when filladapt mode is enabled.
16939
16940 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16941 c-mask-paragraph, pass in `fill-paragraph' rather than
16942 `fill-region-as-paragraph'. (This is a reversion of a previous
16943 change.)
16944 * progmodes/cc-mode.el (c-basic-common-init):
16945 Make fill-paragraph-handle-comment buffer local and set it to nil.
16946
16947 2012-01-13 Glenn Morris <rgm@gnu.org>
16948
16949 * dired.el (dired-switches-escape-p): New function.
16950 (dired-insert-directory): Use dired-switches-escape-p.
16951 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16952
16953 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16954
16955 2012-01-12 Glenn Morris <rgm@gnu.org>
16956
16957 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16958 changes in adaptive-fill-regexp. (Bug#10276)
16959
16960 2012-01-11 Alan Mackenzie <acm@muc.de>
16961
16962 Fix Emacs bug #10463 - put `widen's around the critical spots.
16963
16964 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16965 widen around each invocation of c-state-pp-to-literal. Remove an
16966 unused let variable.
16967
16968 2012-01-11 Glenn Morris <rgm@gnu.org>
16969
16970 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16971 Doc fix.
16972
16973 2012-01-10 Chong Yidong <cyd@gnu.org>
16974
16975 * net/network-stream.el (network-stream-open-starttls):
16976 Avoid emitting a confusing error message when the server gives a bad
16977 response to the capability command.
16978
16979 2012-01-10 Glenn Morris <rgm@gnu.org>
16980
16981 * mail/unrmail.el (unrmail): Tweak previous change.
16982
16983 2012-01-09 Chong Yidong <cyd@gnu.org>
16984
16985 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16986
16987 2012-01-08 Alan Mackenzie <acm@muc.de>
16988
16989 Optimize font locking in long enum definitions.
16990
16991 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16992 arm to a cond form to handle enums.
16993 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16994 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16995
16996 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16997
16998 * files.el (move-file-to-trash): Preserve default file modes on error.
16999 (Bug#10401)
17000
17001 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17002
17003 * faces.el (set-face-attribute): Clarify the meaning of the nil
17004 frame (bug#10294).
17005
17006 * subr.el (with-selected-frame): Mention that the selected frame
17007 is restored (bug#9980).
17008
17009 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17010 (bug#9759).
17011
17012 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17013 (password-read): Don't autoload unused function.
17014
17015 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17016
17017 * progmodes/which-func.el (which-func-mode): Turn into a
17018 non-interactive function and mark as obsolete (bug#10428).
17019
17020 2012-01-06 Chong Yidong <cyd@gnu.org>
17021
17022 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17023 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17024 functions, along with 1 and -1.
17025
17026 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17027
17028 * time.el (display-time-load-average)
17029 (display-time-default-load-average): Doc fixes. See the thread
17030 starting at
17031 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17032 for the details.
17033
17034 2012-01-06 Glenn Morris <rgm@gnu.org>
17035
17036 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17037 has no messages. (Bug#10377)
17038
17039 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17040 than Info-edit. (Bug#10385)
17041
17042 * time.el (display-time-load-average, display-time-next-load-average):
17043 Doc fixes.
17044
17045 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17046 local setting of buffer-read-only to the input buffer. (Bug#10419)
17047
17048 * calendar/calendar.el (calendar-mode):
17049 Locally set scroll-margin to 0. (Bug#10379)
17050
17051 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17052
17053 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17054
17055 2012-01-05 Glenn Morris <rgm@gnu.org>
17056
17057 * eshell/em-unix.el (diff-no-select): Autoload it.
17058 (eshell/diff): Use diff-no-select. (Bug#10420)
17059
17060 2012-01-05 Chong Yidong <cyd@gnu.org>
17061
17062 * shell.el (shell-dynamic-complete-functions): Revert last change.
17063 (shell-command-completion-function): New function.
17064 (shell-completion-vars): Use it to implement
17065 shell-completion-execonly (Bug#10417).
17066
17067 * custom.el (enable-theme): Don't set custom-safe-themes.
17068
17069 * cus-theme.el (custom-theme-merge-theme):
17070 Ignore custom-enabled-themes and custom-safe-themes.
17071
17072 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17073
17074 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17075 first prompt in `sql-interacive-mode'.
17076 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17077 keywords.
17078 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17079 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17080 context of original buffer. Invoke `sql-login-hook'.
17081
17082 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17083
17084 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17085 letters in cite-prefix.
17086
17087 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17088
17089 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17090
17091 2012-01-03 Chong Yidong <cyd@gnu.org>
17092
17093 * shell.el (shell-dynamic-complete-functions):
17094 Put pcomplete-completions-at-point, so as to try
17095 comint-filename-completion first (Bug#10417).
17096
17097 2012-01-02 Richard Stallman <rms@gnu.org>
17098
17099 * battery.el (battery-status-function):
17100 Detect when to use battery-yeeloong-sysfs.
17101 (battery-echo-area-format): Add string for Yeeloong.
17102 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17103 (battery-yeeloong-sysfs): New function.
17104
17105 2012-01-02 Chong Yidong <cyd@gnu.org>
17106
17107 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17108 (dirtrack): Merge code for handling relative filenames in prompt
17109 from shell-dir-cookie-watcher.
17110 (dirtrack-debug-message): New arg to avoid excess format calls.
17111
17112 * shell.el (shell-dir-cookie-re): Variable deleted.
17113 (shell-dir-cookie-watcher): Function deleted.
17114 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17115 with dirtrack-mode.
17116
17117 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17118
17119 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17120 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17121 libgnutls-26.dll.
17122
17123 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17124
17125 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17126
17127 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17128
17129 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17130 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17131
17132 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17133
17134 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17135 also for alternative shells.
17136 (tramp-open-connection-setup-interactive-shell): Check, whether
17137 the shell is a busybox.
17138 (tramp-send-command): Don't suppress multiple prompts for
17139 busyboxes, it hurts.
17140
17141 2011-12-28 Chong Yidong <cyd@gnu.org>
17142
17143 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17144 (gdb-get-source-file): Move mode line update to
17145 gdb-get-source-file (Bug#10087).
17146
17147 2011-12-25 Chong Yidong <cyd@gnu.org>
17148
17149 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17150 gud-gdb-marker-filter without taking it as an argument.
17151 (gud-gdb-run-command-fetch-lines): Caller changed.
17152 (gud-gdb-completion-function): New variable.
17153 (gud-gdb-completion-at-point): Use it.
17154 (gud-gdb-completions-1): Split from gud-gdb-completions.
17155
17156 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17157 function as separate arguments.
17158 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17159 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17160 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17161 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17162 (gdb-stopped, def-gdb-auto-update-trigger)
17163 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17164 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17165 Callers changed.
17166 (gud-gdbmi-completions): New function.
17167 (gdb): Use it for generating the completion table.
17168
17169 2011-12-24 Alan Mackenzie <acm@muc.de>
17170
17171 Introduce a mechanism to widen the region used in context font
17172 locking. Use this to protect declarations from losing their contexts.
17173
17174 * progmodes/cc-langs.el (c-before-font-lock-functions):
17175 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17176 (c-before-context-fontification-functions): New defvar, a list of
17177 functions to be run just before context (etc.) font locking.
17178
17179 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17180 New, functionality extracted from
17181 c-neutralize-syntax-in-and-mark-CPP.
17182 (c-in-after-change-fontification): New variable.
17183 (c-after-change): Set c-in-after-change-fontification.
17184 (c-set-fl-decl-start): Rejig its interface, so it can be called
17185 from both after-change and context fontifying.
17186 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17187 New functions.
17188 (c-standard-font-lock-fontify-region-function): New variable.
17189 (c-font-lock-fontify-region): New function.
17190
17191 2011-12-24 Juri Linkov <juri@jurta.org>
17192
17193 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17194 (Bug#10348)
17195
17196 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17197
17198 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17199 existence of source file. (Bug#10325)
17200
17201 2011-12-23 Alan Mackenzie <acm@muc.de>
17202
17203 Fix unstable fontification inside templates.
17204
17205 * progmodes/cc-langs.el (c-before-font-lock-functions):
17206 Newly created from the singular version. The (c c++ objc) entry now
17207 additionally has c-set-fl-decl-start. The other languages (apart
17208 from AWK) have that as a single entry.
17209
17210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17211 The functionality for "local" declarations has been extracted to
17212 c-set-fl-decl-start.
17213
17214 * progmodes/cc-mode.el (c-common-init, c-after-change):
17215 Changes due to pluralisation of c-before-font-lock-functions.
17216 (c-set-fl-decl-start): New function, extracted from
17217 c-font-lock-enclosing-decls and enhanced.
17218
17219 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17220
17221 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17222
17223 2011-12-22 Juri Linkov <juri@jurta.org>
17224
17225 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17226
17227 2011-12-22 Chong Yidong <cyd@gnu.org>
17228
17229 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17230
17231 2011-12-21 Drew Adams <drew.adams@oracle.com>
17232
17233 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17234
17235 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17236
17237 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17238
17239 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17240
17241 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17242 highlighting and support. Fix up comments for capitalization.
17243 (cfengine-mode-debug): New var.
17244 (cfengine3-mode): Change the modeline indicator to "CFE3".
17245 (cfengine3-font-lock-keywords): Improve defun highlighting.
17246 (cfengine2-actions): Rename from `cfengine-actions'.
17247 (cfengine2-font-lock-keywords): Rename from
17248 `cfengine-font-lock-keywords'.
17249 (cfengine2-imenu-expression): Rename from
17250 `cfengine-imenu-expression'.
17251 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17252 (cfengine2-beginning-of-defun): Rename from
17253 `cfengine-beginning-of-defun'.
17254 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17255 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17256 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17257 modeline indicator to "CFE2".
17258 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17259 (cfengine-mode-abbrevs): Mark obsolete.
17260
17261 2011-12-21 Chong Yidong <cyd@gnu.org>
17262
17263 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17264 filename argument.
17265
17266 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17267
17268 * window.el (window-normalize-buffer-to-display): Remove.
17269 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17270
17271 2011-12-19 Chong Yidong <cyd@gnu.org>
17272
17273 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17274 Don't signal an error in a predicate function; return non-nil.
17275 (vc-dir-mark-file): Move the error here.
17276 (vc-dir-mark-unmark): If acting on the region, keep going if one
17277 of the entries cannot be marked/unmarked.
17278 (vc-dir-mark-all-files): If current entry is a directory, mark
17279 only child files, as documented.
17280
17281 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17282
17283 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17284 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17285 addition.
17286
17287 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17288
17289 * term/ns-win.el (ns-get-selection-internal)
17290 (ns-store-selection-internal): Declare.
17291 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17292 Declare as obsolete.
17293 (ns-get-pasteboard, ns-paste-secondary):
17294 Use ns-get-selection-internal.
17295 (ns-set-pasteboard, ns-copy-including-secondary):
17296 Use ns-store-selection-internal.
17297
17298 2011-12-17 Chong Yidong <cyd@gnu.org>
17299
17300 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17301 (vc-deduce-fileset): Doc fix.
17302
17303 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17304
17305 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17306
17307 2011-12-13 Sam Steingold <sds@gnu.org>
17308
17309 * man.el (Man-getpage-in-background): When running under a
17310 window-system, ignore $MANWIDTH and $COLUMNS.
17311
17312 2011-12-15 Kenichi Handa <handa@m17n.org>
17313
17314 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17315 (setup-ethiopic-environment-internal): Comment out key-binding for
17316 ethio-toggle-punctuation.
17317
17318 2011-12-13 Alan Mackenzie <acm@muc.de>
17319
17320 Add the switch statement to AWK Mode.
17321
17322 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17323 "default" to the keywords regexp.
17324
17325 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17326 expression as the rest.
17327 (c-nonlabel-token-key): Allow string literals for AWK.
17328 Refactor for the other modes.
17329
17330 Large brace-block initialisation makes CC Mode slow: Fix.
17331 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17332 routines. Limit backward searching in c-font-lock-enclosing.decl.
17333
17334 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17335 pp-state and literal type in addition to the limits.
17336 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17337 (c-state-literal-at): Use the above new defun.
17338 (c-slow-in-literal, c-fast-in-literal): Remove.
17339 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17340
17341 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17342 being in a literal. Add a limit for backward searching.
17343
17344 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17345 c-slow-in-literal.
17346
17347 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17348
17349 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17350
17351 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17352
17353 * window.el (delete-other-windows): Use correct frame in call to
17354 window-with-parameter.
17355
17356 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17357
17358 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17359 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17360 (makefile-gmake-statements, makefile-makepp-statements):
17361 Use it and add new makepp keywords.
17362 (makefile-makepp-font-lock-keywords): Add new patterns.
17363 (makefile-match-function-end): Match new [...] and [[...]].
17364
17365 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17366
17367 * ses.el (ses-call-printer-return, ses-cell-property-get)
17368 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17369 (ses-create-cell-variable, ses-reset-header-string)
17370 (ses-cell-set-formula, ses-repair-cell-reference-all)
17371 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17372 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17373 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17374 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17375 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17376 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17377 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17378 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17379 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17380 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17381 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17382 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17383
17384 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17385
17386 * ses.el: The overall change is to add cell renaming, that is
17387 setting fancy names for cell symbols other than name matching
17388 "\\`[A-Z]+[0-9]+\\'" regexp .
17389 (ses-create-cell-variable): New defun.
17390 (ses-relocate-formula): Relocate formulas only for cells the
17391 symbols of which are not renamed, i.e. symbols whose names do not
17392 match regexp "\\`[A-Z]+[0-9]+\\'".
17393 (ses-relocate-all): Relocate values only for cells the symbols of
17394 which are not renamed.
17395 (ses-load): Create cells variables as the (ses-cell ...) are read,
17396 in order to check row col consistency with cell symbol name only
17397 for cells that are not renamed.
17398 (ses-replace-name-in-formula): New defun.
17399 (ses-rename-cell): New defun.
17400
17401 2011-12-11 Chong Yidong <cyd@gnu.org>
17402
17403 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17404 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17405
17406 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17407
17408 * window.el (other-window): Fix docstring.
17409
17410 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17411
17412 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17413 `from' or `to' address before taking its substring.
17414 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17415 encoded name is chopped in the middle of the encoded string, and
17416 thus displayed encoded.
17417
17418 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17419
17420 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17421
17422 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17423
17424 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17425 to use texinfo-update-node and commands that call it if the
17426 Texinfo file uses @node lines without next/prev/up pointers.
17427 Correct outdated description about texinfo-master-menu.
17428 (texinfo-all-menus-update, texinfo-master-menu)
17429 (texinfo-update-node, texinfo-every-node-update)
17430 (texinfo-multiple-files-update): Doc fix. Warn against updating
17431 all the @node lines.
17432 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17433 argument is numeric. Explain better in the doc string what the
17434 function really does.
17435 (texinfo-insert-master-menu-list): Improve the error message
17436 displayed if there's no menu in the Top node.
17437 (Bug#2975) See also this thread:
17438 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17439
17440 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17441
17442 * speedbar.el (speedbar-supported-extension-expressions):
17443 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17444
17445 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17446
17447 * printing.el (pr-mode-alist):
17448 * simple.el (filter-buffer-substring-functions)
17449 (completion-list-insert-choice-function):
17450 * window.el (window-with-parameter, window-atom-root)
17451 (window-sides-slots, window-size-fixed, window-min-delta)
17452 (window-max-delta, window--resize-mini-window)
17453 (window--resize-child-windows-normal, window-tree)
17454 (delete-other-windows, quit-window, split-window)
17455 (display-buffer-record-window, special-display-buffer-names)
17456 (special-display-regexps, special-display-popup-frame)
17457 (same-window-p, split-window-sensibly)
17458 (display-buffer-overriding-action, display-buffer-alist)
17459 (display-buffer-base-action, display-buffer, switch-to-buffer)
17460 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17461 (fit-window-to-buffer, recenter-positions)
17462 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17463 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17464 and remove unneeded backslashes in docstrings.
17465
17466 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17467
17468 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17469
17470 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17471 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17472 end in ".mk".
17473 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17474 when reading the makefile (bug#10116).
17475
17476 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17477
17478 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17479 (bug#10116).
17480
17481 2011-12-06 Glenn Morris <rgm@gnu.org>
17482
17483 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17484
17485 2011-12-06 Chong Yidong <cyd@gnu.org>
17486
17487 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17488
17489 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17490
17491 * textmodes/table.el (table-shorten-cell): Fix typo.
17492
17493 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17494
17495 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17496
17497 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17498
17499 * descr-text.el (describe-char): Fix display of strong
17500 right-to-left characters and directional embeddings and overrides.
17501
17502 * simple.el (what-cursor-position): Fix display of codepoints of
17503 strong right-to-left characters.
17504
17505 2011-12-05 Chong Yidong <cyd@gnu.org>
17506
17507 * faces.el (read-color): Doc fix.
17508
17509 2011-12-05 Glenn Morris <rgm@gnu.org>
17510
17511 * align.el (align--set-marker): Add doc-string.
17512 Don't try to move something that is not a marker. (Bug#10216)
17513
17514 2011-12-04 Glenn Morris <rgm@gnu.org>
17515
17516 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17517 overly zealous deletion of trailing whitespace.
17518
17519 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17520
17521 * server.el (server-delete-client): On Windows, do not try to delete
17522 the only terminal.
17523 (server-process-filter): On Windows, treat requests for a tty frame as
17524 if they were for a GUI frame if the running server is in GUI mode.
17525
17526 2011-12-03 Glenn Morris <rgm@gnu.org>
17527
17528 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17529
17530 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17531
17532 * electric.el: Streamline electric-indent's hook.
17533 (electric-indent-chars): Revert to simple list.
17534 (electric-indent-functions): New var.
17535 (electric-indent-post-self-insert-function): Use it.
17536
17537 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17538 there's no inferior buffer (bug#10196).
17539 (prolog-consult-compile): Don't use toggle-read-only.
17540
17541 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17542
17543 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17544 interrupt. (Bug#10187)
17545
17546 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17547
17548 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17549 (bug#9160).
17550
17551 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17552 (bug#10191).
17553
17554 2011-12-02 Juri Linkov <juri@jurta.org>
17555
17556 * info.el (Info-search): Display "end of manual" when Isearch
17557 reaches the end of single-file Info manual. (Bug#9918)
17558
17559 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17560
17561 * isearch.el (isearch-message-prefix): Run the input method part
17562 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17563
17564 2011-12-02 Juri Linkov <juri@jurta.org>
17565
17566 * isearch.el (isearch-occur): Use `word-search-regexp' for
17567 `isearch-word'.
17568 (isearch-search-and-update): Add condition for `isearch-word' and
17569 call `word-search-regexp'. (Bug#10145)
17570
17571 2011-12-01 Glenn Morris <rgm@gnu.org>
17572
17573 * eshell/em-hist.el (eshell-hist-initialize):
17574 Handle eshell-history-size nil and HISTSIZE set or unset.
17575 (eshell-history-file-name, eshell-history-size): Fix custom type.
17576
17577 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17578
17579 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17580
17581 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17582
17583 * progmodes/verilog-mode.el (verilog-pretty-expr):
17584 Rework verilog-pretty-expr to handle new assignment operators in system
17585 verilog, such as += *= and the like.
17586 (verilog-assignment-operator-re): Regular expression to find the
17587 assigment operator in a verilog assignment.
17588 (verilog-assignment-operation-re): Regular expression to find an
17589 assignment statement for pretty-expr.
17590 (verilog-in-attribute-p): Query returns true if point is in an
17591 attribute context; used to skip these for expression line up from
17592 pretty-expr.
17593 (verilog-in-parameter-p): Query returns true if point is in an
17594 parameter definition context; used to skip these for expression
17595 line up from pretty-expr.
17596 (verilog-in-parenthesis-p): Query returns true if point is in a
17597 parenthetical expression, specifically ( ) but not [ ] or { };
17598 used by pretty-expr.
17599 (verilog-just-one-space): If there is no space, don't add one.
17600 (verilog-get-lineup-indent-2): Specifically skip just attribute
17601 contexts for expression lineup, rather than skipping all
17602 parenthetical expressions.
17603 (verilog-calculate-indent): Fix comment, and fix indent.
17604 (verilog-do-indent): Indent declarations in lists (suggested by
17605 Joachim Lechner).
17606 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17607 skeleton items.
17608 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17609 by Alain Mellan).
17610
17611 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17612
17613 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17614 parameters with embedded comments. Reported by Ray Stevens.
17615 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17616 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17617 Reported by Tim Holt.
17618 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17619 instantiated by upper module causing wrong expansion until AUTOed a
17620 second time. Reported by K C Buckenmaier.
17621 (verilog-diff-auto): Fix showing .* as a difference when
17622 `verilog-auto-star-save' off. Reported by Dan Dever.
17623 (verilog-auto-reset, verilog-read-always-signals)
17624 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17625 temporary signals in reset list if
17626 verilog-auto-reset-blocking-in-non is nil, and match assignment
17627 style to each signal's assignment type, bug381.
17628 Reported by Thomas Esposito.
17629 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17630 (verilog-uvm-statement-re): Support UVM indentation and
17631 highlighting, with old OVM keywords only.
17632 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17633 Support AUTOTIEOFF creating non-wire data types.
17634 Suggested by Jonathan Greenlaw.
17635 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17636 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17637 (verilog-inject-sense, verilog-read-inst-pins)
17638 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17639 Fix mismatching parenthesis inside commented out code when deleting
17640 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17641 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17642 non-numeric vector width. Reported by Alex Reed.
17643 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17644 detecting signals with parameter widths. Reported by Alex Reed.
17645 (verilog-auto-delete-trailing-whitespace):
17646 With `verilog-auto-delete-trailing-whitespace' remove trailing
17647 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17648 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17649 Fix verilog-scan-cache corruption when running user AUTO expansion
17650 hooks that call indentation routines.
17651 (verilog-simplify-range-expression): Fix typo ignoring lower case
17652 identifiers.
17653 (verilog-delete-auto): Fix delete-autos to also remove user created
17654 automatics, as long as they start with AUTO.
17655 (verilog-batch-diff-auto, verilog-diff-auto)
17656 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17657 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17658 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17659 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17660 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17661 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17662 is disabled and its cache will get corrupt, causing AUTOS not to
17663 expand. Instead use only -quick functions.
17664 (verilog-scan-region): Fix scanning over escaped quotes.
17665 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17666 (verilog-re-search-backward-quick)
17667 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17668 related functions now ignore strings, to fix misparsing of strings
17669 with magic comments embedded in them.
17670 (verilog-read-auto-template):
17671 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17672 Reported by Brad Dobbie.
17673 (verilog-read-auto-template):
17674 Fix 'verilog-auto-inst-template-numbers' with comments.
17675 Reported by Brad Dobbie.
17676 (verilog-auto-inst, verilog-auto-inst-param)
17677 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17678 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17679 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17680 debugging templates without merge conflicts, bug357.
17681 Reported by Brad Dobbie.
17682 (verilog-read-auto-template):
17683 Fix verilog-auto-inst-template-numbers with multiple templates.
17684 Reported by Brad Dobbie.
17685 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17686 abbrevs so user won't be asked to save.
17687 (verilog-read-auto-lisp-present): Fix to start at beginning of
17688 buffer in case called outside of verilog-auto.
17689 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17690 to "X-2". Reported by Matthew Myers.
17691 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17692 all inputs from module templates. Reported by Leith Johnson.
17693 (verilog-module-inside-filename-p): Fix locating programs as with
17694 modules.
17695 (verilog-auto-inst-port): Fix vl-width expressions when using
17696 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17697 (verilog-decls-get-regs, verilog-decls-get-signals,
17698 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17699 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17700 verilog-read-decls): Combine reg and wire structures into one var
17701 structure to represent SystemVerilog concepts.
17702 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17703 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17704 (verilog-auto-wire-type, verilog-insert-definition):
17705 Add verilog-auto-wire-type and AUTOLOGIC to support using
17706 SystemVerilog "logic" keyword instead of "wire"/"reg".
17707 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17708 to declares outputs that also have assignments (presumably in an
17709 ifdef or generate if so there's not a driver conflict).
17710 Reported by Matthew Myers.
17711 (verilog-auto-declare-nettype, verilog-insert-definition):
17712 Add verilog-auto-declare-nettype to fix declarations using
17713 `default_nettype none. Reported by Julian Gorfajn.
17714 (verilog-read-always-signals-recurse, verilog-read-decls)
17715 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17716 malformed end statement, bug325. Reported by Joshua Wise and
17717 Andrew Drake.
17718 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17719 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17720 when expanding .* in interfaces, bug320.
17721 Reported by Pierre-David Pfister.
17722 (verilog-read-module-name): Fix import statements between module
17723 name and open parenthesis, bug317.
17724 Reported by Pierre-David Pfister.
17725 (verilog-simplify-range-expression): Fix simplification of
17726 multiplications inside AUTOWIRE connections, bug303.
17727 (verilog-auto-inst-port): Support parameter expansion in
17728 multidimensional arrays.
17729 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17730 after "assert property". Reported by Julian Gorfajn.
17731 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17732 with multiplication, bug303.
17733 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17734 Reported by Jan Frode Lonnum.
17735
17736 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17737
17738 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17739 (hfy-shell-file-name, hfy-shell):
17740 * international/fontset.el (x-decompose-font-name): Fix typos.
17741
17742 2011-11-29 Ken Brown <kbrown@cornell.edu>
17743
17744 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17745 (gdb-version): Remove defvar.
17746 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17747 (gdb-gud-context-command, gdb-non-stop-handler)
17748 (gdb-current-context-command, gdb-stopped): Use it.
17749 (gdb-init-1): Enable pretty printing here.
17750 (gdb-non-stop-handler): Don't enable pretty-printing here.
17751 Check to see if the target supports non-stop mode; if not, turn off
17752 non-stop mode. Use the following.
17753 (gdb-check-target-async): New defun.
17754 (gud-watch, gdb-stopped): Fix whitespace.
17755 (gdb-get-source-file): Don't try to display the source file if
17756 `gdb-main-file' is nil.
17757
17758 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17759
17760 * align.el: Try to generate fewer markers (bug#10047).
17761 (align--set-marker): New macro.
17762 (align-region): Use it.
17763
17764 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17765
17766 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17767
17768 2011-11-29 Chong Yidong <cyd@gnu.org>
17769
17770 * indent.el (indent-for-tab-command, indent-according-to-mode):
17771 Doc fix.
17772 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17773
17774 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17775
17776 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17777 aware of remote file names. (Bug#10124)
17778
17779 2011-11-29 Chong Yidong <cyd@gnu.org>
17780
17781 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17782
17783 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17784
17785 * files.el (find-file): Don't use force-same-window (bug#10144).
17786 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17787 use pop-to-buffer if the selected window can't be used.
17788 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17789
17790 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17791
17792 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17793 special-mode-map.
17794
17795 2011-11-28 Chong Yidong <cyd@gnu.org>
17796
17797 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17798
17799 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17800
17801 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17802 gdb-get-source-file-list on gdb-create-source-file-list.
17803
17804 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17805
17806 * whitespace.el (whitespace-newline): Use a different foreground
17807 color for 16-color light-background displays.
17808
17809 2011-11-24 Chong Yidong <cyd@gnu.org>
17810
17811 * window.el (display-buffer--special-action): Doc fix.
17812
17813 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17814
17815 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17816 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17817 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17818 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17819 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17820 (avl-tree-stack-first):
17821 * emacs-lisp/cconv.el (cconv--analyse-use):
17822 * net/gnutls.el (gnutls-negotiate): Fix typos.
17823
17824 2011-11-24 Glenn Morris <rgm@gnu.org>
17825
17826 * lpr.el (lpr-windows-system, lpr-lp-system):
17827 * mail/binhex.el (binhex-begin-line):
17828 * progmodes/grep.el (grep-history, grep-find-history):
17829 * textmodes/flyspell.el:
17830 * vc/pcvs-defs.el (cvs-global-menu):
17831 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17832 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17833 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17834
17835 * net/tls.el: Fix case of "GnuTLS".
17836
17837 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17838
17839 * version.el (emacs-build-system): Give it a doc-string.
17840
17841 2011-11-24 Juri Linkov <juri@jurta.org>
17842
17843 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17844
17845 2011-11-24 Glenn Morris <rgm@gnu.org>
17846
17847 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17848 if called on a non-mime message just toggle the headers. (Bug#8006)
17849
17850 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17851
17852 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17853 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17854 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17855 (allout-rebullet-heading, allout-open-sibtopic)
17856 (allout-toggle-current-subtree-encryption)
17857 (allout-toggle-subtree-encryption, allout-encrypt-string)
17858 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17859 (allout-distinctive-bullets-string, allout-auto-activation):
17860 * window.el (window-normalize-buffer-to-display):
17861 * progmodes/verilog-mode.el (verilog-batch-indent):
17862 * textmodes/bibtex.el (bibtex-field-braces-opt)
17863 (bibtex-field-strings-opt):
17864 * vc/cvs-status.el (cvs-tree-merge):
17865 Fix typos.
17866
17867 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17868
17869 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17870 `non-essential' to t, in order to avoid remote connections.
17871
17872 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17873
17874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17875 On MS-DOS and MS-Windows, compare with loaddefs.el
17876 case-insensitively.
17877
17878 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17879
17880 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17881
17882 2011-11-23 Glenn Morris <rgm@gnu.org>
17883
17884 * paths.el (rmail-file-name): Reformat the doc-string so that it
17885 is picked up.
17886
17887 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17888 (rmail-auto-file): Ignore case in the "special" field names,
17889 as mail-fetch-field does for all others.
17890
17891 * mail/rmail.el (rmail-forward):
17892 * mail/rmailkwd.el (rmail-set-label):
17893 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17894 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17895
17896 * mail/rmail.el (rmail-current-message): Doc fix.
17897
17898 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17899
17900 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17901
17902 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17903
17904 2011-11-22 Glenn Morris <rgm@gnu.org>
17905
17906 * mail/rmailmm.el (test-rmail-mime-handler)
17907 (test-rmail-mime-bulk-handler)
17908 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17909
17910 2011-11-21 Juri Linkov <juri@jurta.org>
17911
17912 * calc/calc.el (calc-read-key-sequence):
17913 Let-bind `input-method-function' to nil. (Bug#10018)
17914
17915 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
17917 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17918 Tell the caller that the next line needs recomputation, even
17919 though it doesn't start a sexp (bug#10094).
17920
17921 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17922
17923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17924
17925 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17926
17927 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17928 Use force-same-window.
17929
17930 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * descr-text.el (describe-char-unicode-data):
17933 * json.el (json-string-escape):
17934 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17935 (Footnote-unicode, Footnote-style-p):
17936 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17937
17938 2011-11-20 Chong Yidong <cyd@gnu.org>
17939
17940 * window.el (replace-buffer-in-windows): Restore interactive spec.
17941
17942 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17943
17944 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17945
17946 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17947 (byte-compile-global-not-obsolete-vars): New var.
17948 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17949 Use it.
17950 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17951
17952 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17953
17954 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17955 * progmodes/pascal.el (electric-pascal-equal):
17956 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17957 * xml.el (xml-substitute-special): Fix typos.
17958
17959 2011-11-20 Glenn Morris <rgm@gnu.org>
17960
17961 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17962 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17963 Doc fixes.
17964 (rmail-decode-mime-charset): Mark as obsolete.
17965
17966 * mail/rmailsum.el (rmail-message-regexp-p-1):
17967 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17968 Before using mime functions, check they are set. (Bug#10077)
17969
17970 2011-11-19 Juri Linkov <juri@jurta.org>
17971
17972 * info.el (Info-finder-find-node): Use `package--builtins' instead
17973 of `package-alist'. Use node names formed by the pattern "Keyword "
17974 and the keyword name.
17975
17976 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17977
17978 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17979
17980 2011-11-19 Juri Linkov <juri@jurta.org>
17981
17982 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17983 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17984 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17985 `old-history', `old-history-forward'. Add let-binding
17986 `window-selected'. Remove calls to `kill-buffer',
17987 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17988 before calling `Info-find-node', so `Info-find-node-2' will reread
17989 the Info file. Restore window positions only when `window-selected'
17990 is non-nil.
17991
17992 2011-11-19 Juri Linkov <juri@jurta.org>
17993
17994 * isearch.el (isearch-lazy-highlight-new-loop):
17995 Remove condition `(not isearch-error)'. (Bug#9918)
17996
17997 * misearch.el (multi-isearch-search-fun): Add condition
17998 `(not bound)' to ignore lazy-highlighting search.
17999 Add the search-failed message "end of multi" when the end of
18000 multi-sequence is reached. Uncapitalize the search-failed
18001 message "Repeat for next buffer".
18002
18003 * info.el (Info-search): Add the search-failed message
18004 "end of the manual" when the end of the manual is reached
18005 in Isearch mode.
18006
18007 2011-11-19 Juri Linkov <juri@jurta.org>
18008
18009 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18010 Use non-destructive `remove' instead of `delete' because
18011 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18012 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18013
18014 2011-11-19 Juri Linkov <juri@jurta.org>
18015
18016 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18017 to nil instead of binding `search-ring' and `regexp-search-ring'.
18018 (Bug#9185)
18019
18020 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18021
18022 * simple.el (line-move): Force movement by logical lines for any
18023 hscrolled window, not only when auto-hscroll-mode is on.
18024 (line-move-visual): Update doc string to that effect. (Bug#10076)
18025
18026 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18027
18028 * language/european.el (macintosh): Define as alias for mac-roman.
18029
18030 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18031
18032 * mail/rmailmm.el (rmail-mime-display-header)
18033 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18034 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18035 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18036 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18037 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18038 of a raw aref.
18039 (rmail-mime-entity-segment): To get past the tagline, move forward
18040 2 more lines, to account for the 2 empty lines that precede and
18041 follow the line with the buttons.
18042 (rmail-mime-update-tagline): Move one more line, to get past the
18043 empty line that follows the buttons in the tagline. (Bug#9520)
18044
18045 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18046
18047 * window.el (window-max-delta-1, window-min-delta-1)
18048 (window-min-size-1, window-state-get-1, window-state-put-1)
18049 (window-state-put-2): Use "window--" prefix.
18050
18051 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18052
18053 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18054 (smie-warning-count): New var.
18055 (smie-set-prec2tab): Use it.
18056 (smie-bnf->prec2): Improve warnings. Add docstring.
18057 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18058 (smie-bnf--set-class): New function.
18059 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18060 corner case.
18061
18062 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18063 (compilation-error-properties, compilation-move-to-column):
18064 Handle compilation-first-column while in the target buffer.
18065
18066 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18067 Don't hardcode point-min==1.
18068
18069 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18070 (eshell-rewrite-for-command): Remove workaround.
18071 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18072 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18073 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18074
18075 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18076
18077 2011-11-17 Glenn Morris <rgm@gnu.org>
18078
18079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18080 Ignore buffer-local generated-autoload-file if it is the same
18081 as the global value. (Bug#10049)
18082
18083 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18084
18085 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18086 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18087 (reftex-toc-previous-heading, reftex-toc-max-level)
18088 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18089 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18090 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18091 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18092 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18093 (reftex-toc-rename-label, reftex-toc-visit-location)
18094 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18095 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18096 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18097 leaving "*toc*" only for references to the buffer.
18098
18099 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18100
18101 * window.el (window-resize, delete-window, split-window):
18102 Replace window-splits by window-combination-resize.
18103 * cus-start.el (window-splits): Replace by window-combination-resize.
18104
18105 2011-11-17 Glenn Morris <rgm@gnu.org>
18106
18107 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18108 Make bash entry derive from sh entry, not shell entry.
18109
18110 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18111
18112 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18113 local file name.
18114
18115 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18116
18117 * menu-bar.el (menu-bar-file-menu):
18118 * printing.el (pr-ps-utility):
18119 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18120 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18121 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18122 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18123 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18124 (icalendar--convert-cyclic-to-ical)
18125 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18126 (icalendar--convert-ical-to-diary)
18127 (icalendar--convert-recurring-to-diary)
18128 (icalendar--convert-non-recurring-all-day-to-diary)
18129 (icalendar-import-format-sample):
18130 * progmodes/idlw-shell.el (idlwave-shell-mode):
18131 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18132 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18133 (vhdl-ps-print-init): Fix typos.
18134
18135 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18136
18137 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18138 FSF and collapse date sequence, obscure author/maintainer email address
18139 better, remove extra version line, track relocation of author's webpage.
18140
18141 * progmodes/python.el (python-pdbtrack-input-prompt)
18142 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18143 regular python pdb prompts. Adjustments shamelessly taken exactly as
18144 suggested in EmacsWiki page (tiny change):
18145 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18146
18147 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18148
18149 * expand.el (expand-pos, expand-index, expand-point):
18150 Remove redundant info from docstring.
18151 (expand-add-abbrevs): Doc fix.
18152 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18153 (expand-sample-perl-mode-expand-list): Fix typos.
18154
18155 * net/dbus.el (dbus-event-member-name):
18156 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18157 * term/pc-win.el (msdos-create-frame-with-faces):
18158 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18159
18160 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18161
18162 * window.el (split-window, window-state-get-1)
18163 (window-state-put-1, window-state-put-2): Rename occurrences of
18164 window-nest to window-combination-limit.
18165 * cus-start.el (window-nest): Rename to window-combination-limit.
18166
18167 2011-11-16 Chong Yidong <cyd@gnu.org>
18168
18169 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18170 regexp (Bug#10033).
18171
18172 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18173
18174 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18175 `completing-read' will remove *Completions* and will preserve
18176 current-buffer for us.
18177 (tmm-add-prompt): Users of *Completions* will always (re)set its
18178 major mode.
18179 (tmm-old-comp-map): Remove.
18180
18181 2011-11-16 Glenn Morris <rgm@gnu.org>
18182
18183 * mail/rmailedit.el: Require rmailmm when compiling.
18184 (rmail-old-mime-state): New declaration.
18185 (rmail-edit-current-message): If editing a mime message,
18186 edit the "raw" message from the mbox buffer.
18187 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18188
18189 2011-11-15 Glenn Morris <rgm@gnu.org>
18190
18191 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18192 which wasn't being used. Add optional arg to force given state.
18193 (rmail-mime): Add optional arg to force given state.
18194
18195 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18196
18197 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18198 * frame.el (display-mm-dimensions-alist):
18199 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18200 (outline-move-subtree-down):
18201 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18202 (newsticker--treeview-do-get-node):
18203 * net/quickurl.el (quickurl-list-buffer-name):
18204 * progmodes/dcl-mode.el (dcl-mode):
18205 * progmodes/gdb-mi.el (gdb-mapcar*):
18206 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18207
18208 2011-11-15 Glenn Morris <rgm@gnu.org>
18209
18210 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18211 in a boolean sense, so just make it a boolean, and fix the doc.
18212 (rmail-show-mime-function, rmail-mime-feature)
18213 (rmail-require-mime-maybe): Doc fixes.
18214 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18215
18216 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18217
18218 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18219
18220 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18221 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18222 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18223 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18224
18225 2011-11-15 Glenn Morris <rgm@gnu.org>
18226
18227 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18228 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18229 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18230 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18231 (rmail-mime, rmail-show-mime): Doc fixes.
18232
18233 * term/ns-win.el (mode-line-frame-identification):
18234 Leave it alone. (Bug#10051)
18235
18236 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18237
18238 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18239 Handle empty buffers. (Bug#9978)
18240
18241 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18242
18243 * international/mule.el (define-charset):
18244 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18245 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18246 * progmodes/verilog-mode.el (verilog-backward-token):
18247 * textmodes/ispell.el (lookup-words):
18248 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18249
18250 2011-11-14 Glenn Morris <rgm@gnu.org>
18251
18252 * progmodes/executable.el
18253 (executable-make-buffer-file-executable-if-script-p):
18254 Handle file-modes returning nil.
18255
18256 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18257 message - not necessary, and causes problems. (Bug#9831)
18258
18259 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18260
18261 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18262
18263 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18264 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18265 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18266
18267 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18268
18269 * window.el (window-resize, delete-window): Use window-splits
18270 variable instead of function.
18271 (window-state-get-1, window-state-put-2, window-state-put):
18272 Don't deal with windows' splits status.
18273
18274 2011-11-12 Glenn Morris <rgm@gnu.org>
18275
18276 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18277 (apropos-documentation): Doc fixes.
18278
18279 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18280
18281 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18282 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18283
18284 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18285
18286 * electric.el (electric-indent-post-self-insert-function): Make it
18287 possible for a char to only indent in some circumstances.
18288 (electric-indent-mode): Simplify.
18289
18290 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18291
18292 * window.el (windows-with-parameter): Remove unused function.
18293 (windows-at-side): Rename to window-at-side-list.
18294 (window-check, window-atom-check, window-atom-check-1)
18295 (window-side-check, window-size-ignore, window-size-fixed-1)
18296 (window-in-direction-2): Prefix with "window--".
18297 (window-tree-1): Rename to window--subtree, fix doc-string.
18298
18299 2011-11-11 Glenn Morris <rgm@gnu.org>
18300
18301 * subr.el (eval-after-load): If FILE is already loaded,
18302 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18303
18304 2011-11-10 Glenn Morris <rgm@gnu.org>
18305
18306 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18307 Call svn via vc-svn-command rather than vc-do-command.
18308 (vc-svn-command): Add --non-interactive. (Bug#9993)
18309 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18310
18311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18312 Add toggle-read-only. (Bug#7292)
18313 * files.el (toggle-read-only): Mention that it should only
18314 be used interactively. (Bug#10006)
18315
18316 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18317
18318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18319 Adjust regexp for OCaml warnings.
18320
18321 * electric.el (electric-pair-post-self-insert-function): Let user
18322 turn it off buffer-locally (bug#9932).
18323
18324 * progmodes/python.el (python-beginning-of-statement):
18325 Rewrite (bug#2703).
18326
18327 * progmodes/compile.el: Better handle TABs (bug#9749).
18328 (compilation-internal-error-properties)
18329 (compilation-next-error-function): Obey the target buffer's
18330 compilation-error-screen-columns.
18331
18332 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18333
18334 * progmodes/meta-mode.el: Remove obsolete comments.
18335 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18336 Fix typos in docstrings.
18337
18338 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18339
18340 * window.el (window-size-fixed-p): Rewrite doc-string.
18341 (window-resizable-p): Rename to window--resizable-p. Update callers.
18342 (window--resizable): New function. Make all callers of
18343 window-resizable call window--resizable instead.
18344 (window-resizable): Rewrite in terms of window--resizable.
18345
18346 2011-11-08 Glenn Morris <rgm@gnu.org>
18347
18348 * progmodes/delphi.el (delphi-mode-syntax-table):
18349 Let define-derived-mode define a proper syntax table. (Bug#9994)
18350
18351 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18352
18353 * window.el: Stay away from defsubst.
18354 (window-list-no-nils): Remove.
18355 (window-state-get-1, window-state-get): Use backquote instead.
18356
18357 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18358
18359 * emacs-lisp/find-func.el (find-function-read):
18360 Fix incorrect use of default argument in `completing-read'.
18361
18362 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18363
18364 * window.el (display-buffer-function, special-display-function):
18365 Mention display-buffer-record-window but do not mention
18366 help-setup parameter in doc-strings.
18367 (window-min-delta): Fix doc-string typo.
18368
18369 2011-11-08 Chong Yidong <cyd@gnu.org>
18370
18371 * window.el (window-total-height, window-total-width): Doc fix.
18372 (window-body-size): Move from C.
18373 (window-body-height, window-body-width): Move to C.
18374
18375 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18376
18377 * window.el: Make special-display like display-buffer-alist (bug#9532).
18378 (display-buffer--special-action): New function, morphed
18379 from display-buffer--special.
18380 (display-buffer): Use it to handle special-display-buffers at higher
18381 priority (just after display-buffer-alist).
18382 (display-buffer-fallback-action, display-buffer--other-frame-action)
18383 (pop-to-buffer-same-window): Remove display-buffer--special.
18384
18385 2011-11-07 Glenn Morris <rgm@gnu.org>
18386
18387 * calendar/cal-menu.el (cal-menu-set-date-title):
18388 Do nothing if not in a calendar. (Bug#9976)
18389
18390 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18391
18392 * files.el (find-file): Always use selected-window.
18393
18394 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18395
18396 * window.el (window-combinations): Make WINDOW argument
18397 mandatory. Rewrite doc-string.
18398 (walk-window-subtree, window-atom-check, window-min-delta)
18399 (window-max-delta, window--resize-this-window)
18400 (window--resize-root-window-vertically, window-tree)
18401 (balance-windows, window-state-put): Rewrite doc-strings as to
18402 not mention the term "subwindow".
18403 (window--resize-subwindows-skip-p): Rename to
18404 window--resize-child-windows-skip-p.
18405 (window--resize-subwindows-normal): Rename to
18406 window--resize-child-windows-normal.
18407 (window--resize-subwindows): Rename to
18408 window--resize-child-windows.
18409 (window-or-subwindow-p): Rename to window--in-subtree-p.
18410
18411 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18412
18413 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18414 Ensure that mbox format messages end in two newlines (Bug#9974).
18415
18416 2011-11-06 Chong Yidong <cyd@gnu.org>
18417
18418 * window.el (window-combination-p): Function deleted; its
18419 side-effect is not used in any existing code.
18420 (window-combinations, window-combined-p): Call window-*-child
18421 directly.
18422
18423 2011-11-05 Chong Yidong <cyd@gnu.org>
18424
18425 * window.el (window-valid-p): Rename from window-any-p.
18426 (window-size-ignore, window-state-get): Callers changed.
18427 (window-normalize-window): Rename from window-normalize-any-window.
18428 New arg LIVE-ONLY, replacing window-normalize-live-window.
18429 (window-normalize-live-window): Delete.
18430 (window-combination-p, window-combined-p, window-combinations)
18431 (walk-window-subtree, window-atom-root, window-min-size)
18432 (window-sizable, window-sizable-p, window-size-fixed-p)
18433 (window-min-delta, window-max-delta, window-resizable)
18434 (window-resizable-p, window-full-height-p, window-full-width-p)
18435 (window-current-scroll-bars, window-point-1, set-window-point-1)
18436 (window-at-side-p, window-in-direction, window-resize)
18437 (adjust-window-trailing-edge, maximize-window, minimize-window)
18438 (window-deletable-p, delete-window, delete-other-windows)
18439 (record-window-buffer, unrecord-window-buffer)
18440 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18441 (quit-window, split-window, window-state-put)
18442 (set-window-text-height, fit-window-to-buffer)
18443 (shrink-window-if-larger-than-buffer): Callers changed.
18444
18445 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18446
18447 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18448 rfc2047-decode-string.
18449 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18450 warnings.
18451
18452 * window.el (window-body-height, window-body-width): Mention in
18453 the doc string that the return values are in frame's canonical
18454 units. (Bug#9949)
18455
18456 2011-11-03 Alan Mackenzie <acm@muc.de>
18457
18458 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18459 change in cc-engine.el.
18460
18461 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18462
18463 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18464
18465 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18466
18467 * window.el (quit-window): Call unrecord-window-buffer after
18468 showing another buffer in the window. (Bug#9937)
18469 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18470
18471 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18472
18473 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18474 Accept status with more than 9 shelves. (Bug#9935)
18475 Reported by Colin D Bennett <colin@gibibit.com>.
18476
18477 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18478
18479 * help.el (with-help-window): Don't reference
18480 temp-buffer-show-specifiers in doc-string.
18481
18482 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18483
18484 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18485 menu-item.
18486
18487 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18488
18489 * whitespace.el: New version 13.2.2.
18490 (whitespace-newline-mode): Disable properly. Reported by Sarah
18491 <EmacsWiki>.
18492
18493 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18494
18495 * net/newst-treeview.el: Remove "Time-stamp".
18496 (newsticker--group-manage-orphan-feeds): Do not call
18497 newsticker--treeview-tree-update.
18498 (newsticker-treeview-update, newsticker-treeview):
18499 Call newsticker--treeview-tree-update if necessary.
18500
18501 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18502
18503 * window.el (window-iso-combination-p, window-iso-combined-p)
18504 (window-iso-combinations): Remove "iso-" infix.
18505 Suggested by Chong Yidong.
18506 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18507 (window-max-delta-1, window-resize, window--resize-siblings)
18508 (window--resize-this-window, adjust-window-trailing-edge)
18509 (split-window, balance-windows-1)
18510 (shrink-window-if-larger-than-buffer):
18511 * calendar/calendar.el (calendar-generate-window):
18512 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18513
18514 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18515
18516 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18517 in place (bug#9907).
18518 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18519 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18520 (eshell-structure-basic-command, eshell-rewrite-while-command)
18521 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18522 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18523 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18524 (eshell-do-pipelines-synchronously, eshell-eval-command):
18525 Use backquotes and prefer setq to set.
18526 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18527 (eshell-macrop): Use functionp.
18528 (eshell-do-eval): Handle multiple expressions in `while' body.
18529
18530 2011-10-30 Chong Yidong <cyd@gnu.org>
18531
18532 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18533 instead of set-mark (Bug#9810).
18534
18535 2011-10-30 Chong Yidong <cyd@gnu.org>
18536
18537 * window.el (split-window-below, split-window-right): Rename from
18538 split-window-above-each-other and split-window-side-by-side
18539 respectively. All callers changed.
18540 (split-window-sensibly, split-window-sensibly): Use them.
18541 (split-window-keep-point): Doc fix.
18542
18543 * isearch.el: Add isearch-scroll property to split-window-below
18544 and split-window-right.
18545
18546 * follow.el (follow-mode):
18547 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18548 * progmodes/ada-xref.el (ada-gdb-application):
18549 * emulation/vip.el (vip-buffer-in-two-windows):
18550 * image-dired.el (image-dired-dired-with-window-configuration):
18551 * dired-x.el (dired-do-find-marked-files):
18552 * dired.el (dired-pop-to-buffer):
18553 * bs.el (bs--show-with-configuration):
18554 * vc/emerge.el (emerge-setup-windows):
18555 * textmodes/two-column.el (2C-two-columns):
18556 * textmodes/reftex-toc.el (reftex-toc):
18557 * progmodes/gdb-mi.el (gdb-setup-windows):
18558 * progmodes/fortran.el (fortran-window-create):
18559 * net/newst-treeview.el (newsticker--treeview-window-init):
18560 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18561 * emulation/tpu-edt.el (tpu-gold-map):
18562 * emulation/crisp.el (crisp-mode-map):
18563 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18564
18565 2011-10-29 Chong Yidong <cyd@gnu.org>
18566
18567 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18568
18569 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18570
18571 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18572 forged Ispell output (Bug#7904).
18573
18574 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18575
18576 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18577
18578 * doc-view.el: Avoid ugly errors about not finding nil.
18579 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18580 (doc-view-dvipdf-program, doc-view-unoconv-program)
18581 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18582 Avoid nil or absolute file name as default value.
18583 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18584
18585 2011-10-28 Alan Mackenzie <acm@muc.de>
18586
18587 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18588
18589 2011-10-28 Alan Mackenzie <acm@muc.de>
18590
18591 Amend the handling of c-beginning/end-of-defun in nested declaration
18592 scopes.
18593
18594 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18595 cc-langs.el. Change it to a defcustom.
18596
18597 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18598 cc-vars.el.
18599
18600 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18601 Prevent "class foo : bar" being spuriously recognized as a label.
18602
18603 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18604 Add parameter `inclusive' (to include enclosing braces in the region).
18605 (c-widen-to-enclosing-decl-scope): New function.
18606 (c-while-widening-to-decl-block): New macro.
18607 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18608 outward for defun boundaries, and correspondingly change symbol
18609 `respect-enclosure' to `go-outward'.
18610 (c-declaration-limits): Change algorithm to report only the "innermost"
18611 defun's boundaries.
18612
18613 2011-10-28 Deniz Dogan <deniz@dogan.se>
18614
18615 * net/rcirc.el (rcirc-mode): Use hard newlines.
18616
18617 2011-10-28 Alan Mackenzie <acm@muc.de>
18618
18619 Amend to indent and fontify macros "which include their own semicolon"
18620 correctly, using the "virtual semicolon" mechanism.
18621
18622 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18623
18624 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18625 Recode to scan one line at a time rather than having \n and \r
18626 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18627 (c-forward-label): Amend for virtual semicolons.
18628 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18629
18630 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18631 of the new C macros.
18632
18633 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18634 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18635 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18636 (c-opt-cpp-macro-define): Make into a full language variable.
18637 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18638 AWK Mode (including \n, \r) removed, no longer needed.
18639
18640 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18641 Invoke c-make-macro-with-semi-re.
18642
18643 * progmodes/cc-vars.el (c-macro-with-semi-re):
18644 (c-macro-names-with-semicolon): New variables.
18645 (c-make-macro-with-semi-re): New function.
18646
18647 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18648
18649 * vc/log-edit.el: Fill empty field rather than adding new one.
18650 (log-edit-add-field): New function.
18651 (log-edit-insert-changelog): Use it.
18652
18653 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18654
18655 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18656
18657 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18658
18659 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18660 (gdb--check-interpreter): New function.
18661 (gdb): Use it.
18662
18663 2011-10-27 Glenn Morris <rgm@gnu.org>
18664
18665 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18666 (least-positive-float, least-negative-float)
18667 (least-positive-normalized-float, least-negative-normalized-float)
18668 (float-epsilon, float-negative-epsilon):
18669 Remove unnecessary declarations.
18670
18671 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18672 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18673 (least-positive-float, least-negative-float)
18674 (least-positive-normalized-float, least-negative-normalized-float)
18675 (float-epsilon, float-negative-epsilon): Add doc-strings,
18676 based on those in cl.texi.
18677
18678 * files.el (set-visited-file-name): If the major-mode changed,
18679 reload the local variables. (Bug#9796)
18680
18681 2011-10-27 Chong Yidong <cyd@gnu.org>
18682
18683 * subr.el (change-major-mode-after-body-hook): New hook.
18684 (run-mode-hooks): Run it.
18685
18686 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18687 Use change-major-mode-before-body-hook.
18688
18689 * simple.el (fundamental-mode):
18690 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18691 change introducing fundamental-mode-hook.
18692
18693 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18694
18695 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18696
18697 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18698
18699 * ido.el (ido-file-name-all-completions-1): Do not require
18700 tramp.el explicitly. (Bug#7583)
18701
18702 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 * progmodes/octave-mod.el:
18705 * progmodes/octave-inf.el: Update maintainer.
18706
18707 2011-10-26 Chong Yidong <cyd@gnu.org>
18708
18709 * subr.el (with-wrapper-hook): Rewrite doc.
18710
18711 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18712
18713 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18714 filenames "/method:foo:". (Bug#9793)
18715
18716 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18719 (bug#9865).
18720
18721 2011-10-24 Glenn Morris <rgm@gnu.org>
18722
18723 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18724
18725 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18726
18727 * notifications.el: Add the requirement of a running D-Bus session
18728 bus to the Commentary.
18729
18730 2011-10-24 Juri Linkov <juri@jurta.org>
18731
18732 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18733 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18734 (Bug#9364)
18735
18736 2011-10-24 Juri Linkov <juri@jurta.org>
18737
18738 * info.el (Info-following-node-name-re): Add newline to the list
18739 of allowed characters for leading space. (Bug#9824)
18740
18741 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18742
18743 * progmodes/octave-inf.el (inferior-octave-mode-map):
18744 Fix C-c C-h binding.
18745 * progmodes/octave-mod.el (octave-help): Remove.
18746
18747 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18748
18749 Sync with Tramp 2.2.3.
18750
18751 * net/tramp-cache.el (top): Pacify byte-compiler using
18752 `init-file-user' and `site-run-file'.
18753
18754 * net/trampver.el: Update release number.
18755
18756 2011-10-23 Chong Yidong <cyd@gnu.org>
18757
18758 * files.el (toggle-read-only): Remove obsolete comment about
18759 version control.
18760
18761 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18762 for toggle-read-only. Note that this hasn't called vc-next-action
18763 since 2008-05-02, though it wasn't documented at the time.
18764
18765 * vc/ediff-init.el (ediff-toggle-read-only-function):
18766 Use toggle-read-only.
18767
18768 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18769
18770 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18771 of c-parse-state.
18772
18773 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18774 correct faulty logical expression.
18775 (c-parse-state-state, c-record-parse-state-state):
18776 (c-replay-parse-state-state): New defvar/defuns.
18777 (c-debug-parse-state): Use new functions.
18778
18779 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18780
18781 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18782 last fix. Use window-in-direction correctly.
18783
18784 2011-10-21 Chong Yidong <cyd@gnu.org>
18785
18786 * progmodes/idlwave.el (idlwave-mode):
18787 * progmodes/vera-mode.el (vera-mode): No need to set
18788 require-final-newline; that's done in prog-mode.
18789 Suggested by Stefan Monnier.
18790
18791 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18792
18793 * mouse.el (mouse-drag-window-above)
18794 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18795 (mouse-drag-mode-line-1, mouse-drag-header-line)
18796 (mouse-drag-vertical-line-rightward-window): Remove.
18797 (mouse-drag-line): New function.
18798 (mouse-drag-mode-line, mouse-drag-header-line)
18799 (mouse-drag-vertical-line): Call mouse-drag-line.
18800 * window.el (window-at-side-p, windows-at-side): New functions.
18801
18802 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18803
18804 * tar-mode.el (tar-grind-file-mode):
18805 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18806
18807 2011-10-21 Chong Yidong <cyd@gnu.org>
18808
18809 * progmodes/idlwave.el (idlwave-mode):
18810 * progmodes/vera-mode.el (vera-mode):
18811 Use mode-require-final-newline.
18812
18813 2011-10-20 Glenn Morris <rgm@gnu.org>
18814
18815 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18816
18817 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18818
18819 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18820
18821 2011-10-20 Chong Yidong <cyd@gnu.org>
18822
18823 * emulation/cua-base.el (cua-mode):
18824 * mail/footnote.el (footnote-mode):
18825 * mail/mailabbrev.el (mail-abbrevs-mode):
18826 * net/xesam.el (xesam-minor-mode):
18827 * progmodes/bug-reference.el (bug-reference-mode):
18828 * progmodes/cap-words.el (capitalized-words-mode):
18829 * progmodes/compile.el (compilation-minor-mode)
18830 (compilation-shell-minor-mode):
18831 * progmodes/gud.el (gud-tooltip-mode):
18832 * progmodes/hideif.el (hide-ifdef-mode):
18833 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18834 * progmodes/subword.el (subword-mode):
18835 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18836 * progmodes/which-func.el (which-function-mode):
18837 * term/tvi970.el (tvi970-set-keypad-mode):
18838 * term/vt100.el (vt100-wide-mode):
18839 * textmodes/flyspell.el (flyspell-mode):
18840 * textmodes/ispell.el (ispell-minor-mode):
18841 * textmodes/nroff-mode.el (nroff-electric-mode):
18842 * textmodes/paragraphs.el (use-hard-newlines):
18843 * textmodes/refill.el (refill-mode):
18844 * textmodes/reftex.el (reftex-mode):
18845 * textmodes/rst.el (rst-minor-mode):
18846 * textmodes/sgml-mode.el (html-autoview-mode)
18847 (sgml-electric-tag-pair-mode):
18848 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18849 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18850 * emulation/crisp.el (crisp-mode):
18851 * emacs-lisp/eldoc.el (eldoc-mode):
18852 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18853 minor mode behavior.
18854
18855 2011-10-19 Juri Linkov <juri@jurta.org>
18856
18857 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18858 the list of hard-coded chars with escape-glyph face.
18859
18860 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18861
18862 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18863
18864 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18865
18866 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18867 running process.
18868
18869 2011-10-19 Glenn Morris <rgm@gnu.org>
18870
18871 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18872 Ignore ignored files. (Bug#9726)
18873
18874 2011-10-19 Chong Yidong <cyd@gnu.org>
18875
18876 Doc fix for minor modes, stating that an omitted argument enables
18877 the mode unconditionally when called from Lisp.
18878
18879 * abbrev.el (abbrev-mode):
18880 * allout.el (allout-mode):
18881 * autoinsert.el (auto-insert-mode):
18882 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18883 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18884 (global-auto-revert-mode):
18885 * battery.el (display-battery-mode):
18886 * composite.el (global-auto-composition-mode)
18887 (auto-composition-mode):
18888 * delsel.el (delete-selection-mode):
18889 * desktop.el (desktop-save-mode):
18890 * dired-x.el (dired-omit-mode):
18891 * dirtrack.el (dirtrack-mode):
18892 * doc-view.el (doc-view-minor-mode):
18893 * double.el (double-mode):
18894 * electric.el (electric-indent-mode, electric-pair-mode):
18895 * emacs-lock.el (emacs-lock-mode):
18896 * epa-hook.el (auto-encryption-mode):
18897 * follow.el (follow-mode):
18898 * font-core.el (font-lock-mode):
18899 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18900 * help.el (temp-buffer-resize-mode):
18901 * hilit-chg.el (highlight-changes-mode)
18902 (highlight-changes-visible-mode):
18903 * hi-lock.el (hi-lock-mode):
18904 * hl-line.el (hl-line-mode, global-hl-line-mode):
18905 * icomplete.el (icomplete-mode):
18906 * ido.el (ido-everywhere):
18907 * image-file.el (auto-image-file-mode):
18908 * image-mode.el (image-minor-mode):
18909 * iswitchb.el (iswitchb-mode):
18910 * jka-cmpr-hook.el (auto-compression-mode):
18911 * linum.el (linum-mode):
18912 * longlines.el (longlines-mode):
18913 * master.el (master-mode):
18914 * mb-depth.el (minibuffer-depth-indicate-mode):
18915 * menu-bar.el (menu-bar-mode):
18916 * minibuf-eldef.el (minibuffer-electric-default-mode):
18917 * mouse-sel.el (mouse-sel-mode):
18918 * msb.el (msb-mode):
18919 * mwheel.el (mouse-wheel-mode):
18920 * outline.el (outline-minor-mode):
18921 * paren.el (show-paren-mode):
18922 * recentf.el (recentf-mode):
18923 * reveal.el (reveal-mode, global-reveal-mode):
18924 * rfn-eshadow.el (file-name-shadow-mode):
18925 * ruler-mode.el (ruler-mode):
18926 * savehist.el (savehist-mode):
18927 * scroll-all.el (scroll-all-mode):
18928 * scroll-bar.el (scroll-bar-mode):
18929 * server.el (server-mode):
18930 * shell.el (shell-dirtrack-mode):
18931 * simple.el (auto-fill-mode, transient-mark-mode)
18932 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18933 (line-number-mode, column-number-mode, size-indication-mode)
18934 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18935 * strokes.el (strokes-mode):
18936 * time.el (display-time-mode):
18937 * t-mouse.el (gpm-mouse-mode):
18938 * tool-bar.el (tool-bar-mode):
18939 * tooltip.el (tooltip-mode):
18940 * type-break.el (type-break-mode-line-message-mode)
18941 (type-break-query-mode):
18942 * view.el (view-mode):
18943 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18944 (global-whitespace-mode, global-whitespace-newline-mode):
18945 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18946
18947 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18948 Fix autogenerated docstring.
18949
18950 2011-10-19 Juri Linkov <juri@jurta.org>
18951
18952 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18953 by checking environment variables "DESKTOP_SESSION" and
18954 "XDG_CURRENT_DESKTOP". (Bug#9779)
18955
18956 2011-10-19 Juri Linkov <juri@jurta.org>
18957
18958 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18959 (browse-url-chromium-program, browse-url-chromium-arguments):
18960 New defcustoms.
18961 (browse-url-default-browser): Check for `browse-url-chromium' and
18962 call `browse-url-chromium-program'.
18963 (browse-url-chromium): New command. (Bug#9779)
18964
18965 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18966
18967 * facemenu.el (list-colors-duplicates): On Windows, detect more
18968 duplicates by assuming that only colors matching "^System" are
18969 special "system colors". (Bug#9722)
18970
18971 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18972
18973 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18974 to distinguish the author from the committer.
18975
18976 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18977
18978 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18979
18980 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18981
18982 * international/mule.el (sgml-html-meta-auto-coding-function):
18983 Add support for detecting encoding in HTML5 specified only as
18984 <meta charset="UTF-8">. Implementation just makes http-equiv and
18985 content-type parts from HTML4 encoding string optional. (Bug#9716)
18986
18987 2011-10-18 Glenn Morris <rgm@gnu.org>
18988
18989 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18990
18991 2011-10-18 Chong Yidong <cyd@gnu.org>
18992
18993 * faces.el (cursor): Doc fix.
18994
18995 2011-10-17 Chong Yidong <cyd@gnu.org>
18996
18997 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18998
18999 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19000
19001 * dirtrack.el (dirtrack): Support shell buffers with path
19002 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19003
19004 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19005
19006 * json.el: Bump version to 1.3 and note change in History.
19007 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19008
19009 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19010
19011 * comint.el (comint-insert-input, comint-send-input)
19012 (comint-get-old-input-default, comint-backward-matching-input)
19013 (comint-next-prompt): Use nil instead of `input' for field property of
19014 past user input (bug#114).
19015
19016 * minibuffer.el (completion--replace): Inherit surrounding properties
19017 (bug#114).
19018 (minibuffer-complete-and-exit): Use it.
19019
19020 * comint.el (comint--table-subvert): Quote the all-completions output
19021 (bug#9160).
19022
19023 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19024
19025 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19026
19027 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19028 window on right of selected. (Bug#9350) Reword other window
19029 entries and separate them from frame entries.
19030
19031 2011-10-15 Glenn Morris <rgm@gnu.org>
19032
19033 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19034 Doc fixes.
19035
19036 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19037
19038 * net/network-stream.el (network-stream-open-starttls):
19039 Improve detection of failure due to lack of TLS support.
19040
19041 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19042 putting the input text in front and in bold.
19043
19044 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19047
19048 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19049 empty buffer.
19050
19051 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19052 unread-command-events rather than pushing yet-another event.
19053
19054 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19055
19056 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19057 the explanation of the possible choices. Make the options passed
19058 to completing-read shorter.
19059
19060 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19061
19062 * textmodes/flyspell.el (flyspell-large-region): Make sure
19063 extended character mode is used if defined (Bug#1339).
19064
19065 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19066
19067 * simple.el (what-cursor-position): Fix the display of the
19068 character info for LRE, LRO, RLE, and RLO characters by appending
19069 an invisible PDF.
19070
19071 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19072
19073 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19074 even in case of error; add debug spec; simplify data flow.
19075 (with-timeout-handler): Remove.
19076
19077 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19078
19079 Fix Bug#6019, Bug#9315.
19080
19081 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19082 complete `buffer-file-name', the local file name part could look
19083 remotely (for example on VMS).
19084
19085 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19086 `tramp-run-real-handler'.
19087 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19088 already quoted by '"'.
19089
19090 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19091 Let `file-name-handler-alist' be nil, the local file name part
19092 could look remotely (for example on VMS).
19093
19094 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19095
19096 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19097 from here...
19098 (flyspell-post-command-hook): ...to here.
19099
19100 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19101
19102 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19103 if not needed.
19104 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19105 using completion. Protect against "slow" callers.
19106 Remove the "message hack".
19107
19108 2011-10-11 Juri Linkov <juri@jurta.org>
19109
19110 * isearch.el (isearch-lazy-highlight-word): New variable.
19111 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19112 Use it. (Bug#9727)
19113
19114 2011-10-11 Glenn Morris <rgm@gnu.org>
19115
19116 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19117 like f90-previous-statement does.
19118
19119 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19120
19121 * eshell/eshell.el (eshell-command): History should be saved
19122 only in interactive use, to avoid error.
19123
19124 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19125
19126 * minibuffer.el (completion-file-name-table): Fix last change,
19127 i.e. ignore normal errors but not the other ones.
19128
19129 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19130
19131 * window.el (special-display-buffer-names)
19132 (special-display-regexps): Remove some remnants of earlier
19133 changes from doc-strings.
19134 (quit-windows-on): New function.
19135
19136 * vc/vc.el (vc-revert, vc-rollback):
19137 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19138 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19139 (Bug#6183) (Bug#7074) (Bug#7447)
19140
19141 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19142
19143 * window.el (frame-auto-hide-function): Add version tag.
19144 (Bug#9699)
19145
19146 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19147
19148 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19149 condition.
19150
19151 2011-10-09 Leo Liu <sdl.web@gmail.com>
19152
19153 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19154 (Bug#9701)
19155
19156 2011-10-08 Glenn Morris <rgm@gnu.org>
19157
19158 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19159 before the first code statement zero indent. (Bug#9690)
19160
19161 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19162
19163 * simple.el (count-words-region): Always count in the region.
19164 Report the number of lines and characters too.
19165 (count-words): New command, which counts in the buffer if the
19166 region is inactive, as count-words-region used to.
19167 (count-words--message): New function. Handle plurals.
19168 (count-lines-region): Make it an alias for count-words-region.
19169
19170 * bindings.el (esc-map): Replace count-lines-region with
19171 count-words-region.
19172
19173 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19174
19175 * window.el (window--delete): Delete dedicated frame
19176 unconditionally when argument KILL is non-nil. (Bug#9699)
19177 (switch-to-buffer): Fix doc-string typo.
19178
19179 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19180
19181 * eshell/eshell.el (eshell-command): Avoid using hooks.
19182
19183 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19184
19185 * bindings.el ([M-left],[M-right]): Bind to left-word and
19186 right-word respectively.
19187
19188 2011-10-07 Glenn Morris <rgm@gnu.org>
19189
19190 * cus-start.el (debug-on-quit): Fix custom type.
19191
19192 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19193
19194 * subr.el (define-key-after): Clarify that the function is not
19195 useful for non-menu keymaps.
19196
19197 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19198
19199 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19200
19201 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19202 in current minibuffer (Fix bug with recursive minibuffers).
19203
19204 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19205
19206 * progmodes/gdb-mi.el (gdb): Doc fix.
19207
19208 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19209
19210 * window.el (frame-auto-hide-function): New option replacing
19211 frame-auto-delete. Suggested by Stefan Monnier.
19212 (window--delete): Call frame-auto-hide-function instead of
19213 investigating frame-auto-delete.
19214 (window-point-1, set-window-point-1): New functions.
19215 (window-in-direction, record-window-buffer, window-state-get-1)
19216 (display-buffer-record-window): Use window-point-1 instead of
19217 window-point.
19218 (set-window-buffer-start-and-point): Use set-window-point-1.
19219
19220 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19221
19222 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19223
19224 2011-10-05 Glenn Morris <rgm@gnu.org>
19225
19226 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19227 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19228
19229 2011-10-05 Leo Liu <sdl.web@gmail.com>
19230
19231 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19232 works with buffer object.
19233
19234 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19235
19236 * mpc.el (mpc-tool-bar-map): Add labels.
19237
19238 2011-10-04 Glenn Morris <rgm@gnu.org>
19239
19240 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19241
19242 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19243
19244 * window.el (window--delete): New function.
19245 (frame-auto-delete): Resuscitate option.
19246 (bury-buffer, replace-buffer-in-windows)
19247 (quit-window): Rewrite using window--delete.
19248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19249 Pass display-buffer-mark-dedicated to window--display-buffer-2
19250 (Bug#9639).
19251
19252 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19253
19254 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19255 returns a list (bug#9554). Add remote file name completion.
19256 * comint.el (comint--table-subvert): Curry and get quote&unquote
19257 functions as arguments.
19258 (comint--complete-file-name-data): Adjust call accordingly.
19259 * pcomplete.el (pcomplete--table-subvert): Remove.
19260 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19261
19262 * minibuffer.el (completion-table-case-fold): Use currying.
19263 (completion--styles-type, completion--cycling-threshold-type):
19264 New constants.
19265 (completion-styles, completion-category-overrides)
19266 (completion-cycle-threshold): Use them.
19267 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19268 completion-table-case-fold.
19269
19270 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19271
19272 * minibuffer.el (completion-category-overrides): Fix type of styles
19273 and add more user friendly tags (bug#9660).
19274
19275 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19276
19277 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19278 (mule-input-method-string): New widget.
19279 (default-input-method, language-info-custom-alist): Use it.
19280
19281 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19282
19283 * pcomplete.el: Require comint.
19284 (pcomplete--common-suffix): Remove.
19285 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19286 (pcomplete--table-subvert): Sync with comint--table-subvert.
19287 (pcomplete--entries): Use comint-completion-file-name-table.
19288 * comint.el (comint-unquote-filename): Simplify.
19289 (comint-completion-file-name-table): New function (bug#9616).
19290 (comint--complete-file-name-data): Use it.
19291
19292 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19293 (pcmpl-gnu-tar-buffer): Remove.
19294 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19295 around. Make sure pcomplete-suffix-list is only changed temporarily.
19296 Don't look inside the tar's file if it's too large.
19297
19298 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19299
19300 * cus-edit.el (custom-mode-map):
19301 * epa.el (epa-key-list-mode-map):
19302 * man.el (Man-mode-map):
19303 * startup.el (splash-screen-keymap):
19304 * simple.el (special-mode-map): Use scroll-up-command and
19305 scroll-down-command.
19306
19307 * progmodes/idlw-help.el (idlwave-help-mode-map):
19308 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19309 * net/newst-plainview.el (newsticker-mode-map):
19310 * emulation/ws-mode.el (wordstar-mode-map):
19311 * emulation/vi.el (vi-com-map):
19312 * calc/calc-graph.el (calc-graph-show-dumb):
19313 * term/sun.el (terminal-init-sun):
19314 * term/ns-win.el (global-map):
19315 * progmodes/grep.el (grep-mode-map):
19316 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19317 * mail/rmail.el (rmail-mode-map):
19318 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19319
19320 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19321 custom-safe-themes as special.
19322
19323 2011-10-01 Julien Danjou <julien@danjou.info>
19324
19325 * notifications.el (notifications-notify): Fix docstring.
19326
19327 2011-10-01 Per Starbäck <per@starback.se>
19328
19329 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19330
19331 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19332
19333 * startup.el (command-line-1): Fix last fix by inserting
19334 initial-scratch-message into *scratch* before displaying it.
19335 (Bug#9605) and (Bug#9636)
19336
19337 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19338
19339 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19340 window is hscrolled, move by logical lines. (Bug#9607)
19341 (line-move-visual): Update the doc string to the above effect.
19342
19343 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19344
19345 * window.el (display-buffer-record-window): When WINDOW is the
19346 selected window use `point' instead of `window-point'. (Bug#9626)
19347
19348 * startup.el (command-line-1): Use insert-before-markers when
19349 inserting initial-scratch-message. (Bug#9605)
19350
19351 * help.el (help-window): Remove variable.
19352
19353 2011-09-29 Glenn Morris <rgm@gnu.org>
19354
19355 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19356
19357 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19358
19359 * descr-text.el (describe-char-categories): Accept category
19360 descriptions more than one line long.
19361
19362 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19363
19364 * simple.el (delete-trailing-whitespace): Fix last change.
19365
19366 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19367 Don't confuse "y => 3" as the beginning of a `y' operation.
19368
19369 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19370 object has more than 4 slots (bug#9613).
19371
19372 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19373
19374 * subr.el (with-output-to-temp-buffer):
19375 * net/quickurl.el (quickurl, quickurl-browse-url):
19376 Fix typos in docstrings.
19377
19378 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19379
19380 * minibuffer.el (completion-styles)
19381 (completion-category-overrides): Cross reference each other in doc
19382 strings.
19383
19384 2011-09-27 Glenn Morris <rgm@gnu.org>
19385
19386 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19387 to split-string. (Bug#9606)
19388
19389 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19390
19391 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19392 (bug#9615).
19393
19394 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19395
19396 * emacs-lisp/package.el (list-packages): Fix echo area message.
19397
19398 2011-09-27 Leo Liu <sdl.web@gmail.com>
19399
19400 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19401
19402 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19403
19404 * net/dbus.el (dbus-unregister-object): Don't release services for
19405 registered signals. (Bug#9581)
19406
19407 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19408
19409 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19410 function that picks between cfengine 2 and 3 support
19411 automatically. Update docs accordingly.
19412
19413 2011-09-22 Kenichi Handa <handa@m17n.org>
19414
19415 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19416 ZERO.
19417 (indian-itrans-v5-table-for-tamil): New variable.
19418 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19419
19420 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19421
19422 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19423 that's true if the current command involved collapsing of text.
19424 It's reset to false at the beginning of the next command.
19425 (allout-post-command-business): Move the cursor to the beginning
19426 of entry if the cursor is hidden and collapsing activity just
19427 happened.
19428
19429 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19430
19431 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19432 tracking (Bug#9541).
19433
19434 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19435
19436 * net/newst-reader.el (newsticker-html-renderer)
19437 (newsticker-show-news): Automatically load html rendering package
19438 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19439 because w3m-fill-column is let-bound" and the error "Symbol's value
19440 as variable is void: w3m-fill-column".
19441
19442 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19443
19444 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19445 Release services only if they are defined. (Bug#9581)
19446
19447 2011-09-23 Richard Stallman <rms@gnu.org>
19448
19449 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19450 distinguish start of paragraph from start of its text.
19451
19452 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19453
19454 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19455 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19456 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19457
19458 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19459
19460 * international/mule-diag.el (mule-diag): Insert a newline after
19461 each fontset description.
19462
19463 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19464
19465 * simple.el (delete-trailing-whitespace):
19466 Document last change; simplify.
19467
19468 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19469
19470 * simple.el (delete-trailing-whitespace): Also delete
19471 extra newlines at the end of the buffer.
19472
19473 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19474 (picture-newline): Use forward-line so as to ignore fields.
19475
19476 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19477
19478 * subr.el (with-wrapper-hook): Fix edebug spec.
19479
19480 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19481
19482 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19483 (bug#4538).
19484
19485 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19486
19487 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19488 Fix nasty bug using wrong cached values.
19489
19490 2011-09-23 Alan Mackenzie <acm@muc.de>
19491
19492 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19493
19494 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19495
19496 * window.el (pop-to-buffer): Ensure right window is selected if we
19497 chose another frame.
19498
19499 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19500
19501 * simple.el (what-cursor-position): Use get-char-property-change
19502 and next-single-char-property-change, to be able to show display
19503 properties that come from overlays as well as text properties.
19504
19505 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19506
19507 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19508
19509 * cmuscheme.el (run-scheme, switch-to-scheme):
19510 * cus-edit.el (customize-group, custom-buffer-create)
19511 (customize-browse):
19512 * info.el (info):
19513 * shell.el (shell):
19514 * mail/sendmail.el (mail):
19515 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19516
19517 2011-09-22 Richard Stallman <rms@gnu.org>
19518
19519 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19520 move back only to line beg, don't move back over blank lines.
19521
19522 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19523
19524 * files.el (copy-directory): Set directory attributes only in case
19525 they could be retrieved from the source directory. (Bug#9565)
19526
19527 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19528
19529 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19530 (hs-find-block-beginning, hs-hide-level-recursive):
19531 Ignore strings as well as comments. (Bug#9502)
19532
19533 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19534
19535 * progmodes/sql.el (sql-comint-postgres):
19536 Convert port number to a string. (Bug#9566)
19537
19538 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19539
19540 * window.el (quit-window): Undedicate window when switching to
19541 previous buffer. Reported by Thierry Volpiatto
19542 <thierry.volpiatto@gmail.com>.
19543 (special-display-popup-frame): When popping up a new frame reset
19544 its previous buffers to nil. Simplify code.
19545
19546 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19547
19548 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19549 and process filter, as done also in `shell-command'.
19550
19551 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19552
19553 * window.el (set-window-buffer-start-and-point):
19554 Call set-window-start with NOFORCE argument t.
19555 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19556 (quit-window): Reword doc-string. Handle new format of
19557 quit-restore parameter. Don't delete window if it has a
19558 previous buffer we can show instead of the present one.
19559 (display-buffer-record-window): Rewrite using a new format for
19560 the quit-restore window parameter
19561 (special-display-popup-frame, display-buffer-same-window)
19562 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19563 (display-buffer-pop-up-window, display-buffer-use-some-window):
19564 Adapt symbol passed to display-buffer-record-window.
19565 * help.el (help-window-setup): Handle new format of quit-restore
19566 parameter.
19567
19568 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19569
19570 * faces.el (face-list): Fix docstring (bug#9564).
19571
19572 * window.el (display-buffer--action-function-custom-type):
19573 Don't include internal functions in the Custom interface.
19574
19575 2011-09-20 Juri Linkov <juri@jurta.org>
19576
19577 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19578 (Info-forward-node, Info-backward-node, Info-next-preorder)
19579 (Info-last-preorder): Use it. (Bug#9528)
19580
19581 2011-09-20 Juri Linkov <juri@jurta.org>
19582
19583 * info.el (Info-last-preorder): Visit last menu item only when
19584 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19585
19586 2011-09-20 Julien Danjou <julien@danjou.info>
19587
19588 * password-cache.el (password-cache-remove): Remove entries even if the
19589 value is nil, so that password with a nil value (negative caching) is
19590 possible to invalidate.
19591
19592 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19593
19594 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19595 all whitespace around breakpoint. (Bug#9553)
19596 (f90-find-breakpoint): Only break at whitespace inside a comment.
19597
19598 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19599
19600 * minibuffer.el (completion-file-name-table): Keep track of errors.
19601 (completion-table-with-predicate): Handle the case where pred1 is nil.
19602 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19603
19604 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19605
19606 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19607 (debugger-return-value): Signal an error if the debugging context does
19608 not await any return value.
19609
19610 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19611 * image-mode.el (image-toggle-display-text)
19612 (image-toggle-display-image): Stay away from evil `intangible'.
19613
19614 2011-09-19 Leo Liu <sdl.web@gmail.com>
19615
19616 * replace.el (occur-revert-arguments): Make it permanent-local.
19617 (occur-mode): Don't call font-lock-defontify.
19618
19619 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19620
19621 * net/ldap.el (ldap-search-internal): Don't push empty search
19622 result (Bug#9508).
19623
19624 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19625
19626 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19627
19628 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19629
19630 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19631 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19632
19633 2011-09-18 Juri Linkov <juri@jurta.org>
19634
19635 * buff-menu.el (Buffer-menu-mode-map):
19636 * dired.el (dired-mode-map):
19637 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19638 (lisp-interaction-mode-map):
19639 * emacs-lisp/package.el (package-menu-mode-map):
19640 * epa.el (epa-key-list-mode-map):
19641 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19642 (menu-bar-options-menu):
19643 * outline.el (outline-mode-menu-bar-map):
19644 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19645 * vc/vc-dir.el (vc-dir-menu-map):
19646 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19647 Capitalize non-function content words in menu item strings.
19648
19649 * dired.el (dired-mode-map): Add menu item for
19650 `image-dired-dired-toggle-marked-thumbs'.
19651
19652 2011-09-18 Juri Linkov <juri@jurta.org>
19653
19654 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19655 to `isearch-case-fold-search' and restore its original value
19656 after the `isearch-mode' call.
19657
19658 2011-09-18 Juri Linkov <juri@jurta.org>
19659
19660 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19661 because `zgrep' returns 1 for successful matches (bug#9226).
19662
19663 2011-09-18 Juri Linkov <juri@jurta.org>
19664
19665 * info.el (Info-extract-menu-node-name): Check the second match
19666 for empty string (second test-case of bug#9528).
19667 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19668 intermediate nodes to the history (first test-case of bug#9528).
19669
19670 2011-09-18 Juri Linkov <juri@jurta.org>
19671
19672 * info.el (Info-mode-syntax-table): New variable.
19673 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19674
19675 2011-09-18 Juri Linkov <juri@jurta.org>
19676
19677 * info.el (Info-file-supports-index-cookies):
19678 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19679 outputs one more line for long file names (bug#4142).
19680
19681 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19682
19683 * newcomment.el (comment-normalize-vars): If prompting for
19684 comment-start, set comment-start-skip too (Bug#8424).
19685
19686 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19687
19688 * icomplete.el: Fix previous fix of Bug#5849.
19689 (icomplete-mode): Don't set completion-show-inline-help.
19690 (icomplete-minibuffer-setup): Set completion-show-inline-help
19691 locally during icompletion.
19692
19693 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19694
19695 * woman.el (woman2-process-escapes): Don't delete unrecognized
19696 escapes (Bug#7843).
19697
19698 * files.el (inhibit-first-line-modes-regexps): Add image files.
19699 (hack-local-variables-prop-line): Return nil for malformed
19700 prop-lines (Bug#9044).
19701
19702 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19703
19704 * net/tramp.el (top): Don't require 'shell.
19705 (tramp-methods): Fix docstring.
19706 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19707 Return complete remote file name. Handle "smb" case.
19708 Use `tramp-tmpdir', if defined for the respective method.
19709 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19710
19711 * net/tramp-compat.el (top): Require 'shell.
19712
19713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19714 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19715 `tramp-current-host'.
19716 (tramp-get-remote-tmpdir): Remove.
19717
19718 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19719 `tramp-tmpdir' entries.
19720 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19721 (tramp-smb-handle-file-attributes): Ignore errors.
19722 (tramp-smb-wait-for-output): Check also for process end.
19723
19724 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19725
19726 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19727 when sending QUIT (bug#9312).
19728
19729 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19730
19731 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19732 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19733 occur-mode-display-occurrence.
19734 (occur-edit-mode): Add usage message.
19735 (occur-cease-edit): New command.
19736 (occur-after-change-function): Use text properties to find the
19737 position of the prefix text.
19738 (occur-engine): Set stickiness of prefix text properties.
19739
19740 2011-09-17 Glenn Morris <rgm@gnu.org>
19741
19742 * progmodes/etags.el (complete-tag):
19743 Fix call to completion-in-region. (Bug#9526)
19744
19745 2011-09-17 Juri Linkov <juri@jurta.org>
19746
19747 * textmodes/ispell.el (ispell-word): Add to the error message
19748 the word, ispell program name and current dictionary (bug#9121).
19749 (ispell-tex-arg-end): Capitalize "error" in the error message.
19750
19751 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19752
19753 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19754 check. (Bug#4251)
19755
19756 2011-09-17 Juri Linkov <juri@jurta.org>
19757
19758 * window.el (window-safe-min-height, window-safe-min-width):
19759 Fix typos (followup to bug#9522).
19760
19761 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19762
19763 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19764
19765 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19766
19767 * simple.el (line-move): If goal-column is set, move by logical
19768 lines, not by display lines. (Bug#971)
19769 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19770 to reflect the above change.
19771
19772 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19773
19774 * image.el (imagemagick-register-types): Use regexp-opt.
19775
19776 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19777
19778 * window.el (display-buffer-base-action): Rename from
19779 display-buffer-default-action. Make default value empty.
19780 (display-buffer-overriding-action): Convert to defvar.
19781 (display-buffer-fallback-action): New var.
19782
19783 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19784
19785 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19786 declaration.
19787 (package--add-to-archive-contents): If there is a duplicate entry
19788 with an older version, remove it.
19789 (package-menu-mark-delete, package-menu-mark-install)
19790 (package-menu-mark-unmark): Make unused args optional.
19791 (package-menu-mark-obsolete-for-deletion):
19792 Use package-menu-get-status instead of a regexp search.
19793 (package-menu-get-status): Use tabulated-list-entry.
19794 (package-menu-mark-upgrades): New command.
19795 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19796 (package-menu-execute): Do installation before deletion.
19797 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19798 instead of checking major-mode.
19799 (package-menu--find-upgrades): New function.
19800
19801 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19802
19803 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19804 passwords in the log buffer.
19805 (smtpmail-process-filter): Update the process marker so that the
19806 "broken by peer" status message is inserted in the right place.
19807
19808 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19811 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19812 bibtex-completion-at-point-function.
19813 (bibtex-completion-at-point-function): Use them.
19814
19815 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19816
19817 * mpc.el (mpc-constraints-tag-lookup): New function.
19818 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19819 also to browser "album|playlist".
19820
19821 2011-09-14 Juri Linkov <juri@jurta.org>
19822
19823 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19824 (isearch-edit-string): Use length of `isearch-string' when
19825 `isearch-fail-pos' returns nil.
19826 (isearch-message): Remove duplicate code and call
19827 `isearch-fail-pos' with arg `t'.
19828
19829 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19830
19831 * replace.el (occur-mode-goto-occurrence): Don't force using other
19832 window (Bug#9499).
19833
19834 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19835
19836 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19837
19838 * window.el (display-buffer-window): Remove.
19839 (display-buffer-record-window): Use help-setup window parameter
19840 instead of variable display-buffer-window.
19841 (display-buffer-function, special-display-buffer-names)
19842 (special-display-function): Mention help-setup parameter instead
19843 of display-buffer-window in doc-string.
19844 * help.el (help-window-setup): New argument help-window.
19845 Use help-window-setup parameter instead of display-buffer-window.
19846 Reword some messages.
19847 (with-help-window): Pass window used for displaying the buffer
19848 to help-window-setup. Don't set display-buffer-window.
19849
19850 2011-09-13 Glenn Morris <rgm@gnu.org>
19851
19852 * emacs-lisp/debug.el (debugger-make-xrefs):
19853 Preserve point. (Bug#9462)
19854
19855 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * window.el (window-deletable-p): Use next-frame.
19858
19859 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19860
19861 * window.el (window-auto-delete): Remove.
19862 (window-deletable-p): Remove argument FORCE. Don't deal with
19863 dedication and previous buffers.
19864 (switch-to-prev-buffer): Don't delete window.
19865 (delete-windows-on): Delete a window's frame if and only if the
19866 window is dedicated.
19867 (replace-buffer-in-windows): Delete buffer's window or frame if
19868 and only if window is dedicated.
19869 (quit-window): Handle quit-restore as before last change.
19870 (bury-buffer): Delete window only if window-deletable-p returns t.
19871
19872 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19873
19874 * window.el (window-deletable-p): Never delete the last frame on a
19875 given terminal.
19876
19877 2011-09-13 Glenn Morris <rgm@gnu.org>
19878
19879 * help.el (describe-key-briefly): Copy previous standard-output change.
19880
19881 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19882
19883 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19884
19885 2011-09-13 Glenn Morris <rgm@gnu.org>
19886
19887 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19888 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19889
19890 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19891
19892 * dired-aux.el (dired-mark-read-string): Don't return default
19893 value on empty input (Bug#9361).
19894 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19895 Omit initial minibuffer contents.
19896 (dired-do-chmod): Signal an error on empty input.
19897 (dired-mark-read-string): Don't return default on empty input.
19898
19899 * files.el (file-modes-symbolic-to-number): Doc fix.
19900
19901 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19902
19903 * international/mule-cmds.el (ucs-completions): Remove.
19904 (read-char-by-name): Use complete-with-action instead; add metadata.
19905
19906 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19907
19908 * window.el (display-buffer--action-function-custom-type)
19909 (display-buffer--action-custom-type): New vars.
19910 (display-buffer-alist, display-buffer-default-action)
19911 (display-buffer-overriding-action): Add defcustom types.
19912
19913 * frame.el (delete-other-frames): Doc fix (Bug#276).
19914
19915 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19916
19917 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19918
19919 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19920
19921 Change modes that used same-window-* vars to use switch-to-buffer.
19922
19923 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19924 Use switch-to-buffer.
19925
19926 * cus-edit.el (customize-group, custom-buffer-create)
19927 (customize-browse, custom-buffer-create-other-window):
19928 Use switch-to-buffer or switch-to-buffer-other-window.
19929
19930 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19931 (Info-prev, Info-up, Info-speedbar-goto-node)
19932 (info-display-manual): Use switch-to-buffer.
19933 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19934
19935 * mail/sendmail.el (mail): Use switch-to-buffer.
19936 (mail-recover): Use switch-to-buffer-other-window.
19937
19938 * cmuscheme.el (run-scheme, switch-to-scheme):
19939 * ielm.el (ielm):
19940 * shell.el (shell):
19941 * net/rlogin.el (rlogin):
19942 * net/telnet.el (telnet, rsh):
19943 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19944
19945 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19946
19947 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19948
19949 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19950
19951 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19952 so don't mention it (bug#9301).
19953 (dired-sort-toggle-or-edit): Clarify string further.
19954
19955 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19956 match `x', `w32' and `ns', like the manual says (bug#9029).
19957
19958 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19959 (process-kill-buffer-query-function): Mention the buffer name in
19960 the query.
19961
19962 * image-mode.el (image-next-line): The line parameter is mandatory
19963 (bug#9258).
19964
19965 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19966 which can be useful (bug#9301).
19967
19968 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19969
19970 * subr.el (match-string): Mention that the current buffer should
19971 be the same as the search was done in (bug#9282).
19972
19973 * facemenu.el: Disable the remove-* commands if the mark isn't
19974 active (bug#9162).
19975
19976 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19977
19978 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19979 of display-buffer.
19980 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19981
19982 * replace.el (occur-mode-goto-occurrence)
19983 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19984 and display-buffer.
19985
19986 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19987 display-buffer.
19988
19989 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19990 special-display and same-window variables.
19991 (mail-other-window): Use switch-to-buffer-other-window.
19992 (mail-other-frame): USe switch-to-buffer-other-frame.
19993
19994 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19995 Use display-buffer-other-frame.
19996 (gdb-display-gdb-buffer): Use pop-to-buffer.
19997
19998 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19999
20000 * progmodes/python.el: Don't set same-window-buffer-names.
20001
20002 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20003
20004 * window.el (display-buffer-alist): Add *Python*.
20005
20006 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20007
20008 * window.el (display-buffer-alist): Add entry for buffers
20009 previously handled same-window-*.
20010 (display-buffer-alist, display-buffer-default-action)
20011 (display-buffer-overriding-action): Mark as risky.
20012 (display-buffer-alist): Document action function changes.
20013 (display-buffer--same-window-action)
20014 (display-buffer--other-frame-action): New variables.
20015 (switch-to-buffer, display-buffer-other-frame): Use them.
20016 (display-buffer): Rename reuse-frame entry to reusable-frames.
20017 (display-buffer-reuse-selected-window): Function deleted.
20018 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20019 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20020 (display-buffer-special): New function.
20021 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20022 display-buffer-reuse-or-pop-window. Split off special-display
20023 part into display-buffer-special.
20024 (display-buffer-use-some-window): Don't perform any special
20025 pop-up-frames handling.
20026 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20027 (display-buffer--maybe-same-window): Rename from
20028 display-buffer-maybe-same-window.
20029
20030 * info.el: Don't set same-window-regexps.
20031 (info-setup): New function.
20032 (info-other-window, info): Call it.
20033
20034 * cus-edit.el: Don't set same-window-regexps.
20035 (customize-group): New argument.
20036 (customize-group-other-window): Use it.
20037 (customize-face, customize-face-other-window): Likewise.
20038 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20039
20040 * net/rlogin.el:
20041 * net/telnet.el:
20042 * progmodes/gud.el: Don't set same-window-regexps.
20043
20044 * cmuscheme.el:
20045 * ielm.el:
20046 * shell.el:
20047 * mail/sendmail.el:
20048 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20049
20050 2011-09-10 Juri Linkov <juri@jurta.org>
20051
20052 * isearch.el (isearch-edit-string): Remove obsolete mention of
20053 `C-w' (`isearch-yank-word-or-char') from docstring.
20054 (isearch-query-replace): Fix typo in docstring (bug#9466).
20055
20056 2011-09-10 Juri Linkov <juri@jurta.org>
20057
20058 * paren.el (show-paren-function): Don't show escaped parens.
20059 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20060
20061 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20062
20063 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20064 (mm-default-file-encoding): Remove autoload forms, they are
20065 replaced with autoload cookies in mml.el and mm-encode.el.
20066 (mail-add-attachment): New command.
20067 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20068 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20069 the doc string.
20070 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20071
20072 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20073
20074 * simple.el (count-words-region): Use buffer if there's no region
20075 (bug#9429).
20076
20077 2011-09-09 Juri Linkov <juri@jurta.org>
20078
20079 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20080 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20081 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20082
20083 2011-09-09 Alan Mackenzie <acm@muc.de>
20084
20085 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20086 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20087
20088 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20089
20090 Fix for Savannah bug#9392.
20091 * simple.el (mail-encode-mml): New defvar.
20092
20093 * mail/rmail.el (mail-encode-mml): Add a defvar.
20094 (rmail-enable-mime-composing): Default to t.
20095 (rmail-forward): Use MIME method of forwarding only if both
20096 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20097 Set mail-encode-mml non-nil if the MIME method was used.
20098
20099 * mail/sendmail.el (mml-to-mime): Add autoload form.
20100 (mail-encode-mml): Add a defvar.
20101 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20102 to nil.
20103 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20104 message through mml-to-mime, and reset mail-encode-mml to nil.
20105
20106 2011-09-09 Glenn Morris <rgm@gnu.org>
20107
20108 * woman.el (woman-if-body): When processing an .el block,
20109 do not delete the next .el block as well. (Bug#9447)
20110 (woman-special-characters): Add oq, cq, and hy characters.
20111
20112 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20113
20114 * window.el (window-deletable-p): Make sure window is live before
20115 invoking window-prev-buffers.
20116
20117 2011-09-08 Leo Liu <sdl.web@gmail.com>
20118
20119 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20120
20121 2011-09-08 Juri Linkov <juri@jurta.org>
20122
20123 * progmodes/compile.el (compilation-environment): Make it
20124 a defcustom (bug#8340).
20125
20126 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20127
20128 * window.el (frame-auto-delete): Rename to window-auto-delete.
20129 Make it control auto-deletion of windows and/or frames.
20130 (window-deletable-p): New argument FORCE. Rewrite conditions
20131 for deleting window/frame. (Bug#9419)
20132 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20133 Rewrite handling of case when window/frame can be deleted.
20134 (delete-windows-on): Call window-deletable-p with new FORCE
20135 argument t. (Bug#9456)
20136
20137 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20138
20139 * help-mode.el (help-mode): Restore autoload.
20140
20141 2011-09-07 Juri Linkov <juri@jurta.org>
20142
20143 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20144 `compilation-environment'. Set buffer-local
20145 `compilation-environment' to `thisenv' later after (funcall mode).
20146 (Bug#8340)
20147
20148 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20149 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20150 instead of replacing its value. (Bug#8340)
20151
20152 2011-09-07 Juri Linkov <juri@jurta.org>
20153
20154 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20155 based on text properties put by `grep-filter' instead of matching
20156 escape sequences.
20157 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20158 to the value of `grep-error-screen-columns' (bug#9438).
20159
20160 2011-09-07 Juri Linkov <juri@jurta.org>
20161
20162 * simple.el (next-error-highlight, next-error-highlight-no-select):
20163 Doc fix (bug#9432).
20164
20165 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20166
20167 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20168 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20169
20170 2011-09-07 Leo Liu <sdl.web@gmail.com>
20171
20172 * net/rcirc.el (rcirc-mode): Conditionally initialize
20173 rcirc-input-ring.
20174
20175 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20176
20177 * emacs-lisp/find-func.el (find-function-C-source): Only set
20178 find-function-C-source-directory after checking that we found a source
20179 file there (bug#9440).
20180
20181 2011-09-06 Alan Mackenzie <acm@muc.de>
20182
20183 * isearch.el (isearch-other-meta-char): Wherever a key list is
20184 unread, "unread" the prefix arg, too. This fixes bug #8901.
20185
20186 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20187
20188 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20189
20190 2011-09-05 Juri Linkov <juri@jurta.org>
20191
20192 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20193
20194 2011-09-05 Juri Linkov <juri@jurta.org>
20195
20196 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20197 keeping point where processing of grep matches begins, and
20198 continue to delete remaining escape sequences from the same point.
20199 (grep-filter): Make leading zero optional in "0?1;31m" because
20200 git-grep emits "\033[1;31m" escape sequences unlike expected
20201 "\033[01;31m" as GNU Grep does (bug#9408).
20202 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20203
20204 2011-09-05 Juri Linkov <juri@jurta.org>
20205
20206 * subr.el (y-or-n-p): Capitalize "yes".
20207
20208 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20209
20210 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20211 `tramp-cache-unload-hook' where appropriate.
20212 (tramp-methods): Rename `tramp-remote-sh' to
20213 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20214 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20215
20216 * net/tramp-sh.el (top): Don't require 'shell.
20217 (tramp-methods): Add `tramp-remote-shell' and
20218 `tramp-remote-shell-args' entries.
20219 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20220 (tramp-sh-handle-shell-command): Remove.
20221 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20222 Use `tramp-remote-shell'.
20223
20224 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20225
20226 * mail/sendmail.el (sendmail-query-once-function): Delete.
20227 (sendmail-query-once): Save directly to send-mail-function.
20228 Update message-send-mail-function too.
20229
20230 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20231
20232 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20233
20234 * progmodes/python.el (python-mode-map): Use correct function to
20235 start python interpreter from menu-bar (as reported by Geert
20236 Kloosterman).
20237 (inferior-python-mode-map): Fix typo.
20238 (python-shell-map): Remove.
20239
20240 2011-09-03 Deniz Dogan <deniz@dogan.se>
20241
20242 * net/rcirc.el (rcirc-print): Simplify code for
20243 rcirc-scroll-show-maximum-output. There is no need to walk
20244 through all windows to find the right one.
20245
20246 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20247
20248 * help.el (help-return-method): Doc fix.
20249
20250 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20251
20252 * window.el (window-deletable-p): Don't return a non-nil value
20253 when there's a buffer that was shown in the window before.
20254 (Bug#9419)
20255 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20256 Set window's previous buffers to nil.
20257
20258 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20259
20260 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20261 newline before and after the tag line, so it doesn't interfere
20262 with determining the paragraph direction of bidirectional text.
20263
20264 2011-09-03 Leo Liu <sdl.web@gmail.com>
20265
20266 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20267
20268 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20269
20270 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20271 (pop-to-buffer): Change interactive spec. Pass second argument
20272 directly to display-buffer.
20273 (display-buffer): Fix interactive spec. Use functionp to
20274 distinguish between a function and a list of functions.
20275
20276 * abbrev.el (edit-abbrevs):
20277 * arc-mode.el (archive-extract):
20278 * autoinsert.el (auto-insert):
20279 * bookmark.el (bookmark-bmenu-list):
20280 * files.el (find-file):
20281 * view.el (view-buffer):
20282 * progmodes/compile.el (compilation-goto-locus):
20283 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20284
20285 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20286
20287 * window.el (display-buffer-alist): Doc fix.
20288 (display-buffer): Add docstring. Don't treat
20289 display-buffer-default specially.
20290 (display-buffer-reuse-selected-window)
20291 (display-buffer-same-window, display-buffer-maybe-same-window)
20292 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20293 (display-buffer-pop-up-window)
20294 (display-buffer-reuse-or-pop-window)
20295 (display-buffer-use-some-window): New functions.
20296 (display-buffer-default-action): Use them.
20297 (display-buffer-default): Delete.
20298 (pop-to-buffer-1): Fix choice of actions.
20299
20300 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20301
20302 * minibuffer.el (completion--insert-strings): Don't get confused by
20303 completion entries that end with an LF char.
20304
20305 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20306
20307 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20308
20309 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20310
20311 * window.el (display-buffer): Restore interactive spec.
20312 (display-buffer-same-window, display-buffer-other-window):
20313 New functions.
20314 (pop-to-buffer-1): New function. Use the above.
20315 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20316 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20317
20318 * view.el (view-buffer-other-window, view-buffer-other-frame):
20319 Just use pop-to-buffer.
20320
20321 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20322
20323 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20324
20325 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20326
20327 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20328
20329 2011-08-31 Richard Stallman <rms@gnu.org>
20330
20331 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20332 of the separation of rmail-view-buffer from rmail-buffer.
20333 If you say no to "replace original", the decrypt is in the
20334 view buffer. If you say yes, the decrypt goes into the
20335 rmail buffer also.
20336
20337 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20338
20339 * window.el (display-buffer-window): Rewrite doc-string.
20340 (display-buffer-record-window): New function.
20341 (display-buffer-macro-specifiers)
20342 (display-buffer-even-window-sizes, display-buffer-set-height)
20343 (display-buffer-set-width, display-buffer-in-window)
20344 (display-buffer-reuse-window, display-buffer-split-specifiers)
20345 (display-buffer-side-specifiers, display-buffer-split-window-1)
20346 (display-buffer-split-window, display-buffer-split-atom-window)
20347 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20348 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20349 (display-buffer-other-window-means-other-frame)
20350 (display-buffer-normalize-special)
20351 (display-buffer-normalize-default)
20352 (display-buffer-normalize-argument)
20353 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20354 (display-buffer-normalize-specifiers, display-buffer-frame)
20355 (display-buffer-same-window, display-buffer-same-frame)
20356 (display-buffer-other-window)
20357 (display-buffer-same-frame-other-window)
20358 (display-buffer-other-frame, pop-to-buffer-same-window)
20359 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20360 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20361 (switch-to-buffer-same-frame)
20362 (switch-to-buffer-other-window-same-frame)
20363 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20364 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20365 (display-buffer-alist-set): Remove.
20366 (display-buffer-function, special-display-buffer-names)
20367 (special-display-regexps, special-display-function):
20368 In doc-string refer to display-buffer-window and quit-restore
20369 parameter.
20370 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20371 (special-display-frame-alist, special-display-popup-frame)
20372 (same-window-buffer-names, same-window-regexps, same-window-p)
20373 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20374 (split-window-preferred-function, split-height-threshold)
20375 (split-width-threshold, window-splittable-p)
20376 (split-window-sensibly, window--try-to-split-window)
20377 (window--frame-usable-p, even-window-heights)
20378 (window--even-window-heights, window--display-buffer-1)
20379 (window--display-buffer-2, display-buffer-other-frame):
20380 Restore old Emacs 23 code, order and doc-strings where applicable.
20381 (display-buffer-default, display-buffer-assq-regexp): New functions.
20382 (display-buffer-alist): Rewrite doc-string.
20383 (display-buffer-default-action)
20384 (display-buffer-overriding-action): New variables.
20385 (display-buffer, switch-to-buffer): Rewrite.
20386 (pop-to-buffer): Restore Emacs 23 behavior but use
20387 window-normalize-buffer-to-display.
20388 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20389 Restore Emacs 23 behavior but use
20390 window-normalize-buffer-to-switch-to.
20391 (pop-to-buffer-same-window): Rewrite.
20392 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20393 Rewrite using Emacs 23 options.
20394
20395 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20396
20397 * net/tramp.el (tramp-root-regexp): Remove.
20398 (tramp-completion-file-name-regexp-unified)
20399 (tramp-completion-file-name-regexp-separate)
20400 (tramp-completion-file-name-regexp-url): Don't use leading volume
20401 letter on w32 systems. (Bug#5303, Bug#9311)
20402 (tramp-drop-volume-letter): Simplify definition.
20403 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20404
20405 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20406
20407 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20408 (bug#9356).
20409
20410 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20411
20412 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20413
20414 2011-08-29 Juri Linkov <juri@jurta.org>
20415
20416 * isearch.el (isearch-done): Don't display message "Mark saved"
20417 when arg `edit' is non-nil to prevent its flicker in the echo area.
20418
20419 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20420
20421 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20422 obsolete packages for deletion.
20423
20424 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20425
20426 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20427 (help-mode): Derive help-mode from special-mode. Don't invoke
20428 view-mode from help-mode.
20429 (help-xref-override-view-map): Remove.
20430 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20431 view-mode is not used anymore.
20432
20433 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20434
20435 * server.el (server-port): Doc fix.
20436
20437 * cus-theme.el (custom-theme-choose-mode): Inherit from
20438 special-mode (Bug#9124).
20439 (custom-theme-choose-mode-map): Add special-mode to parent.
20440
20441 2011-08-28 Alan Mackenzie <acm@muc.de>
20442
20443 * progmodes/cc-fonts.el
20444 (c-make-font-lock-BO-decl-search-function): New function.
20445 (c-basic-matchers-after - "Fontify the clauses after various
20446 keywords"): Extract the three keyword lists for the 3 erroneous
20447 constructs from the list of four, and use the new function above
20448 in place of an old one.
20449
20450 2011-08-28 Deniz Dogan <deniz@dogan.se>
20451
20452 * net/rcirc.el (rcirc-insert-prev-input)
20453 (rcirc-insert-next-input): Remove unused argument.
20454
20455 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20456
20457 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20458
20459 2011-08-27 Alan Mackenzie <acm@muc.de>
20460
20461 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20462 handle function pointer parameters properly.
20463
20464 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20465
20466 * window.el (display-buffer-reuse-window): Fix case where
20467 selected window was reused with non-nil OTHER-WINDOW argument.
20468 (Bug#9381)
20469
20470 2011-08-27 Deniz Dogan <deniz@dogan.se>
20471
20472 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20473 oftc's NickServ messages.
20474
20475 2011-08-27 Glenn Morris <rgm@gnu.org>
20476
20477 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20478
20479 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20480
20481 * emacs-lisp/package.el (package-install): Call package-initialize
20482 if called interactively.
20483
20484 2011-08-26 Leo Liu <sdl.web@gmail.com>
20485
20486 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20487
20488 2011-08-25 Juri Linkov <juri@jurta.org>
20489
20490 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20491 `search-whitespace-regexp' (bug#9364).
20492
20493 2011-08-25 Juri Linkov <juri@jurta.org>
20494
20495 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20496 `regexp-search-ring' to their global values to protect from
20497 updating by `read-from-minibuffer' (bug#9185).
20498
20499 2011-08-25 Juri Linkov <juri@jurta.org>
20500
20501 * textmodes/ispell.el (ispell-command-loop): Add newline
20502 at the end of the "Use option `i'..." line.
20503
20504 2011-08-25 Juri Linkov <juri@jurta.org>
20505
20506 * battery.el (display-battery-mode): If `battery-status-function'
20507 or `battery-mode-line-format' is nil, display the message and set
20508 `display-battery-mode' to nil (bug#9363).
20509
20510 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20511
20512 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20513 bidi-string-mark-left-to-right; they are unnecessary now.
20514
20515 2011-08-25 Deniz Dogan <deniz@dogan.se>
20516
20517 * net/quickurl.el: Documentation typo fixes.
20518
20519 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20520
20521 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20522
20523 2011-08-25 Glenn Morris <rgm@gnu.org>
20524
20525 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20526
20527 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20528 (smtpmail-via-smtp): Handle nil response from smtp.
20529
20530 2011-08-24 Juri Linkov <juri@jurta.org>
20531
20532 * proced.el (proced-marked): Inherit from `error' instead of
20533 `font-lock-warning-face'.
20534
20535 * ibuffer.el (ibuffer-marked-face): Change default face from
20536 `font-lock-warning-face' to `warning'.
20537 (ibuffer-deletion-face): Change default face from
20538 `font-lock-type-face' to `error'.
20539
20540 * battery.el (battery-update): Use the face `error' instead of
20541 `font-lock-warning-face' (bug#6117).
20542
20543 2011-08-24 Juri Linkov <juri@jurta.org>
20544
20545 * faces.el (success): Change face color from "Green3" to
20546 "ForestGreen" on light background (bug#9353).
20547
20548 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20549
20550 * window.el (quit-window): Rename from quit-restore-window.
20551 Use same arglist as old quit-window.
20552 (frame-auto-delete): Doc fix.
20553
20554 * view.el (view-mode-exit): Use quit-window.
20555
20556 2011-08-24 Juri Linkov <juri@jurta.org>
20557
20558 * isearch.el (isearch-ring-adjust1): Start visiting previous
20559 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20560 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20561 for empty search string (when the last search string is reused
20562 automatically) to adjust the isearch ring to the last element and
20563 prepare the correct index for further M-p commands (bug#9185).
20564
20565 2011-08-24 Kenichi Handa <handa@m17n.org>
20566
20567 * international/ucs-normalize.el: If decomposition property of
20568 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20569 nil.
20570 (nfd, nfkd): Likewise.
20571
20572 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20573
20574 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20575 from process filters aren't reliably transmitted to the surrounding
20576 accept-process-output.
20577 (mpc-proc-check): New function.
20578 (mpc-proc-sync): Use it (bug#8293)
20579
20580 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20581
20582 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20583 Add compatibility functions (bug#9313).
20584
20585 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20586
20587 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20588
20589 * international/uni-bidi.el: Regenerate.
20590
20591 2011-08-23 Kenichi Handa <handa@m17n.org>
20592
20593 * international/charprop.el:
20594 * international/uni-bidi.el:
20595 * international/uni-category.el:
20596 * international/uni-combining.el:
20597 * international/uni-comment.el:
20598 * international/uni-decimal.el:
20599 * international/uni-decomposition.el:
20600 * international/uni-digit.el:
20601 * international/uni-lowercase.el:
20602 * international/uni-mirrored.el:
20603 * international/uni-name.el:
20604 * international/uni-numeric.el:
20605 * international/uni-old-name.el:
20606 * international/uni-titlecase.el:
20607 * international/uni-uppercase.el: Regenerate.
20608
20609 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20610
20611 * help.el (help-window-setup): Fix message displayed when other
20612 window is reused. (Bug#9341)
20613
20614 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20615
20616 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20617 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20618
20619 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20620 Mark obsolete.
20621 * shell.el (shell-parse-pcomplete-arguments): New function.
20622 (shell-completion-vars): Use it instead (bug#9160).
20623
20624 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20625
20626 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20627 strings and comments (bug#9333).
20628
20629 * emacs-lisp/debug.el (debug-arglist): New function.
20630 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20631 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20632
20633 2011-08-22 Juri Linkov <juri@jurta.org>
20634
20635 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20636 Revert regexp that highlights output switches to its old
20637 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20638
20639 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20640 to check for empty output (bug#9226).
20641
20642 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20643
20644 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20645 symbol-constituent as the default, as that stops font-lock from
20646 working properly (Bug#8843).
20647
20648 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20649
20650 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20651 `coding-system-for-*' around the process open call to avoid
20652 auth-source side effects.
20653 (smtpmail-try-auth-methods): Expand the secret password.
20654 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20655 probe hangs.
20656
20657 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20658
20659 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20660
20661 * emacs-lisp/find-func.el (find-function-noselect): New arg
20662 lisp-only.
20663
20664 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20665 signal an error for built-in functions (Bug#6664).
20666
20667 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20668
20669 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20670 (smtpmail-try-auth-methods): Use it.
20671
20672 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20673
20674 * font-lock.el (font-lock-fontify-region)
20675 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20676 (font-lock-default-unfontify-buffer)
20677 (font-lock-default-fontify-region)
20678 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20679
20680 * progmodes/compile.el (compilation-error-properties):
20681 Fix confusion between file struct and message struct (Bug#9319).
20682 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20683 `ant' regexp.
20684
20685 * net/browse-url.el (browse-url-firefox): Don't call
20686 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20687
20688 2011-08-20 Glenn Morris <rgm@gnu.org>
20689
20690 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20691
20692 * tutorial.el (tutorial--default-keys): Update some default bindings.
20693
20694 * files.el (hack-local-variables): Fully ignore case for "mode:".
20695
20696 2011-08-20 Alan Mackenzie <acm@muc.de>
20697
20698 Resolve invalid use of a regexp in regexp-opt.
20699
20700 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20701 detection for a java annotation.
20702
20703 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20704 detection for a java annotation.
20705
20706 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20707 handling for java.
20708 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20709
20710 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20711
20712 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20713 (Bug#9274).
20714
20715 2011-08-20 Alan Mackenzie <acm@muc.de>
20716
20717 Fontify CPP expressions correctly when starting in the middle of
20718 such a construct. Mainly for when jit-lock etc. starts a chunk
20719 here.
20720
20721 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20722 variable.
20723 (c-make-font-lock-search-form): New function, extracted from
20724 c-make-font-lock-search-function.
20725 (c-make-font-lock-search-function): Use the above function.
20726 (c-make-font-lock-context-search-function): New function.
20727 (c-cpp-matchers): Enhance the preprocessor expression case with
20728 the above function
20729 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20730 which takes an expression.
20731
20732 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20733
20734 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20735
20736 * window.el (display-buffer-reuse-window)
20737 (display-buffer-pop-up-window): Don't reuse or split a side
20738 window.
20739
20740 2011-08-19 Glenn Morris <rgm@gnu.org>
20741
20742 * files.el (hack-local-variables-prop-line, hack-local-variables):
20743 Downcase "Mode:". (Bug#9331)
20744
20745 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20746
20747 * international/characters.el: Add L and R categories.
20748
20749 * subr.el (bidi-string-mark-left-to-right): Rename from
20750 string-mark-left-to-right. Use category search.
20751
20752 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20753
20754 2011-08-18 Juri Linkov <juri@jurta.org>
20755
20756 * faces.el (error, warning, success): New faces with definitions
20757 copied from old default values of `font-lock-warning-face',
20758 `compilation-warning', `compilation-info' (bug#6117).
20759
20760 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20761
20762 * progmodes/compile.el (compilation-error): Inherit from `error'.
20763 (compilation-warning): Inherit from `warning'.
20764 (compilation-info): Inherit from `success'.
20765
20766 * dired.el (dired-marked): Inherit from `warning'.
20767 (dired-flagged): Inherit from `error'.
20768
20769 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20770
20771 * mail/smtpmail.el (auth-source): Require to avoid problems with
20772 binding variables (bug#9298). Also clean up some unused
20773 autoloads.
20774
20775 * net/network-stream.el (network-stream-open-starttls):
20776 Support using starttls.el without using gnutls-cli.
20777
20778 2011-08-17 Juri Linkov <juri@jurta.org>
20779
20780 * progmodes/grep.el (rgrep): Handle the case when
20781 `grep-find-command' is a cons cell (bug#9278).
20782
20783 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20784
20785 * window.el (display-buffer-pop-up-frame): Run frame creation
20786 function with BUFFER current (as special-display-popup-frame
20787 does). Reported by Drew Adams.
20788
20789 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20790
20791 * epa-mail.el: Simplify GnuPG group expansion using
20792 epg-expand-group.
20793 (epa-mail-group-alist, epa-mail-group-modtime)
20794 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20795 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20796 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20797 Remove.
20798
20799 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20800
20801 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20802
20803 2011-08-16 Alan Mackenzie <acm@muc.de>
20804
20805 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20806 Correct, to avoid the inside of macros.
20807
20808 2011-08-16 Richard Stallman <rms@gnu.org>
20809
20810 * epa-mail.el: Handle GnuPG group definitions.
20811 (epa-mail-group-alist, epa-mail-group-modtime)
20812 (epa-mail-gnupg-conf-file): New variables.
20813 (epa-mail-parse-groups, epa-mail-sync-groups)
20814 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20815 (epa-mail-expand-recipients): New functions.
20816 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20817
20818 * mail/rmail.el (rmail-epa-decrypt): New command.
20819
20820 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20821 Don't bind buffer-read-only, just inhibit-read-only.
20822 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20823 (epa-decrypt-armor-in-region): Make error message clearer.
20824
20825 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20826
20827 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20828 and "a2b" to "ab" for `prefix'.
20829
20830 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20831
20832 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20833 filter groups.
20834 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20835 Fourquet (Bug#8804).
20836
20837 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20838
20839 * startup.el (argi): Declare as global variable (bug#9275).
20840
20841 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20842
20843 * subr.el (string-mark-left-to-right): Search the entire string
20844 for RTL script, not just the terminating character. Doc fix.
20845
20846 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20847
20848 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20849 New function.
20850 (js--regexp-literal, js-syntax-propertize-function): Remove.
20851 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20852 (js-mode-map): Don't rebind electric keys.
20853 (js-insert-and-indent): Remove.
20854 (js-mode): Setup electric-layout and electric-indent instead.
20855
20856 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20857
20858 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20859
20860 * epa.el (epa-progress-callback-function): Fix the logic of
20861 displaying progress.
20862 * epa-file.el (epa-file-insert-file-contents): Make progress
20863 display more user-friendly.
20864 (epa-file-write-region): Ditto.
20865
20866 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20867
20868 * subr.el (string-mark-left-to-right): New function.
20869
20870 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20871 Use string-mark-left-to-right.
20872 (list-buffers-noselect): Caller changed.
20873
20874 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20875 Use string-mark-left-to-right.
20876 (tabulated-list-print): Recenter after moving point.
20877
20878 2011-08-10 Juri Linkov <juri@jurta.org>
20879
20880 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20881 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20882 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20883
20884 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20885
20886 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20887 (Bug#7554).
20888
20889 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20890
20891 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20892 character. (Bug#6594)
20893
20894 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20895
20896 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20897 (image-dired--with-db-file): New macro.
20898 (image-dired-write-tags, image-dired-remove-tag)
20899 (image-dired-create-gallery-lists, image-dired-write-comments)
20900 (image-dired-get-comment, image-dired-mark-tagged-files)
20901 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20902 (image-dired-gallery-generate): Use insert-file-contents.
20903
20904 * time.el (display-time-world-list, display-time-world-display):
20905 * time-stamp.el (time-stamp-string):
20906 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20907 set-time-zone-rule (Bug#7337).
20908
20909 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20910
20911 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20912 (epg-error-to-string, epg-errors-to-string): New function.
20913 (epg-wait-for-completion): Reverse errors list.
20914 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20915 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20916 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20917 (epg-sign-keys, epg-generate-key-from-file)
20918 (epg-generate-key-from-string): Format errors by using
20919 epg-errors-to-string (bug#9255).
20920 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20921
20922 2011-08-07 Juri Linkov <juri@jurta.org>
20923
20924 * faces.el (list-faces-display): Remove extra angle bracket
20925 from `help-mode-map'.
20926
20927 * info.el (Info-history-toc-nodes): Doc fix.
20928
20929 * longlines.el (longlines-mode): Doc fix.
20930
20931 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20932
20933 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20934 of statements and in a few more cases (bug#9183).
20935
20936 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20937 New functions.
20938 (cl-transform-lambda): Use them (bug#9239).
20939
20940 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20941
20942 * window.el (display-buffer-same-window)
20943 (display-buffer-same-frame, display-buffer-other-window)
20944 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20945 (pop-to-buffer-other-window)
20946 (pop-to-buffer-same-frame-other-window)
20947 (pop-to-buffer-other-frame): Make them defuns.
20948 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20949
20950 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20951
20952 * subr.el (make-composed-keymap): Move from C. Change calling
20953 convention, and improve docstring to bring attention to a subtle point.
20954 * minibuffer.el (completing-read-default): Adjust accordingly.
20955
20956 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20957
20958 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20959 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20960
20961 * net/trampver.el: Update release number.
20962
20963 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20964
20965 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20966 "in" (bug#9190).
20967
20968 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20969
20970 * mail/sendmail.el (sendmail-query-once): Restore the current
20971 buffer after querying (bug#9074).
20972
20973 * dired.el (dired-flagged): Use different faces for marked and
20974 flagged files (bug#6117).
20975
20976 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20977 (bug#4433).
20978
20979 * ido.el (ido-mode): Switch off the message if called
20980 non-interactively.
20981
20982 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20983 before 587, since it appears that that's more likely to work for
20984 more people.
20985
20986 * cus-edit.el (custom-file): When running under emacs -q, always
20987 refuse to save the customizations, even if the .emacs file doesn't
20988 exist.
20989
20990 * info.el: Remove the `Info-beginning-of-buffer' function
20991 (bug#8325).
20992
20993 * net/network-stream.el (network-stream-open-starttls):
20994 Use `starttls-available-p' to see whether starttls.el can be used.
20995
20996 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20997
20998 * window.el (display-buffer-in-window): Don't set dedicated status
20999 of window here (Bug#9215).
21000 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21001 (display-buffer-pop-up-side-window)
21002 (display-buffer-in-side-window): Set dedicated status of window here.
21003
21004 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21005
21006 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21007 before binding generated-autoload-file.
21008
21009 2011-08-01 Deniz Dogan <deniz@dogan.se>
21010
21011 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21012
21013 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21014
21015 Sync with Tramp 2.2.2.
21016
21017 * net/trampver.el: Update release number.
21018
21019 2011-07-30 Juri Linkov <juri@jurta.org>
21020
21021 * dired-aux.el (dired-touch-initial): Remove function.
21022 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21023 current time, and `default' to the last modification time of the
21024 current marked file (bug#6887).
21025
21026 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21027
21028 * simple.el (goto-line): Use string-to-number to provide a
21029 numeric argument to read-number (bug#9163).
21030
21031 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21032
21033 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21034 connection process, it could be nil.
21035
21036 2011-07-27 Leo Liu <sdl.web@gmail.com>
21037
21038 Simplify url handling in rcirc-mode.
21039
21040 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21041 (rcirc-browse-url-at-mouse): Remove.
21042 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21043
21044 2011-07-26 Alan Mackenzie <acm@muc.de>
21045
21046 Fontify bitfield declarations properly.
21047
21048 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21049 (c-symbol-chars): Now exported as a lang variable.
21050 (c-not-primitive-type-keywords): New lang variable.
21051
21052 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21053 QT keyword "more" to prevent "more slots: ...." being spuriously
21054 parsed as a bitfield declaration.
21055
21056 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21057 Refactor and enhance to handle bitfield declarations.
21058 (c-punctuation-in): New function.
21059 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21060 declarations properly.
21061
21062 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21063
21064 * calendar/icalendar.el (icalendar--all-events): Take care of
21065 multiple vcalendars in a single file.
21066 (icalendar--convert-float-to-ical): Checkdoc fixes.
21067
21068 2011-07-25 Deniz Dogan <deniz@dogan.se>
21069
21070 * image.el (insert-image): Clarifying docstring.
21071
21072 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21073
21074 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21075 `tramp-send-command-and-check' if there is no error.
21076 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21077
21078 2011-07-22 Alan Mackenzie <acm@muc.de>
21079
21080 Prevent cc-langs.elc being loaded at run time.
21081
21082 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21083 cc-langs.
21084
21085 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21086 "(require 'cc-langs)". Quote a form so it will evaluate at
21087 (cc-mode's) compilation time.
21088
21089 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21090
21091 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21092 loading. (Bug#9114)
21093
21094 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21095
21096 * window.el (display-buffer-pop-up-window)
21097 (display-buffer-pop-up-side-window)
21098 (display-buffer-in-side-window): Call display-buffer-set-height
21099 and display-buffer-set-width after setting the new window's
21100 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21101
21102 2011-07-20 Sam Steingold <sds@gnu.org>
21103
21104 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21105 (etags-tags-included-tables): Call `convert-standard-filename' on
21106 the file names contained in TAGS so that windows Emacs can handle
21107 TAGS files created by cygwin ctags.
21108
21109 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21110
21111 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21112 which apparently didn't work.
21113
21114 2011-07-19 Roland Winkler <winkler@gnu.org>
21115
21116 * proced.el (proced-send-signal): For *Marked Processes* buffer
21117 put point at beginning of buffer.
21118
21119 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21120
21121 * proced.el (proced-format): Make header lines align with the text
21122 (bug#1779).
21123
21124 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21125
21126 * view.el (view-buffer): Allow running in `special' modes if we're
21127 visiting a file (bug#8615).
21128
21129 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21130
21131 * window.el (display-buffer-alist-of-strings-p)
21132 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21133 New functions.
21134 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21135 more accurately.
21136
21137 2011-07-18 Alan Mackenzie <acm@muc.de>
21138
21139 Fontify declarators properly when, e.g., a jit-lock chunk begins
21140 inside a declaration.
21141
21142 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21143
21144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21145 New function.
21146 (c-complex-decl-matchers): Insert reference to
21147 c-font-lock-enclosing-decls.
21148
21149 * progmodes/cc-engine.el (c-backward-single-comment):
21150 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21151 to nil around calls to (forward-comment -1).
21152
21153 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21154
21155 * image.el (put-image): Doc typo fix.
21156
21157 * progmodes/etags.el (tags-search): Doc typo fix.
21158
21159 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21160 password if we get errors 550 to 554.
21161
21162 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21163
21164 * net/gnutls.el (gnutls-log-level): Remove.
21165
21166 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21167 indentation character (bug#6380).
21168
21169 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21170
21171 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21172 to clarify what the problem is (bug#4291).
21173
21174 * simple.el (current-kill): Clarify what
21175 `interprogram-paste-function' does (bug#7500).
21176 (auto-fill-mode): Document `auto-fill-function' in relation to
21177 `auto-fill-mode' (bug#2470).
21178
21179 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21180
21181 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21182 method if slot is read-only (bug#9035).
21183
21184 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21185
21186 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21187 * window.el (pop-to-buffer): Select window used even if it was
21188 selected before, see discussion of (Bug#8615), (Bug#6954).
21189 Pass argument NORECORD on to select-frame-set-input-focus.
21190
21191 2011-07-15 Glenn Morris <rgm@gnu.org>
21192
21193 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21194 Respect help-form.
21195
21196 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21197
21198 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21199 (gnutls-negotiate): Use it.
21200
21201 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21202
21203 * net/gnutls.el (gnutls-negotiate):
21204 Upcase `gnutls-algorithm-priority'.
21205
21206 2011-07-15 Glenn Morris <rgm@gnu.org>
21207
21208 * jka-compr.el (jka-compr-verbose): Move from here...
21209 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21210 Add missing :version tag.
21211 * info.el: No need to require jka-compr when compiling.
21212
21213 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21214
21215 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21216 (gnutls-negotiate): Use it.
21217
21218 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21219
21220 * info.el (Info-beginning-of-buffer): New command.
21221 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21222 announcing `b' as the key (bug#8325).
21223 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21224
21225 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21226
21227 * international/mule-cmds.el
21228 (describe-specified-language-support): Make the error message
21229 clearer (bug#8905).
21230
21231 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21232
21233 * isearch.el (isearch-barrier): Add a doc string, since it's
21234 mentioned in a function doc string (bug#8678).
21235
21236 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21237
21238 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21239 buffer argument (Bug#9083) and self-identifying label argument.
21240
21241 2011-07-15 Glenn Morris <rgm@gnu.org>
21242
21243 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21244
21245 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21246
21247 * man.el (Man-fontify-manpage): Fix message when formatting the
21248 man page (bug#7929).
21249
21250 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21251
21252 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21253 argument LRM; if non-nil, append an invisible LRM character to the
21254 buffer name.
21255 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21256 last argument non-nil, when formatting buffer names.
21257 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21258 paragraph direction.
21259
21260 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21261
21262 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21263 the man page name (bug#7929).
21264
21265 * image.el (put-image): Mention the `put-image' overlay property
21266 (bug#7834).
21267
21268 * scroll-bar.el (set-scroll-bar-mode): Mention that
21269 `scroll-bar-mode' lists the values (bug#7772).
21270
21271 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21272 command (bug#7729).
21273
21274 * rect.el (apply-on-rectangle): Return the point after the last
21275 operation.
21276 (string-rectangle): Go to the point after the last operation
21277 (bug#7522).
21278
21279 * printing.el (pr-toggle-region): Clarify the documentation
21280 slightly (bug#7493).
21281
21282 * time.el (display-time-update):
21283 Allow `display-time-mail-function' to return nil (bug#7158).
21284 Fix suggested by Detlev Zundel.
21285
21286 * vc/diff.el (diff): Clarify the order the file names are read
21287 (bug#7111).
21288
21289 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21290 the doc string (bug#7015).
21291
21292 * font-lock.el (font-lock-maximum-decoration): Mention what
21293 numeric levels mean (bug#6935).
21294
21295 * startup.el (initial-buffer-choice): Don't mention the `none'
21296 selection, which is against policy.
21297
21298 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21299
21300 * window.el (display-buffer-normalize-special):
21301 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21302
21303 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21304
21305 * subr.el (version<, version<=, version=): Mention "-CVS" and
21306 "-12345" alpha version numbers.
21307
21308 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21309
21310 * bindings.el: Add advertised binding for set-mark-command
21311 (Bug#5772).
21312
21313 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21314
21315 * bindings.el (mode-line-other-buffer):
21316 * bookmark.el (bookmark-bmenu-2-window):
21317 * bs.el (bs-cycle-next, bs-cycle-previous):
21318 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21319 switch-to-buffer.
21320
21321 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21322 Delete.
21323
21324 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21325
21326 * follow.el (follow-debug-message, follow-redisplay):
21327 * jka-cmpr-hook.el (with-auto-compression-mode):
21328 Fix typos in docstrings.
21329
21330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21331
21332 * subr.el (with-silent-modifications): Clarify somewhat what the
21333 macro inhibits (bug#6525).
21334
21335 * simple.el (eval-expression): Note what it does if called
21336 interactively (bug#6495).
21337
21338 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21339
21340 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21341 Use pop-to-buffer buffer-or-name if it is nil.
21342
21343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21344 Remove switch-to-buffer.
21345
21346 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21347
21348 * files.el (make-directory): Clarify that an error will be raised
21349 if there's an error (bug#6397).
21350
21351 * startup.el (initial-buffer-choice): Add `none' as a choice
21352 (bug#6234).
21353
21354 * subr.el (add-hook): Clarify section about buffer-local hooks
21355 (bug#6218).
21356
21357 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21358
21359 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21360
21361 * tabify.el (untabify): Preserve the current column so that point
21362 doesn't move (bug#6032).
21363
21364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21365
21366 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21367 Rewrite to avoid awkward possessive "s" (bug#5986).
21368
21369 2011-07-13 Glenn Morris <rgm@gnu.org>
21370
21371 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21372 (dired-insert-directory): Give a message the first time
21373 if ls is found not to support --dired.
21374
21375 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21376
21377 * simple.el (toggle-truncate-lines): Clarify what is toggled
21378 (bug#5580). Text by Drew Adams.
21379
21380 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21381
21382 * simple.el (blink-matching-open): Make the error message from the
21383 last change less verbose.
21384
21385 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21386
21387 * font-lock.el (font-lock-comment-face): Use the high contrast
21388 "yellow" color for font-lock-comment-face on low color terminals
21389 using a dark background color (bug#4221).
21390
21391 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21392
21393 * dired.el (dired-insert-set-properties): Make the doc string
21394 reflect what it does now (bug#5325).
21395
21396 * simple.el (blink-matching-open): Say that we were unable to find
21397 the match within the limit, if we're limited (bug#5122).
21398
21399 * international/mule-cmds.el (prefer-coding-system): Add an
21400 example (bug#4869).
21401
21402 * progmodes/etags.el (tags-search): Document `file-list-form'
21403 (bug#4731).
21404
21405 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21406
21407 * net/browse-url.el (browse-url-default-browser)
21408 (browse-url-browser-function): Make the default browser choice a
21409 bit more logical (bug#4300). Also clean up the doc string.
21410
21411 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21412
21413 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21414 binary endings (bug#4440).
21415
21416 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21417
21418 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21419 which can be pretty annoying (bug#8971).
21420
21421 * jka-compr.el (jka-compr-verbose): New variable, and use
21422 throughout (bug#8971).
21423
21424 * info.el (Info-find-file): Fall back on the installation
21425 directory if we can't find the info node anywhere else.
21426
21427 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21428
21429 * vc/vc.el (vc-revert-file):
21430 Don't set file time-stamp in the past. (Bug#5181)
21431
21432 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21433
21434 * files.el (after-find-file): Give a better error message when
21435 trying to find a symlink that points to a file that doesn't exist
21436 (bug#4398).
21437
21438 * progmodes/cc-vars.el: Remove (probably) misleading comment
21439 (bug#4396).
21440
21441 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21442
21443 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21444
21445 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21446
21447 * mouse-sel.el: Hack restoring functionality, while keeping
21448 compatibility with 2010-07-03 changes to mouse selection.
21449 (mouse-sel-primary-overlay): New var.
21450 (mouse-sel-selection-alist): Use it.
21451 (mouse-sel-mode): Doc fix; remove points that are default features
21452 of mouse.el.
21453
21454 2011-07-12 Johan Bockgård <bojohan@gnu.org>
21455
21456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21457 Fix previous fix (bug#2490).
21458
21459 2011-07-12 Roland Winkler <winkler@gnu.org>
21460
21461 * textmodes/bibtex.el (bibtex-initialize):
21462 Use pop-to-buffer-same-window.
21463 (bibtex-search-entries): Fix interactive call.
21464
21465 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21466
21467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21468 Fontise bytecomp Error lines more correctly (bug#2490).
21469 Fix suggested by Johan Bockgård.
21470
21471 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21472
21473 * dired-x.el (dired-guess-default): Use `delete-dups'.
21474
21475 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21476
21477 * dired.el (dired-mark-prompt):
21478 * dired-aux.el (dired-read-shell-command): Doc fix.
21479
21480 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21481
21482 * mail/sendmail.el (sendmail-query-once):
21483 Use `customize-save-variable' unconditionally, now that it works under
21484 emacs -Q.
21485
21486 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21487
21488 * cus-edit.el (custom-file): Take an optional no-error variable.
21489 (customize-save-variable): Set the variable, and give a warning if
21490 running under "emacs -q".
21491
21492 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21493
21494 * loadhist.el (unload-feature-special-hooks):
21495 Add `auto-coding-functions', `fill-nobreak-predicate' and
21496 `find-directory-functions' (bug#5327).
21497
21498 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21499
21500 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21501
21502 * cus-edit.el (custom-guess-name-alist): -alist variables should
21503 use the `alist' type (bug#3120). Suggested by Drew Adams.
21504
21505 * printing.el: Add documentation to all the `pr-toggle-' commands.
21506
21507 2011-07-11 Leo Liu <sdl.web@gmail.com>
21508
21509 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21510 backends where it makes sense (bug#2623).
21511
21512 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21513
21514 * dired-x.el (dired-guess-default): Remove duplicate shell command
21515 entries (bug#2028).
21516 (dired-guess-default): Fix grammar in doc string (bug#2028).
21517 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21518
21519 * subr.el (remove-duplicates): New conveniency function.
21520
21521 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21522
21523 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21524 (bug#1526).
21525
21526 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21527
21528 * window.el (display-buffer-normalize-default): Don't invert
21529 meaning of even-window-heights. Reported by Eli Zaretskii
21530 <eliz@gnu.org>.
21531
21532 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21533
21534 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21535
21536 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21537
21538 * window.el (display-buffer): Fix arguments to
21539 display-buffer-reuse-window in last change.
21540
21541 * faces.el (link): Use a less saturated blue on light backgrounds.
21542
21543 * startup.el (fancy-startup-text, fancy-about-text)
21544 (fancy-startup-tail): Use font-lock faces, for background safety.
21545
21546 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21547
21548 * emulation/viper-cmd.el (viper-change-state-to-vi):
21549 Limit triggering of abbrev expansion (Bug#9038).
21550
21551 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21552
21553 * window.el (display-buffer-default-specifiers): Remove.
21554 (display-buffer-macro-specifiers): Remove default specifiers.
21555 (display-buffer-alist): Default to nil.
21556 (display-buffer-reuse-window): New optional argument other-window.
21557 (display-buffer-pop-up-window): Allow splitting internal
21558 windows. Check whether a live window was created.
21559 (display-buffer-other-window-means-other-frame)
21560 (display-buffer-normalize-arguments): Rename to
21561 display-buffer-normalize-argument and rewrite. Set the
21562 other-window specifier.
21563 (display-buffer-normalize-special): New function.
21564 (display-buffer-normalize-options): Rename to
21565 display-buffer-normalize-default and rewrite.
21566 (display-buffer-normalize-options-inhibit): Remove.
21567 (display-buffer-normalize-specifiers): Rewrite.
21568 (display-buffer): Process other-window specifier and call
21569 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21570 more faithfully.
21571 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21572 (display-buffer-alist-set): Don't handle 'unset default values.
21573 (display-buffer-in-window, display-buffer-alist-set):
21574 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21575 <tassilo@member.fsf.org>.
21576
21577 2011-07-09 Leo Liu <sdl.web@gmail.com>
21578
21579 * register.el (insert-register): Restore accidental change on
21580 2011-06-26. (Bug#9028)
21581
21582 2011-07-09 Glenn Morris <rgm@gnu.org>
21583
21584 * subr.el (remq): Handle the empty list. (Bug#9024)
21585
21586 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21587
21588 * mail/sendmail.el (send-mail-function): No longer delay custom
21589 initialization.
21590 * custom.el (custom-initialize-delay): Doc fix.
21591
21592 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21593
21594 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21595
21596 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21597
21598 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21599 human-friendly prompt.
21600
21601 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21602
21603 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21604 provided by a particular plugin.
21605
21606 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21607
21608 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21609 save customizations (with "emacs -Q"), just set the variable
21610 instead of erroring out.
21611
21612 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21613
21614 2011-07-08 Juri Linkov <juri@jurta.org>
21615
21616 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21617 (archive-zip-update-case): Use 7z if found by `executable-find'.
21618 The order of searching the available programs is the same as in
21619 `archive-zip-extract' (bug#8968).
21620
21621 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21622
21623 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21624 (menu-bar-options-menu): Tweak descriptions.
21625
21626 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21627
21628 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21629 menu items into verb phrases (bug#1421). Also refill to fit under
21630 80 columns.
21631
21632 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21633
21634 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21635 (Info-read-node-name): Doc fix (Bug#1084).
21636
21637 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21638 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21639 (end-of-sexp, beginning-of-sexp)
21640 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21641 (forward-symbol, forward-same-syntax, word-at-point)
21642 (sentence-at-point): Doc fix (Bug#1144).
21643
21644 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21645
21646 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21647 should cover it (bug#1281).
21648
21649 * cus-edit.el (custom-show): Mark as obsolete.
21650
21651 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21652 negotiation fails, then possibly try again with a non-encrypted
21653 connection (bug#9017).
21654
21655 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21656 be used.
21657
21658 2011-07-07 Richard Stallman <rms@gnu.org>
21659
21660 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21661 property, and handle its changed format.
21662 Look for the correct line number.
21663 Use file's line contents (but not past first =) to find
21664 correct line in message.
21665
21666 2011-07-07 Kenichi Handa <handa@m17n.org>
21667
21668 * international/characters.el (build-unicode-category-table):
21669 Delete it.
21670 (unicode-category-table): Set it by unicode-property-table-internal.
21671
21672 * international/mule-cmds.el (char-code-property-alist): Move to
21673 to src/chartab.c.
21674 (get-char-code-property): Call unicode-property-table-internal to
21675 load a file. Call get-unicode-property-internal where necessary.
21676 (put-char-code-property): Call unicode-property-table-internal to
21677 load a file. Call put-unicode-property-internal where necessary.
21678 put-unicode-property-internal where necessary.
21679 (char-code-property-description):
21680 Call unicode-property-table-internal to load a file.
21681
21682 * international/charprop.el:
21683 * international/uni-bidi.el:
21684 * international/uni-category.el:
21685 * international/uni-combining.el:
21686 * international/uni-comment.el:
21687 * international/uni-decimal.el:
21688 * international/uni-decomposition.el:
21689 * international/uni-digit.el:
21690 * international/uni-lowercase.el:
21691 * international/uni-mirrored.el:
21692 * international/uni-name.el:
21693 * international/uni-numeric.el:
21694 * international/uni-old-name.el:
21695 * international/uni-titlecase.el:
21696 * international/uni-uppercase.el: Regenerate.
21697
21698 * loadup.el: Load international/charprop.el before
21699 international/characters.
21700
21701 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21702
21703 * window.el (next-buffer, previous-buffer): Signal an error if
21704 called from a minibuffer window.
21705
21706 * bindings.el: Revert 2011-07-04 change.
21707
21708 2011-07-06 Richard Stallman <rms@gnu.org>
21709
21710 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21711 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21712 Treat markers like ints.
21713 (rmail-mime-entity): Doc fix.
21714
21715 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21716
21717 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21718 defcustom again for backwards compatibility.
21719
21720 * simple.el (shell-command-on-region): Fill.
21721
21722 * dired-aux.el (dired-kill-line): Add a doc string.
21723
21724 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21725 to "\\sw\\|\\s_" (bug#358).
21726
21727 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21728 (dired-unmark-backward): Ditto.
21729 (dired-flag-backup-files): Ditto.
21730
21731 * dired-x.el (dired-mark-sexp): Ditto.
21732
21733 2011-07-06 Richard Stallman <rms@gnu.org>
21734
21735 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21736 (rmail-mime-entity): New arg TRUNCATED.
21737 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21738 New functions.
21739 (rmail-mime-save): Warn if entity is truncated.
21740 (rmail-mime-toggle-hidden): Likewise, for showing.
21741 (rmail-mime-process-multipart): Record when an entity is truncated.
21742
21743 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21744 if ENTITY is a string.
21745
21746 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21747
21748 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21749 of faces when `M-C-x'-ing their definitions (bug#8378).
21750 Also clean up the code slightly.
21751
21752 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21753 because that makes the colors go away.
21754
21755 * mail/sendmail.el (send-mail-function): Change the default to
21756 `sendmail-query-once'.
21757 (sendmail-query-once): Add an autoload cookie.
21758
21759 * net/network-stream.el (network-stream-open-starttls): Try using
21760 a plain connection even if the server offered STARTTLS, and we
21761 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21762 capability. This should make smtpmail.el work in slightly more
21763 configurations.
21764
21765 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21766
21767 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21768 New defun.
21769 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21770
21771 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21772
21773 * progmodes/sql.el: Version 3.0
21774 (sql-product-alist): Add product :completion-object,
21775 :completion-column, and :statement attributes.
21776 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21777 (sql-mode-syntax-table): Mark all punctuation.
21778 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21779 ansi keywords.
21780 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21781 (sql-mode-oracle-font-lock-keywords): Improve.
21782 (sql-oracle-show-reserved-words): New function for development.
21783 (sql-product-font-lock): Simplify for source code buffers.
21784 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21785 New functions.
21786 (sql-highlight-product): Set product specific syntax table.
21787 (sql-mode-map): Add statement movement functions.
21788 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21789 New variable.
21790 (sql-statement-regexp, sql-beginning-of-statement)
21791 (sql-end-of-statement, sql-signum): New functions.
21792 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21793 (sql-show-sqli-buffer): Bug fix.
21794 (sql-interactive-mode): Store connection data as buffer local.
21795 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21796 with sql-interactive-mode.
21797 (sql-save-connection): Save buffer local settings.
21798 (sql-connection-menu-filter): Change menu entry name.
21799 (sql-product-interactive): Bug fix.
21800 (sql-preoutput-hold): New variable.
21801 (sql-interactive-remove-continuation-prompt): Bug fixes.
21802 (sql-debug-redirect): New variable.
21803 (sql-str-literal): New function.
21804 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21805 Redesign.
21806 (sql-oracle-save-settings, sql-oracle-restore-settings)
21807 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21808 (sql-completion-object, sql-completion-column)
21809 (sql-completion-sqlbuf): New variables.
21810 (sql-build-completions-1, sql-build-completions)
21811 (sql-try-completion): New functions.
21812 (sql-read-table-name): Use them.
21813 (sql-contains-names): New buffer local variable.
21814 (sql-list-all, sql-list-table): Use it.
21815 (sql-oracle-completion-types): New variable.
21816 (sql-oracle-completion-object, sql-sqlite-completion-object)
21817 (sql-postgres-completion-object): New functions.
21818
21819 2011-07-06 Glenn Morris <rgm@gnu.org>
21820
21821 * window.el (pop-to-buffer): Doc fix.
21822
21823 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21824
21825 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21826
21827 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21828
21829 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21830
21831 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21832
21833 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21834
21835 * button.el (button): Inherit from link face. Suggested by Dan
21836 Nicolaescu.
21837
21838 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21839
21840 * progmodes/gdb-mi.el: Fit in 80 columns.
21841 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21842 switch-to-buffer.
21843
21844 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21845 if imenu is simply not configured (bug#8941).
21846
21847 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21848
21849 * allout.el (allout-post-undo-hook): New allout outline-change
21850 event hook to signal undo activity.
21851 (allout-post-command-business): Run allout-post-undo-hook if an
21852 undo just occurred.
21853 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21854 * allout-widgets.el (allout-widgets-after-undo-function):
21855 Ensure the integrity of the current item's decoration after it has been
21856 in the vicinity of an undo.
21857 (allout-widgets-mode): Include allout-widgets-after-undo-function
21858 on the new allout-post-undo-hook.
21859
21860 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21861
21862 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21863 Let define-derived-mode define it.
21864 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21865 cycles of abbrev-table inheritance (bug#8998).
21866
21867 2011-07-05 Roland Winkler <winkler@gnu.org>
21868
21869 * textmodes/bibtex.el: Add support for biblatex.
21870 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21871 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21872 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21873 (bibtex-entry-alist, bibtex-field-alist): New variables.
21874 (bibtex-entry-field-alist): Obsolete alias for
21875 bibtex-BibTeX-entry-alist.
21876 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21877 (bibtex-set-dialect): New command.
21878 (bibtex-entry-type, bibtex-entry-head)
21879 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21880 Bind via bibtex-set-dialect.
21881 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21882 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21883 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21884 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21885 Define via bibtex-set-dialect.
21886 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21887 Obey bibtex-no-opt-remove-re.
21888 (bibtex-vec-push, bibtex-vec-incr): New functions.
21889 (bibtex-format-entry, bibtex-field-list)
21890 (bibtex-print-help-message, bibtex-validate)
21891 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21892
21893 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21894
21895 * progmodes/compile.el (compilation-goto-locus):
21896 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21897 * bs.el (bs-cycle-next, bs-cycle-previous):
21898 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21899 * bindings.el (mode-line-other-buffer):
21900 * autoinsert.el (auto-insert):
21901 * arc-mode.el (archive-extract):
21902 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21903
21904 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21905
21906 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21907 Fix check of `emacs-lock-unlockable-modes'.
21908 Coerce true values of `emacs-lock--try-unlocking' to t.
21909
21910 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21911
21912 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21913 * emacs-lock.el: New file.
21914
21915 2011-07-05 Julien Danjou <julien@danjou.info>
21916
21917 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21918 than `boundp' to check if face is set.
21919
21920 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21921
21922 * register.el (registerv-make):
21923 * window.el (window-min-height): Fix typos in docstrings.
21924
21925 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21926
21927 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21928 Update doc string.
21929
21930 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21931
21932 * server.el (server-execute): Catch quit and call
21933 `server-return-error' to pass the error back to emacsclient and
21934 close the connection (bug#8942).
21935
21936 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21937
21938 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21939 insecure exception for current topic. Also note that auto-saves
21940 are handled differently.
21941
21942 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21943 State variables for tracking auto-save inhibition situation.
21944
21945 (allout-write-contents-hook-handler): Rename from
21946 'allout-write-file-hook-handler', and describe how it depends on
21947 write-contents-functions sensitivity to non-nil value to prevent
21948 file write.
21949
21950 (allout-auto-save-hook-handler): Remove. auto-save does not check
21951 this in individual buffers, only in the starting buffer, so this
21952 is not the right way for us to inhibit auto-save in a buffer
21953 according to its condition.
21954
21955 (allout-mode): Use new allout-write-contents-hook-handler, and
21956 only with write-contents-functions. Remove auto-save provisions -
21957 they're implemented elsewhere.
21958
21959 (allout-before-change-handler): If undo is in progress, note that
21960 for attention of allout-post-command-business.
21961
21962 (allout-post-command-business): If the command we're following was
21963 an undo, check for change in the status of encrypted items and
21964 adjust auto-save inhibitions accordingly.
21965
21966 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21967 according to whether there are or aren't any plain-text topics
21968 pending encryption.
21969
21970 (allout-inhibit-auto-save-info-for-decryption):
21971 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21972 if there are plain-text topics pending encryption.
21973
21974 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21975 buffer-saved-size and some allout state to not inhibit auto-saves
21976 if there are no longer any plain-text topics pending encryption.
21977
21978 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21979 No longer provide for exemption of the current topic.
21980
21981 2011-07-04 Juri Linkov <juri@jurta.org>
21982
21983 Add 7z operations to delete and save changed members (bug#8968).
21984 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21985 New defcustoms.
21986 (archive-7z-write-file-member): New function.
21987 (archive-7z-summarize): Fix the number of dashes in the
21988 listing output.
21989
21990 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21991
21992 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21993 (bug#8958).
21994
21995 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21996
21997 * bindings.el: Ignore next-buffer and previous-buffer in
21998 minibuffer-local-map.
21999
22000 * font-lock.el (font-lock-builtin-face): Change light background
22001 color to dark slate blue (Bug#6693).
22002
22003 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22004
22005 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22006
22007 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22008
22009 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22011 Add switch-to-buffer.
22012
22013 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22014
22015 * isearch.el (isearch-search-fun-function): Clarify further the
22016 meaning of the function returned.
22017
22018 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22019
22020 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22021
22022 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22023 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22024 Use it.
22025 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22026 `tramp-default-remote-path' does not exist.
22027 (tramp-send-command-and-read): New optional argument NOERROR.
22028 (tramp-open-connection-setup-interactive-shell)
22029 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22030 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22031 (tramp-process-sentinel): Flush also process' connection property.
22032 (tramp-sh-handle-start-file-process): Do not set process
22033 sentinel. It is done now ...
22034 (tramp-maybe-open-connection): ... here. (Bug#8929)
22035
22036 2011-07-04 MON KEY <monkey@sandpframing.com>
22037
22038 * play/animate.el (animate-string): Doc fixes and allow changing
22039 the buffer name (bug#5417).
22040
22041 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22042
22043 * play/animate.el (animation-buffer-name): Rename from *animate*.
22044
22045 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22046
22047 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22048 This is simpler and helps future-proof the code.
22049 (timer-until): Use time-subtract and float-time.
22050 (timer--time-less-p): Use time-less-p.
22051
22052 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22053
22054 * type-break.el (timep): Use the value of `float-time' to avoid a
22055 byte-compiler warning.
22056
22057 * server.el (server-eval-and-print): Return any result, even nil.
22058
22059 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22060
22061 * type-break.el: Accept time formats that the builtins accept.
22062 (timep, type-break-time-difference): Accept any format that
22063 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22064 This is simpler and helps future-proof the code.
22065 (type-break-time-difference): Round rather than ignoring
22066 subseconds components.
22067
22068 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22069
22070 * info.el (Info-apropos-matches): Make non-interactive, since it
22071 doesn't seem to do anything useful as a command (bug#8829).
22072
22073 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22074
22075 * frame.el (frame-background-mode, frame-set-background-mode):
22076 Move from faces.el.
22077 (frame-default-terminal-background): New function.
22078
22079 * custom.el (custom-push-theme): Don't record faces in `changed'
22080 theme; this doesn't work correctly for per-frame face settings.
22081 (disable-theme): Use face-set-after-frame-default to reset faces.
22082 (custom--frame-color-default): New function.
22083
22084 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22085
22086 * dired.el (dired-flagging-regexp): Remove unused variable
22087 (bug#8769).
22088
22089 2011-03-29 Kevin Ryde <user42@zip.com.au>
22090
22091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22092 `perl-Test2' extend to match possible "fail #N" rep count
22093 (bug#8377).
22094
22095 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22096
22097 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22098 `smtpmail-via-smtp' now returns the error instead of nil.
22099
22100 * isearch.el (isearch-search-fun-function): Clarify the doc string
22101 (bug#8101).
22102
22103 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22104
22105 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22106 unnecessary spaces (bug#8987).
22107
22108 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22109
22110 * net/network-stream.el (open-network-stream): Use the
22111 :end-of-capability command thoughout.
22112
22113 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22114
22115 * net/network-stream.el (open-network-stream): Add the
22116 :end-of-capability command parameter, used by pop3.el.
22117
22118 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22119
22120 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22121
22122 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22123 for list)" (bug#6475).
22124
22125 * files.el (file-expand-wildcards): Ignore non-readable
22126 sub-directories while trying to find matches instead of signaling
22127 an error (bug#6297).
22128
22129 * man.el (Man-reference-regexp): Allow matching possible
22130 word-wrapped references (bug#6289).
22131
22132 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22133 for consistency with the other vc buffers (bug#6197).
22134 (vc-checkin): Ditto.
22135
22136 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22137
22138 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22139
22140 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22141
22142 * custom.el (defcustom): Clarify that :set is only used in the
22143 Customize user interface (bug#6089).
22144
22145 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22146 associated with a file, refuse to run instead of erroring out
22147 (bug#6084).
22148
22149 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22150 the doc string, since it appears that using `fill-column' always
22151 controls the width (bug#7845).
22152
22153 * simple.el (shell-command-on-region): Say where the error output
22154 went if `shell-command-default-error-buffer' is set (bug#6857).
22155
22156 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22157
22158 * allout.el (allout-yank-processing): Adjust cursor position for
22159 backwards-deleted space.
22160
22161 (allout-rebullet-heading): Register changes with
22162 allout-exposure-changed-hook, so the modified topic is properly
22163 decorated.
22164
22165 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22166
22167 * minibuffer.el (completion-in-region): Document PREDICATE
22168 (bug#7136).
22169
22170 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22171 of keyword/argument pairs (bug#6904).
22172
22173 * replace.el (multi-occur):
22174 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22175
22176 2011-07-02 Drew Adams <drew.adams@oracle.com>
22177
22178 * dired.el (dired-mark-if): Make the message about whether it's
22179 marking or unmarking clearer (bug#8523).
22180
22181 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22182
22183 * disp-table.el (display-table-print-array): New function.
22184 (describe-display-table): Use it to print the vectors more pretty
22185 (Bug#8859).
22186
22187 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22188
22189 * window.el (window-state-get-1): Don't assign clone numbers.
22190 Add clone-of item to list of window parameters.
22191 (window-state-put-2): Don't process clone numbers.
22192 (display-buffer-alist): Fix doc-string.
22193
22194 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22195
22196 * subr.el (remq): Don't allocate if it's not needed.
22197 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22198 (keymap--merge-bindings): New functions.
22199 (keymap-canonicalize): Use them to refine the canonicalization.
22200 * minibuffer.el (minibuffer-local-completion-map)
22201 (minibuffer-local-must-match-map): Move initialization from C.
22202 (minibuffer-local-filename-completion-map): Move initialization from C;
22203 don't inherit from anything here.
22204 (minibuffer-local-filename-must-match-map): Make obsolete.
22205 (completing-read-default): Use make-composed-keymap to combine
22206 minibuffer-local-filename-completion-map with either
22207 minibuffer-local-must-match-map or
22208 minibuffer-local-filename-completion-map.
22209
22210 2011-07-01 Glenn Morris <rgm@gnu.org>
22211
22212 * type-break.el (type-break-time-sum): Use dolist.
22213
22214 * textmodes/flyspell.el (flyspell-word-search-backward):
22215 Replace CL function.
22216
22217 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22218
22219 * mouse.el (mouse--strip-first-event): New function.
22220 (function-key-map): Use it to map fringe clicks to normal clicks
22221 by default.
22222
22223 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22224 (vc-bzr-revision-completion-table): Add support for annotate and date.
22225
22226 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22227 inherit from parent.
22228
22229 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22230
22231 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22232 (dired-show-file-type): Doc fixup (bug#8818).
22233
22234 * dired.el (dired-mode): Fix up the doc string as suggested by
22235 Drew Adams (bug#8817).
22236
22237 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22238 cookie, since the manual says that it should be possible to add
22239 this function to `find-file-hook' (bug#8709).
22240
22241 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22242
22243 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22244 here. Noted Ted Zlatanov as the maintainer.
22245 (cfengine-common-settings, cfengine-common-syntax): New functions
22246 to set up common things between `cfengine-mode' and
22247 `cfengine3-mode'.
22248 (cfengine3-mode): New mode.
22249 (cfengine3-defuns cfengine3-defuns-regex
22250 (cfengine3-class-selector-regex cfengine3-category-regex)
22251 (cfengine3-vartypes cfengine3-font-lock-keywords)
22252 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22253 (cfengine3-indent-line): Add from cfengine3.el.
22254
22255 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22256
22257 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22258
22259 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22260
22261 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22262
22263 * window.el (same-window-buffer-names, same-window-regexps)
22264 (same-window-p, special-display-frame-alist)
22265 (special-display-popup-frame, special-display-function)
22266 (special-display-buffer-names, special-display-regexps)
22267 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22268 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22269 (split-window-preferred-function, split-height-threshold)
22270 (split-width-threshold, even-window-heights)
22271 (display-buffer-mark-dedicated, window-splittable-p)
22272 (split-window-sensibly, window-safely-shrinkable-p):
22273 Un-obsolete.
22274 (display-buffer): Don't spread args with function specifier
22275 because special-display-popup-frame won't like it.
22276
22277 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22278
22279 Time-stamp simplifications and fixes.
22280 These improve accuracy slightly, and future-proof the code
22281 against some potential changes to current-time format.
22282
22283 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22284 by using time-since and float-time.
22285
22286 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22287 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22288 + NNN microseconds".
22289
22290 * type-break.el (type-break-time-sum): Rewrite using time-add.
22291
22292 * play/hanoi.el (hanoi-current-time-float): Remove.
22293 All uses replaced by float-time.
22294
22295 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22296 This yields a more-accurate answer.
22297 (rng-time-to-float): Remove; no longer needed.
22298
22299 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22300
22301 * calendar/timeclock.el (timeclock-seconds-to-time):
22302 Defalias to seconds-to-time, since they're the same thing.
22303
22304 * emacs-lisp/elp.el (elp-elapsed-time):
22305 * emacs-lisp/benchmark.el (benchmark-elapse):
22306 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22307
22308 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22309
22310 * window.el (bury-buffer): Don't iconify the only frame.
22311 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22312 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22313
22314 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22315
22316 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22317 Add mouse-yank-primary.
22318
22319 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22320
22321 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22322
22323 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22324
22325 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22326 (find-library-name): Use it to find relative load names when provided
22327 absolute file name (bug#8803).
22328
22329 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22330
22331 * textmodes/flyspell.el (flyspell-word): Consider words that
22332 differ only in case as potential doublons (bug#5687).
22333
22334 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22335 Remove two rather uninteresting debugging-like messages to make
22336 debbugs.el more silent.
22337
22338 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22339 a password-like phrase.
22340
22341 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22342
22343 * progmodes/cc-guess.el: New file.
22344
22345 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22346
22347 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22348 derived from `c-basic-common-init'.
22349
22350 * progmodes/cc-mode.el (top-level): Require cc-guess.
22351 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22352
22353 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22354
22355 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22356
22357 2011-06-30 Alan Mackenzie <acm@muc.de>
22358
22359 * progmodes/cc-engine.el (c-guess-continued-construct):
22360 Correct the handling of template-args-cont, particularly for when font
22361 lock is disabled. Name this case as "CASE G".
22362
22363 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22364
22365 * allout.el (allout-yank-processing): Fix injection of extra space
22366 between bullet and non-whitespace character in first topic when
22367 pasting, ensuring that the actual spacing in the pasted topic
22368 following the bullet char is preserved. This extra space was
22369 causing pasted encrypted topics to get a decrypted status even
22370 when the content was actually still encrypted. Now the decryption
22371 status from before the paste is preserved.
22372
22373 (allout-flag-region): Set all allout overlays so they evaporate
22374 when reduced to zero length (evanescent), to prevent overlay
22375 leakage.
22376
22377 2011-06-30 Glenn Morris <rgm@gnu.org>
22378
22379 * w32-fns.el (w32-charset-info-alist): Declare.
22380
22381 * find-dired.el (find-grep-options): Simplify.
22382
22383 * term/ns-win.el (ns-set-resource): Declare.
22384
22385 * ses.el (row, col): Declare dynamic variables honestly.
22386
22387 * textmodes/reftex-parse.el (index-tags): Declare.
22388
22389 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22390
22391 * cus-edit.el (customize-push-and-save): New function.
22392
22393 * files.el (hack-local-variables-confirm): Use it.
22394
22395 * custom.el (load-theme): New arg NO-CONFIRM.
22396 Use customize-push-and-save (Bug#8720).
22397 (custom-enabled-themes): Doc fix.
22398
22399 * cus-theme.el (customize-create-theme)
22400 (custom-theme-merge-theme): Callers to load-theme changed.
22401
22402 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22403
22404 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22405 short URLs have at least one dot in them (bug #7614).
22406
22407 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22408 nil, because using a pty is apparently too slow (bug #895).
22409
22410 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22411
22412 * mail/sendmail.el (sendmail-query-once): New function.
22413 (sendmail-query-once-function): New variable.
22414
22415 2011-06-29 Glenn Morris <rgm@gnu.org>
22416
22417 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22418
22419 * ses.el (top-level): Require cl when compiling.
22420 (ses-set-localvars): Fix error statement.
22421 Call it at compile time to silence a storm of warnings.
22422
22423 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22424
22425 * window.el (normalize-live-buffer): Rename to
22426 window-normalize-buffer.
22427 (normalize-live-frame): Rename to window-normalize-frame.
22428 (normalize-any-window): Rename to window-normalize-any-window.
22429 (normalize-live-window): Rename to window-normalize-live-window.
22430 (make-window-atom): Rename to window-make-atom.
22431 (window-resize-reset): Rename to window--resize-reset.
22432 (window-resize-reset-1): Rename to window--resize-reset-1.
22433 (resize-mini-window): Rename to window--resize-mini-window.
22434 (resize-subwindows-skip-p): Rename to
22435 window--resize-subwindows-skip-p.
22436 (resize-subwindows-normal): Rename to
22437 window--resize-subwindows-normal.
22438 (resize-subwindows): Rename to window--resize-subwindows.
22439 (resize-other-windows): Rename to window--resize-siblings.
22440 (resize-this-window): Rename to window--resize-this-window.
22441 (resize-root-window): Rename to window--resize-root-window.
22442 (resize-root-window-vertically): Rename to
22443 window--resize-root-window-vertically.
22444 (normalize-buffer-to-display): Rename to
22445 window-normalize-buffer-to-display.
22446 (normalize-buffer-to-switch-to): Rename to
22447 window-normalize-buffer-to-switch-to.
22448 Correspondingly update all callers of the functions listed
22449 above.
22450 (display-buffer-alist, display-buffer-normalize-arguments)
22451 (display-buffer-normalize-options, display-buffer)
22452 (display-buffer-alist-set): Use "function" instead of
22453 "fun-with-args".
22454
22455 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22456
22457 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22458 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22459 debbugs.gnu.org. Mention acknowledgment email.
22460
22461 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22462
22463 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22464 buffer multibyteness, since it shouldn't matter.
22465
22466 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22467
22468 * window.el (display-buffer-in-side-window): Handle dedicated
22469 windows as in display-buffer-reuse-window.
22470 (display-buffer-normalize-alist): Use value of override
22471 specifier.
22472 (display-buffer-normalize-specifiers): Use value of
22473 other-window-means-other-frame specifier.
22474 (display-buffer-alist): Rewrite some texts in widgets.
22475 (display-buffer): Spread arguments when calling function
22476 specified by fun-with-args.
22477
22478 2011-06-28 Deniz Dogan <deniz@dogan.se>
22479
22480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22481 Unnest `let'.
22482
22483 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22484 selectors (Bug#5732).
22485 (css-proprietary-nmstart-re): Use `regexp-opt'.
22486
22487 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22488
22489 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22490 (eshell-ls-date-format): New defcustom.
22491 (eshell-ls-file): Use it.
22492
22493 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22494
22495 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22496
22497 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22498
22499 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22500 (ange-ftp-make-tmp-name): New arg.
22501 (ange-ftp-file-local-copy): Use it.
22502
22503 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22504
22505 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22506 no-conversion (Bug#8870).
22507
22508 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22509
22510 * window.el (window-right, window-left, window-child)
22511 (window-child-count, window-last-child)
22512 (window-iso-combination-p, walk-window-tree-1)
22513 (window-atom-check-1, window-tree-1, delete-window)
22514 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22515 new naming conventions - window-vchild, window-hchild,
22516 window-next and window-prev are now called window-top-child,
22517 window-left-child, window-next-sibling and window-prev-sibling
22518 respectively.
22519 (resize-window-reset): Rename to window-resize-reset.
22520 (resize-window-reset-1): Rename to window-resize-reset-1.
22521 (resize-window): Rename to window-resize.
22522 (window-min-height, window-min-width)
22523 (resize-mini-window, resize-this-window, resize-root-window)
22524 (resize-root-window-vertically, adjust-window-trailing-edge)
22525 (enlarge-window, shrink-window, maximize-window)
22526 (minimize-window, delete-window, quit-restore-window)
22527 (split-window, balance-windows, balance-windows-area-adjust)
22528 (balance-windows-area, window-state-put-2)
22529 (display-buffer-even-window-sizes, display-buffer-set-height)
22530 (display-buffer-set-width, set-window-text-height)
22531 (fit-window-to-buffer): Rename all "resize-window" prefixed
22532 calls to use the "window-resize" prefix convention.
22533 (display-buffer-alist): Fix symbol for label specifier.
22534 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22535 corresponding specifier.
22536 Reported by Juanma Barranquero <lekktu@gmail.com>.
22537
22538 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22539
22540 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22541 convention.
22542 (ses-call-printer): Does not pass an empty string to formatter when the
22543 cell is empty to keep from barking printer Calc math-format-value.
22544
22545 2011-06-27 Richard Stallman <rms@gnu.org>
22546
22547 * battery.el (battery-mode-line-limit): New variable.
22548 (battery-update): Handle it.
22549
22550 * mail/rmailmm.el (rmail-mime-process-multipart):
22551 Handle truncated messages.
22552
22553 2011-06-27 Glenn Morris <rgm@gnu.org>
22554
22555 * progmodes/flymake.el (flymake-err-line-patterns):
22556 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22557
22558 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22559
22560 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22561 (ses--clean-!, ses--clean-_): New functions.
22562 (ses-range): Add configurability of readout order, and conversion
22563 to Calc vector.
22564
22565 * ses.el (ses-repair-cell-reference-all): New function.
22566 (ses-cell-symbol): Set macro as safe, so that it can be used in
22567 formulas.
22568
22569 * ses.el: Update cycle detection algorithm.
22570 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22571 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22572 (ses-set-localvars): New function.
22573 (ses-make-cell): Add property-list as a cell element.
22574 (ses-cell-property-get-fun, ses-cell-property-get)
22575 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22576 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22577 New functions.
22578 (ses-cell-property-set, ses-cell-property-pop)
22579 (ses-cell-property-get-handle): New macro.
22580 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22581 New aliases, used for code readability.
22582 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22583 cycle detection.
22584 (ses-self-reference-early-detection): New defcustom.
22585 (ses-formula-references): Robustify against self-referring cells.
22586 (ses-mode): Use ses-set-localvars.
22587 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22588 before lauching the update processing.
22589 (ses-initialize-Dijkstra-attempt): New function.
22590 (ses-recalculate-cell): Update for cycle detection based on
22591 Dijkstra algorithm.
22592
22593 * ses.el: Fix commenting and indenting convention.
22594
22595 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22596
22597 * bs.el (bs-cycle-next): Complete last change.
22598
22599 2011-06-27 Drew Adams <drew.adams@oracle.com>
22600
22601 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22602
22603 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22604
22605 * net/network-stream.el (network-stream-open-starttls):
22606 Don't re-get capabilities unless we've reestablished connection.
22607 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22608
22609 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22610 to binary to possibly avoid line encoding issues on Windows (among
22611 other things).
22612
22613 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22614
22615 * net/network-stream.el (open-network-stream): Return an :error
22616 saying what the problem was, if possible.
22617
22618 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22619 server.
22620
22621 * net/network-stream.el (network-stream-open-starttls): If we
22622 wanted to use STARTTLS, and the server offered it, but we weren't
22623 able to because we had no STARTTLS support, then close the connection.
22624 (open-network-stream): Return an :error element, if present.
22625
22626 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22627
22628 * hl-line.el (hl-line-sticky-flag): Doc fix.
22629 (global-hl-line-sticky-flag): New option (Bug#8323).
22630 (global-hl-line-highlight): Obey it.
22631
22632 * vc/vc.el (vc-revert-show-diff): Default to t.
22633
22634 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22635
22636 * allout-widgets.el (allout-widgets-post-command-business):
22637 Stop decorating intermediate isearch matches. They're not being
22638 undecorated when an isearch is continued past, and isearch
22639 automatically collapses them. This leads to "widget leaks", where
22640 decorated items accumulate in collapsed areas. Lines with lots of
22641 hidden widgets can slow down cursor travel, substantially.
22642 Too much complicated machinery would be needed to ensure undecoration,
22643 so we're doing without this nicety.
22644
22645 (allout-widgets-tally-string): Don't try to do a hash-table-count
22646 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22647 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22648 *Messages* when allout-widgets-maintain-tally is t.
22649
22650 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22651
22652 * window.el (display-buffer-normalize-argument): Rename to
22653 display-buffer-normalize-arguments. Handle special meaning of
22654 LABEL argument. Respect special-display-function when popping up
22655 a new frame. Fix code searching for a window showing the buffer
22656 on another frame.
22657 (display-buffer-normalize-specifiers):
22658 Call display-buffer-normalize-arguments.
22659 (display-buffer-in-window): Don't undedicate the window if its
22660 buffer remains the same.
22661 Reported by Drew Adams <drew.adams@oracle.com>.
22662 (display-buffer-alist): Add choice for same-window macro
22663 specfier.
22664 (display-buffer): Mention special meaning of LABEL argument in
22665 doc-string. Fix quoting. Don't pop up a new frame even as
22666 fallback.
22667
22668 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22669
22670 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22671 avoid deleting the current window in some cases (bug#8911).
22672
22673 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22674
22675 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22676 (Bug#8934)
22677
22678 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22679
22680 * net/network-stream.el (network-stream-open-starttls):
22681 Use built-in TLS support if `gnutls-available-p' is true.
22682 (network-stream-open-tls): Ditto.
22683
22684 2011-06-26 Leo Liu <sdl.web@gmail.com>
22685
22686 * register.el (registerv): New struct.
22687 (registerv-make): New function.
22688 (jump-to-register, describe-register-1, insert-register):
22689 Support the jump-func, print-func and insert-func slot of a registerv
22690 struct. (Bug#8415)
22691
22692 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22693
22694 * vc/vc.el (vc-revert-show-diff): New defcustom.
22695 (vc-diff-internal): New arg specifying diff buffer.
22696 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22697 reuse an existing *vc-diff* buffer (Bug#8927).
22698
22699 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22700
22701 2011-06-26 Glenn Morris <rgm@gnu.org>
22702
22703 * progmodes/f90.el (f90-critical-indent): New option.
22704 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22705 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22706 (f90-mode): Doc fix.
22707 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22708 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22709 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22710 (f90-match-end): Handle block, critical.
22711
22712 2011-06-25 Glenn Morris <rgm@gnu.org>
22713
22714 * calendar/diary-lib.el (diary-included-files): Doc fix.
22715 (diary-include-files): New function, extracted from
22716 diary-include-other-diary-files and diary-mark-included-diary-files.
22717 (diary-include-other-diary-files, diary-mark-included-diary-files):
22718 Just call diary-include-files.
22719 (diary-mark-entries): Reset diary-included-files on first call.
22720
22721 * calendar/diary-lib.el (diary-mark-entries)
22722 (diary-mark-included-diary-files):
22723 Visit included diary-files in temp buffers.
22724
22725 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22726 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22727 (f90-start-block-re, f90-imenu-generic-expression)
22728 (f90-looking-at-program-block-start, f90-no-block-limit):
22729 Add support for submodules.
22730
22731 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22732 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22733
22734 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22735
22736 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22737 buffer-file-type before setting its value, to avoid disastrous
22738 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22739
22740 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22741
22742 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22743
22744 * ses.el (ses-unload-function):
22745 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22746
22747 * proced.el (proced-unload-function):
22748 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22749
22750 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22751
22752 * server.el (server-create-window-system-frame): Add parameters arg.
22753 (server-process-filter): Doc fix. Handle frame-parameters.
22754
22755 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22756
22757 Fix bug#8730, bug#8781.
22758
22759 * loadhist.el (unload--set-major-mode): New function.
22760 (unload-feature): Use it.
22761
22762 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22763 (python-unload-function): New function.
22764
22765 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22766
22767 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22768
22769 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22770
22771 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22772 the candidates list.
22773
22774 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22775
22776 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22777
22778 2011-06-23 Richard Stallman <rms@gnu.org>
22779
22780 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22781 (rmail-variables): Set next-error-move-function.
22782 (rmail-what-message): Take argument POS.
22783 (rmail-next-error-move): New function.
22784
22785 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22786
22787 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22788 messages for adjacent non-terminals.
22789
22790 2011-06-23 Richard Stallman <rms@gnu.org>
22791
22792 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22793 (rmail-show-message-1): Preserve buffer modified flag.
22794 (rmail-start-mail): Don't specify use of rmail-mail-return;
22795 that's done by mail-bury now.
22796 (rmail-mail-return): Handle arg NEWBUF.
22797
22798 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22799
22800 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22801 SIZE is a number.
22802
22803 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22804
22805 * window.el (get-lru-window, get-mru-window)
22806 (get-largest-window): Never return a minibuffer window.
22807 (display-buffer-pop-up-window): Fix a bug that could lead to
22808 reusing the minibuffer window.
22809 (display-buffer): Pass original specifier argument to
22810 display-buffer-function instead of the normalized one.
22811 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22812
22813 2011-06-22 Leo Liu <sdl.web@gmail.com>
22814
22815 * minibuffer.el (completing-read-function)
22816 (completing-read-default): Move from minibuf.c.
22817
22818 2011-06-22 Richard Stallman <rms@gnu.org>
22819
22820 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22821 to Rmail even if not started by a special Rmail command.
22822
22823 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22824 Copy the buffer currently showing just one message.
22825
22826 2011-06-22 Roland Winkler <winkler@gnu.org>
22827
22828 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22829 (bibtex-clean-entry): First delete the old key so that a
22830 customized algorithm for generating the new key does not get
22831 confused by the old key.
22832 (bibtex-url): Obey regexp of first step.
22833 (bibtex-search-entries): Do not use add-to-list with local
22834 list-var.
22835
22836 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22837
22838 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22839 stored a user name, then query for the password first, instead of
22840 waiting for SMTP to give an error message and the trying again.
22841
22842 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22843
22844 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22845 BUFFER in call-process.
22846
22847 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22848
22849 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22850 QUIT twice.
22851 (smtpmail-try-auth-methods): Require user name and password from
22852 auth-source.
22853
22854 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22855
22856 * window.el (display-buffer-default-specifiers)
22857 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22858 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22859 (split-window): Normalize SIDE argument (Bug#8916).
22860
22861 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22862 (special-display-frame-alist, special-display-popup-frame):
22863 Remove duplicate declarations. These are now in window.el.
22864
22865 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22866
22867 * mail/smtpmail.el (smtpmail-via-smtp):
22868 Set :use-starttls-if-possible so that we always use STARTTLS if the
22869 server supports it. SMTP servers that support STARTTLS commonly
22870 require it.
22871
22872 * net/network-stream.el (network-stream-open-starttls): Support
22873 upgrading to STARTTLS always, even if we don't have built-in support.
22874 (open-network-stream): Add the :always-query-capabilities keyword.
22875
22876 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22877 upgrades with `open-network-stream', and rely solely on
22878 auth-source for all credentials. Big changes throughout the file,
22879 but in particular:
22880 (smtpmail-auth-credentials): Remove.
22881 (smtpmail-starttls-credentials): Remove.
22882 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22883 MAIL FROM, too.
22884
22885 * net/network-stream.el (network-stream-open-starttls):
22886 Provide support for client certificates both for external and built-in
22887 STARTTLS.
22888 (auth-source): Require.
22889 (open-network-stream): Document the :client-certificate keyword.
22890 (network-stream-certificate): Change cert-cert to cert and
22891 cert-key to key.
22892
22893 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22894
22895 * net/tramp-cache.el (top): Don't load the persistency file when
22896 "emacs -Q" has been called.
22897
22898 2011-06-21 Tim Harper <timcharper@gmail.com>
22899
22900 * term/ns-win.el (ns-initialize-window-system):
22901 Set application-specific `ApplePressAndHoldEnabled' system
22902 resource to NO as it is not yet supported by the NS port.
22903
22904 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22905
22906 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22907 (list-dynamic-libraries): ...not here.
22908
22909 2011-06-21 Leo Liu <sdl.web@gmail.com>
22910
22911 * subr.el (sha1): Implement sha1 using secure-hash.
22912
22913 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22914
22915 * window.el (display-buffer-alist): In default value do not
22916 enforce searching a window on any but the selected frame.
22917 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22918 (display-buffer-select-window): Remove function.
22919 (display-buffer-in-window): When a window on another frame gets
22920 reused, do not select it any more but just raise its frame if
22921 necessary (Bug#8851) and (Bug#8856).
22922 (display-buffer-normalize-options): Handle pop-up-frames related
22923 options more faithfully.
22924 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22925 window if it is on another frame.
22926 (display-buffer-alist, display-buffer-default-specifiers):
22927 Don't make new frame unsplittable by default.
22928 (display-buffer-normalize-argument): Fix doc-string typo and use
22929 'same-frame-other-window instead of 'other-window when associating
22930 with display-buffer-macro-specifiers.
22931
22932 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22933
22934 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22935 New functions.
22936 (5x5-mode-map, 5x5-mode-menu): Bind them.
22937 (5x5-draw-grid): Tweak the solver's rendering.
22938
22939 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22940
22941 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22942 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22943
22944 2011-06-21 Drew Adams <drew.adams@oracle.com>
22945
22946 * menu-bar.el: Use function variable instead of switch-to-buffer.
22947 (menu-bar-select-buffer-function): New variable.
22948 (menu-bar-update-buffers): Use it (bug#8876).
22949
22950 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22951
22952 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22953 variable's status.
22954
22955 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22956
22957 * x-dnd.el (x-dnd-version-from-flags)
22958 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22959 and long as number (Bug#8899).
22960 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22961
22962 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22963
22964 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22965 (completion-try-completion, completion-all-completions): Compute the
22966 metadata argument if it's missing; make it optional (bug#8795).
22967
22968 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22969 (widget-complete): Use new :completion-function property.
22970 (widget-completions-at-point): New function.
22971 (default): Use :completion-function instead of :complete.
22972 (widget-default-completions): Rename from widget-default-complete;
22973 Rewrite.
22974 (widget-string-complete, widget-file-complete, widget-color-complete):
22975 Remove functions.
22976 (file, symbol, function, variable, coding-system, color):
22977 * international/mule-cmds.el (default-input-method, charset)
22978 (language-info-custom-alist):
22979 * cus-edit.el (face): Use new property :completions.
22980
22981 * progmodes/pascal.el (pascal-completions-at-point): New function.
22982 (pascal-mode): Use it.
22983 (pascal-mode-map): Use completion-at-point.
22984 (pascal-toggle-completions): Make obsolete.
22985 (pascal-complete-word, pascal-show-completions):
22986 * progmodes/octave-mod.el (octave-complete-symbol):
22987 Redefine as obsolete alias.
22988 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22989 Signal absence of completion info for old Octave,
22990 (inferior-octave-complete): Redefine as obsolete alias.
22991 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22992 (meta-completions-at-point): Rename from meta-complete-symbol and
22993 adapt it for use on completion-at-point-functions.
22994 (meta-common-mode): Use it.
22995 (meta-looking-at-backward, meta-match-buffer): Remove.
22996 (meta-complete-symbol): Redefine as obsolete alias.
22997 (meta-common-mode-map): Use completion-at-point.
22998 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22999 (makefile-mode-map): Use completion-at-point.
23000 (makefile-completions-at-point): Rename from makefile-complete and
23001 adapt it for use on completion-at-point-functions.
23002 (makefile-mode): Use it.
23003 (makefile-complete): Redefine as obsolete alias.
23004
23005 2011-06-20 Deniz Dogan <deniz@dogan.se>
23006
23007 * net/rcirc.el: Delete trailing whitespaces once and for all.
23008
23009 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23010
23011 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23012
23013 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23014
23015 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23016
23017 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23018
23019 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23020
23021 * window.el (display-buffer-other-window-means-other-frame):
23022 Call display-buffer-normalize-alist.
23023 (display-buffer-normalize-specifiers-1): Rename to
23024 display-buffer-normalize-argument. New argument other-frame.
23025 Rewrite.
23026 (display-buffer-normalize-specifiers-2): Rename to
23027 display-buffer-normalize-options.
23028 (display-buffer-normalize-alist-1): New function.
23029 (display-buffer-normalize-specifiers-3): Rename to
23030 display-buffer-normalize-alist.
23031 Call display-buffer-normalize-alist-1.
23032 (display-buffer-normalize-options-inhibit): New variable.
23033 (display-buffer-normalize-specifiers): Rewrite calling
23034 display-buffer-normalize-alist,
23035 display-buffer-normalize-argument, and
23036 display-buffer-normalize-options. Don't call the latter if
23037 display-buffer-normalize-options-inhibit is non-nil.
23038 (frame-auto-delete): New option.
23039 (window-deletable-p): Use frame-auto-delete.
23040 (window-list-no-nils, window-state-ignored-parameters)
23041 (window-state-get-1, window-state-get, window-state-put-list)
23042 (window-state-put-1, window-state-put-2, window-state-put):
23043 New functions.
23044 (display-buffer-normalize-options): Move special-display-p group
23045 after pop-up-frame group (Bug#8851) and (Bug#8856).
23046
23047 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23048
23049 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23050 groups (Bug#8776).
23051 (rx-submatch-n): New function.
23052 (rx): Document it.
23053
23054 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23055 (Bug#8768).
23056
23057 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23058
23059 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23060
23061 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23062 anytime existing face settings are present (Bug#8889).
23063
23064 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23065 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23066 Remove unused argument.
23067
23068 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23069
23070 * window.el (display-buffer-default-specifiers):
23071 Remove pop-up-frame. Add pop-up-window-min-height,
23072 pop-up-window-min-width, and another reuse-window specifier
23073 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23074 (display-buffer-normalize-specifiers-2):
23075 Handle split-height-threshold and split-width-threshold also when
23076 pop-up-windows is unset. Add a reuse-window specifier for the
23077 case popping up a new window fails.
23078 (special-display-popup-frame): Remove double quoting.
23079 (display-buffer-normalize-specifiers-1): Fix thinko.
23080
23081 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23082
23083 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23084 according to comint-completion-addsuffix.
23085
23086 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23087 (pcomplete-suffix-list): Mark as obsolete.
23088 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23089 pcomplete-seen in the closure.
23090 (pcomplete-comint-setup): Setup completion-at-point as well.
23091 (pcomplete--entries): New function.
23092 (pcomplete--env-regexp): New var.
23093 (pcomplete-entries): Rewrite to work with partial-completion and
23094 without relying on pcomplete-suffix-list.
23095 (pcomplete-pare-list): Remove, unused.
23096
23097 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23098
23099 * window.el (display-buffer-alist): Set pop-up-window-min-height
23100 and pop-up-window-min-width in default value. Reported by
23101 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23102 other-window-means-other-frame.
23103 (display-buffer-macro-specifiers): Comment out entry for
23104 other-window specifier.
23105 (display-buffer-other-window-means-other-frame): New function.
23106 (display-buffer-normalize-specifiers-1): New arguments
23107 buffer-name and label. Treat other-window case specially.
23108 (display-buffer-normalize-specifiers-2): Treat other-window case
23109 specially.
23110 (display-buffer-normalize-specifiers-3): New function.
23111 (display-buffer-normalize-specifiers):
23112 Call display-buffer-normalize-specifiers-3.
23113
23114 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23115
23116 * window.el (same-window-p): Fix two typos introduced when
23117 adding with-no-warnings.
23118 (display-buffer-normalize-specifiers-1): Don't check
23119 pop-up-frames for 'unset initialization.
23120 (display-buffer-normalize-specifiers-2): Major rewrite using
23121 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23122 (pop-up-frames, display-buffer-reuse-frames)
23123 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23124 Suggested by David Engster <deng@randomsample.de>.
23125 (even-window-heights): Initialize to 'unset.
23126 (display-buffer-alist-set): Handle new 'unset initializations.
23127 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23128 other window case.
23129
23130 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23131
23132 * window.el (display-buffer-normalize-specifiers-1):
23133 Respect current value of pop-up-frames for most reasonable values of
23134 second argument of display-buffer (Bug#8865).
23135 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23136 (switch-to-buffer-other-window-same-frame)
23137 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23138 Adams (Bug#8875).
23139 (display-buffer): Don't check noninteractive when calling
23140 display-buffer-pop-up-frame.
23141 (display-buffer-pop-up-frame): Never pop up a frame in
23142 noninteractive mode (Bug#8857).
23143 (enlarge-window, shrink-window): Don't report an error when the
23144 window can't be resized as requested (Bug#8862).
23145
23146 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23147
23148 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23149
23150 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23151
23152 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23153
23154 2011-06-15 Alan Mackenzie <acm@muc.de>
23155
23156 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23157 for declarators, disable knr checking to speed up for normal files.
23158 2: Refactor, replacing a sequence of nested if forms by a cond form.
23159
23160 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23161
23162 * net/network-stream.el (open-network-stream): Add the keyword
23163 :always-query-capabilities for the case where you want to force a
23164 `plain' network connection, but the protocol still requires the
23165 capabilitiy command (i.e., SMTP and EHLO).
23166
23167 * subr.el (process-live-p): Rename from `process-alive-p' for
23168 consistency with other `-live-p' functions.
23169
23170 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23171
23172 * window.el (same-window-buffer-names, same-window-regexps)
23173 (special-display-frame-alist, special-display-popup-frame)
23174 (special-display-function, special-display-buffer-names)
23175 (special-display-regexps, pop-up-frame-alist)
23176 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23177 (pop-up-windows, split-window-preferred-function)
23178 (split-height-threshold, split-width-threshold, even-window-heights)
23179 (display-buffer-mark-dedicated): Don't encourage the use of
23180 display-buffer-alist from Elisp code.
23181
23182 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23183
23184 * progmodes/python.el (python-mode): Derive from prog-mode.
23185 * progmodes/ps-mode.el (ps-mode):
23186 * progmodes/mixal-mode.el (mixal-mode):
23187 * progmodes/cfengine.el (cfengine-mode):
23188 * progmodes/ld-script.el (ld-script-mode): Likewise.
23189
23190 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23191
23192 * window.el (display-buffer-alist): Trim default value to avoid
23193 popping up a new frame (Bug#8857) or reusing an arbitrary window
23194 on another frame.
23195 (display-buffer): Do not fall back on popping up a new frame in
23196 batch mode (Bug#8857).
23197
23198 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23199
23200 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23201 (custom-theme-summary): New function.
23202 (customize-themes): Use it.
23203
23204 2011-06-13 Glenn Morris <rgm@gnu.org>
23205
23206 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23207
23208 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23209
23210 * help.el (help-window): Remove variable.
23211 (help-window-point-marker, temp-buffer-max-height)
23212 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23213 (help-print-return-message): Don't set help-window.
23214 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23215 (help-window-setup-finish): Remove.
23216 (help-window-display-message, help-window-setup)
23217 (with-help-window): Major rewrite based on new
23218 display-buffer-window variable.
23219
23220 * help-mode.el (help-mode-finish): Remove help-window related
23221 code.
23222
23223 * view.el (view-exits-all-viewing-windows): Remove reference to
23224 view-return-to-alist in doc-string.
23225 (view-return-to-alist): Make obsolete.
23226 (view-buffer): Call pop-to-buffer-same-window and remove
23227 undo-window code.
23228 (view-buffer-other-window): Call pop-to-buffer-other-window and
23229 simplify code. Ignore second argument.
23230 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23231 simplify code. Ignore second argument.
23232 (view-return-to-alist-update): Make obsolete.
23233 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23234 Rewrite using quit-restore window parameters.
23235 (view-mode-exit): Rename second argument to EXIT-ONLY.
23236 Rewrite using quit-restore-window.
23237 (View-exit, View-exit-and-edit, View-leave, View-quit)
23238 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23239 appropriate arguments.
23240 (view-end-message): Use quit-restore window parameter.
23241
23242 * window.el (display-buffer-function): Rewrite doc-string.
23243 (display-buffer-window, display-buffer-alist): New variables.
23244 (display-buffer-split-specifiers)
23245 (display-buffer-side-specifiers)
23246 (display-buffer-macro-specifiers): New constants.
23247 (display-buffer-even-window-sizes, display-buffer-set-height)
23248 (display-buffer-set-width, display-buffer-select-window)
23249 (display-buffer-in-window, display-buffer-reuse-window)
23250 (display-buffer-split-window-1, display-buffer-split-window)
23251 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23252 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23253 (display-buffer-in-side-window, normalize-buffer-to-display)
23254 (display-buffer-normalize-specifiers-1)
23255 (display-buffer-normalize-specifiers-2)
23256 (display-buffer-normalize-specifiers, display-buffer-frame):
23257 New functions.
23258 (display-buffer): Major rewrite.
23259 (display-buffer-other-window, display-buffer-other-frame)
23260 (pop-to-buffer, switch-to-buffer-other-window)
23261 (switch-to-buffer-other-frame): Rewrite.
23262 (display-buffer-same-window, display-buffer-same-frame)
23263 (display-buffer-same-frame-other-window)
23264 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23265 (pop-to-buffer-other-window)
23266 (pop-to-buffer-same-frame-other-window)
23267 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23268 (switch-to-buffer-other-window-same-frame): New functions.
23269 (same-window-p, special-display-p): Rewrite disabling warnings.
23270 Make obsolete.
23271 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23272 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23273 Make obsolete
23274 (same-window-buffer-names, same-window-regexps)
23275 (special-display-frame-alist, special-display-popup-frame)
23276 (special-display-function, special-display-buffer-names)
23277 (special-display-regexps, pop-up-frame-alist)
23278 (pop-up-frame-function, split-window-preferred-function)
23279 (split-height-threshold, split-width-threshold)
23280 (even-window-heights): Make obsolete.
23281
23282 2011-06-12 Glenn Morris <rgm@gnu.org>
23283
23284 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23285 Misc simplifications.
23286
23287 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23288
23289 * window.el (window-safely-shrinkable-p): Restore function which
23290 was inadvertently removed in change from 2011-06-11. Declare as
23291 obsolete.
23292
23293 * calendar/calendar.el (calendar-generate-window):
23294 Use window-iso-combined-p instead of combination of one-window-p and
23295 window-safely-shrinkable-p.
23296
23297 2011-06-12 Glenn Morris <rgm@gnu.org>
23298
23299 * progmodes/fortran.el (fortran-mode-syntax-table):
23300 * progmodes/f90.el (f90-mode-syntax-table):
23301 Set % to punctuation. (Bug#8820)
23302 (f90-find-tag-default): Remove, no longer needed.
23303
23304 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23305
23306 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23307
23308 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23309
23310 * image.el (image-animated-p): Return animation delay in seconds.
23311 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23312 (image-animate-timeout): Remove DELAY argument. Don't assume
23313 every subimage has the same delay; get it from image-animated-p.
23314 (image-animate): Caller changed.
23315
23316 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23317
23318 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23319 to ignored backtrace functions.
23320
23321 2011-06-11 Glenn Morris <rgm@gnu.org>
23322
23323 * calendar/appt.el (appt-disp-window-function): Doc fix.
23324 (appt-check): Handle overlapping appointments. (Bug#8337)
23325
23326 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23327
23328 * window.el (window-tree-1, window-tree): New functions, moving
23329 the latter to window.el.
23330 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23331 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23332 (bw-refresh-edges): Remove.
23333 (balance-windows-1, balance-windows-2): New functions.
23334 (balance-windows): Rewrite in terms of window tree functions,
23335 balance-windows-1 and balance-windows-2.
23336 (bw-adjust-window): Remove.
23337 (balance-windows-area-adjust): New function with functionality of
23338 bw-adjust-window but using resize-window.
23339 (set-window-text-height): Rewrite doc-string.
23340 Use normalize-live-window and resize-window.
23341 (enlarge-window-horizontally, shrink-window-horizontally):
23342 Rename argument to DELTA.
23343 (window-buffer-height): New function.
23344 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23345 Rewrite using new window resize routines.
23346 (kill-buffer-and-window, mouse-autoselect-window-select):
23347 Use ignore-errors instead of condition-case.
23348 (quit-window): Call delete-frame instead of delete-windows-on
23349 for the only buffer on frame.
23350
23351 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23352
23353 * loadup.el (top-level): Load window before files for the sake
23354 of replace-buffer-in-windows.
23355
23356 * files.el (read-buffer-to-switch)
23357 (switch-to-buffer-other-window)
23358 (switch-to-buffer-other-frame, display-buffer-other-frame):
23359 Move to window.el.
23360
23361 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23362 (previous-buffer): Move to window.el.
23363
23364 * bindings.el (unbury-buffer): Move to window.el.
23365
23366 * window.el (delete-other-windows-vertically): Move after
23367 definition of delete-other-windows.
23368 (other-window, delete-windows-on, replace-buffer-in-windows):
23369 Move here from window.c.
23370 (record-window-buffer, unrecord-window-buffer)
23371 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23372 (switch-to-next-buffer): New functions.
23373 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23374 from simple.el. Call switch-to-next-buffer.
23375 (previous-buffer): Move here from simple.el.
23376 Call switch-to-prev-buffer.
23377 (bury-buffer): Move here from buffer.c. Switch to previous
23378 buffer when window cannot be deleted.
23379 (unbury-buffer): Move here from bindings.el.
23380 (ctl-x-map): Move binding for other-window from window.c to
23381 here.
23382 (read-buffer-to-switch, switch-to-buffer-other-window)
23383 (switch-to-buffer-other-frame): Move here from files.el.
23384 (normalize-buffer-to-switch-to): New functions.
23385 (switch-to-buffer): Move here from buffer.c.
23386 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23387
23388 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23389
23390 * window.el (window-min-height, window-min-width): Move here
23391 from window.c. Add defcustoms and rewrite doc-strings.
23392 (resize-mini-window, resize-window): New functions.
23393 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23394 Move here from window.c.
23395 (maximize-window, minimize-window): New functions.
23396 (delete-window, delete-other-windows, split-window): Move here
23397 from window.c.
23398 (window-split-min-size): New function.
23399 (split-window-keep-point): Mention split-window-above-each-other
23400 instead of split-window-vertically.
23401 (split-window-above-each-other, split-window-vertically):
23402 Rename split-window-vertically to split-window-above-each-other
23403 and provide defalias for old definition.
23404 (split-window-side-by-side, split-window-horizontally):
23405 Rename split-window-horizontally to split-window-side-by-side
23406 and provide defalias for the old definition.
23407 (ctl-x-map): Move bindings for delete-window,
23408 delete-other-windows and enlarge-window here from window.c.
23409 Replace bindings for split-window-vertically and
23410 split-window-horizontally by bindings for
23411 split-window-above-each-other and split-window-side-by-side.
23412
23413 * cus-start.el (all): Remove entries for window-min-height and
23414 window-min-width. Add entries for window-splits and
23415 window-nest.
23416
23417 2011-06-09 Glenn Morris <rgm@gnu.org>
23418
23419 * calendar/appt.el (appt-mode-line): New function.
23420 (appt-check, appt-disp-window): Use it.
23421
23422 * files.el (hack-one-local-variable-eval-safep):
23423 Allow minor-modes with explicit +/-1 arguments.
23424
23425 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23426
23427 * term/xterm.el (xterm): Add defgroup.
23428 (xterm-extra-capabilities): Add defcustom to supply known xterm
23429 capabilities, skip querying them, or query them (default).
23430 (terminal-init-xterm): Use it.
23431 (terminal-init-xterm-modify-other-keys): New function to set up
23432 modifyOtherKeys support to simplify `terminal-init-xterm'.
23433
23434 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23435
23436 * window.el (resize-window-reset, resize-window-reset-1)
23437 (resize-subwindows-skip-p, resize-subwindows-normal)
23438 (resize-subwindows, resize-other-windows, resize-this-window)
23439 (resize-root-window, resize-root-window-vertically)
23440 (window-deletable-p, window-or-subwindow-p)
23441 (frame-root-window-p): New functions.
23442
23443 2011-06-09 Glenn Morris <rgm@gnu.org>
23444
23445 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23446 (ange-ftp-get-files): Use it.
23447
23448 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23449
23450 * mail/sendmail.el (mail-recover-1, mail-recover):
23451 * files.el (recover-file, recover-session):
23452 Handle dired-listing-switches not being just a single short option.
23453
23454 2011-06-09 Glenn Morris <rgm@gnu.org>
23455
23456 * calendar/appt.el (appt-display-message, appt-disp-window):
23457 Handle lists of appointments.
23458
23459 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23460
23461 * window.el (one-window-p): Move down in code.
23462 Rewrite doc-string.
23463 (window-current-scroll-bars): Rewrite doc-string.
23464 Normalize live window argument.
23465 (walk-windows, get-window-with-predicate, count-windows):
23466 Rewrite doc-string. Use window-list-1.
23467 (window-in-direction-2, window-in-direction, get-mru-window):
23468 New functions.
23469
23470 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23471
23472 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23473 Doc fix (Bug#8713).
23474
23475 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23476
23477 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23478
23479 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23480
23481 * loadhist.el (unload-feature-special-hooks):
23482 Add `comint-output-filter-functions'.
23483
23484 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23485
23486 * calendar/appt.el (appt-check): Move some initializations into the let.
23487
23488 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23489
23490 * window.el (window-height): Defalias to window-total-height.
23491 (window-width): Defalias to window-body-width.
23492
23493 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23494
23495 * image-mode.el (image-toggle-animation): New command.
23496 (image-mode-map): Bind it to RET.
23497 (image-mode): Update message.
23498 (image-toggle-display-image): Avoid a spurious cache flush.
23499 (image-transform-rotation): Doc fix.
23500 (image-transform-properties): Return quickly in the normal case.
23501 (image-animate-loop): Rename from image-animate-max-time.
23502
23503 * image.el (image-animate-max-time): Move to image-mode.el.
23504 (create-animated-image): Remove unnecessary function.
23505 (image-animate): Rename from image-animate-start. New arg.
23506 (image-animate-stop): Remove; just use image-animate-timer.
23507 (image-animate-timer): Use car-safe.
23508 (image-animate-timeout): Rename argument.
23509
23510 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23511
23512 * window.el (get-lru-window, get-largest-window): Move here from
23513 window.c. Rename first argument to ALL-FRAMES.
23514 Rephrase doc-strings.
23515 (get-buffer-window-list): Rewrite using window-list-1.
23516 Rephrase doc-string.
23517 (window-safe-min-height, window-safe-min-width): New constants.
23518 (window-size-ignore, window-min-size, window-min-size-1)
23519 (window-sizable, window-sizable-p, window-size-fixed-1)
23520 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23521 (window-max-delta-1, window-max-delta, window-resizable)
23522 (window-resizable-p, window-total-height, window-total-width)
23523 (window-body-width): New functions.
23524 (window-full-height-p, window-full-width-p): Rewrite using
23525 window-total-size.
23526 (window-body-height): Rewrite using window-body-size.
23527
23528 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23529
23530 * window.el (window-right, window-left, window-child)
23531 (window-child-count, window-last-child, window-any-p)
23532 (normalize-live-buffer, normalize-live-frame)
23533 (normalize-any-window, normalize-live-window)
23534 (window-iso-combination-p, window-iso-combined-p)
23535 (window-iso-combinations)
23536 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23537 (windows-with-parameter, window-with-parameter)
23538 (window-atom-root, make-window-atom, window-atom-check-1)
23539 (window-atom-check, window-side-check, window-check):
23540 New functions.
23541 (ignore-window-parameters, window-sides, window-sides-vertical)
23542 (window-sides-slots): New variables.
23543 (window-size-fixed): Move down in code. Minor doc-string fix.
23544
23545 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23546
23547 * comint.el (comint-dynamic-complete-as-filename)
23548 (comint-dynamic-complete-filename): Correctly call
23549 completion-in-region.
23550
23551 2011-06-05 Deniz Dogan <deniz@dogan.se>
23552
23553 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23554 in last change.
23555
23556 2011-06-05 Deniz Dogan <deniz@dogan.se>
23557
23558 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23559 (rcirc): Use it to prompt for encryption.
23560
23561 2011-06-05 Roland Winkler <winkler@gnu.org>
23562
23563 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23564 (bibtex-search-entries): New command bound to C-c C-a.
23565 (bibtex-display-entries): New function.
23566
23567 2011-06-05 Roland Winkler <winkler@gnu.org>
23568
23569 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23570 (bibtex-insert-kill): After yanking insert newline if necessary.
23571 (bibtex-initialize): Call bibtex-string-files-init only once.
23572 (bibtex-mode): Do not call easy-menu-add.
23573 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23574 (bibtex-yank): Set arg properly if nil.
23575
23576 2011-06-05 Roland Winkler <winkler@gnu.org>
23577
23578 * textmodes/bibtex.el (bibtex-search-entry-globally):
23579 New variable.
23580 (bibtex-search-entry): Use it.
23581
23582 2011-06-05 Roland Winkler <winkler@gnu.org>
23583
23584 * textmodes/bibtex.el (bibtex-entry-format): New option
23585 sort-fields.
23586 (bibtex-format-entry, bibtex-reformat): Honor this option.
23587 (bibtex-parse-entry): Return fields in proper order.
23588
23589 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23590
23591 * doc-view.el (doc-view-remove-if): Move computation of result out
23592 of `dolist' to silence misleading lexical-binding warning.
23593
23594 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23595
23596 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23597 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23598
23599 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23600
23601 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23602 "SunOS 5.10".
23603
23604 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23605
23606 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23607 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23608 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23609 (tramp-parse-putty):
23610 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23611 (tramp-completion-function-alist-ssh)
23612 (tramp-completion-function-alist-telnet)
23613 (tramp-completion-function-alist-su)
23614 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23615 cookie.
23616
23617 * net/tramp-ftp.el:
23618 * net/tramp-sh.el:
23619 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23620 load "tramp.el" `tramp-set-completion-function'.
23621
23622 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23623
23624 * shell.el: Require and use pcomplete.
23625 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23626 (shell-completion-vars): Set pcomplete-default-completion-function.
23627
23628 2011-06-04 Deniz Dogan <deniz@dogan.se>
23629
23630 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23631 `memq' (Bug#8799).
23632
23633 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23634
23635 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23636
23637 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23638
23639 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23640 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23641 * vc/log-view.el (log-view-beginning-of-defun):
23642 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23643 (smerge-refine-forward, smerge-refine-chopup-region):
23644 Silence warning for unused `dotimes' counter variables.
23645
23646 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23647
23648 * net/tramp.el (tramp-with-progress-reporter): Rename from
23649 with-progress-reporter. Use `declare'.
23650 * net/tramp-smb.el:
23651 * net/tramp-sh.el:
23652 * net/tramp-gvfs.el: Update all uses.
23653
23654 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23655
23656 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23657 buffer isn't killed before making it current.
23658
23659 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23660
23661 Silence various byte-compiler warnings.
23662 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23663 `access-type' and new obsolescence format.
23664 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23665 new format.
23666 (byte-compile-check-variable): New `access-type' argument.
23667 Only warn if the access-type is obsolete.
23668 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23669 (byte-compile-variable-set): Adjust callers.
23670 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23671 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23672 setting it as obsolete.
23673 * simple.el (minibuffer-completing-symbol):
23674 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23675 access as obsolete.
23676 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23677 obsolete yet.
23678 * international/quail.el (quail-mouse-choose-completion): Remove unused
23679 code referring to obsolete var.
23680 (quail-choose-completion-string): Remove.
23681 * server.el (server-clients-with, server-kill-buffer-query-function)
23682 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23683 * proced.el (proced-send-signal):
23684 * emacs-lisp/lisp.el (lisp-complete-symbol):
23685 Replace completion-annotate-function with completion-extra-properties.
23686
23687 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23688
23689 * simple.el (goto-line): Use read-number.
23690 (overriding-map-is-bound): Remove.
23691 (saved-overriding-map): Change default.
23692 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23693 Take the map as argument.
23694 (universal-argument, negative-argument, digit-argument): Use it.
23695 (restore-overriding-map): Adjust.
23696 (do-auto-fill): Use fill-forward-paragraph.
23697 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23698
23699 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23700 (minibuffer-inactive-mode): New major mode.
23701 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23702 the *Messages* buffer" hack.
23703 (mouse-popup-menubar): Don't burp if the event is a normal key.
23704
23705 Miscellaneous tweaks.
23706 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23707 lexical scoping as in subr.el's dolist and dotimes.
23708 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23709 Silence compiler warning.
23710 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23711 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23712 * international/ccl.el (ccl-compile): Trivial simplification.
23713 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23714 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23715 `printflag' argument.
23716 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23717 Purecopy the whole obsolescence data.
23718
23719 2011-06-01 Leo Liu <sdl.web@gmail.com>
23720
23721 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23722 improve doc-string as suggested by Marco Pessotto
23723 <melmothx@gmail.com>.
23724 (rcirc-print): Fix last change.
23725
23726 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23727
23728 * minibuffer.el (complete-with-action): Return nil for the metadata and
23729 boundaries of non-functional tables.
23730 (completion-table-dynamic): Return nil for the metadata.
23731 (completion-table-with-terminator): Add default case, using
23732 complete-with-action.
23733 (completion--metadata): New function.
23734 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23735 to try and avoid pathological performance problems.
23736 (completion--embedded-envvar-table): Return `category' metadata.
23737
23738 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23739
23740 * subr.el (process-alive-p): New tiny convenience function.
23741
23742 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23743
23744 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23745 content but also its previous major mode.
23746
23747 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23748
23749 * emacs-lisp/debug.el (debug): Restore the previous content of the
23750 *Backtrace* buffer when we exit with C-M-c.
23751
23752 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23753
23754 * minibuffer.el: Add metadata method to completion tables.
23755 (completion-category-overrides): New defcustom.
23756 (completion-metadata, completion--field-metadata)
23757 (completion-metadata-get, completion--styles)
23758 (completion--cycle-threshold): New functions.
23759 (completion-try-completion, completion-all-completions):
23760 Add `metadata' argument to choose completion-styles.
23761 (completion--do-completion): Use metadata to choose cycling.
23762 (completion-all-sorted-completions): Use metadata for sorting.
23763 Remove :completion-cycle-penalty which is not needed any more.
23764 (completion--try-word-completion): Add `metadata' argument.
23765 (minibuffer-completion-help): Check metadata for annotation function
23766 and sorting.
23767 (completion-file-name-table): Return `category' metadata.
23768 (minibuffer-completing-file-name): Make obsolete.
23769 * simple.el (minibuffer-completing-symbol): Make obsolete.
23770 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23771 completion-try-completion.
23772
23773 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23774
23775 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23776
23777 2011-05-30 Leo Liu <sdl.web@gmail.com>
23778
23779 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23780 (rcirc-print): Decode all incoming messages (bug#8744).
23781 (rcirc-decode-coding-system): Allow value nil for automatic coding
23782 system detection.
23783
23784 2011-06-01 Glenn Morris <rgm@gnu.org>
23785
23786 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23787
23788 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23789
23790 * image.el (image-animate-max-time): Allow nil and t values.
23791 Default to nil.
23792 (create-animated-image): Doc fix.
23793 (image-animate-start): Remove second arg; just use
23794 image-animate-max-time.
23795 (image-animate-timeout): Doc fix. Args changed.
23796
23797 * image-mode.el (image-toggle-display-image): Ensure that the
23798 image spec passed to the animate timer is the same object as in
23799 the buffer's display property (Bug#6981).
23800 (image-transform-properties): Doc fix.
23801
23802 * image.el (image-animate-max-time): Default to nil.
23803
23804 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23805
23806 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23807 entire buffer list (Bug#8184).
23808
23809 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23810
23811 * image.el (imagemagick-types-inhibit)
23812 (imagemagick-register-types): Doc fix.
23813
23814 2011-05-29 Deniz Dogan <deniz@dogan.se>
23815
23816 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23817 default.
23818
23819 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23820
23821 * select.el: Don't perform clipboard-manager saving in hooks;
23822 leave the hooks empty.
23823
23824 2011-05-28 Leo Liu <sdl.web@gmail.com>
23825
23826 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23827 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23828 (occur-edit-mode): New major mode (Bug#8463).
23829 (occur-after-change-function): New function.
23830 (occur-engine): Give Occur tags a read-only property.
23831
23832 2011-05-28 Kevin Ryde <user42@zip.com.au>
23833
23834 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23835
23836 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23837
23838 * bindings.el (help-echo): Make the initial non-indicator dash
23839 empty on graphical terminals (Bug#7295).
23840
23841 * files.el (auto-mode-alist): Move config rule after the
23842 in-stripping one (Bug#8547).
23843
23844 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23845
23846 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23847 setting (Bug#8740).
23848
23849 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23850
23851 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23852 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23853 (Bug#8539).
23854
23855 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23856
23857 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23858
23859 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23860
23861 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23862 (hs-hide-block-at-point, hs-find-block-beginning)
23863 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23864 (Bug#8279).
23865
23866 2011-05-28 Glenn Morris <rgm@gnu.org>
23867
23868 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23869
23870 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23871
23872 * help-fns.el (describe-function-1): If the function is a derived
23873 major mode, print the parent mode.
23874
23875 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23876 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23877
23878 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23879
23880 * minibuffer.el (completion--capf-wrapper): Check applicability before
23881 returning non-nil for non-exclusive completion data.
23882 * progmodes/etags.el (tags-completion-at-point-function):
23883 * info-look.el (info-lookup-completions-at-point): Mark as
23884 non-exclusive.
23885 (info-complete): Adjust accordingly.
23886
23887 * info-look.el: Convert to lexical-binding and completion-at-point.
23888 (info-lookup-completions-at-point): New function.
23889 (info-complete): Use it and completion-in-region.
23890
23891 2011-05-28 Drew Adams <drew.adams@oracle.com>
23892
23893 * isearch.el: Let M-e start with point at the first mismatched char.
23894 (isearch-fail-pos): New function.
23895 (isearch-edit-string): Use it.
23896
23897 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23898
23899 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23900
23901 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23902
23903 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23904 traversal functions for avl-trees.
23905 (avl-tree--stack): New struct.
23906 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23907 (avl-tree-enter): Add optional `updatefun' arg.
23908 (avl-tree--do-enter): Add optional `updatefun' arg.
23909 Change return value.
23910 (avl-tree-delete): Add optional `test' and `nilflag' args.
23911 (avl-tree--do-delete): Add `test' and `nilflag' args.
23912 Change return value.
23913 (avl-tree-member): Add optional `nilflag'
23914 (avl-tree-member-p): New function.
23915 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23916 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23917 (avl-tree-stack-empty-p): New functions.
23918
23919 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23920 avl-tree--del-balance1 and make it work both ways.
23921 (avl-tree--del-balance2): Remove.
23922 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23923 make it work both ways.
23924 (avl-tree--enter-balance2): Remove.
23925 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23926 New macros.
23927 (avl-tree--mapc, avl-tree-map): Add direction argument.
23928
23929 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23930
23931 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23932
23933 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23934
23935 * select.el: Support clipboard managers with built-in function
23936 x-clipboard-manager-save, via delete-frame-functions and
23937 kill-emacs-hook.
23938 (xselect-convert-to-targets): Add MULTIPLE target to list.
23939 (xselect-convert-to-save-targets): New function.
23940
23941 2011-05-27 Kenichi Handa <handa@m17n.org>
23942
23943 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23944 let-binding rfc2047-encode-encoded-words to nil.
23945
23946 2011-05-27 Glenn Morris <rgm@gnu.org>
23947
23948 * mail/emacsbug.el: Don't require url-util.
23949
23950 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23951
23952 * files.el (set-auto-mode):
23953 Also respect mode: entries at the end of the file. (Bug#8586)
23954
23955 2011-05-26 Glenn Morris <rgm@gnu.org>
23956
23957 * files.el (hack-local-variables-prop-line, hack-local-variables):
23958 Downcase mode names, as seems to be traditional.
23959 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23960
23961 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23962 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23963
23964 2011-05-25 Julien Danjou <julien@danjou.info>
23965
23966 * textmodes/rst.el (rst-define-level-faces): Do not define face
23967 symbol if it is already defined.
23968
23969 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23970
23971 * play/5x5.el (5x5-new-game, 5x5-randomize):
23972 Reset 5x5-solver-output to nil when a new grid is cast.
23973 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23974 these debugging traces, as defmacro breaks the compiled code.
23975
23976 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23977
23978 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23979
23980 2011-05-24 Leo Liu <sdl.web@gmail.com>
23981
23982 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23983 (vc-bzr-sha1): Adapt.
23984
23985 * sha1.el: Remove. Function `sha1' is now builtin.
23986
23987 * bindings.el: Provide sha1 feature.
23988
23989 2011-05-24 Kenichi Handa <handa@m17n.org>
23990
23991 * mail/sendmail.el: Require `rfc2047'.
23992 (mail-insert-from-field): Do not perform RFC2047 encoding.
23993 (mail-encode-header): New function.
23994 (sendmail-send-it): Set buffer-file-coding-system of the work
23995 buffer to the return value of select-message-coding-system.
23996 Call mail-encode-header.
23997
23998 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23999
24000 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24001
24002 * mail/supercite.el (sc-default-cite-frame):
24003 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24004
24005 2011-05-24 Glenn Morris <rgm@gnu.org>
24006
24007 * progmodes/python.el (brm-menu): Declare.
24008
24009 * emulation/viper.el (viper-set-hooks): Declare.
24010
24011 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24012 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24013 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24014 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24015 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24016 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24017
24018 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24019
24020 Add an :exit-function for completion-at-point.
24021
24022 * minibuffer.el (completion--done): New fun.
24023 (completion--do-completion): Use it. New arg `expect-exact'.
24024 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24025 since completion--do-completion does it for us now.
24026 (minibuffer-force-complete): Use completion--done and
24027 completion--replace. Handle sole-completion case with more care.
24028 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24029 (completion-extra-properties): New var.
24030 (completion-annotate-function): Make obsolete.
24031 (minibuffer-completion-help): Adjust accordingly.
24032 Use completion-list-insert-choice-function.
24033 (completion-at-point, completion-help-at-point):
24034 Bind completion-extra-properties.
24035 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24036 * simple.el (completion-list-insert-choice-function): New var.
24037 (completion-setup-function): Preserve it.
24038 (choose-completion): Pay attention to it, shuffle the code a bit.
24039 (choose-completion-string): New arg `insert-function'.
24040
24041 * textmodes/bibtex.el: Convert to lexical binding.
24042 (bibtex-mode-map): Use completion-at-point.
24043 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24044 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24045 (bibtex-complete): Define as obsolete alias.
24046 (bibtex-complete-internal): Remove.
24047 (bibtex-format-entry): Remove unused sub-group in regexp.
24048 * shell.el (shell--command-completion-data)
24049 (shell-environment-variable-completion):
24050 * pcomplete.el (pcomplete-completions-at-point):
24051 * comint.el (comint--complete-file-name-data): Use :exit-function
24052 instead of completion-table-with-terminator so it also works for
24053 choose-completion.
24054
24055 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24056
24057 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24058
24059 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24060 (bug#8710).
24061
24062 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24063
24064 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24065
24066 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24067 customization variable and implement: If non-nil, auto-fill will
24068 be inhibited while on topic's header line.
24069
24070 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24071
24072 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24073 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24074 always have a solution in grid size = 5 cases.
24075 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24076 (5x5-solver-output, 5x5-log-buffer): New vars.
24077 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24078 Make these variables buffer local to achieve 5x5 multi-session-ness.
24079 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24080 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24081 (5x5-solve-suggest): New funs.
24082 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24083 randomize a grid so that we ensure that there is always a solution.
24084 (5x5-make-random-grid): Allow other movement than flipping.
24085
24086 2011-05-23 Kevin Ryde <user42@zip.com.au>
24087
24088 * emacs-lisp/advice.el (ad-read-advised-function):
24089 Use `function-called-at-point' as the default, if it has
24090 advice and passes PREDICATE.
24091
24092 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24093
24094 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24095 byte-compile-lambda if it's actually a lambda.
24096
24097 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24098 Fix function quoting. Use backquote better.
24099
24100 2011-05-22 Yuanle Song <sylecn@gmail.com>
24101
24102 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24103 matching (Bug#8516).
24104
24105 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24106
24107 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24108 different face (Bug#8178).
24109
24110 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24111
24112 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24113 defface (Bug#8144).
24114
24115 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24116
24117 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24118 funcall as well (bug#8712). Warn when performing those conversions.
24119 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24120
24121 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24122
24123 2011-05-22 Glenn Morris <rgm@gnu.org>
24124
24125 * files.el (hack-local-variables-prop-line): Small simplifications.
24126 (hack-local-variables, hack-local-variables-prop-line):
24127 If MODE-ONLY, return the mode, rather than just `t'.
24128
24129 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24130
24131 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24132
24133 2011-05-21 Glenn Morris <rgm@gnu.org>
24134
24135 * files.el (hack-local-variables-prop-line, hack-local-variables):
24136 If only interested in the mode, don't bother doing the other stuff.
24137
24138 * image-mode.el (image-after-revert-hook):
24139 Redraw all frames on which the image is visible. (Bug#8567)
24140
24141 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24142
24143 * wid-edit.el (widget-checklist-match-inline):
24144 Fix 2011-04-19 change. (Bug#8649)
24145
24146 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24147
24148 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24149 Also allow singlespace after single-letter capitals followed by a dot.
24150
24151 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24152 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24153
24154 2011-05-20 Nix <nix@esperi.org.uk>
24155
24156 * files.el (basic-save-buffer-2):
24157 Fix handling of break-hardlink-on-save with non-existent files.
24158
24159 2011-05-19 Deniz Dogan <deniz@dogan.se>
24160
24161 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24162 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24163
24164 2011-05-19 Glenn Morris <rgm@gnu.org>
24165
24166 * progmodes/f90.el (f90-type-def-re):
24167 Handle "type, bind(c)". (Bug#8691)
24168
24169 * emacs-lisp/autoload.el (batch-update-autoloads):
24170 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24171
24172 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24173
24174 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24175 property for the correct connection in case of multihops.
24176
24177 2011-05-18 Glenn Morris <rgm@gnu.org>
24178
24179 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24180 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24181
24182 Rationalize calendar handling of day and month abbrev-arrays.
24183 * calendar/calendar.el (calendar-customized-p): New function.
24184 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24185 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24186 Add :set function.
24187 (calendar-abbrev-length, calendar-day-abbrev-array)
24188 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24189 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24190 Elements may no longer be nil.
24191 (calendar-day-name, calendar-month-name):
24192 Update for changed nature of abbrev arrays.
24193 * calendar/diary-lib.el (diary-name-pattern):
24194 Update for changed nature of abbrev arrays.
24195 (diary-mark-entries-1): Update calendar-make-alist calls.
24196 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24197 * calendar/cal-html.el (cal-html-day-abbrev-array):
24198 Simply inherit from calendar-day-abbrev-array.
24199
24200 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24201
24202 * progmodes/grep.el (grep-mode): Disable default
24203 compilation-directory-matcher setting (bug#8684).
24204
24205 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24206
24207 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24208 instead of "head" and "tail". There were problems with SunOS 5.9,
24209 and it performs better.
24210
24211 2011-05-17 Glenn Morris <rgm@gnu.org>
24212
24213 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24214
24215 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24216 Replace obsolete function.
24217
24218 * shell.el (pcomplete-parse-arguments-function): Declare.
24219
24220 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24221 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24222 (appt-check): Doc fixes.
24223 (appt-disp-window-function, appt-delete-window-function):
24224 Remove needless special case in custom :type.
24225 (appt-display-count): Default to 0, not nil.
24226 (appt-check): Reset appt-display-count to 0, not nil.
24227
24228 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24229
24230 * progmodes/python.el (python-font-lock-keywords):
24231 Add the Python 3.X keyword "nonlocal" (bug#8639).
24232
24233 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24234
24235 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24236
24237 2011-05-16 Kevin Ryde <user42@zip.com.au>
24238
24239 * info-look.el (makefile-automake-mode): New setups, looking in
24240 automake manual, then makefile-mode.
24241 (makefile-mode): Remove automake manual, have it just in
24242 makefile-automake-mode since there's various things different or
24243 not relevant to plain make.
24244 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24245 believe a hypothetical automake-mode would go to makefile-mode,
24246 not the other way around.
24247
24248 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24249
24250 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24251 hunk-end tags (Bug#8672).
24252
24253 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24254 vc-annotate-show-diff-revision-at-line (Bug#8671).
24255
24256 2011-05-14 Glenn Morris <rgm@gnu.org>
24257
24258 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24259 in the middle of an existing one with multiple authors. (Bug#8645)
24260 (change-log-font-lock-keywords): Also handle multiple author lines
24261 with leading tabs. (Bug#8644)
24262
24263 * calendar/appt.el (appt-check): Rename some local variables.
24264 Some simplification/reordering.
24265
24266 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24267 (feedmail-sendmail-f-doesnt-sell-me-out)
24268 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24269 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24270 (feedmail-queue-runner-message-sender): Set :version.
24271 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24272 (bbdb-dwim-net-address, vm-mail): Declare.
24273 (feedmail-binmail-gnulinuxish-template):
24274 Rename from feedmail-binmail-linuxish-template.
24275 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24276 Use insert-buffer-substring.
24277
24278 2011-05-14 Bill Carpenter <bill@carpenter.org>
24279
24280 * mail/feedmail.el (feedmail-patch-level): Increase.
24281 (feedmail-debug): New custom group.
24282 (feedmail-confirm-outgoing-timeout)
24283 (feedmail-sendmail-f-doesnt-sell-me-out)
24284 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24285 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24286 (feedmail-sender-line, feedmail-from-line)
24287 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24288 (feedmail-spray-this-address)
24289 (feedmail-spray-address-fiddle-plex-list)
24290 (feedmail-queue-use-send-time-for-date)
24291 (feedmail-queue-use-send-time-for-message-id)
24292 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24293 (feedmail-buffer-eating-function):
24294 Doc fixes.
24295 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24296 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24297 (feedmail-message-action-scroll-down): New functions.
24298 (feedmail-queue-directory, feedmail-queue-draft-directory):
24299 Use expand-file-name.
24300 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24301 Remove C-v help entry.
24302 (feedmail-queue-buffer-file-name): New variable.
24303 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24304 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24305 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24306 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24307 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24308 (feedmail-message-action-toggle-spray)
24309 (feedmail-run-the-queue-no-prompts)
24310 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24311 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24312 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24313 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24314 (feedmail-envelope-deducer, feedmail-fiddle-from)
24315 (feedmail-fiddle-sender, feedmail-default-date-generator)
24316 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24317 (feedmail-fiddle-spray-address)
24318 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24319 (feedmail-fiddle-list-of-fiddle-plexes)
24320 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24321 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24322 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24323 Change default. Doc fix.
24324 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24325 (feedmail-binmail-linuxish-template): New constant.
24326 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24327 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24328 (feedmail-send-it): Add debug call.
24329 Use feedmail-queue-buffer-file-name, and
24330 feedmail-send-it-immediately-wrapper.
24331 (feedmail-message-action-send): Add debug call.
24332 Use feedmail-send-it-immediately-wrapper.
24333 (feedmail-queue-express-to-queue): Add debug call.
24334 Run feedmail-queue-express-hook.
24335 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24336 (feedmail-message-action-help-blat):
24337 Rename from feedmail-queue-send-edit-prompt-help-first.
24338 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24339 Check line-endings. Handle errors better.
24340 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24341 Doc fix. Add debug call.
24342 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24343 Use feedmail-queue-send-edit-prompt-inner.
24344 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24345 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24346 from feedmail-queue-send-edit-prompt.
24347 (feedmail-queue-send-edit-prompt-help)
24348 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24349 (feedmail-tidy-up-slug): Add debug call.
24350 Respect feedmail-queue-slug-suspect-regexp.
24351 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24352 (feedmail-dump-message-to-queue): Add debug call.
24353 Expand queue-directory.
24354 (feedmail-dump-message-to-queue): Change message slightly.
24355 Use feedmail-say-chatter.
24356 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24357 (feedmail-send-it-immediately-wrapper): New function.
24358 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24359 Insert empty string rather than newline. Handle full-frame case.
24360 Use catch/throw. Use feedmail-say-chatter.
24361 (feedmail-fiddle-from): Try mail-host-address.
24362 (feedmail-default-message-id-generator): Doc fix.
24363 Bind system-time-locale. Handle missing end.
24364 (feedmail-fiddle-x-mailer): Add debug call.
24365 Handle feedmail-x-mailer-line being nil.
24366 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24367 Add debug call. Use buffer-substring-no-properties.
24368 (feedmail-say-debug, feedmail-say-chatter): New functions.
24369 (feedmail-find-eoh): Give an explicit error.
24370
24371 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24372
24373 * net/newst-treeview.el (newsticker-treeview-face): Change default
24374 family from helvetica to sans.
24375 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24376 etc/images/newsticker.
24377
24378 * net/newst-reader.el (newsticker-feed-face): Change default
24379 family from helvetica to sans.
24380
24381 * net/newst-plainview.el (newsticker-new-item-face)
24382 (newsticker-old-item-face, newsticker-immortal-item-face)
24383 (newsticker-obsolete-item-face, newsticker-date-face)
24384 (newsticker-statistics-face): Change default family from
24385 helvetica to sans.
24386 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24387 etc/images/newsticker.
24388
24389 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24390 (newsticker--process-auto-mark-filter-match): Tell user about
24391 auto-marking.
24392
24393 2011-05-13 Didier Verna <didier@xemacs.org>
24394
24395 Common Lisp indentation improvements on defmethod and lambda-lists.
24396 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24397 TODO entries.
24398 (lisp-lambda-list-keyword-parameter-indentation)
24399 (lisp-lambda-list-keyword-parameter-alignment)
24400 (lisp-lambda-list-keyword-alignment): New customizable user options.
24401 (lisp-indent-defun-method): Improve docstring.
24402 (extended-loop-p): Fix comment.
24403 (lisp-indent-lambda-list-keywords-regexp): New variable.
24404 (lisp-indent-lambda-list): New function.
24405 (lisp-indent-259): Use it.
24406 (lisp-indent-defmethod): Support for more than one
24407 method qualifier and properly indent methods lambda-lists.
24408 (defgeneric): Provide a missing common-lisp-indent-function property.
24409
24410 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24411
24412 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24413 bounds for the empty string (bug#8667).
24414
24415 2011-05-13 Glenn Morris <rgm@gnu.org>
24416
24417 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24418
24419 * mail/sendmail.el (sendmail-program): Try executable-find first.
24420 (sendmail-send-it): `sendmail-program' cannot be unbound.
24421
24422 * calendar/appt.el (appt-make-list): Simplify.
24423 (appt-time-msg-list): Doc fix.
24424 (appt-check): Change mode-line message at the time of the appointment.
24425
24426 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24427
24428 * progmodes/ld-script.el (ld-script-keywords)
24429 (ld-script-builtins): Update keywords list.
24430
24431 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24432
24433 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24434
24435 * shell.el (shell-completion-vars): New function.
24436 (shell-mode):
24437 * simple.el (read-shell-command): Use it.
24438 (blink-matching-open): No need for " [...]" in minibuffer-message.
24439
24440 2011-05-12 Glenn Morris <rgm@gnu.org>
24441
24442 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24443 (appt-check): Simplify.
24444
24445 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24446
24447 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24448 literal "/dev/null".
24449
24450 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24451
24452 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24453 Fix typo.
24454
24455 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24456
24457 * progmodes/which-func.el (which-function):
24458 Use add-log-current-defun instead of add-log-current-defun-function,
24459 which might not be defined (Bug#8260).
24460
24461 2011-05-12 Glenn Morris <rgm@gnu.org>
24462
24463 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24464 Let byte-compile-initial-macro-environment always take precedence.
24465
24466 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24467
24468 * net/rcirc.el: Add support for SSL/TLS connections.
24469 (rcirc-server-alist): New field `encryption'.
24470 (rcirc): Check `encryption' settings.
24471 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24472 Merge make-local-variable into `set'.
24473 (rcirc--connection-open-p): New function.
24474 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24475 the process is not a network process (e.g. running gnutls-cli).
24476 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24477 Make rcirc-(en|de)code-coding-system local here.
24478 (rcirc-mode): Merge make-local-variable into `set'.
24479 (rcirc-parent-buffer): Make permanent buffer-local.
24480 (rcirc-multiline-minor-mode): Don't do it here.
24481 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24482 there's no server buffer.
24483
24484 2011-05-11 Glenn Morris <rgm@gnu.org>
24485
24486 * newcomment.el (comment-kill): Prefix "unused" local.
24487
24488 * term/w32console.el (get-screen-color): Declare.
24489
24490 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24491 Handle symbol elements of byte-compile-initial-macro-environment.
24492
24493 2011-05-10 Leo Liu <sdl.web@gmail.com>
24494
24495 * bookmark.el (bookmark-bmenu-mode-map):
24496 Bind bookmark-bmenu-search to `/'.
24497
24498 * mail/footnote.el: Convert to utf-8 encoding.
24499 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24500 (Footnote-unicode): New function.
24501 (footnote-style-alist): Add unicode style to the list.
24502 (footnote-style): Doc fix.
24503
24504 2011-05-10 Jim Meyering <meyering@redhat.com>
24505
24506 Fix doubled-word typos.
24507 * international/quail.el (quail-insert-kbd-layout): and and -> and
24508 * kermit.el: and and -> and
24509 * net/ldap.el (ldap-search-internal): to to -> to
24510 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24511 * progmodes/js.el (js-mode): and and -> and
24512 * textmodes/artist.el (artist-move-to-xy): at at -> at
24513 (artist-draw-region-trim-line-endings): if if -> if
24514 And Safetyc -> Safety.
24515 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24516
24517 2011-05-10 Glenn Morris <rgm@gnu.org>
24518 Stefan Monnier <monnier@iro.umontreal.ca>
24519
24520 * files.el (hack-one-local-variable-eval-safep):
24521 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24522
24523 2011-05-10 Glenn Morris <rgm@gnu.org>
24524
24525 * calendar/diary-lib.el (diary-list-entries-hook)
24526 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24527 (diary-nongregorian-marking-hook, diary-list-entries)
24528 (diary-include-other-diary-files, diary-mark-entries)
24529 (diary-mark-included-diary-files): Doc fixes.
24530
24531 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24532
24533 * misc.el: Require tabulated-list.el during compilation.
24534
24535 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24536
24537 * progmodes/compile.el (compilation-start):
24538 Run compilation-filter-hook for the async case too.
24539 (compilation-filter-hook): Doc fix.
24540
24541 2011-05-09 Deniz Dogan <deniz@dogan.se>
24542
24543 * wdired.el: Remove outdated installation comment. Fix usage
24544 comment.
24545
24546 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24547
24548 * misc.el: Implement new command `list-dynamic-libraries'.
24549 (list-dynamic-libraries--loaded-only-p): New variable.
24550 (list-dynamic-libraries--refresh): New function.
24551 (list-dynamic-libraries): New command.
24552
24553 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24554
24555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24556 Fix the ant regexp to handle end-line and end-column info from jikes.
24557 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24558 higher priority to avoid clobbering by gnu.
24559
24560 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24561
24562 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24563 if the face has existing theme settings (Bug#8454).
24564
24565 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24566
24567 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24568 Only match variables declared via `my' or `our' (Bug#8261).
24569
24570 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24571 special file names `.' and `..' (Bug#8259).
24572
24573 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24574
24575 * progmodes/grep.el (grep-mode-font-lock-keywords):
24576 Remove buffer-changing entries.
24577 (grep-filter): New function.
24578 (grep-mode): Add it to compilation-filter-hook.
24579
24580 * progmodes/compile.el (compilation-filter-hook)
24581 (compilation-filter-start): New defvars.
24582 (compilation-filter): Call compilation-filter-hook prior to
24583 updating the process mark.
24584
24585 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24586
24587 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24588
24589 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24590
24591 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24592 mailclient-send-it even if window-system is nil. (Bug#8595)
24593
24594 * term/w32console.el (terminal-init-w32console):
24595 Call get-screen-color and use its output to set the frame
24596 background-mode. (Bug#8597)
24597
24598 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24599
24600 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24601 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24602 New functions.
24603 (defgeneric, eieio--defmethod): Use them.
24604 (eieio-defgeneric): Remove.
24605 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24606
24607 2011-05-07 Glenn Morris <rgm@gnu.org>
24608
24609 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24610 Use let rather than let*.
24611 (timeclock-find-discrep): Remove unused local.
24612
24613 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24614
24615 * calendar/appt.el (appt-time-msg-list): Doc fix.
24616
24617 2011-05-06 Noah Friedman <friedman@splode.com>
24618
24619 * apropos.el (apropos-print-doc): Only use
24620 emacs-lisp-docstring-fill-column when it is bound to an integer,
24621 per that variable's documentation.
24622
24623 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24624
24625 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24626 and warnings are not silently discarded (e.g. use -d instead of -P).
24627
24628 2011-05-06 Glenn Morris <rgm@gnu.org>
24629
24630 * calendar/appt.el (appt-message-warning-time): Doc fix.
24631 (appt-warning-time-regexp): New option.
24632 (appt-make-list): Respect appt-message-warning-time.
24633
24634 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24635 New options.
24636 (diary-add-to-list): Strip comments from the displayed string.
24637 (diary-mode): Set comment-start and comment-end.
24638
24639 * vc/diff-mode.el (smerge-refine-subst): Declare.
24640 (diff-refine-hunk): Don't require smerge-mode when compiling.
24641
24642 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24643
24644 * simple.el (list-processes): Return nil as the docstring says.
24645
24646 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24647
24648 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24649 to "".
24650 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24651 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24652 determining of binary transfer. (Bug#7383)
24653
24654 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24655
24656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24657 Fix port computation bug. (Bug#8618)
24658
24659 2011-05-05 Glenn Morris <rgm@gnu.org>
24660
24661 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24662
24663 * simple.el (shell-dynamic-complete-functions)
24664 (comint-dynamic-complete-functions): Declare.
24665
24666 * net/network-stream.el (gnutls-negotiate):
24667 * simple.el (tabulated-list-print): Fix declarations.
24668
24669 * progmodes/gud.el (syntax-symbol, syntax-point):
24670 Remove unnecessary and incorrect declarations.
24671
24672 * emacs-lisp/check-declare.el (check-declare-scan):
24673 Handle byte-compile-initial-macro-environment in bytecomp.el.
24674
24675 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24676
24677 Fix earlier half-done eieio-defmethod change (bug#8338).
24678 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24679 Streamline and change calling convention.
24680 (defmethod): Adjust accordingly and simplify.
24681 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24682 new eieio--defmethod.
24683 (slot-boundp): Minor CSE simplification.
24684
24685 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24686
24687 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24688 (glasses-make-readable): Use glasses-separate-capital-groups.
24689
24690 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24691
24692 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24693 (warning-series): Doc fix.
24694 (display-warning): Don't try to create the buffer if we just found it.
24695
24696 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24697
24698 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24699 (autoload-find-generated-file): New function.
24700 (generate-file-autoloads): Bind generated-autoload-file to
24701 buffer-file-name.
24702 (update-file-autoloads, update-directory-autoloads):
24703 Use autoload-find-generated-file. If called interactively, prompt for
24704 output file (Bug#7989).
24705 (batch-update-autoloads): Doc fix.
24706
24707 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24708
24709 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24710
24711 2011-05-04 Glenn Morris <rgm@gnu.org>
24712
24713 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24714 function, so it follows changes in calendar-date-style.
24715 (diary-fancy-date-matcher): New function.
24716 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24717 (diary-fancy-font-lock-fontify-region-function):
24718 Use diary-fancy-date-pattern as a function.
24719
24720 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24721 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24722
24723 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24724
24725 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24726 instead of positional arguments. Allow :keylist and :crlfiles
24727 arguments.
24728 (open-gnutls-stream): Call it.
24729
24730 * net/network-stream.el (network-stream-open-starttls): Adjust to
24731 call `gnutls-negotiate' with :process and :hostname arguments.
24732
24733 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24734
24735 * minibuffer.el (completion--message): New function.
24736 (completion--do-completion, minibuffer-complete)
24737 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24738 (completion--do-completion): Don't ignore completion-auto-help when in
24739 icomplete-mode.
24740
24741 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24742 internal encoding (e.g. tibetan zero is not whitespace).
24743 (global-whitespace-mode): Prefer save-current-buffer.
24744 (whitespace-trailing-regexp): Remove useless save-match-data.
24745 (whitespace-empty-at-bob-regexp): Minor simplification.
24746
24747 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24748
24749 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24750
24751 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24752
24753 * textmodes/ispell.el (ispell-add-per-file-word-list):
24754 Use `concat' to create string for insertion.
24755
24756 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24757
24758 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24759 Avoid open-line which runs post-self-insert-hook.
24760 (bibtex-fill-entry): Remove unused `end' var.
24761
24762 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24763
24764 * textmodes/ispell.el (ispell-add-per-file-word-list):
24765 Protect against `nil' value of `comment-start' (Bug#8579).
24766
24767 2011-05-03 Leo Liu <sdl.web@gmail.com>
24768
24769 * isearch.el (isearch-yank-pop): New command.
24770 (isearch-mode-map): Bind it to `M-y'.
24771 (isearch-forward): Mention it.
24772
24773 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24774
24775 * simple.el (minibuffer-complete-shell-command): Remove.
24776 (minibuffer-local-shell-command-map): Use completion-at-point.
24777 (read-shell-command): Setup completion vars here instead.
24778 (read-expression-map): Bind TAB to symbol completion.
24779
24780 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24781 error directly rather via storing it into `results'.
24782
24783 2011-05-02 Leo Liu <sdl.web@gmail.com>
24784
24785 * vc/diff.el: Fix description.
24786
24787 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24788
24789 * server.el (server-eval-at): New function.
24790
24791 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24792
24793 * net/network-stream.el (open-network-stream): Take a :nowait
24794 parameter and pass it on to `make-network-process'.
24795 (network-stream-open-plain): Ditto.
24796
24797 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24798
24799 * faces.el (face-spec-set-match-display): Don't match toolkit
24800 options on terminal frames.
24801
24802 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24803
24804 * progmodes/pascal.el: Use lexical binding.
24805 (pascal-mode-map): Remove author preferences.
24806
24807 * pcomplete.el (pcomplete-std-complete): Don't abuse
24808 completion-at-point.
24809
24810 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24811
24812 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24813 removing code that has been dead since 1991 or so.
24814
24815 * startup.el (command-line): When warning about "_emacs", use a
24816 delayed warning to allow the user to filter it out.
24817
24818 2011-04-28 Deniz Dogan <deniz@dogan.se>
24819
24820 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24821 user has not joined.
24822
24823 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24824
24825 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24826 aren't any completions at point.
24827
24828 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24829
24830 * subr.el (display-delayed-warnings): New function.
24831 (delayed-warnings-hook): New variable.
24832
24833 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24834
24835 * minibuffer.el (completion-at-point, completion-help-at-point):
24836 Don't presume that a given completion-at-point-function will always
24837 use the same calling convention.
24838
24839 * pcomplete.el (pcomplete-completions-at-point):
24840 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24841 pcomplete-seen is non-nil.
24842 (pcomplete-comint-setup): Also recognize the new comint/shell
24843 completion functions.
24844 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24845 pcomplete-seen is non-nil.
24846
24847 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24848
24849 * calendar/icalendar.el (diary-lib): Add require statement.
24850 (icalendar--create-uid): Read out a uid from a text-property on
24851 the first character in the entry. This allows for code to add its
24852 own uid to the entry.
24853 (icalendar--convert-float-to-ical): Add export of
24854 `diary-float'-entries save for those with the optional DAY
24855 argument.
24856
24857 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24858
24859 * subr.el (shell-quote-argument): Use alternate escaping strategy
24860 when we spot a variable reference in a string.
24861
24862 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24863
24864 * cus-start.el (all): Define customization for debug-on-event.
24865
24866 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24867
24868 * subr.el (shell-quote-argument): Escape correctly under Windows.
24869
24870 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24871
24872 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24873
24874 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24875
24876 * net/tramp.el (tramp-process-actions): Add POS argument.
24877 Delete region between POS and (pos).
24878
24879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24880 Use `nil' position in `tramp-process-actions' call.
24881 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24882
24883 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24884 position in `tramp-process-actions' call.
24885
24886 * net/trampver.el: Update release number.
24887
24888 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24889
24890 * custom.el (defcustom): Obey lexical-binding.
24891
24892 Fix octave-inf completion problems reported by Alexander Klimov.
24893 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24894 Inherit from octave-mode-syntax-table.
24895 (inferior-octave-mode): Set info-lookup-mode.
24896 (inferior-octave-completion-at-point): New function.
24897 (inferior-octave-complete): Use it and completion-in-region.
24898 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24899 comint-filename-completion.
24900 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24901 symbol elements which shouldn't be word elements.
24902 (octave-font-lock-keywords, octave-beginning-of-defun)
24903 (octave-function-header-regexp): Adjust regexps accordingly.
24904 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24905
24906 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24907
24908 * net/gnutls.el (gnutls-errorp): Declare before first use.
24909
24910 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24911
24912 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24913 verify-error, and verify-hostname-error parameters. Check whether
24914 default trustfile exists before going to use it. Add missing
24915 argument to gnutls-message-maybe call. Return value.
24916 Reported by Claudio Bley <claudio.bley@gmail.com>.
24917 (open-gnutls-stream): Add usage example.
24918
24919 * net/network-stream.el (network-stream-open-starttls): Give host
24920 parameter to `gnutls-negotiate'.
24921 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24922 * subr.el (shell-quote-argument): Escape correctly under Windows.
24923
24924 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24925
24926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24927 Use correct match group (bug#8438).
24928
24929 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24930
24931 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24932 (package-menu--generate): New arg specifying packages to show.
24933 (package-menu-refresh, package-menu-execute, list-packages):
24934 Callers changed.
24935 (package-show-package-list): New function, replacing deleted
24936 package--list-packages (renamed because it is non-internal).
24937
24938 * finder.el (finder-list-matches): Use package-show-package-list
24939 instead of deleted package--list-packages.
24940
24941 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24942 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24943 (vc-annotate-mode-map): Bind it to RET.
24944
24945 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24946
24947 * progmodes/etags.el (next-file): Don't use set-buffer to change
24948 buffers (Bug#8478).
24949
24950 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24951
24952 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24953
24954 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24955 (apropos-accumulator): Doc fix.
24956 (apropos-function, apropos-macro, apropos-command)
24957 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24958 (apropos-plist): Add face property.
24959 (apropos-symbols-internal): Fix indentation.
24960 (apropos-print): Simplify help, and recognize apropos-multi-type.
24961 (apropos-print-doc): Use button-type-get to extract the button's
24962 face property. Fill docstring (Bug#8352).
24963
24964 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24965
24966 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24967
24968 * play/mpuz.el (mpuz-silent): Doc fix.
24969 (mpuz-mode-map): Use mapc.
24970 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24971 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24972 Fix typos in docstrings.
24973
24974 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24975 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24976
24977 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24978
24979 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24980
24981 * minibuffer.el (completion--do-completion): Avoid the "Next char
24982 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24983
24984 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24985 mouse-2 into unread-command-events, it is interpreted correctly.
24986
24987 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24988 (image-toggle-display): Doc fix.
24989
24990 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24991
24992 * textmodes/page.el (what-page): Use line-number-at-pos to
24993 calculate line number (Bug#6825).
24994
24995 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24996
24997 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24998 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24999 Pass argument NO-DEFAULT to `find-tag-interactive'.
25000
25001 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25002
25003 Lexical-binding cleanup.
25004
25005 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25006 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25007 * progmodes/ada-prj.el (ada-prj-initialize-values)
25008 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25009 (ada-prj-show-value):
25010 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25011 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25012 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25013 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25014 * progmodes/bug-reference.el (bug-reference-push-button):
25015 * progmodes/fortran.el (fortran-line-length):
25016 * progmodes/glasses.el (glasses-change):
25017 * progmodes/octave-mod.el (octave-fill-paragraph):
25018 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25019 (python-pdbtrack-grub-for-buffer, python-sentinel):
25020 * progmodes/sql.el (sql-save-connection):
25021 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25022 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25023 Mark unused parameters.
25024
25025 * progmodes/compile.el (compilation--flush-directory-cache)
25026 (compilation--flush-parse, compile-internal): Mark unused parameters.
25027 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25028 (compilation-next-error-function): Remove unused variable `timestamp'.
25029
25030 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25031 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25032
25033 * progmodes/dcl-mode.el (dcl-end-of-command):
25034 Remove unused variable `start'.
25035 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25036 (dcl-option-value-basic, dcl-option-value-offset)
25037 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25038 Mark unused parameters.
25039 (dcl-save-local-variable): Remove unused variable `val'.
25040 (mode): Declare.
25041
25042 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25043 Mark unused parameters.
25044 (delphi-ignore-changes): Move before first use.
25045 (delphi-charset-token-at): Remove unused variable `start'.
25046 (delphi-else-start): Remove unused variable `if-count'.
25047 (delphi-comment-block-start, delphi-comment-block-end):
25048 Remove unused variable `kind'.
25049 (delphi-indent-line): Remove unused variable `new-point'.
25050
25051 * progmodes/ebrowse.el (ebrowse-files-list)
25052 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25053 Mark unused parameters. Don't quote `lambda'.
25054 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25055 Don't quote `lambda'.
25056 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25057 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25058 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25059 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25060 Use `ignore-errors'.
25061 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25062 (ebrowse-view/find-file-and-search-pattern)
25063 (ebrowse-view/find-member-declaration/definition):
25064 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25065 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25066 Rename parameter PREFIX-ARG to PREFIX.
25067 (ebrowse-tags-read-name): Remove unused variables `start' and
25068 `member-info'.
25069 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25070 to `tags-file'.
25071
25072 * progmodes/etags.el (local-find-tag-hook): Declare.
25073 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25074 Mark unused parameters.
25075
25076 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25077 (executable-interpret): Mark unused parameter.
25078
25079 * progmodes/flymake.el (flymake-process-sentinel)
25080 (flymake-after-change-function)
25081 (flymake-create-temp-with-folder-structure)
25082 (flymake-get-include-dirs-dot): Mark unused parameters.
25083 (flymake-safe-delete-directory): Remove unused variable `err'.
25084
25085 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25086 (speedbar-timer-fn, speedbar-line-text)
25087 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25088 (speedbar-center-buffer-smartly): Declare functions.
25089 (gdb-find-watch-expression): Remove unused variable `array'.
25090 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25091 (gdb-starting): Mark unused parameters.
25092 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25093 (gdb-table-string): Remove unused variable `res'.
25094 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25095 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25096 (gdb-display-buffer): Remove unused variable `cur-size'.
25097
25098 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25099 allow lexical-binding compilation.
25100 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25101 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25102 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25103 Mark unused parameters.
25104 (gud-gdb-marker-filter): Remove unused variable `match'.
25105 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25106 lambda expressions and funcall them, instead of using `fset'.
25107
25108 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25109 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25110
25111 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25112 variable `header-beg'; use `let'.
25113
25114 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25115 `restart', `last-sexp' and `at-do'.
25116
25117 * progmodes/js.el (js--debug): Mark unused parameter.
25118 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25119 (js--splice-into-items): Remove unused variable `item'.
25120 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25121
25122 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25123 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25124 (makefile-complete): Remove unused variable `try'.
25125 (makefile-fill-paragraph, makefile-match-function-end):
25126 Mark unused parameters.
25127
25128 * progmodes/octave-inf.el (inferior-octave-complete):
25129 Remove unused variable `proc'.
25130 (inferior-octave-output-digest): Mark unused parameter.
25131
25132 * progmodes/perl-mode.el (perl-calculate-indent):
25133 Remove unused variable `err'.
25134
25135 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25136 (prolog-indent-line): Mark unused parameters.
25137 (prolog-indent-line): Remove unused variable `beg'.
25138
25139 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25140 (reporter-dont-compact-list): Declare.
25141
25142 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25143 Remove unused variable `char'.
25144 (sh-debug): Mark unused parameter.
25145 (sh-get-indent-info): Remove unused variable `start'.
25146 (sh-calculate-indent): Remove unused variable `var'.
25147
25148 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25149 (simula-electric-keyword): Remove unused variable `null'.
25150 (simula-search-backward, simula-search-forward): Remove unused
25151 variables `begin' and `end'.
25152
25153 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25154 Remove unused variable `pos'.
25155 (vera-electric-tab, vera-comment-uncomment-region):
25156 Mark unused parameters.
25157 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25158
25159 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25160
25161 * emacs-lisp/package.el (package--builtins, package-alist)
25162 (package-load-descriptor, package-built-in-p, package-activate)
25163 (define-package, package-installed-p)
25164 (package-compute-transaction, package-buffer-info)
25165 (package--push): Doc fix. Distinguish more clearly between
25166 version strings and version lists.
25167
25168 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25169
25170 Lexical-binding cleanup.
25171
25172 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25173 (5x5-make-mutate-best):
25174 * play/fortune.el (fortune-in-buffer):
25175 * play/gomoku.el (gomoku-init-display):
25176 * play/solitaire.el (solitaire, solitaire-do-check):
25177 * play/tetris.el (tetris-default-update-speed-function):
25178 Mark unused parameters.
25179
25180 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25181 (bubbles--shift): Remove unused variable `char-org'.
25182 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25183 (bubbles--show-images): Remove unused variable `char'.
25184
25185 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25186 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25187 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25188 (decipher-analyze-buffer): Use ?\s.
25189 (decipher-make-checkpoint): Remove unused variable `mapping'.
25190
25191 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25192
25193 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25194 Remove unused variable `result'; use `let'.
25195
25196 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25197 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25198 (gametree-children-shown-p, gametree-compute-reduced-score):
25199 Use `ignore-errors'.
25200
25201 * play/handwrite.el (ps-lpr-switches): Declare.
25202 (handwrite): Remove unused variables `pmin' and `lastp'.
25203
25204 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25205
25206 * play/landmark.el (landmark-init-display)
25207 (landmark-update-naught-weights): Mark unused parameters.
25208 (landmark-y): Remove unused variable `noise'. Simplify.
25209 (landmark-human-plays): Remove unused variable `score'.
25210
25211 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25212 (mpuz-try-proposal): Remove unused variable `game'.
25213
25214 * play/zone.el (life-patterns): Declare.
25215
25216 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25217
25218 * vc/vc.el (ediff-vc-internal): Declare function.
25219
25220 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25221
25222 * shell.el: Use lexical-binding and std completion UI.
25223 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25224 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25225 comint-preoutput-filter-functions rather than on
25226 comint-output-filter-functions.
25227 (shell-command-completion, shell--command-completion-data)
25228 (shell-filename-completion, shell-environment-variable-completion)
25229 (shell-c-a-p-replace-by-expanded-directory): New functions.
25230 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25231 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25232 (shell-dynamic-complete-environment-variable): Use them.
25233 (shell-dynamic-complete-as-environment-variable)
25234 (shell-dynamic-complete-as-command): Remove.
25235 (shell-match-partial-variable): Match past point.
25236 * comint.el: Clean up use of completion-at-point-functions.
25237 (comint-completion-at-point): New function.
25238 (comint-mode): Use it completion-at-point-functions.
25239 (comint-dynamic-complete): Make it obsolete.
25240 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25241 (comint-c-a-p-replace-by-expanded-history): New function.
25242 (comint-dynamic-complete-functions)
25243 (comint-replace-by-expanded-history): Use it.
25244 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25245 termination strings. Try harder to avoid second try-completion.
25246 (completion-in-region-mode-map): Disable bindings that don't work yet.
25247
25248 * comint.el: Use lexical-binding. Require CL.
25249 (comint-dynamic-complete-functions): Use comint-filename-completion.
25250 (comint-completion-addsuffix): Tweak custom type.
25251 (comint-filename-completion, comint--common-suffix)
25252 (comint--common-quoted-suffix, comint--table-subvert)
25253 (comint--complete-file-name-data): New functions.
25254 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25255 (comint-dynamic-list-filename-completions): Use them.
25256 (comint-dynamic-simple-complete): Make obsolete.
25257
25258 * minibuffer.el (completion-in-region-mode):
25259 Keep completion-in-region-mode--predicate global.
25260 (completion-in-region--postch):
25261 Assume completion-in-region-mode--predicate is not null.
25262
25263 * progmodes/flymake.el (flymake-start-syntax-check-process):
25264 Obey `dir'. Simplify.
25265
25266 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25267 we're in VC after all.
25268
25269 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25270
25271 * vc/vc.el (vc-diff-build-argument-list-internal)
25272 (vc-version-ediff, vc-ediff): New commands.
25273 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25274
25275 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25276
25277 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25278 add sanity check.
25279
25280 * obsolete/erc-hecomplete.el: Make obsolete.
25281 * obsolete/: Standardize obsolescence info in the header.
25282
25283 2011-04-20 Glenn Morris <rgm@gnu.org>
25284
25285 * calendar/solar.el (solar-horizontal-coordinates):
25286 Use the longitude argument rather than `calendar-longitude'.
25287 (solar-date-next-longitude): Remove unused locals.
25288
25289 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25290
25291 * whitespace.el: New version 13.2.1.
25292
25293 2011-04-20 felix <EmacsWiki> (tiny change)
25294
25295 * whitespace.el (global-whitespace-mode): Keep highlight when
25296 switching between major modes on a file.
25297
25298 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25299
25300 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25301 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25302 multi-line comments as well.
25303
25304 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25305
25306 Lexical-binding cleanup.
25307
25308 * arc-mode.el (archive-mode-revert):
25309 * cmuscheme.el (scheme-interactively-start-process):
25310 * custom.el (custom-initialize-delay):
25311 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25312 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25313 * emacs-lock.el (emacs-lock-clear-sentinel):
25314 * ezimage.el (defezimage):
25315 * follow.el (follow-avoid-tail-recenter):
25316 * fringe.el (set-fringe-mode-1):
25317 * generic-x.el (bat-generic-mode-compile):
25318 * help-mode.el (help-info-variable, help-do-xref)
25319 (help-mode-revert-buffer):
25320 * help.el (view-emacs-todo):
25321 * iswitchb.el (iswitchb-completion-help):
25322 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25323 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25324 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25325 * locate.el (locate-update):
25326 * longlines.el (longlines-encode-region)
25327 (longlines-after-change-function):
25328 * outline.el (outline-isearch-open-invisible):
25329 * ps-def.el (declare-function, charset-dimension, char-width)
25330 (encode-char):
25331 * ps-mule.el (ps-mule-plot-string):
25332 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25333 (recentf-edit-list-select, recentf-edit-list-validate)
25334 (recentf-open-files-action):
25335 * rect.el (delete-whitespace-rectangle-line)
25336 (rectangle-number-line-callback):
25337 * register.el (window-configuration-to-register)
25338 (frame-configuration-to-register):
25339 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25340 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25341 (xselect-convert-to-targets, xselect-convert-to-delete)
25342 (xselect-convert-to-filename, xselect-convert-to-charpos)
25343 (xselect-convert-to-lineno, xselect-convert-to-colno)
25344 (xselect-convert-to-os, xselect-convert-to-host)
25345 (xselect-convert-to-user, xselect-convert-to-class)
25346 (xselect-convert-to-name, xselect-convert-to-integer)
25347 (xselect-convert-to-atom, xselect-convert-to-identity):
25348 * subr.el (declare, ignore, process-kill-without-query)
25349 (text-clone-maintain):
25350 * terminal.el (te-get-char, te-tic-sentinel):
25351 * tool-bar.el (tool-bar-make-keymap):
25352 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25353 * type-break.el (type-break-mode, type-break-noninteractive-query):
25354 * view.el (View-back-to-mark):
25355 * wid-browse.el (widget-browse-action, widget-browse-widget)
25356 (widget-browse-widgets, widget-browse-sexp):
25357 * widget.el (define-widget-keywords):
25358 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25359 Mark unused parameters.
25360
25361 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25362 (align-areas): Remove unused variable `look'.
25363 (align-region): Remove unused variables `real-end' and `pos-list'.
25364
25365 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25366
25367 * bindings.el (mode-line-modified, mode-line-remote):
25368 Mark unused parameters.
25369 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25370
25371 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25372 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25373
25374 * comint.el (comint-history-isearch-pop-state)
25375 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25376 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25377 (comint-substitute-in-file-name): Doc fix.
25378
25379 * completion.el (cmpl-statistics-block): Mark unused parameter.
25380 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25381 (save-completions-to-file, load-completions-from-file):
25382 Remove unused local variable `e'.
25383
25384 * composite.el (compose-chars): Remove unused variable `len'.
25385 (lgstring-insert-glyph): Remove unused variable `g'.
25386 (compose-glyph-string): Remove unused variables `ascent',
25387 `descent', `lbearing' and `rbearing'.
25388 (compose-glyph-string-relative): Remove unused variables
25389 `lbearing', `rbearing' and `wadjust'.
25390 (compose-gstring-for-graphic): Remove unused variables `header',
25391 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25392 (compose-gstring-for-terminal): Remove unused variables `header'
25393 and `nchars'. Use `let', not `let*'.
25394
25395 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25396 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25397 (Custom-buffer-done, custom-buffer-create-internal)
25398 (custom-browse-visibility-action, custom-browse-group-tag-action)
25399 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25400 (widget-magic-mouse-down-action, custom-toggle-parent)
25401 (custom-add-parent-links, custom-toggle-hide-variable)
25402 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25403 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25404 (custom-face-menu-create, custom-variable-menu-create, get)
25405 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25406 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25407 (customize-apropos): Remove unused variable `tests'.
25408 (custom-group-value-create): Remove unused variable `hidden-p'.
25409 (sort-fold-case): Declare.
25410
25411 * cus-theme.el (custom-reset-standard-faces-list)
25412 (custom-reset-standard-variables-list): Declare.
25413 (customize-create-theme, custom-theme-revert, custom-theme-write)
25414 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25415 Mark unused parameters.
25416
25417 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25418
25419 * delim-col.el (delimit-columns-max): Move defvar before first use.
25420
25421 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25422 (describe-char): Don't quote `lambda'. Mark unused parameter.
25423
25424 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25425 (auto-insert): Declare.
25426 (desktop-restore-file-buffer): Rename desktop-* parameters;
25427 mark unused ones.
25428 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25429 (desktop-buffer): Rename desktop-* parameters.
25430
25431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25432 (dframe-reposition-frame-xemacs, dframe-help-echo)
25433 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25434 Mark unused parameters.
25435
25436 * dired-aux.el (backup-extract-version-start, overwrite-query)
25437 (overwrite-backup-query, rename-regexp-query)
25438 (rename-non-directory-query): Declare.
25439 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25440 (dired-add-entry): Remove unused variable `orig-file-name'.
25441 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25442 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25443 `dired-copy-preserve-time' directly.
25444 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25445 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25446
25447 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25448 (dired-virtual-revert, dired-make-relative-symlink):
25449 Mark unused parameters.
25450 (manual-program): Declare.
25451 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25452 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25453 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25454
25455 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25456
25457 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25458
25459 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25460 Declare.
25461
25462 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25463
25464 * electric.el (Electric-command-loop): Rename parameter
25465 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25466
25467 * expand.el (expand-in-literal): Remove unused variable `here'.
25468
25469 * facemenu.el (facemenu-add-new-color):
25470 Remove unused variable `docstring'.
25471
25472 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25473 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25474 (face-attr-construct): Mark unused parameter. Doc fix.
25475 (read-color): Remove unused variable `hex-string'.
25476
25477 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25478 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25479 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25480 (display-buffer-other-frame): Remove unused variable `old-window'.
25481 (kill-buffer-hook): Declare.
25482 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25483 Mark unused parameters.
25484 (after-find-file): Pass 1 to `auto-save-mode', not t.
25485
25486 * files-x.el (auto-insert): Declare.
25487 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25488
25489 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25490 variable `buf'. Mark unused parameter.
25491 (find-lisp-insert-directory): Mark unused parameter.
25492
25493 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25494 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25495 (format-common-tail): Remove, unused.
25496 (format-deannotate-region): Remove unused variable `loc'.
25497 (format-annotate-region): Remove unused variable `p'.
25498 (format-annotate-single-property-change): Remove unused variables
25499 `default' and `tail'.
25500
25501 * forms.el (read-file-filter): Declare.
25502 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25503
25504 * frame.el (frame-creation-function-alist): Mark unused parameter.
25505 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25506
25507 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25508 Remove unused parameters.
25509 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25510 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25511
25512 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25513 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25514 (hfy-prepare-tag-map): Mark unused parameters.
25515 (htmlfontify-buffer): Use `called-interactively-p'.
25516
25517 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25518 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25519 (ibuffer-do-occur): Mark unused parameters.
25520 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25521 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25522
25523 * ibuffer.el: Don't quote `lambda'.
25524 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25525 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25526 Mark unused parameters.
25527
25528 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25529 (ido-completing-read): Mark unused parameters.
25530 (ido-copy-current-word): Mark unused parameters;
25531 remove unused variable `name'.
25532 (ido-sort-merged-list): Remove unused parameter `dirs'.
25533
25534 * ielm.el (ielm-input-sender): Mark unused parameter.
25535 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25536 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25537 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25538 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25539 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25540
25541 * image-dired.el (image-dired-display-thumbs): Remove unused
25542 variables `curr-file' and `count'.
25543 (image-dired-remove-tag): Remove unused variable `start'.
25544 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25545 variable `curr-file'
25546 (image-dired-rotate-original): Remove unused variable `temp-file'.
25547 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25548 Remove unused variable `file'.
25549 (image-dired-gallery-generate): Remove unused variable `curr'.
25550 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25551
25552 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25553
25554 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25555
25556 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25557
25558 * isearch.el (minibuffer-history-symbol): Declare.
25559 (isearch-edit-string): Remove unused variable `err'.
25560 (isearch-message-prefix, isearch-message-suffix):
25561 Mark unused parameters.
25562
25563 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25564
25565 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25566
25567 * makesum.el (double-column): Remove unused variable `cnt'.
25568
25569 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25570 (ido-ignore-item-temp-list): Declare.
25571
25572 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25573 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25574 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25575 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25576 `mouse-col-delta'.
25577
25578 * mouse-sel.el (mouse-extend-internal):
25579 Remove unused variable `orig-window-frame'.
25580
25581 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25582 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25583 Move declarations before first use.
25584 (pcomplete-opt): Mark unused parameters; doc fix.
25585
25586 * proced.el (proced-revert): Mark unused parameter.
25587 (proced-send-signal): Remove unused variable `err'.
25588
25589 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25590 Rename parameter PREFIX-ARG to ARG.
25591 (ps-basic-plot-string, ps-basic-plot-whitespace):
25592 Mark unused parameters.
25593
25594 * replace.el (replace-count): Define.
25595 (occur-revert-function): Mark unused parameters.
25596 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25597 (isearch-case-fold-search, isearch-string): Declare.
25598 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25599 bind `case-fold-search'. Remove unused variables `beg' and `end',
25600 and simplify.
25601 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25602 COUNT and bind `replace-count'.
25603 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25604 to COUNT.
25605
25606 * savehist.el (print-readably, print-string-length): Declare.
25607
25608 * shadowfile.el (shadow-expand-cluster-in-file-name):
25609 Remove unused variable `cluster'.
25610 (shadow-copy-file): Remove unused variable `i'.
25611 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25612 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25613 (shadow-define-literal-group, shadow-define-regexp-group)
25614 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25615
25616 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25617 (shell): Use `called-interactively-p'.
25618 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25619
25620 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25621 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25622 (delete-backward-char): Remove unused variable `ocol'.
25623 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25624 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25625 (event-apply-hyper-modifier, event-apply-shift-modifier)
25626 (event-apply-control-modifier, event-apply-meta-modifier):
25627 Mark unused parameters.
25628 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25629 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25630
25631 * speedbar.el (speedbar-ignored-directory-expressions)
25632 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25633 (speedbar-find-file, speedbar-dir-follow)
25634 (speedbar-directory-buttons-follow, speedbar-tag-find)
25635 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25636 (speedbar-buffers-line-directory, speedbar-buffer-click):
25637 Mark unused parameters.
25638 (speedbar-tag-file): Remove unused variable `mode'.
25639 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25640
25641 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25642
25643 * talk.el (talk): Remove unused variable `display'.
25644
25645 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25646 (tar-write-region-annotate): Mark unused parameter.
25647
25648 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25649 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25650 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25651 warning by another.
25652
25653 * time-stamp.el (time-stamp-string-preprocess):
25654 Remove unused variable `require-padding'.
25655
25656 * tree-widget.el (widget-glyph-enable): Declare.
25657 (tree-widget-action): Mark unused parameter.
25658
25659 * w32-fns.el (x-get-selection): Mark unused parameter.
25660 (autoload-make-program, generated-autoload-file): Declare.
25661
25662 * wdired.el (wdired-revert): Mark unused parameters.
25663 (wdired-xcase-word): Remove unused variable `err'.
25664
25665 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25666 (whitespace-help-scroll): Remove unused variable `data-help'.
25667
25668 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25669 (widget-image-insert, widget-after-change, default)
25670 (widget-default-format-handler, widget-default-notify)
25671 (widget-default-prompt-value, widget-info-link-action)
25672 (widget-url-link-action, widget-function-link-action)
25673 (widget-variable-link-action, widget-file-link-action)
25674 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25675 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25676 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25677 (widget-insert-button-action, widget-delete-button-action, visibility)
25678 (widget-documentation-link-action, widget-documentation-string-action)
25679 (widget-const-prompt-value, widget-regexp-match, symbol)
25680 (widget-coding-system-prompt-value)
25681 (widget-key-sequence-value-to-external, sexp)
25682 (widget-sexp-value-to-internal, character, vector, cons)
25683 (widget-choice-prompt-value, widget-boolean-prompt-value)
25684 (widget-color--choose-action): Mark unused parameters.
25685 (widget-item-match-inline, widget-choice-match-inline)
25686 (widget-checklist-match, widget-checklist-match-inline)
25687 (widget-group-match): Rename parameter VALUES to VALS.
25688 (widget-field-value-set): Remove unused variable `size'.
25689 (widget-color-action): Remove unused variables `value' and `start'.
25690
25691 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25692 variable `dir'. Doc fix.
25693 (windmove-find-other-window): Don't pass it.
25694
25695 * window.el (count-windows): Mark unused parameter.
25696 (bw-adjust-window): Remove unused variable `err'.
25697
25698 * woman.el (woman-file-name): Remove unused variable `default'.
25699 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25700 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25701 (global-font-lock-mode): Declare.
25702 (woman-decode-region): Mark unused parameter.
25703 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25704
25705 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25706 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25707 (x-dnd-handle-moz-url): Remove unused variable `title'.
25708 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25709
25710 * xml.el (xml-parse-tag, xml-parse-attlist):
25711 Remove unused variable `pos'.
25712
25713 2011-04-19 Glenn Morris <rgm@gnu.org>
25714
25715 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25716 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25717 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25718 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25719 * calendar/cal-html.el (cal-html-insert-minical):
25720 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25721 (calendar-mark-date-pattern):
25722 Prefix "unused" locals.
25723
25724 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25725 optional argument `style'.
25726
25727 * calendar/appt.el (appt-make-list):
25728 * calendar/cal-china.el (calendar-chinese-date-string):
25729 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25730 (diary-hebrew-yahrzeit):
25731 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25732 * calendar/calendar.el (calendar-generate-window):
25733 * calendar/time-date.el (time-to-days):
25734 Remove unused local variables.
25735
25736 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25737
25738 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25739 glyphless-char-display table.
25740 (tabulated-list-glyphless-char-display): New var.
25741
25742 2011-04-18 Sam Steingold <sds@gnu.org>
25743
25744 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25745 to acknowledgments.
25746
25747 2011-04-17 Glenn Morris <rgm@gnu.org>
25748
25749 * calendar/diary-lib.el (diary-sexp-entry):
25750 * calendar/holidays.el (holiday-sexp):
25751 Set debug-on-error rather than the removed stack-trace-on-error.
25752
25753 2011-04-16 Glenn Morris <rgm@gnu.org>
25754
25755 * progmodes/f90.el: Use lexical-binding.
25756 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25757
25758 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25759
25760 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25761 (mail-mode): Setup mailalias completion here instead.
25762 * mail/mailalias.el: Use lexical-binding.
25763 (pattern, mailalias-done): Declare dynamic.
25764 (mail-completion-at-point-function): New function, from mail-complete.
25765 (mail-complete): Use it.
25766 (mail-completion-expand): New function.
25767 (mail-get-names): Use it.
25768 (mail-directory, mail-directory-process, mail-directory-stream):
25769 Don't use `pattern' for lexically bound arg.
25770
25771 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25772
25773 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25774 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25775 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25776
25777 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25778 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25779 (byte-interactive-p): Define them again, for use when inlining
25780 old code.
25781
25782 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25783
25784 * loadup.el: Use `string-to-number', not `string-to-int'.
25785
25786 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25787
25788 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25789 gud-gdb-complete-command.
25790 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25791 (gud-gdb-completion-at-point): New function.
25792 (gud-gdb-completions): Remove.
25793
25794 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25795
25796 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25797 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25798 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25799 whether `executable-find' is bound.
25800
25801 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25802
25803 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25804
25805 * minibuffer.el (completion-in-region-mode-predicate)
25806 (completion-in-region-mode--predicate): New vars.
25807 (completion-in-region, completion-in-region--postch)
25808 (completion-in-region-mode): Use them.
25809 (completion--capf-wrapper): Also return the hook function.
25810 (completion-at-point, completion-help-at-point):
25811 Adjust and provide a predicate.
25812
25813 Preserve arg names for advice of subr and lexical functions (bug#8457).
25814 * help-fns.el (help-function-arglist): Consolidate the subr and
25815 new-byte-code cases. Add argument `preserve-names' to extract names
25816 from the docstring when needed.
25817 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25818 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25819 (ad-arglist): Use help-function-arglist's new arg.
25820 (ad-definition-type): Use cond.
25821
25822 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25823
25824 * autorevert.el (auto-revert-handler):
25825 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25826 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25827 Don't quote lambda.
25828
25829 * image-mode.el (image-transform-set-scale):
25830 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25831
25832 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25833
25834 * net/network-stream.el (network-stream-open-starttls): Only do
25835 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25836 Upgrades via gnutls-cli are too slow to be done opportunistically.
25837
25838 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25839
25840 * dframe.el (dframe-current-frame): Remove spurious quote.
25841
25842 2011-04-12 Glenn Morris <rgm@gnu.org>
25843
25844 * calendar/cal-tex.el (cal-tex-end-document):
25845 Try to automatically use latin1 input if needed.
25846
25847 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25848 Don't try to cons a mark onto an empty element.
25849
25850 2011-04-11 Leo Liu <sdl.web@gmail.com>
25851
25852 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25853 buffers.
25854 (ido-kill-buffer-at-head): Support killing virtual buffers.
25855
25856 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25857
25858 * minibuffer.el (completion-show-inline-help): New var.
25859 (completion--do-completion, minibuffer-complete)
25860 (minibuffer-force-complete, minibuffer-complete-word):
25861 Inhibit minibuffer messages if completion-show-inline-help is nil.
25862
25863 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25864 to avoid interference from inline help (Bug#5849).
25865
25866 2011-04-10 Leo Liu <sdl.web@gmail.com>
25867
25868 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25869 Fix typo.
25870
25871 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25872
25873 * image-mode.el (image-toggle-display-image): Signal an error if
25874 not in Image mode.
25875 (image-transform-mode, image-transform-resize)
25876 (image-transform-set-rotation): Doc fix.
25877 (image-transform-set-resize): Delete.
25878 (image-transform-set-scale, image-transform-fit-to-height)
25879 (image-transform-fit-to-width): Handle image-toggle-display-image
25880 and image-transform-resize directly.
25881
25882 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25883
25884 * doc-view.el (doc-view-fit-width-to-window)
25885 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25886 New functions for fitting the shown image to the Emacs window size.
25887 (doc-view-mode-map): Add bindings for the new functions.
25888
25889 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25890
25891 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25892 Fix typo in docstring.
25893
25894 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25895
25896 * files.el (file-size-human-readable): Produce one digit after
25897 decimal, like "ls -lh" does.
25898
25899 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25900 the file size representation.
25901
25902 * simple.el (list-processes): If async subprocesses are not
25903 available, error out with a clear error message.
25904
25905 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25906
25907 * help.el (help-form-show): New function, to be called from C.
25908 Put help-form output in a buffer named differently than *Help*.
25909
25910 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25911
25912 * files.el (file-size-human-readable): New function.
25913
25914 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25915 computing the representation inline. Don't require `cl'.
25916
25917 2011-04-08 Glenn Morris <rgm@gnu.org>
25918
25919 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25920
25921 * net/browse-url.el (browse-url-firefox):
25922 Test system-type, not system-configuration.
25923
25924 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25925 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25926 Use log-edit-empty-buffer-p. (Bug#7598)
25927
25928 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25929 (rlogin-mode-map): Initialize in the defvar.
25930 (rlogin): Use ignore-errors.
25931
25932 * replace.el (occur-mode-map): Some fixes for menu items.
25933
25934 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25935
25936 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25937
25938 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25939
25940 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25941 issuing unused warnings.
25942
25943 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25944 macro directly.
25945
25946 * simple.el: Lisp reimplement of list-processes. Based on an
25947 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25948 (process-menu-mode): New major mode.
25949 (list-processes--refresh, list-processes):
25950 (process-menu-visit-buffer): New functions.
25951
25952 * files.el (save-buffers-kill-emacs): Don't assume any return
25953 value of list-processes, which is undocumented anyway.
25954
25955 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25956
25957 * emacs-lisp/tabulated-list.el: New file.
25958
25959 * emacs-lisp/package.el: Use Tabulated List mode.
25960 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25961 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25962 table format using Tabulated List mode variables.
25963 (package--push): New macro, replacing package-list-maybe-add.
25964 (package-menu--generate): Use package--push. Renamed from
25965 package--generate-package-list.
25966 (package-menu-refresh, list-packages): Use it.
25967 (package-menu--print-info): Rename from package-print-package.
25968 Return insertion data instead of inserting it directly.
25969 (package-menu-describe-package, package-menu-execute):
25970 Use tabulated-list-get-id.
25971 (package-menu-mark-delete, package-menu-mark-install)
25972 (package-menu-mark-unmark, package-menu-backup-unmark)
25973 (package-menu-mark-obsolete-for-deletion):
25974 Use tabulated-list-put-tag.
25975 (package--list-packages, package-menu-revert)
25976 (package-menu-get-package, package-menu-get-version)
25977 (package-menu-sort-by-column): Functions deleted.
25978 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25979 (package-menu--status-predicate, package-menu--version-predicate)
25980 (package-menu--name-predicate)
25981 (package-menu--description-predicate): Handle arguments in the
25982 Tabulated List format.
25983 (package-list-packages-no-fetch): Call list-packages.
25984
25985 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25986
25987 * files.el (after-find-file-from-revert-buffer): Remove variable.
25988 (after-find-file): Don't bind it.
25989 (revert-buffer-in-progress-p): New variable.
25990 (revert-buffer): Bind it.
25991 Pass nil for `after-find-file-from-revert-buffer'.
25992
25993 * saveplace.el (save-place-find-file-hook): Use new variable
25994 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25995
25996 2011-04-06 Glenn Morris <rgm@gnu.org>
25997
25998 * Makefile.in (AUTOGEN_VCS): New variable.
25999 (autoloads): Use $AUTOGEN_VCS.
26000
26001 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26002 * calendar/calendar.el (calendar-mode-map):
26003 Check for toolkit scroll bars. (Bug#8305)
26004
26005 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26006
26007 * minibuffer.el (completion-in-region--postch)
26008 (completion-in-region-mode): Remove unnecessary messages.
26009
26010 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26011
26012 * font-lock.el (font-lock-refresh-defaults):
26013 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26014 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26015
26016 * info.el (Info-directory-list, Info-read-node-name-2)
26017 (Info-split-parameter-string): Doc fixes.
26018 (Info-virtual-nodes): Reflow docstring.
26019 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26020 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26021 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26022 Fix typos in docstrings.
26023 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26024 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26025 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26026 (Info-restore-desktop-buffer): Mark unused parameters.
26027 (Info-directory-find-file, Info-directory-find-node)
26028 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26029 (Info-virtual-index-find-node, Info-apropos-find-file)
26030 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26031 Mark unused parameters; fix typos in docstrings.
26032 (Info-virtual-index): Remove unused local variable `nodename'.
26033
26034 2011-04-05 Deniz Dogan <deniz@dogan.se>
26035
26036 * net/rcirc.el: Update my e-mail address.
26037 (rcirc-mode-map): Remove M-o binding.
26038
26039 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26040
26041 * startup.el (command-line): Save the cursor's theme-face
26042 directly, instead of using face-override-spec.
26043
26044 * custom.el (load-theme): Minor optimization in assigning faces.
26045
26046 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26047
26048 * help-fns.el (describe-variable): Complete all variables having
26049 documentation, including keywords.
26050 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26051
26052 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26053
26054 Convert to lexical-binding.
26055
26056 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26057 (bs--get-marked-string, bs--get-modified-string)
26058 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26059 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26060 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26061
26062 * ehelp.el (electric-help-execute-extended)
26063 (electric-help-ctrl-x-prefix):
26064 * hexl.el (hexl-revert-buffer-function):
26065 * linum.el (linum-after-change, linum-after-scroll):
26066 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26067
26068 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26069
26070 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26071
26072 * epa-dired.el:
26073 * epa-mail.el:
26074 * epa-hook.el:
26075 * epa-file.el:
26076 * epa.el:
26077 * epg.el: Use lexical binding.
26078
26079 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26080
26081 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26082
26083 * textmodes/flyspell.el (flyspell-word): Recognize default
26084 dictionary case for flyspell-mark-duplications-exceptions.
26085 Use regexp matching for languages.
26086 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26087 default dictionary (Bug#7926).
26088
26089 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26090
26091 * emacs-lisp/package.el (package--with-work-buffer):
26092 Recognize https URLs.
26093
26094 * net/network-stream.el: Move from gnus/proto-stream.el.
26095 Change prefix to network-stream throughout.
26096 (open-protocol-stream): Merge into open-network-stream, leaving
26097 open-protocol-stream as an alias. Handle nil BUFFER args.
26098
26099 * subr.el (open-network-stream): Move to net/network-stream.el.
26100
26101 2011-04-02 Glenn Morris <rgm@gnu.org>
26102
26103 * find-dired.el (find-exec-terminator): New option.
26104 (find-ls-option): Test for -ls support.
26105 (find-ls-subdir-switches): Test for -b in find-ls-option.
26106 (find-dired, find-grep-dired): Doc fixes.
26107 (find-dired): Use find-exec-terminator.
26108
26109 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26110 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26111 (find-name-arg): Remove purecopy.
26112
26113 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26114 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26115 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26116 accordingly. Don't add the null-device if not needed.
26117
26118 * files.el (save-some-buffers): Doc fix.
26119
26120 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26121
26122 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26123
26124 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26125
26126 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26127 Use `dolist' rather than `mapcar'.
26128
26129 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26130
26131 Add lexical binding.
26132
26133 * subr.el (apply-partially): Use new closures rather than CL.
26134 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26135 (dolist, dotimes): Use slightly different expansion for lexical code.
26136 (functionp): Move to C.
26137 (letrec): New macro.
26138 (with-wrapper-hook): Use it and apply-partially instead of CL.
26139 (eval-after-load): Preserve lexical-binding.
26140 (save-window-excursion, with-output-to-temp-buffer): Turn them
26141 into macros.
26142
26143 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26144
26145 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26146 than the arglist.
26147 (help-add-fundoc-usage): Don't add `Not documented'.
26148 (help-function-arglist): Handle closures, subroutines, and new
26149 byte-code-functions.
26150 (help-make-usage): Remove leading underscores.
26151 (describe-function-1): Handle closures.
26152 (describe-variable): Use special-variable-p for completion.
26153
26154 * files.el (lexical-binding): Declare safe.
26155
26156 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26157 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26158 (pcase): Add `let' pattern.
26159 Change memoization so it actually works.
26160 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26161 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26162 <let>: New case.
26163
26164 * emacs-lisp/macroexp.el: Use lexical binding.
26165 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26166 Don't convert ' to #' without checking that it's indeed quoting
26167 a lambda.
26168
26169 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26170 Use eval-sexp-add-defvars.
26171 (eval-sexp-add-defvars): New fun.
26172
26173 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26174
26175 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26176 Don't autoload.
26177 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26178 than the internal `byte-compile-lambda'.
26179 (defmethod): Don't hide code under quotes.
26180 (eieio-defmethod): New `code' argument.
26181
26182 * emacs-lisp/eieio-comp.el: Remove.
26183
26184 * emacs-lisp/edebug.el (edebug-eval-defun)
26185 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26186 (edebug-toggle): Avoid `eval'.
26187
26188 * emacs-lisp/disass.el (disassemble-internal): Handle new
26189 `closure' objects.
26190 (disassemble-1): Handle new byte codes.
26191
26192 * emacs-lisp/cl.el (pushnew): Silence warning.
26193
26194 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26195 (cl-byte-compile-throw): Remove.
26196 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26197
26198 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26199 closures.
26200
26201 * emacs-lisp/cconv.el: New file.
26202
26203 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26204 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26205 (byte-compile-initial-macro-environment):
26206 Handle declare-function here.
26207 (byte-compile--lexical-environment): New var.
26208 (byte-stack-ref, byte-stack-set, byte-discardN)
26209 (byte-discardN-preserve-tos): New lap codes.
26210 (byte-interactive-p): Don't use any more.
26211 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26212 New macros.
26213 (byte-compile-lapcode): Use them and handle new lap codes.
26214 (byte-compile-obsolete): Remove.
26215 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26216 (byte-compile-arglist-warn): Check late def of inlinable funs.
26217 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26218 since they should have been expanded by now.
26219 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26220 (byte-compile-from-buffer): Remove unused second arg.
26221 (byte-compile-preprocess): New function.
26222 (byte-compile-toplevel-file-form): New function to distinguish
26223 file-form calls from outside from file-form calls from hunk-handlers.
26224 (byte-compile-file-form): Simplify.
26225 (byte-compile-file-form-defsubst): Remove.
26226 (byte-compile-file-form-defmumble): Simplify now that
26227 byte-compile-lambda always returns a byte-code-function.
26228 (byte-compile): Preprocess.
26229 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26230 Remove, not used any more.
26231 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26232 (byte-compile-make-args-desc): New funs.
26233 (byte-compile-lambda): Handle lexical functions. Always return
26234 a byte-code-function.
26235 (byte-compile-reserved-constants): New var, to make up room for
26236 closed-over variables.
26237 (byte-compile-constants-vector): Obey it.
26238 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26239 (byte-compile-macroexpand-declare-function): New function.
26240 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26241 byte-code-functions.
26242 (byte-compile-form): Check obsolescence here.
26243 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26244 (byte-compile-variable-ref): Remove.
26245 (byte-compile-dynamic-variable-op): New fun.
26246 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26247 (byte-compile-variable-set): New funs.
26248 (byte-compile-discard): Add 2 args.
26249 (byte-compile-stack-ref, byte-compile-stack-set)
26250 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26251 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26252 macroexpand-all instead.
26253 (byte-compile-quote-form): Remove.
26254 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26255 (byte-compile-bind, byte-compile-unbind): New funs.
26256 (byte-compile-let): Handle let* and lexical binding.
26257 (byte-compile-let*): Remove.
26258 (byte-compile-catch, byte-compile-unwind-protect)
26259 (byte-compile-track-mouse, byte-compile-condition-case):
26260 Handle a new :fun-body form, used for lexical scoping.
26261 (byte-compile-save-window-excursion)
26262 (byte-compile-with-output-to-temp-buffer): Remove.
26263 (byte-compile-defun): Simplify.
26264 (byte-compile-stack-adjustment): New fun.
26265 (byte-compile-out): Use it.
26266 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26267
26268 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26269 handler any more.
26270
26271 * emacs-lisp/byte-opt.el: Use lexical binding.
26272 (byte-inline-lapcode): Remove (to bytecomp).
26273 (byte-compile-inline-expand): Pay attention to inlining to/from
26274 lexically bound code.
26275 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26276 any more.
26277 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26278 any more and don't call compiler-macros.
26279 (byte-compile-splice-in-already-compiled-code): Remove.
26280 (byte-code): Don't inline any more.
26281 (disassemble-offset): Receive `bytes' as argument rather than via
26282 dynamic scoping.
26283 (byte-compile-tag-number): Declare before first use.
26284 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26285 `return' even if make-spliceable.
26286 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26287 obsolete interactive-p.
26288 (byte-optimize-lapcode): Optimize new lap-codes.
26289 Don't trip up on new form of `byte-constant' lap code.
26290
26291 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26292
26293 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26294
26295 * custom.el (custom-initialize-default, custom-declare-variable):
26296 Use `defvar'.
26297
26298 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26299 New variables.
26300 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26301 (COMPILE_FIRST): Add macroexp and cconv.
26302 * makefile.w32-in: Mirror changes in Makefile.in.
26303
26304 * vc/cvs-status.el:
26305 * vc/diff-mode.el:
26306 * vc/log-edit.el:
26307 * vc/log-view.el:
26308 * vc/smerge-mode.el:
26309 * textmodes/bibtex-style.el:
26310 * textmodes/css-mode.el:
26311 * startup.el:
26312 * uniquify.el:
26313 * minibuffer.el:
26314 * newcomment.el:
26315 * reveal.el:
26316 * server.el:
26317 * mpc.el:
26318 * emacs-lisp/smie.el:
26319 * doc-view.el:
26320 * dired.el:
26321 * abbrev.el: Use lexical binding.
26322
26323 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26324
26325 * info.el (info-display-manual): New function.
26326
26327 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26328
26329 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26330
26331 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26332
26333 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26334 an entry for that server in rcirc-authinfo. (Bug#8385)
26335
26336 2011-03-31 Glenn Morris <rgm@gnu.org>
26337
26338 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26339
26340 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26341
26342 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26343
26344 * progmodes/python.el (python-default-interpreter)
26345 (python-python-command-args, python-jython-command-args)
26346 (python-which-shell, python-which-args, python-which-bufname)
26347 (python-file-queue, python-comint-output-filter-function)
26348 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26349 variables and functions.
26350
26351 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26352
26353 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26354 (completion-in-region-mode): New minor mode.
26355 (completion-in-region): Use it.
26356 (completion-in-region--data, completion-in-region-mode-map): New vars.
26357 (completion-in-region--postch): New function.
26358 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26359 New vars.
26360 (completion--capf-wrapper): New function.
26361 (completion-at-point): Use it to track well-behavedness of
26362 hook functions.
26363 (completion-help-at-point): New command.
26364
26365 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26366
26367 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26368 syntax class to search for whitespace on a single line
26369 (Message-ID: <4D938140.4030905@redhat.com>).
26370
26371 2011-03-30 Leo Liu <sdl.web@gmail.com>
26372
26373 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26374 New commands.
26375 (edit-abbrevs-map): Bind them here.
26376 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26377
26378 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26379
26380 * allout.el (allout-hide-by-annotation, allout-flag-region):
26381 Reduce possibility of overlay leakage by making them volatile.
26382
26383 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26384 hash is not shared between buffers. Mode initialization is
26385 responsible for giving it a useful starting value.
26386 (allout-item-span): Reduce possibility of overlay leakage by
26387 making them volatile.
26388 (allout-widgets-count-buttons-in-region): Add diagnostic function
26389 for tracking down button overlay leaks.
26390
26391 2011-03-29 Leo Liu <sdl.web@gmail.com>
26392
26393 * ido.el (ido-read-internal): Use the default history var
26394 minibuffer-history if no HISTORY is specified.
26395
26396 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26397
26398 * net/imap.el (imap-shell-open, imap-process-connection-type):
26399 Use imap-process-connection-type for 'shell' streams as well as
26400 Kerberos, SSL, other subprocesses.
26401
26402 2011-03-28 Leo Liu <sdl.web@gmail.com>
26403
26404 * abbrev.el (abbrev-table-empty-p): New function.
26405 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26406 nonempty ones. (Bug#5937)
26407
26408 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26409
26410 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26411
26412 2011-03-27 Leo Liu <sdl.web@gmail.com>
26413
26414 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26415 for foreground and background colors.
26416 (ansi-color-make-color-map): Adapt.
26417
26418 2011-03-25 Leo Liu <sdl.web@gmail.com>
26419
26420 * midnight.el (midnight-time-float): Remove. Note it calculates
26421 the microsecond component incorrectly and seconds-to-time does the
26422 same job.
26423 Remove redundant (require 'timer).
26424
26425 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26426 (ido-completions): Remove unused arguments. (Bug#8329)
26427
26428 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26429
26430 * minibuffer.el (completion--flush-all-sorted-completions):
26431 Remove itself from hook.
26432 (completion-at-point): Let the functions perform the completion
26433 immediately and return nil or t.
26434 * comint.el (comint-dynamic-complete-functions): Now identical to
26435 completion-at-point-functions.
26436 (comint-dynamic-list-input-ring): Remove unused var `index'.
26437 (comint--match-partial-filename, comint--unquote&expand-filename):
26438 New funs, split from comint-match-partial-filename.
26439 (comint-dynamic-complete): Use completion-at-point.
26440 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26441
26442 2011-03-24 Drew Adams <drew.adams@oracle.com>
26443
26444 * thingatpt.el: Support `defun'.
26445
26446 2011-03-23 Leo Liu <sdl.web@gmail.com>
26447
26448 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26449
26450 * help-mode.el (help-mode-finish): Tweak regexp.
26451
26452 2011-03-23 Glenn Morris <rgm@gnu.org>
26453
26454 * eshell/esh-opt.el (eshell-eval-using-options):
26455 Do not bind unused local variable `eshell-option-stub'.
26456
26457 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26458
26459 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26460
26461 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26462 keymap variable in `with-no-warnings' to avoid a warning when the
26463 keymap has been already `defconst'ed.
26464
26465 2011-03-22 Leo Liu <sdl.web@gmail.com>
26466
26467 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26468 encode all chars in abbrevs; otherwise use emacs-mule or
26469 utf-8-emacs. (Bug#8308)
26470
26471 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26472
26473 * simple.el (backward-delete-char-untabify):
26474 Avoid warning about using `delete-backward-char'.
26475
26476 * image.el (image-type-file-name-regexps): Make it variable.
26477 `imagemagick-register-types' modifies it, and the user may want
26478 to add new extensions for known image types.
26479 (imagemagick-register-types): Throw error if not using ImageMagick.
26480
26481 2011-03-22 Leo Liu <sdl.web@gmail.com>
26482
26483 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26484 located before rcirc-prompt-end-marker.
26485 (rcirc-complete): Error if point is not after rcirc prompt.
26486 Handle the case when table is nil.
26487 (rcirc-user-authenticated): Define to fix compiler warning.
26488
26489 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26490
26491 * custom.el (custom--inhibit-theme-enable): Make it affect only
26492 custom-theme-set-variables and custom-theme-set-faces.
26493 (provide-theme): Ignore custom--inhibit-theme-enable.
26494 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26495 (custom-enabling-themes): Delete variable.
26496 (enable-theme): Accept only loaded themes as arguments.
26497 Ignore the special custom-enabled-themes variable.
26498 (custom-enabled-themes): Forbid themes from setting this.
26499 Eliminate use of custom-enabling-themes.
26500 (custom-push-theme): Quote "changed" custom var entry.
26501
26502 2011-03-21 Leo Liu <sdl.web@gmail.com>
26503
26504 * ido.el (ido-read-internal): Add ido-selected to history instead
26505 of user input.
26506
26507 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26508
26509 * subr.el (deferred-action-list, deferred-action-function):
26510 Mark obsolete.
26511
26512 2011-03-21 Leo Liu <sdl.web@gmail.com>
26513
26514 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26515 change on 2011-02-13 (bug#8309).
26516
26517 * minibuffer.el (read-file-name-function): Change default value.
26518 (read-file-name--defaults): Rename from read-file-name-defaults.
26519 (read-file-name-default): Rename from read-file-name.
26520 (read-file-name): Call read-file-name-function.
26521
26522 2011-03-21 Glenn Morris <rgm@gnu.org>
26523
26524 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26525 Doc fixes.
26526
26527 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26528
26529 * cus-theme.el: Add missing provide statement.
26530 (customize-create-theme): Extract theme value correctly.
26531 (custom-theme-visit-theme): Autoload.
26532 (customize-create-theme): Prompt before inserting default faces.
26533
26534 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26535
26536 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26537 units and musical notes.
26538
26539 2011-03-20 Leo Liu <sdl.web@gmail.com>
26540
26541 * ido.el (ido-read-internal): Use completing-read-default.
26542 (ido-completing-read): Fix compatibility with completing-read.
26543
26544 2011-03-20 Christian Ohler <ohler@gnu.org>
26545
26546 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26547 (ert-delete-all-tests): Use `called-interactively-p' rather than
26548 `interactive-p'.
26549 (ert--make-xrefs-region): Respect END.
26550
26551 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26552
26553 * dired-aux.el (dired-create-directory): Signal an error if the
26554 directory already exists (Bug#8246).
26555
26556 * facemenu.el (list-colors-display): Call list-faces-display
26557 inside with-help-window.
26558 (list-colors-print): Use display property to align the final
26559 column, instead of checking window-width.
26560
26561 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26562
26563 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26564 windows-nt systems.
26565 (emerge-protect-metachars): Quote correctly for ms-dos and
26566 windows-nt systems.
26567
26568 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26569
26570 * info.el (info-initialize): Replace all uses of `:' with
26571 path-separator for compatibility with non-Unix systems.
26572 Cache quoting of path-separator. (Bug#8258)
26573
26574 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26575
26576 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26577 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26578 (mouse-avoidance-mode): Fix typos in docstrings.
26579
26580 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26581
26582 * startup.el (package-subdirectory-regexp): Move from package.el.
26583 Omit \\` and \\', and let callers add them.
26584
26585 * emacs-lisp/package.el (package-strip-version)
26586 (package-load-all-descriptors): Add \\` and \\' to
26587 package-subdirectory-regexp before using it.
26588 (package-untar-buffer): New arg DIR; ensure that file untars only
26589 into this expected directory. Remove superfluous delete-region.
26590 (package-unpack): Caller changed.
26591 (package-tar-file-info): Use package-subdirectory-regexp.
26592
26593 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26594
26595 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26596 diff-mode-shared-map (bug#8284).
26597 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26598
26599 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26600
26601 * calendar/time-date.el (format-seconds): Use assoc instead of
26602 assoc-string, since assoc-string doesn't exist in XEmacs.
26603
26604 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26605
26606 * custom.el (custom-known-themes): Reflow docstring.
26607 (custom-theme-load-path): Fix typo in docstring.
26608 (load-theme): Fix typo in error message.
26609 (custom-available-themes, custom-variable-theme-value):
26610 Use `let', not `let*'.
26611
26612 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26613
26614 * calc/README: Mention inclusion of musical notes.
26615
26616 * calc/calc-units.el (calc-lu-quant): Rename from
26617 `calc-logunits-quantity'.
26618 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26619 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26620 (calc-db): Rename from `calc-dblevel'.
26621 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26622 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26623 (calc-np): Rename from `calc-nplevel'.
26624 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26625 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26626 (calc-lu-plus): Rename from `calc-logunits-add'.
26627 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26628 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26629 (calc-lu-minus): Rename from `calc-logunits-sub'.
26630 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26631 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26632 (calc-lu-times): Rename from `calc-logunits-mul'.
26633 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26634 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26635 (calc-lu-divide): Rename from `calc-logunits-div'.
26636 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26637 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26638
26639 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26640 functions being autoloaded.
26641
26642 * calc/calc.el (calc-lu-power-reference): Rename from
26643 `calc-logunits-power-reference'.
26644 (calc-lu-field-reference): Rename from
26645 `calc-logunits-field-reference'.
26646
26647 * calc/calc-help.el (calc-l-prefix-help):
26648 Mention musical note functions.
26649
26650 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26651
26652 * minibuffer.el (completion-all-sorted-completions):
26653 Use :completion-cycle-penalty text property if present.
26654
26655 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26656
26657 * allout.el (allout-yank-processing): Adjust for new rebulleting
26658 regime so bullet being yanked is used without prompting the user
26659 for a choice.
26660
26661 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26662
26663 * startup.el (command-line): Warn the user that _emacs is deprecated.
26664
26665 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26666
26667 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26668 (delphi-verbose, delphi-comment-face, delphi-string-face)
26669 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26670 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26671 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26672 (delphi-new-comment-line, delphi-font-lock-defaults)
26673 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26674 Fix typos in docstrings.
26675
26676 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26677
26678 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26679 Invert the roles of character and string values for INSTEAD, so a
26680 string is used for the more common case of a defaulting prompt.
26681
26682 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26683
26684 * progmodes/ruby-mode.el (ruby-backward-sexp):
26685 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26686 * play/gamegrid.el (gamegrid-make-face):
26687 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26688 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26689 * notifications.el (notifications-notify):
26690 * net/xesam.el (xesam-search-engines):
26691 * net/quickurl.el (quickurl-list-insert):
26692 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26693
26694 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26695
26696 * startup.el (command-line): Update package subdirectory regexp.
26697
26698 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26699
26700 * allout.el (allout-abbreviate-flattened-numbering)
26701 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26702
26703 * subr.el (read-char-choice): Only show the cursor after the prompt,
26704 not after the answer.
26705
26706 2011-03-15 Kevin Ryde <user42@zip.com.au>
26707
26708 * help-fns.el (variable-at-point): Skip leading quotes, if any
26709 (bug#8253).
26710
26711 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26712
26713 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26714 warning message.
26715
26716 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26717
26718 * shell.el (shell): When called interactively, offer to change the
26719 shell file name on remote hosts.
26720
26721 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26722
26723 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26724 integration for LDAP parameters. The host, base, user or binddn,
26725 and secret tokens can be specified in a netrc file, for instance.
26726 This is optional because an `auth-source' parameter must be
26727 specified in the search attributes.
26728
26729 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26730
26731 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26732
26733 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26734
26735 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26736 into declaration. Remove redundant and harmful binding.
26737
26738 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26739
26740 * files.el (file-ownership-preserved-p): Pass `integer' as an
26741 explicit 2nd argument to `file-attributes'. If the file's owner
26742 is the Administrators group on Windows, and the current user is
26743 Administrator, consider that a match.
26744
26745 * server.el (server-ensure-safe-dir): Consider server directory
26746 safe on MS-Windows if its owner is the Administrators group while
26747 the current Emacs user is Administrator. Use `=' to compare
26748 numerical UIDs, since they could be integers or floats.
26749
26750 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26751
26752 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26753
26754 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26755
26756 Sync with Tramp 2.2.1.
26757
26758 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26759
26760 * net/trampver.el: Update release number.
26761
26762 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26763
26764 * progmodes/compile.el (compilation--previous-directory): Fix up
26765 various nil/dead-marker mismatches (bug#8014).
26766 (compilation-directory-properties, compilation-error-properties):
26767 Don't call it at a position past the one we're about to change.
26768
26769 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26770 Disable obsolescence warnings in the file that declares it.
26771
26772 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26773
26774 * allout-widgets.el (allout-widgets-tally):
26775 Initialize allout-widgets-tally as a hash table rather than nil to
26776 prevent mode-line redisplay warnings. Also, clarify the module
26777 description and fix a comment typo.
26778
26779 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26780
26781 * help-fns.el (describe-variable): Don't complete keywords.
26782 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26783
26784 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26785
26786 * emacs-lisp/package.el (package-version-join): Impose a standard
26787 string representation for pre/alpha/beta version lists.
26788 (package-unpack-single): Standardize the directory name by passing
26789 it through package-version-join.
26790 (package-strip-rcs-id): Accept any version string that does not
26791 signal an error in version-to-list.
26792
26793 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26794
26795 * simple.el (delete-trailing-whitespace): Return nil for the
26796 benefit of `write-file-functions'.
26797
26798 2011-03-10 Glenn Morris <rgm@gnu.org>
26799
26800 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26801
26802 * vc/vc-git.el (vc-git-program): New option.
26803 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26804 (vc-git--call): Use it.
26805
26806 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26807
26808 * cus-edit.el (Custom-newline): If no button at point, look
26809 for a subgroup button at start-of-line. (Bug#2298)
26810
26811 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26812
26813 2011-03-10 Julien Danjou <julien@danjou.info>
26814
26815 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26816 `cursor-type' is nil.
26817
26818 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26819
26820 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26821
26822 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26823
26824 * allout.el: Change so yank of distinctive-bullet items
26825 preserves the existing header prefix, rebulleting it if necessary,
26826 rather than replacing it. This is necessary for proper operation
26827 of cooperative addons like allout-widgets.
26828 (allout-make-topic-prefix, allout-rebullet-heading):
26829 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26830 value as alternate bullet to be used, instead of prompting the user
26831 for a bullet character.
26832
26833 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26834
26835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26836 Do not use `tramp-file-name-port', because this returns also
26837 `tramp-default-port'.
26838
26839 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26840
26841 * net/rcirc.el (rcirc-handler-001): Remove useless
26842 with-rcirc-process-buffer.
26843 (rcirc-check-auth-status): Swap arguments to string-match.
26844
26845 2011-03-09 Glenn Morris <rgm@gnu.org>
26846
26847 * shell.el (shell-mode):
26848 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26849
26850 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26851 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26852
26853 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26854
26855 * emacs-lisp/package.el (package-refresh-contents)
26856 (package-menu-execute): Use condition-case-no-debug.
26857
26858 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26859
26860 * simple.el (shell-command-to-string): Use `process-file'.
26861
26862 * emacs-lisp/package.el (package-tar-file-info): Handle also
26863 remote files.
26864
26865 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26866 Use `equal' for upload base check.
26867
26868 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26869
26870 * textmodes/texinfo.el (texinfo-environments):
26871 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26872
26873 2011-03-08 Glenn Morris <rgm@gnu.org>
26874
26875 * cus-start.el (cursor-in-non-selected-windows):
26876 Fix :set quoting oddness. (Bug#8192)
26877
26878 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26879 in some setf expressions. (Bug#2159)
26880
26881 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26882
26883 * custom.el (custom-available-themes): Return themes in
26884 alphabetical order.
26885
26886 See ChangeLog.15 for earlier changes.
26887
26888 ;; Local Variables:
26889 ;; coding: utf-8
26890 ;; End:
26891
26892 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26893
26894 This file is part of GNU Emacs.
26895
26896 GNU Emacs is free software: you can redistribute it and/or modify
26897 it under the terms of the GNU General Public License as published by
26898 the Free Software Foundation, either version 3 of the License, or
26899 (at your option) any later version.
26900
26901 GNU Emacs is distributed in the hope that it will be useful,
26902 but WITHOUT ANY WARRANTY; without even the implied warranty of
26903 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26904 GNU General Public License for more details.
26905
26906 You should have received a copy of the GNU General Public License
26907 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.